@vokril/ui-solid 0.33.0 → 0.33.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 (34) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +7 -1
  3. package/dist/{StatusBarNotificationBell-wO16mjon.cjs → StatusBarNotificationBell-BXPtDRks.cjs} +15 -15
  4. package/dist/{StatusBarNotificationBell-DKDoWK71.js → StatusBarNotificationBell-BjD8U_1v.js} +53 -52
  5. package/dist/_internal/contract/menuDensity.d.cts +3 -1
  6. package/dist/_internal/contract/menuDensity.d.ts +3 -1
  7. package/dist/index.cjs +1 -1
  8. package/dist/index.js +2 -2
  9. package/dist/notifications/index.cjs +1 -1
  10. package/dist/notifications/index.js +2 -2
  11. package/dist/server/{StatusBarNotificationBell-DEp4eEUv.cjs → StatusBarNotificationBell-CLNEipLk.cjs} +15 -15
  12. package/dist/server/{StatusBarNotificationBell-kOm2ZNkl.js → StatusBarNotificationBell-ek4X322Y.js} +52 -51
  13. package/dist/server/index.cjs +1 -1
  14. package/dist/server/index.js +2 -2
  15. package/dist/server/notifications/index.cjs +1 -1
  16. package/dist/server/notifications/index.js +2 -2
  17. package/dist/server/settings/index.cjs +1 -1
  18. package/dist/server/settings/index.js +20 -19
  19. package/dist/server/tokens/menu-density/index.cjs +1 -0
  20. package/dist/server/tokens/menu-density/index.js +4 -0
  21. package/dist/server/{menuDensity-Cf74__OQ.cjs → useSettingsSubscription-DKjCwmRd.cjs} +1 -1
  22. package/dist/server/{menuDensity-6x_EqCGb.js → useSettingsSubscription-DLEk4k4j.js} +5 -7
  23. package/dist/settings/index.cjs +1 -1
  24. package/dist/settings/index.js +20 -19
  25. package/dist/solid/tokens/menu-density/index.js +1 -0
  26. package/dist/style.css +1 -1
  27. package/dist/tokens/menu-density/index.cjs +1 -0
  28. package/dist/tokens/menu-density/index.d.cts +12 -0
  29. package/dist/tokens/menu-density/index.d.ts +12 -0
  30. package/dist/tokens/menu-density/index.js +4 -0
  31. package/dist/ui.css +1 -1
  32. package/dist/{menuDensity-Cf74__OQ.cjs → useSettingsSubscription-DKjCwmRd.cjs} +1 -1
  33. package/dist/{menuDensity-6x_EqCGb.js → useSettingsSubscription-DLEk4k4j.js} +5 -7
  34. package/package.json +25 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=["compact","normal","sparse"];exports.MENU_DENSITIES=e;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `@vokril/ui-solid/tokens/menu-density` — THE MENU DENSITIES ALONE: `MENU_DENSITIES`, the values a root's
3
+ * `data-menu-density` takes and the token sheet styles (`tokens.css`, `:root[data-menu-density=…]`), and `MenuDensity`,
4
+ * for code that checks a density outside a window — an application's main process validating the native notification
5
+ * overlay's snapshot (`menuDensity`) at its process boundary, a worker, a script.
6
+ *
7
+ * Its own entry, so that its module graph holds no package and touches no DOM: `@vokril/ui-solid/settings`, which
8
+ * exports the same list, carries the settings registry, which needs solid-js under every export condition. Nothing else
9
+ * may be exported from here; `tests/menu-density-subpath.test.mjs` walks every condition's graph. The list keeps its
10
+ * one home in the contract (`../../_internal/contract/menuDensity`), and both entries export that one array.
11
+ */
12
+ export { MENU_DENSITIES, type MenuDensity } from '../../_internal/contract/menuDensity.cjs';
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `@vokril/ui-solid/tokens/menu-density` — THE MENU DENSITIES ALONE: `MENU_DENSITIES`, the values a root's
3
+ * `data-menu-density` takes and the token sheet styles (`tokens.css`, `:root[data-menu-density=…]`), and `MenuDensity`,
4
+ * for code that checks a density outside a window — an application's main process validating the native notification
5
+ * overlay's snapshot (`menuDensity`) at its process boundary, a worker, a script.
6
+ *
7
+ * Its own entry, so that its module graph holds no package and touches no DOM: `@vokril/ui-solid/settings`, which
8
+ * exports the same list, carries the settings registry, which needs solid-js under every export condition. Nothing else
9
+ * may be exported from here; `tests/menu-density-subpath.test.mjs` walks every condition's graph. The list keeps its
10
+ * one home in the contract (`../../_internal/contract/menuDensity`), and both entries export that one array.
11
+ */
12
+ export { MENU_DENSITIES, type MenuDensity } from '../../_internal/contract/menuDensity.js';
@@ -0,0 +1,4 @@
1
+ const o = ["compact", "normal", "sparse"];
2
+ export {
3
+ o as MENU_DENSITIES
4
+ };