@stacksjs/components 0.2.865 → 0.2.868

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 (116) hide show
  1. package/dist/AppearancePicker-61r20jpp.stx +351 -0
  2. package/dist/{Button-sebyqeva.stx → Button-pg8mzsq3.stx} +249 -0
  3. package/dist/Checkbox-52mhrzkz.stx +417 -0
  4. package/dist/ColorSwatches-ecfxphjy.stx +287 -0
  5. package/dist/{NumberInput-axcfj9y8.stx → NumberInput-e2afxyh3.stx} +303 -0
  6. package/dist/{PasswordInput-8m3109tp.stx → PasswordInput-n2ven456.stx} +315 -0
  7. package/dist/RadioGroup-ps9kn22f.stx +329 -0
  8. package/dist/RadioGroupOption-6hyy1bvb.stx +246 -0
  9. package/dist/{SegmentedControl-fr69q4gb.stx → SegmentedControl-7q0t8c9s.stx} +170 -1
  10. package/dist/{Select-1cnqbcmg.stx → Select-ygzchedx.stx} +266 -0
  11. package/dist/SettingsGroup-dkae46k5.stx +200 -0
  12. package/dist/SettingsPane-jbd1gbdt.stx +50 -0
  13. package/dist/SettingsPaneHeader-f0cvkqs7.stx +188 -0
  14. package/dist/SettingsRow-4cxbsf1q.stx +424 -0
  15. package/dist/SettingsSidebarGroup-p2ygv5yy.stx +108 -0
  16. package/dist/SettingsSidebarItem-x8fsn3w5.stx +228 -0
  17. package/dist/SettingsWindow-mm490ymt.stx +537 -0
  18. package/dist/Slider-j59dgw1c.stx +377 -0
  19. package/dist/Switch-ga9ap8n8.stx +374 -0
  20. package/dist/{TextInput-tsvfwxmg.stx → TextInput-tyqzz3jy.stx} +325 -0
  21. package/dist/index.d.ts +6 -0
  22. package/dist/index.js +35 -24
  23. package/dist/preview-frame/preview-frame.js +58 -2
  24. package/dist/settings/settings.js +757 -0
  25. package/dist/ui/appearance-picker/AppearancePicker.d.ts +12 -0
  26. package/dist/ui/appearance-picker/index.d.ts +16 -0
  27. package/dist/ui/button/Button.d.ts +24 -1
  28. package/dist/ui/button/index.d.ts +1 -0
  29. package/dist/ui/checkbox/Checkbox.d.ts +9 -1
  30. package/dist/ui/checkbox/index.d.ts +1 -0
  31. package/dist/ui/color-swatches/ColorSwatches.d.ts +26 -0
  32. package/dist/ui/color-swatches/index.d.ts +18 -0
  33. package/dist/ui/input/NumberInput.d.ts +11 -1
  34. package/dist/ui/input/PasswordInput.d.ts +9 -1
  35. package/dist/ui/input/TextInput.d.ts +12 -1
  36. package/dist/ui/input/index.d.ts +7 -3
  37. package/dist/ui/preview-frame/core.d.ts +22 -0
  38. package/dist/ui/preview-frame/view.d.ts +9 -0
  39. package/dist/ui/radio-group/RadioGroup.d.ts +14 -2
  40. package/dist/ui/radio-group/RadioGroupOption.d.ts +6 -1
  41. package/dist/ui/radio-group/index.d.ts +2 -0
  42. package/dist/ui/segmented-control/SegmentedControl.d.ts +9 -1
  43. package/dist/ui/segmented-control/index.d.ts +1 -0
  44. package/dist/ui/select/Select.d.ts +10 -1
  45. package/dist/ui/select/index.d.ts +1 -0
  46. package/dist/ui/settings/SettingsGroup.d.ts +30 -0
  47. package/dist/ui/settings/SettingsPane.d.ts +19 -0
  48. package/dist/ui/settings/SettingsPaneHeader.d.ts +20 -0
  49. package/dist/ui/settings/SettingsRow.d.ts +53 -0
  50. package/dist/ui/settings/SettingsSidebarGroup.d.ts +11 -0
  51. package/dist/ui/settings/SettingsSidebarItem.d.ts +22 -0
  52. package/dist/ui/settings/SettingsWindow.d.ts +22 -0
  53. package/dist/ui/settings/core.d.ts +146 -0
  54. package/dist/ui/settings/index.d.ts +73 -0
  55. package/dist/ui/settings/settings.d.ts +8 -0
  56. package/dist/ui/settings/view.d.ts +36 -0
  57. package/dist/ui/slider/Slider.d.ts +24 -0
  58. package/dist/ui/slider/core.d.ts +33 -0
  59. package/dist/ui/slider/index.d.ts +20 -0
  60. package/dist/ui/switch/Switch.d.ts +10 -1
  61. package/dist/ui/switch/index.d.ts +2 -1
  62. package/dist/utils/mac-theme.d.ts +24 -0
  63. package/package.json +8 -3
  64. package/src/index.ts +6 -0
  65. package/src/ui/appearance-picker/AppearancePicker.stx +351 -0
  66. package/src/ui/appearance-picker/README.md +61 -0
  67. package/src/ui/appearance-picker/index.ts +22 -0
  68. package/src/ui/button/Button.stx +249 -0
  69. package/src/ui/button/README.md +21 -0
  70. package/src/ui/button/index.ts +8 -0
  71. package/src/ui/checkbox/Checkbox.stx +275 -0
  72. package/src/ui/checkbox/index.ts +2 -0
  73. package/src/ui/color-swatches/ColorSwatches.stx +287 -0
  74. package/src/ui/color-swatches/README.md +66 -0
  75. package/src/ui/color-swatches/index.ts +25 -0
  76. package/src/ui/input/NumberInput.stx +303 -0
  77. package/src/ui/input/PasswordInput.stx +315 -0
  78. package/src/ui/input/TextInput.stx +325 -0
  79. package/src/ui/input/index.ts +9 -3
  80. package/src/ui/preview-frame/README.md +16 -14
  81. package/src/ui/preview-frame/core.ts +50 -0
  82. package/src/ui/preview-frame/index.ts +4 -4
  83. package/src/ui/preview-frame/view.ts +61 -4
  84. package/src/ui/radio-group/README.md +17 -0
  85. package/src/ui/radio-group/RadioGroup.stx +184 -6
  86. package/src/ui/radio-group/RadioGroupOption.stx +178 -2
  87. package/src/ui/radio-group/index.ts +4 -0
  88. package/src/ui/segmented-control/SegmentedControl.stx +170 -1
  89. package/src/ui/segmented-control/index.ts +2 -0
  90. package/src/ui/select/README.md +12 -0
  91. package/src/ui/select/Select.stx +266 -0
  92. package/src/ui/select/index.ts +2 -0
  93. package/src/ui/settings/README.md +221 -0
  94. package/src/ui/settings/SettingsGroup.stx +200 -0
  95. package/src/ui/settings/SettingsPane.stx +50 -0
  96. package/src/ui/settings/SettingsPaneHeader.stx +188 -0
  97. package/src/ui/settings/SettingsRow.stx +424 -0
  98. package/src/ui/settings/SettingsSidebarGroup.stx +108 -0
  99. package/src/ui/settings/SettingsSidebarItem.stx +228 -0
  100. package/src/ui/settings/SettingsWindow.stx +537 -0
  101. package/src/ui/settings/core.ts +359 -0
  102. package/src/ui/settings/index.ts +111 -0
  103. package/src/ui/settings/settings.ts +8 -0
  104. package/src/ui/settings/view.ts +740 -0
  105. package/src/ui/slider/README.md +91 -0
  106. package/src/ui/slider/Slider.stx +377 -0
  107. package/src/ui/slider/core.ts +120 -0
  108. package/src/ui/slider/index.ts +34 -0
  109. package/src/ui/switch/README.md +11 -0
  110. package/src/ui/switch/Switch.stx +217 -0
  111. package/src/ui/switch/index.ts +4 -1
  112. package/src/utils/mac-theme.ts +95 -0
  113. package/dist/Checkbox-80myyzzm.stx +0 -142
  114. package/dist/RadioGroup-smqcqgds.stx +0 -151
  115. package/dist/RadioGroupOption-twcw1b2a.stx +0 -70
  116. package/dist/Switch-s8yf2rvm.stx +0 -157
