efficient-shell 15.2.1 → 15.4.0

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 (66) hide show
  1. package/README.md +10 -0
  2. package/dist/{Browser-QK2CCZTR.js → Browser-NXQ4MAJT.js} +14 -14
  3. package/dist/{Calculator-DB4U2KXJ.js → Calculator-HHAC23S4.js} +22 -22
  4. package/dist/{CurrencyConverter-D5MWU2M2.js → CurrencyConverter-H34LZQBN.js} +8 -8
  5. package/dist/{Files-6WMIQAVD.js → Files-SEN6BFX5.js} +43 -43
  6. package/dist/{Notepad-FKSRP7R6.js → Notepad-4LKFIPTY.js} +9 -9
  7. package/dist/{PomodoroTimer-U62N64F6.js → PomodoroTimer-GZZD7LPW.js} +64 -64
  8. package/dist/{Preview-2GS2CWRA.js → Preview-PCIWBI7G.js} +25 -25
  9. package/dist/{Stock-DUXAE4DY.js → Stock-R5A7NOZT.js} +1 -1
  10. package/dist/{Weather-XXPZTLY7.js → Weather-U2LR5SRL.js} +15 -15
  11. package/dist/{WorldClock-6ANSNTXU.js → WorldClock-HGGHJ5SX.js} +6 -6
  12. package/dist/ai/index.js +8 -8
  13. package/dist/apps/index.js +1 -1
  14. package/dist/bin/browser-check.js +1 -1
  15. package/dist/bin/media-host-check.js +1 -1
  16. package/dist/bin/ui-check.js +1 -1
  17. package/dist/brand.css +1 -1
  18. package/dist/chunk-5VJVEKVM.js +1 -0
  19. package/dist/{chunk-XMBMI27I.js → chunk-A3RD7AQ2.js} +1 -1
  20. package/dist/{chunk-DN6NGGP5.js → chunk-B36ZROD7.js} +6 -6
  21. package/dist/{chunk-TTUUXGEW.js → chunk-CHWZGSYG.js} +1 -1
  22. package/dist/{chunk-WR3SULZW.js → chunk-DVKOVZJ2.js} +8 -8
  23. package/dist/{chunk-422SFOQU.js → chunk-E4WVF6AS.js} +24 -24
  24. package/dist/chunk-GML6FVPA.js +6 -0
  25. package/dist/{chunk-NZNPU2GD.js → chunk-HB2PSIVY.js} +1 -1
  26. package/dist/chunk-JJV7F66E.js +1 -0
  27. package/dist/{chunk-4KPOTWYF.js → chunk-KFVGNKKJ.js} +47 -47
  28. package/dist/{chunk-JA4I5BEB.js → chunk-KTI4ZJVX.js} +1 -1
  29. package/dist/{chunk-26ZOXLE6.js → chunk-L7EQ2DJV.js} +1 -1
  30. package/dist/{chunk-XSMVWJV3.js → chunk-MBWAXS6S.js} +1 -1
  31. package/dist/chunk-OHPDB4UN.js +14 -0
  32. package/dist/{chunk-GL3D5EOZ.js → chunk-PSJLYNBG.js} +3 -3
  33. package/dist/{chunk-EJ5NIA42.js → chunk-QLK2NCXK.js} +1 -1
  34. package/dist/chunk-W7HTHKN2.js +19 -0
  35. package/dist/{chunk-E43VGO66.js → chunk-ZVKUOJNS.js} +1 -1
  36. package/dist/data/statusColumn.js +1 -1
  37. package/dist/forms/LinkPicker.js +1 -1
  38. package/dist/forms/MediaLibrary.js +1 -1
  39. package/dist/forms/Select.d.ts +6 -5
  40. package/dist/forms/Select.js +1 -1
  41. package/dist/forms/TagInput.js +1 -1
  42. package/dist/icons/index.js +1 -1
  43. package/dist/index.d.ts +1 -0
  44. package/dist/index.js +101 -101
  45. package/dist/optionItems-Cxd85rTy.d.ts +26 -0
  46. package/dist/routine-index.json +1 -1
  47. package/dist/shell/LanguageSelect.js +1 -1
  48. package/dist/shell/SearchableSelect.d.ts +3 -9
  49. package/dist/shell/SearchableSelect.js +1 -1
  50. package/dist/telemetry/index.js +1 -1
  51. package/dist/templates/CheckoutTemplate.js +1 -1
  52. package/dist/templates/DataTablePage.js +1 -1
  53. package/dist/templates/FormLayoutPage.js +1 -1
  54. package/dist/tokens/spacing.d.ts +12 -2
  55. package/dist/tokens/spacing.js +1 -1
  56. package/dist/ui/index.d.ts +1 -0
  57. package/dist/ui/index.js +1 -1
  58. package/dist/ui.css +5 -2
  59. package/dist/value-index.json +1 -1
  60. package/dist/version.js +1 -1
  61. package/package.json +1 -1
  62. package/dist/chunk-2RLUG5ID.js +0 -1
  63. package/dist/chunk-C4TG6XS4.js +0 -19
  64. package/dist/chunk-K5YT5PMJ.js +0 -5
  65. package/dist/chunk-SH7PJC4P.js +0 -1
  66. package/dist/chunk-V4BA3FGC.js +0 -14
@@ -0,0 +1,26 @@
1
+ /** A run of options under a heading. Groups do not nest. */
2
+ interface OptionGroup<T> {
3
+ /**
4
+ * The group's name: its heading, and what a screen reader calls the
5
+ * `role="group"`. With `hideHeading` only the second.
6
+ */
7
+ label: string;
8
+ options: T[];
9
+ /**
10
+ * Draw no heading. The group keeps its name for a screen reader
11
+ * (`aria-label` from `label`), and when an option comes before it in the
12
+ * list, a thin line (`PopupMenuDivider`) is drawn above its first option in
13
+ * place of the words. The line is decorative: no option, no key stop. A
14
+ * group with a heading gets no line, since the heading divides already. A
15
+ * group with no heading and no options draws nothing, and the line is drawn
16
+ * only when an option comes before the group, so no line is ever first or
17
+ * last, nor two together (a search that empties a group drops it the same
18
+ * way). The native list (`<optgroup>`, a `Select` on touch)
19
+ * cannot hide a label and shows it.
20
+ */
21
+ hideHeading?: boolean;
22
+ }
23
+ /** One entry of a list: an option, or a group of them. */
24
+ type OptionItem<T> = T | OptionGroup<T>;
25
+
26
+ export type { OptionGroup as O, OptionItem as a };