@@ -15,6 +15,17 @@ export const maxLength = $props.maxLength ?? $props.maxlength
15
15
  export const showCount = $bool($props.showCount)
16
16
  export const className = $props.className || ''
17
17
  export const inputClassName = $props.inputClassName || ''
18
+ /*
19
+ * `variant="mac"` draws the text field a Mac draws: 24px tall with 6px
20
+ * corners, a raised face inside a hairline, 13px text, and the accent's ring
21
+ * while it has the keyboard. It is the same <input> with the same attributes
22
+ * and events; only the classes change, to `stx-mac-field`, which this file's
23
+ * <style> block draws from the `--stx-mac-*` tokens. It has one size, so
24
+ * `size` is not read, and it is as wide as `--stx-mac-field-width` (the
25
+ * whole of its container when that is unset).
26
+ */
27
+ export const mac = $props.variant === 'mac'
28
+ export const macFieldClasses = `stx-mac-field ${leftIcon ? 'stx-mac-field-leading' : ''} ${rightIcon || clearable ? 'stx-mac-field-trailing' : ''} ${inputClassName}`.replace(/\s+/g, ' ').trim()
18
29
 
19
30
  /*
20
31
  * Padding decides the height here too, with no `h-*` to override it: an app
@@ -319,6 +330,89 @@ defineExpose({ value: inputValue, clear: onClear })
319
330
  <p class="mt-1.5 px-4 text-right text-[13px] text-[#6d6d72] dark:text-[#8d8d93]" :text="charCount()"></p>
320
331
  @endif
321
332
  </div>
333
+ @elseif(mac)
334
+ <div class="stx-mac-field-wrap {{ className }}">
335
+ @if(label)
336
+ <label for="{{ inputId }}" class="stx-mac-field-label" @if(error)data-error="true"@endif>
337
+ {{ label }}
338
+ @if(required)
339
+ <span class="stx-mac-field-required">*</span>
340
+ @endif
341
+ </label>
342
+ @endif
343
+
344
+ <div class="stx-mac-field-box">
345
+ @if(leftIcon)
346
+ <span class="stx-mac-field-icon stx-mac-field-icon-leading" aria-hidden="true">{!! leftIcon !!}</span>
347
+ @endif
348
+
349
+ <input
350
+ data-stx-native-host-root
351
+ @if(name)name="{{ name }}"@endif
352
+ @if(autocomplete)autocomplete="{{ autocomplete }}"@endif
353
+ @if(form)form="{{ form }}"@endif
354
+ @if(inputMode)inputmode="{{ inputMode }}"@endif
355
+ @if(enterKeyHint)enterkeyhint="{{ enterKeyHint }}"@endif
356
+ type="{{ type }}"
357
+ @if(min)min="{{ min }}"@endif
358
+ @if(max)max="{{ max }}"@endif
359
+ @if(step)step="{{ step }}"@endif
360
+ @if(pattern)pattern="{{ pattern }}"@endif
361
+ @if(minLength)minlength="{{ minLength }}"@endif
362
+ @if(htmlSize)size="{{ htmlSize }}"@endif
363
+ @if(list)list="{{ list }}"@endif
364
+ @if(autofocus)autofocus@endif
365
+ id="{{ inputId }}"
366
+ class="{{ macFieldClasses }}"
367
+ value="{{ value }}"
368
+ :value="inputValue()"
369
+ placeholder="{{ placeholder }}"
370
+ :placeholder="String(placeholderText() ?? '')"
371
+ @if(disabled)disabled@endif
372
+ :disabled="isDisabled()"
373
+ @if(readonly)readonly@endif
374
+ :readonly="isReadonly()"
375
+ @if(required)required@endif
376
+ @if(maxLength && freeText)maxlength="{{ maxLength }}"@endif
377
+ @input="onInput($event)"
378
+ @change="onChange($event)"
379
+ @focus="onFocus($event)"
380
+ @blur="onBlur($event)"
381
+ aria-invalid="{{ error ? 'true' : 'false' }}"
382
+ :aria-invalid="isError() ? 'true' : 'false'"
383
+ @if(helperText)aria-describedby="{{ helperId }}"@endif
384
+ />
385
+
386
+ @if(clearable)
387
+ <button
388
+ type="button"
389
+ :show="hasValue() && !isDisabled() && !isReadonly()"
390
+ @click="onClear()"
391
+ class="stx-mac-field-clear"
392
+ aria-label="Clear input"
393
+ ></button>
394
+ @endif
395
+ @if(rightIcon && !clearable)
396
+ <span class="stx-mac-field-icon stx-mac-field-icon-trailing" aria-hidden="true">{!! rightIcon !!}</span>
397
+ @endif
398
+ </div>
399
+
400
+ @if(helperText || (showCount && maxLength))
401
+ <div class="stx-mac-field-foot">
402
+ @if(helperText)
403
+ <p id="{{ helperId }}" class="stx-mac-field-helper" @if(error)data-error="true"@endif>
404
+ {{ helperText }}
405
+ </p>
406
+ @else
407
+ <span></span>
408
+ @endif
409
+
410
+ @if(showCount && maxLength)
411
+ <p class="stx-mac-field-helper" x-text="charCount()"></p>
412
+ @endif
413
+ </div>
414
+ @endif
415
+ </div>
322
416
  @else
323
417
  <div class="w-full {{ className }}">
324
418
  @if(label)
@@ -424,3 +518,234 @@ defineExpose({ value: inputValue, clear: onClear })
424
518
  @endif
425
519
  </div>
426
520
  @endif
521
+
522
+ <style data-native-exclude>
523
+ :where(:root) {
524
+ --stx-mac-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', sans-serif;
525
+ --stx-mac-font-size: 13px;
526
+ --stx-mac-font-size-small: 11px;
527
+ --stx-mac-hairline: 0.5px;
528
+ --stx-mac-focus-ring: 0 0 0 3px color-mix(in srgb, var(--stx-mac-accent) 35%, transparent);
529
+ --stx-mac-card-radius: 12px;
530
+ --stx-mac-control-radius: 6px;
531
+ --stx-mac-row-height: 38px;
532
+ --stx-mac-row-inset: 10px;
533
+ --stx-mac-sidebar-width: 226px;
534
+ --stx-mac-accent: var(--stx-accent, rgb(0, 122, 255));
535
+ --stx-mac-accent-ink: #ffffff;
536
+ --stx-mac-ink: rgba(0, 0, 0, 0.85);
537
+ --stx-mac-ink-secondary: rgba(0, 0, 0, 0.5);
538
+ --stx-mac-ink-tertiary: rgba(0, 0, 0, 0.26);
539
+ --stx-mac-window: #ffffff;
540
+ --stx-mac-sidebar: #f2f1f0;
541
+ --stx-mac-card: rgba(0, 0, 0, 0.04);
542
+ --stx-mac-separator: rgba(0, 0, 0, 0.1);
543
+ --stx-mac-hover: rgba(0, 0, 0, 0.05);
544
+ --stx-mac-selection-inactive: rgba(0, 0, 0, 0.08);
545
+ --stx-mac-well: rgba(0, 0, 0, 0.07);
546
+ --stx-mac-control: #ffffff;
547
+ --stx-mac-control-line: rgba(0, 0, 0, 0.12);
548
+ --stx-mac-control-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.14), 0 0 0 0.5px rgba(0, 0, 0, 0.08);
549
+ --stx-mac-switch-on: #34c759;
550
+ --stx-mac-knob: #ffffff;
551
+ --stx-mac-danger: #ff3b30;
552
+ }
553
+ :where(.dark) {
554
+ --stx-mac-accent: var(--stx-accent, #0a84ff);
555
+ --stx-mac-accent-ink: #ffffff;
556
+ --stx-mac-ink: rgba(255, 255, 255, 0.85);
557
+ --stx-mac-ink-secondary: rgba(255, 255, 255, 0.55);
558
+ --stx-mac-ink-tertiary: rgba(255, 255, 255, 0.25);
559
+ --stx-mac-window: #1e1e1e;
560
+ --stx-mac-sidebar: #2a2a2a;
561
+ --stx-mac-card: rgba(255, 255, 255, 0.05);
562
+ --stx-mac-separator: rgba(255, 255, 255, 0.1);
563
+ --stx-mac-hover: rgba(255, 255, 255, 0.06);
564
+ --stx-mac-selection-inactive: rgba(255, 255, 255, 0.1);
565
+ --stx-mac-well: rgba(255, 255, 255, 0.1);
566
+ --stx-mac-control: rgba(255, 255, 255, 0.14);
567
+ --stx-mac-control-line: rgba(255, 255, 255, 0.06);
568
+ --stx-mac-control-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.4), inset 0 0.5px 0 rgba(255, 255, 255, 0.12);
569
+ --stx-mac-switch-on: #30d158;
570
+ --stx-mac-knob: #ffffff;
571
+ --stx-mac-danger: #ff453a;
572
+ }
573
+ @media (max-resolution: 1.5dppx) {
574
+ :where(:root) {
575
+ --stx-mac-hairline: 1px;
576
+ }
577
+ }
578
+ @media (prefers-contrast: more) {
579
+ :where(:root) {
580
+ --stx-mac-separator: rgba(0, 0, 0, 0.4);
581
+ --stx-mac-control-line: rgba(0, 0, 0, 0.5);
582
+ --stx-mac-ink-secondary: rgba(0, 0, 0, 0.75);
583
+ --stx-mac-hairline: 1px;
584
+ }
585
+ :where(.dark) {
586
+ --stx-mac-separator: rgba(255, 255, 255, 0.45);
587
+ --stx-mac-control-line: rgba(255, 255, 255, 0.5);
588
+ --stx-mac-ink-secondary: rgba(255, 255, 255, 0.8);
589
+ }
590
+ }
591
+
592
+ .stx-mac-field-wrap {
593
+ display: block;
594
+ width: var(--stx-mac-field-width, 100%);
595
+ max-width: 100%;
596
+ font-family: var(--stx-mac-font);
597
+ font-size: var(--stx-mac-font-size);
598
+ letter-spacing: -0.08px;
599
+ -webkit-font-smoothing: antialiased;
600
+ color: var(--stx-mac-ink);
601
+ cursor: default;
602
+ }
603
+
604
+ .stx-mac-field-label {
605
+ display: block;
606
+ margin-bottom: 4px;
607
+ line-height: 16px;
608
+ -webkit-user-select: none;
609
+ user-select: none;
610
+ }
611
+
612
+ .stx-mac-field-label[data-error='true'],
613
+ .stx-mac-field-required,
614
+ .stx-mac-field-helper[data-error='true'] {
615
+ color: var(--stx-mac-danger);
616
+ }
617
+
618
+ .stx-mac-field-box {
619
+ position: relative;
620
+ display: flex;
621
+ align-items: center;
622
+ }
623
+
624
+ .stx-mac-field {
625
+ --stx-mac-field-line: inset 0 0 0 var(--stx-mac-hairline) var(--stx-mac-control-line);
626
+ display: block;
627
+ flex: 1 1 auto;
628
+ box-sizing: border-box;
629
+ width: 100%;
630
+ min-width: 0;
631
+ height: 24px;
632
+ margin: 0;
633
+ padding: 0 7px;
634
+ border: 0;
635
+ border-radius: var(--stx-mac-control-radius);
636
+ background: var(--stx-mac-control);
637
+ box-shadow: var(--stx-mac-field-line);
638
+ color: var(--stx-mac-ink);
639
+ font: inherit;
640
+ letter-spacing: inherit;
641
+ -webkit-appearance: none;
642
+ appearance: none;
643
+ outline: none;
644
+ transition: box-shadow 150ms ease;
645
+ }
646
+
647
+ .stx-mac-field::placeholder {
648
+ color: var(--stx-mac-ink-tertiary);
649
+ }
650
+
651
+ .stx-mac-field:focus-visible {
652
+ box-shadow: var(--stx-mac-field-line), var(--stx-mac-focus-ring);
653
+ }
654
+
655
+ .stx-mac-field[aria-invalid='true'] {
656
+ --stx-mac-field-line: inset 0 0 0 1px var(--stx-mac-danger);
657
+ }
658
+
659
+ .stx-mac-field:disabled {
660
+ opacity: 0.5;
661
+ }
662
+
663
+ .stx-mac-field-helper {
664
+ margin: 4px 0 0;
665
+ font-size: var(--stx-mac-font-size-small);
666
+ line-height: 14px;
667
+ letter-spacing: 0;
668
+ color: var(--stx-mac-ink-secondary);
669
+ }
670
+
671
+ @media (prefers-reduced-motion: reduce) {
672
+ .stx-mac-field {
673
+ transition: none;
674
+ }
675
+ }
676
+
677
+ /* Two classes, so these win over the plain field's rules whichever component's stylesheet the page loads last. */
678
+ .stx-mac-field.stx-mac-field-leading {
679
+ padding-left: 24px;
680
+ }
681
+
682
+ .stx-mac-field.stx-mac-field-trailing {
683
+ padding-right: 24px;
684
+ }
685
+
686
+ .stx-mac-field-icon {
687
+ position: absolute;
688
+ top: 5.5px;
689
+ display: inline-flex;
690
+ align-items: center;
691
+ justify-content: center;
692
+ width: 13px;
693
+ height: 13px;
694
+ color: var(--stx-mac-ink-secondary);
695
+ pointer-events: none;
696
+ }
697
+
698
+ .stx-mac-field-icon-leading {
699
+ left: 6px;
700
+ }
701
+
702
+ .stx-mac-field-icon-trailing {
703
+ right: 6px;
704
+ }
705
+
706
+ /* The clear button: a small filled disc with a cross cut from two bars. */
707
+ .stx-mac-field-clear {
708
+ position: absolute;
709
+ top: 5px;
710
+ right: 5px;
711
+ width: 14px;
712
+ height: 14px;
713
+ margin: 0;
714
+ padding: 0;
715
+ border: 0;
716
+ border-radius: 50%;
717
+ background: var(--stx-mac-ink-tertiary);
718
+ -webkit-appearance: none;
719
+ appearance: none;
720
+ cursor: default;
721
+ outline: none;
722
+ }
723
+
724
+ .stx-mac-field-clear::before,
725
+ .stx-mac-field-clear::after {
726
+ content: '';
727
+ position: absolute;
728
+ top: 6.25px;
729
+ left: 3.5px;
730
+ width: 7px;
731
+ height: 1.5px;
732
+ border-radius: 1px;
733
+ background: var(--stx-mac-window);
734
+ transform: rotate(45deg);
735
+ }
736
+
737
+ .stx-mac-field-clear::after {
738
+ transform: rotate(-45deg);
739
+ }
740
+
741
+ .stx-mac-field-clear:focus-visible {
742
+ box-shadow: var(--stx-mac-focus-ring);
743
+ }
744
+
745
+ .stx-mac-field-foot {
746
+ display: flex;
747
+ align-items: baseline;
748
+ justify-content: space-between;
749
+ gap: 8px;
750
+ }
751
+ </style>
package/dist/index.d.ts CHANGED
@@ -41,6 +41,7 @@ export * from './theme/index';
41
41
  // Export UI components
42
42
  export * from './ui/accordion/index';
43
43
  export * from './ui/app-frame/index';
44
+ export * from './ui/appearance-picker/index';
44
45
  export * from './ui/audio/index';
45
46
  export * from './ui/auth/index';
46
47
  export * from './ui/avatar/index';
@@ -56,6 +57,7 @@ export * from './ui/card/index';
56
57
  export * from './ui/checkbox/index';
57
58
  export * from './ui/choice-chips/index';
58
59
  export * from './ui/code-editor/index';
60
+ export * from './ui/color-swatches/index';
59
61
  export * from './ui/combobox/index';
60
62
  export * from './ui/command-palette/index';
61
63
  export * from './ui/context-menu/index';
@@ -86,8 +88,10 @@ export * from './ui/radio/index';
86
88
  export * from './ui/radio-group/index';
87
89
  export * from './ui/segmented-control/index';
88
90
  export * from './ui/select/index';
91
+ export * from './ui/settings/index';
89
92
  export * from './ui/sidebar/index';
90
93
  export * from './ui/skeleton/index';
94
+ export * from './ui/slider/index';
91
95
  export * from './ui/spinner/index';
92
96
  export * from './ui/split-pane/index';
93
97
  export * from './ui/stepper/index';
@@ -112,6 +116,8 @@ export * from './utils/highlighter';
112
116
  export * from './utils/i18n';
113
117
  export * from './utils/keep-alive';
114
118
  export * from './utils/lazy-loading';
119
+ // The Mac theme the Settings window and every `variant="mac"` control are drawn with.
120
+ export * from './utils/mac-theme';
115
121
  export * from './utils/prop-validation';
116
122
  export * from './utils/syntax-theme';
117
123
  export * from './utils/theme';