@syware/jlib 0.9.0 → 0.11.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 (255) hide show
  1. package/README.md +17 -2
  2. package/dist/all.js +5 -2
  3. package/dist/atoms/jl-app-icon.css.js +3 -0
  4. package/dist/atoms/jl-app-icon.js +1 -1
  5. package/dist/atoms/jl-avatar.css.js +3 -0
  6. package/dist/atoms/jl-avatar.js +1 -1
  7. package/dist/atoms/jl-badge.css.js +3 -0
  8. package/dist/atoms/jl-badge.js +1 -1
  9. package/dist/atoms/jl-button.css.js +3 -0
  10. package/dist/atoms/jl-button.js +3 -2
  11. package/dist/atoms/jl-checkbox.css.js +3 -0
  12. package/dist/atoms/jl-checkbox.js +1 -1
  13. package/dist/atoms/jl-chip.css.js +3 -0
  14. package/dist/atoms/jl-chip.js +1 -1
  15. package/dist/atoms/jl-divider.css.js +3 -0
  16. package/dist/atoms/jl-divider.js +1 -1
  17. package/dist/atoms/jl-icon.css.js +3 -0
  18. package/dist/atoms/jl-icon.d.ts +1 -0
  19. package/dist/atoms/jl-icon.js +11 -2
  20. package/dist/atoms/jl-input.css.js +3 -0
  21. package/dist/atoms/jl-input.js +1 -1
  22. package/dist/atoms/jl-kbd.css.js +3 -0
  23. package/dist/atoms/jl-kbd.js +1 -1
  24. package/dist/atoms/jl-link.css.js +3 -0
  25. package/dist/atoms/jl-link.js +1 -1
  26. package/dist/atoms/jl-loading-bar.css.js +3 -0
  27. package/dist/atoms/jl-loading-bar.d.ts +38 -0
  28. package/dist/atoms/jl-loading-bar.js +121 -0
  29. package/dist/atoms/jl-progress-ring.css.js +3 -0
  30. package/dist/atoms/jl-progress-ring.js +1 -1
  31. package/dist/atoms/jl-progress.css.js +3 -0
  32. package/dist/atoms/jl-progress.js +1 -1
  33. package/dist/atoms/jl-rating.css.js +3 -0
  34. package/dist/atoms/jl-rating.js +1 -1
  35. package/dist/atoms/jl-select.css.js +3 -0
  36. package/dist/atoms/jl-select.js +1 -1
  37. package/dist/atoms/jl-skeleton.css.js +3 -0
  38. package/dist/atoms/jl-skeleton.js +1 -1
  39. package/dist/atoms/jl-slider.css.js +3 -0
  40. package/dist/atoms/jl-slider.js +1 -1
  41. package/dist/atoms/jl-spinner.css.js +3 -0
  42. package/dist/atoms/jl-spinner.js +1 -1
  43. package/dist/atoms/jl-switch.css.js +3 -0
  44. package/dist/atoms/jl-switch.js +1 -1
  45. package/dist/atoms/jl-textarea.css.js +3 -0
  46. package/dist/atoms/jl-textarea.js +1 -1
  47. package/dist/base/jl-element.d.ts +2 -0
  48. package/dist/index.d.ts +4 -0
  49. package/dist/index.js +4 -1
  50. package/dist/lib/flow.js +23 -6
  51. package/dist/lib/internals.d.ts +2 -0
  52. package/dist/lib/internals.js +16 -2
  53. package/dist/lib/texts-de.d.ts +3 -0
  54. package/dist/lib/texts-de.js +3 -0
  55. package/dist/lib/texts-fr.d.ts +3 -0
  56. package/dist/lib/texts-fr.js +3 -0
  57. package/dist/lib/texts.d.ts +3 -0
  58. package/dist/lib/texts.js +3 -0
  59. package/dist/molecules/jl-accordion-item.css.js +3 -0
  60. package/dist/molecules/jl-accordion-item.js +1 -1
  61. package/dist/molecules/jl-accordion.css.js +3 -0
  62. package/dist/molecules/jl-accordion.js +1 -1
  63. package/dist/molecules/jl-account-button.css.js +3 -0
  64. package/dist/molecules/jl-account-button.js +1 -1
  65. package/dist/molecules/jl-alert.css.js +3 -0
  66. package/dist/molecules/jl-alert.js +1 -1
  67. package/dist/molecules/jl-avatar-group.css.js +3 -0
  68. package/dist/molecules/jl-avatar-group.js +1 -1
  69. package/dist/molecules/jl-breadcrumb.css.js +3 -0
  70. package/dist/molecules/jl-breadcrumb.js +1 -1
  71. package/dist/molecules/jl-calendar.css.js +3 -0
  72. package/dist/molecules/jl-calendar.js +1 -1
  73. package/dist/molecules/jl-card.css.js +3 -0
  74. package/dist/molecules/jl-card.js +1 -1
  75. package/dist/molecules/jl-chip-group.css.js +3 -0
  76. package/dist/molecules/jl-chip-group.js +1 -1
  77. package/dist/molecules/jl-code-block.css.js +3 -0
  78. package/dist/molecules/jl-code-block.js +1 -1
  79. package/dist/molecules/jl-combobox.css.js +3 -0
  80. package/dist/molecules/jl-combobox.js +1 -1
  81. package/dist/molecules/jl-copy-button.css.js +3 -0
  82. package/dist/molecules/jl-copy-button.js +1 -1
  83. package/dist/molecules/jl-date-picker.css.js +3 -0
  84. package/dist/molecules/jl-date-picker.js +1 -1
  85. package/dist/molecules/jl-empty.css.js +3 -0
  86. package/dist/molecules/jl-empty.js +1 -1
  87. package/dist/molecules/jl-facts.css.js +3 -0
  88. package/dist/molecules/jl-facts.js +1 -1
  89. package/dist/molecules/jl-field.css.js +3 -0
  90. package/dist/molecules/jl-field.js +1 -1
  91. package/dist/molecules/jl-file-drop.css.js +3 -0
  92. package/dist/molecules/jl-file-drop.js +1 -1
  93. package/dist/molecules/jl-input-list.css.js +3 -0
  94. package/dist/molecules/jl-input-list.js +1 -1
  95. package/dist/molecules/jl-list-item.css.js +3 -0
  96. package/dist/molecules/jl-list-item.js +1 -1
  97. package/dist/molecules/jl-load-more.css.js +3 -0
  98. package/dist/molecules/jl-load-more.js +1 -1
  99. package/dist/molecules/jl-load-state.css.js +3 -0
  100. package/dist/molecules/jl-load-state.d.ts +9 -0
  101. package/dist/molecules/jl-load-state.js +50 -3
  102. package/dist/molecules/jl-menu.css.js +3 -0
  103. package/dist/molecules/jl-menu.js +1 -1
  104. package/dist/molecules/jl-number-input.css.js +3 -0
  105. package/dist/molecules/jl-number-input.js +1 -1
  106. package/dist/molecules/jl-pagination.css.js +3 -0
  107. package/dist/molecules/jl-pagination.js +1 -1
  108. package/dist/molecules/jl-popover.css.js +3 -0
  109. package/dist/molecules/jl-popover.js +1 -1
  110. package/dist/molecules/jl-radio-group.css.js +3 -0
  111. package/dist/molecules/jl-radio-group.js +1 -1
  112. package/dist/molecules/jl-search-button.css.js +3 -0
  113. package/dist/molecules/jl-search-button.js +1 -1
  114. package/dist/molecules/jl-search.css.js +3 -0
  115. package/dist/molecules/jl-search.js +1 -1
  116. package/dist/molecules/jl-segmented.css.js +3 -0
  117. package/dist/molecules/jl-segmented.js +1 -1
  118. package/dist/molecules/jl-stat.css.js +3 -0
  119. package/dist/molecules/jl-stat.js +1 -1
  120. package/dist/molecules/jl-steps.css.js +3 -0
  121. package/dist/molecules/jl-steps.js +1 -1
  122. package/dist/molecules/jl-tab-panel.css.js +3 -0
  123. package/dist/molecules/jl-tab-panel.js +3 -2
  124. package/dist/molecules/jl-tabs.css.js +3 -0
  125. package/dist/molecules/jl-tabs.js +1 -1
  126. package/dist/molecules/jl-tag-input.css.js +3 -0
  127. package/dist/molecules/jl-tag-input.js +1 -1
  128. package/dist/molecules/jl-timeline.css.js +3 -0
  129. package/dist/molecules/jl-timeline.js +1 -1
  130. package/dist/molecules/jl-toast.css.js +3 -0
  131. package/dist/molecules/jl-toast.js +1 -1
  132. package/dist/molecules/jl-tooltip.css.js +3 -0
  133. package/dist/molecules/jl-tooltip.js +1 -1
  134. package/dist/organisms/jl-command-palette.css.js +3 -0
  135. package/dist/organisms/jl-command-palette.js +10 -4
  136. package/dist/organisms/jl-confirm.css.js +3 -0
  137. package/dist/organisms/jl-confirm.js +1 -1
  138. package/dist/organisms/jl-dialog.css.js +3 -0
  139. package/dist/organisms/jl-dialog.js +1 -1
  140. package/dist/organisms/jl-drawer.css.js +3 -0
  141. package/dist/organisms/jl-drawer.js +1 -1
  142. package/dist/organisms/jl-flow.css.js +3 -0
  143. package/dist/organisms/jl-flow.js +1 -1
  144. package/dist/organisms/jl-navbar.css.js +3 -0
  145. package/dist/organisms/jl-navbar.js +1 -1
  146. package/dist/organisms/jl-page-header.css.js +3 -0
  147. package/dist/organisms/jl-page-header.js +1 -1
  148. package/dist/organisms/jl-page-outlet.css.js +3 -0
  149. package/dist/organisms/jl-page-outlet.d.ts +34 -0
  150. package/dist/organisms/jl-page-outlet.js +107 -0
  151. package/dist/organisms/jl-side-nav.css.js +3 -0
  152. package/dist/organisms/jl-side-nav.js +1 -1
  153. package/dist/organisms/jl-tab-bar.css.js +3 -0
  154. package/dist/organisms/jl-tab-bar.js +1 -1
  155. package/dist/organisms/jl-table.css.js +3 -0
  156. package/dist/organisms/jl-table.js +1 -1
  157. package/dist/organisms/jl-toaster.css.js +3 -0
  158. package/dist/organisms/jl-toaster.js +1 -1
  159. package/dist/organisms/jl-tree.css.js +3 -0
  160. package/dist/organisms/jl-tree.js +1 -1
  161. package/dist/styles/base.css.js +3 -0
  162. package/dist/styles/control.css.js +3 -0
  163. package/dist/styles/floating.css.js +3 -0
  164. package/dist/styles/shared.js +4 -4
  165. package/dist/styles/tokens.css.js +3 -0
  166. package/dist/templates/jl-app-shell.css.js +3 -0
  167. package/dist/templates/jl-app-shell.js +1 -1
  168. package/dist/templates/jl-auth-layout.css.js +3 -0
  169. package/dist/templates/jl-auth-layout.js +1 -1
  170. package/dist/templates/jl-page.css.js +3 -0
  171. package/dist/templates/jl-page.js +1 -1
  172. package/dist/templates/jl-split-view.css.js +3 -0
  173. package/dist/templates/jl-split-view.js +1 -1
  174. package/dist/templates/jl-stack.css.js +3 -0
  175. package/dist/templates/jl-stack.d.ts +17 -0
  176. package/dist/templates/jl-stack.js +36 -0
  177. package/dist/types/jl-stack.types.d.ts +2 -0
  178. package/package.json +5 -4
  179. package/dist/atoms/jl-app-icon.css_raw.js +0 -3
  180. package/dist/atoms/jl-avatar.css_raw.js +0 -3
  181. package/dist/atoms/jl-badge.css_raw.js +0 -3
  182. package/dist/atoms/jl-button.css_raw.js +0 -3
  183. package/dist/atoms/jl-checkbox.css_raw.js +0 -3
  184. package/dist/atoms/jl-chip.css_raw.js +0 -3
  185. package/dist/atoms/jl-divider.css_raw.js +0 -3
  186. package/dist/atoms/jl-icon.css_raw.js +0 -3
  187. package/dist/atoms/jl-input.css_raw.js +0 -3
  188. package/dist/atoms/jl-kbd.css_raw.js +0 -3
  189. package/dist/atoms/jl-link.css_raw.js +0 -3
  190. package/dist/atoms/jl-progress-ring.css_raw.js +0 -3
  191. package/dist/atoms/jl-progress.css_raw.js +0 -3
  192. package/dist/atoms/jl-rating.css_raw.js +0 -3
  193. package/dist/atoms/jl-select.css_raw.js +0 -3
  194. package/dist/atoms/jl-skeleton.css_raw.js +0 -3
  195. package/dist/atoms/jl-slider.css_raw.js +0 -3
  196. package/dist/atoms/jl-spinner.css_raw.js +0 -3
  197. package/dist/atoms/jl-switch.css_raw.js +0 -3
  198. package/dist/atoms/jl-textarea.css_raw.js +0 -3
  199. package/dist/molecules/jl-accordion-item.css_raw.js +0 -3
  200. package/dist/molecules/jl-accordion.css_raw.js +0 -3
  201. package/dist/molecules/jl-account-button.css_raw.js +0 -3
  202. package/dist/molecules/jl-alert.css_raw.js +0 -3
  203. package/dist/molecules/jl-avatar-group.css_raw.js +0 -3
  204. package/dist/molecules/jl-breadcrumb.css_raw.js +0 -3
  205. package/dist/molecules/jl-calendar.css_raw.js +0 -3
  206. package/dist/molecules/jl-card.css_raw.js +0 -3
  207. package/dist/molecules/jl-chip-group.css_raw.js +0 -3
  208. package/dist/molecules/jl-code-block.css_raw.js +0 -3
  209. package/dist/molecules/jl-combobox.css_raw.js +0 -3
  210. package/dist/molecules/jl-copy-button.css_raw.js +0 -3
  211. package/dist/molecules/jl-date-picker.css_raw.js +0 -3
  212. package/dist/molecules/jl-empty.css_raw.js +0 -3
  213. package/dist/molecules/jl-facts.css_raw.js +0 -3
  214. package/dist/molecules/jl-field.css_raw.js +0 -3
  215. package/dist/molecules/jl-file-drop.css_raw.js +0 -3
  216. package/dist/molecules/jl-input-list.css_raw.js +0 -3
  217. package/dist/molecules/jl-list-item.css_raw.js +0 -3
  218. package/dist/molecules/jl-load-more.css_raw.js +0 -3
  219. package/dist/molecules/jl-load-state.css_raw.js +0 -3
  220. package/dist/molecules/jl-menu.css_raw.js +0 -3
  221. package/dist/molecules/jl-number-input.css_raw.js +0 -3
  222. package/dist/molecules/jl-pagination.css_raw.js +0 -3
  223. package/dist/molecules/jl-popover.css_raw.js +0 -3
  224. package/dist/molecules/jl-radio-group.css_raw.js +0 -3
  225. package/dist/molecules/jl-search-button.css_raw.js +0 -3
  226. package/dist/molecules/jl-search.css_raw.js +0 -3
  227. package/dist/molecules/jl-segmented.css_raw.js +0 -3
  228. package/dist/molecules/jl-stat.css_raw.js +0 -3
  229. package/dist/molecules/jl-steps.css_raw.js +0 -3
  230. package/dist/molecules/jl-tab-panel.css_raw.js +0 -3
  231. package/dist/molecules/jl-tabs.css_raw.js +0 -3
  232. package/dist/molecules/jl-tag-input.css_raw.js +0 -3
  233. package/dist/molecules/jl-timeline.css_raw.js +0 -3
  234. package/dist/molecules/jl-toast.css_raw.js +0 -3
  235. package/dist/molecules/jl-tooltip.css_raw.js +0 -3
  236. package/dist/organisms/jl-command-palette.css_raw.js +0 -3
  237. package/dist/organisms/jl-confirm.css_raw.js +0 -3
  238. package/dist/organisms/jl-dialog.css_raw.js +0 -3
  239. package/dist/organisms/jl-drawer.css_raw.js +0 -3
  240. package/dist/organisms/jl-flow.css_raw.js +0 -3
  241. package/dist/organisms/jl-navbar.css_raw.js +0 -3
  242. package/dist/organisms/jl-page-header.css_raw.js +0 -3
  243. package/dist/organisms/jl-side-nav.css_raw.js +0 -3
  244. package/dist/organisms/jl-tab-bar.css_raw.js +0 -3
  245. package/dist/organisms/jl-table.css_raw.js +0 -3
  246. package/dist/organisms/jl-toaster.css_raw.js +0 -3
  247. package/dist/organisms/jl-tree.css_raw.js +0 -3
  248. package/dist/styles/base.css_raw.js +0 -3
  249. package/dist/styles/control.css_raw.js +0 -3
  250. package/dist/styles/floating.css_raw.js +0 -3
  251. package/dist/styles/tokens.css_raw.js +0 -3
  252. package/dist/templates/jl-app-shell.css_raw.js +0 -3
  253. package/dist/templates/jl-auth-layout.css_raw.js +0 -3
  254. package/dist/templates/jl-page.css_raw.js +0 -3
  255. package/dist/templates/jl-split-view.css_raw.js +0 -3
@@ -0,0 +1,34 @@
1
+ import { JlElement } from '../base/jl-element';
2
+ /**
3
+ * Where an app's pages show, one at a time. A new page loads out of sight while the current one stays, usable,
4
+ * under a line that says the next one is on its way; it takes the current one's place once its load states have
5
+ * their data, or after `max-wait`, so a page never shows half drawn. The first page shows at once. It is the router's
6
+ * way to show its pages: `router.mountOn(outlet, { show: (page) => outlet.show(page) })`.
7
+ */
8
+ export declare class JlPageOutlet extends JlElement {
9
+ static readonly selector = "jl-page-outlet";
10
+ readonly events: Readonly<import("@jadis/core").UseEventsHandler<{
11
+ show: HTMLElement;
12
+ }>>;
13
+ /** The longest the current page stays while the next one loads, in milliseconds. */
14
+ readonly maxWait: Readonly<Readonly<{
15
+ get(): number;
16
+ set(setter: number | ((prevState: number) => number)): void;
17
+ }>>;
18
+ private readonly _swap;
19
+ private readonly _refs;
20
+ /**
21
+ * Shows a page: at once when none shows yet, else once it has its data, the current one staying until then. A page
22
+ * still loading when another comes is dropped.
23
+ */
24
+ show(page: HTMLElement): void;
25
+ templateHtml(): Node;
26
+ templateCss(): string;
27
+ private showOnceLoaded;
28
+ /** Puts the page in the current one's place. */
29
+ private reveal;
30
+ private pages;
31
+ private drawWaiting;
32
+ /** Brings the top of the new page into view, as a page loaded by the browser starts at its top. */
33
+ private scrollToTop;
34
+ }
@@ -0,0 +1,107 @@
1
+ import { BASE_STYLES } from "../styles/shared.js";
2
+ import { JlElement } from "../base/jl-element.js";
3
+ import { clampedNumber } from "../lib/attributes.js";
4
+ import { define } from "../lib/define.js";
5
+ import { setOrRemove } from "../lib/dom.js";
6
+ import { JlLoadingBar } from "../atoms/jl-loading-bar.js";
7
+ import { JlLoadState } from "../molecules/jl-load-state.js";
8
+ import jl_page_outlet_default from "./jl-page-outlet.css.js";
9
+ import { css } from "@jadis/core";
10
+ import { Fragment, jsx, jsxs } from "@jadis/core/jsx-runtime";
11
+ // src/organisms/jl-page-outlet.tsx
12
+ var DEFAULT_MAX_WAIT_MS = 3e3;
13
+ var MAX_WAIT_LIMIT_MS = 3e4;
14
+ var NEXT_SLOT = "next";
15
+ define(JlLoadingBar);
16
+ /** Resolves after some milliseconds, or once the signal aborts. */
17
+ function waitFor(milliseconds, signal) {
18
+ return new Promise((resolve) => {
19
+ const timer = setTimeout(resolve, milliseconds);
20
+ signal.addEventListener("abort", () => {
21
+ clearTimeout(timer);
22
+ resolve();
23
+ }, { once: true });
24
+ });
25
+ }
26
+ /**
27
+ * Where an app's pages show, one at a time. A new page loads out of sight while the current one stays, usable,
28
+ * under a line that says the next one is on its way; it takes the current one's place once its load states have
29
+ * their data, or after `max-wait`, so a page never shows half drawn. The first page shows at once. It is the router's
30
+ * way to show its pages: `router.mountOn(outlet, { show: (page) => outlet.show(page) })`.
31
+ */
32
+ var JlPageOutlet = class extends JlElement {
33
+ static selector = "jl-page-outlet";
34
+ events = this.useEvents();
35
+ /** The longest the current page stays while the next one loads, in milliseconds. */
36
+ maxWait = this.useChange(DEFAULT_MAX_WAIT_MS, () => void 0, {
37
+ attribute: "max-wait",
38
+ parse: clampedNumber(DEFAULT_MAX_WAIT_MS, 0, MAX_WAIT_LIMIT_MS)
39
+ });
40
+ _swap = {};
41
+ _refs = this.useRefs((ref) => ({ line: ref(JlLoadingBar) }));
42
+ /**
43
+ * Shows a page: at once when none shows yet, else once it has its data, the current one staying until then. A page
44
+ * still loading when another comes is dropped.
45
+ */
46
+ show(page) {
47
+ this._swap.pending?.abort();
48
+ for (const dropped of this.pages().filter((child) => child.slot === NEXT_SLOT)) dropped.remove();
49
+ if (this.pages().length === 0) {
50
+ this.append(page);
51
+ this.reveal(page);
52
+ return;
53
+ }
54
+ this.showOnceLoaded(page);
55
+ }
56
+ templateHtml() {
57
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
58
+ /* @__PURE__ */ jsx("jl-loading-bar", {
59
+ class: "line",
60
+ attrs: { part: "line" }
61
+ }),
62
+ /* @__PURE__ */ jsx("slot", {}),
63
+ /* @__PURE__ */ jsx("div", {
64
+ class: "next",
65
+ inert: true,
66
+ "aria-hidden": "true",
67
+ children: /* @__PURE__ */ jsx("slot", { name: NEXT_SLOT })
68
+ })
69
+ ] });
70
+ }
71
+ templateCss() {
72
+ return css`${BASE_STYLES}${jl_page_outlet_default}`;
73
+ }
74
+ async showOnceLoaded(page) {
75
+ const pending = new AbortController();
76
+ this._swap.pending = pending;
77
+ page.slot = NEXT_SLOT;
78
+ this.append(page);
79
+ this.drawWaiting(true);
80
+ await Promise.race([JlLoadState.whenSettled(page, pending.signal), waitFor(this.maxWait.get(), pending.signal)]);
81
+ if (pending.signal.aborted) return;
82
+ pending.abort();
83
+ this.reveal(page);
84
+ }
85
+ /** Puts the page in the current one's place. */
86
+ reveal(page) {
87
+ for (const left of this.pages().filter((child) => child !== page)) left.remove();
88
+ page.removeAttribute("slot");
89
+ this.drawWaiting(false);
90
+ this.scrollToTop();
91
+ this.events.emit("show", page);
92
+ }
93
+ pages() {
94
+ return [...this.children].filter((child) => child instanceof HTMLElement);
95
+ }
96
+ drawWaiting(waiting) {
97
+ setOrRemove(this, "aria-busy", waiting ? "true" : "");
98
+ this.whenRendered(() => this._refs.line.active.set(waiting));
99
+ }
100
+ /** Brings the top of the new page into view, as a page loaded by the browser starts at its top. */
101
+ scrollToTop() {
102
+ if (this.getBoundingClientRect().top >= 0) return;
103
+ this.scrollIntoView({ block: "start" });
104
+ }
105
+ };
106
+ JlPageOutlet.register();
107
+ export { JlPageOutlet };
@@ -0,0 +1,3 @@
1
+ // src/organisms/jl-side-nav.css?inline
2
+ var jl_side_nav_default = ":host{width:var(--width,248px);height:100%;min-height:0;transition:width var(--jl-slow) var(--jl-ease);display:block}:host([rail]){width:var(--rail-width,60px)}nav{height:100%;color:var(--jl-text-2);font-size:var(--jl-font-md);flex-direction:column;gap:8px;padding:12px 8px;display:flex;overflow:hidden auto}.bottom{flex-direction:column;gap:8px;margin-top:auto;display:flex}.fold{align-self:flex-start}:host([rail]) .fold{align-self:center}.sections{gap:14px;display:grid}.section{gap:2px;display:grid}.section-label{color:var(--jl-muted);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;padding:4px 10px 6px;font-size:11px;font-weight:650}.items,.children{gap:2px;margin:0;padding:0;list-style:none;display:grid}.children{margin-top:2px}.entry{position:relative}.item{border-radius:var(--jl-radius-sm);width:100%;min-height:34px;color:inherit;font:inherit;text-align:start;white-space:nowrap;cursor:pointer;transition:background var(--jl-fast) var(--jl-ease), color var(--jl-fast) var(--jl-ease);background:0 0;border:none;align-items:center;gap:10px;padding:0 10px;font-weight:550;text-decoration:none;display:flex}.item[data-depth=\"1\"]{padding-left:36px}.item[data-depth=\"2\"]{padding-left:50px}.item[data-depth=\"3\"]{padding-left:64px}.item:hover{background:var(--jl-surface-3);color:var(--jl-text)}.item[aria-current=page]{background:var(--jl-accent-soft);color:var(--jl-accent)}.item.holds-active{color:var(--jl-text)}.item-icon{color:var(--jl-faint)}.item:hover .item-icon,.item.holds-active .item-icon{color:var(--jl-text-2)}.item[aria-current=page] .item-icon{color:var(--jl-accent)}.item-initial{border-radius:var(--jl-radius-xs);background:var(--jl-surface-3);width:20px;height:20px;color:var(--jl-text-2);flex:none;justify-content:center;align-items:center;font-size:11px;font-weight:700;display:none}.item:not([data-depth=\"0\"]) .item-initial{display:none}.item-label{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.item-badge{border-radius:var(--jl-radius-pill);background:var(--jl-surface-3);min-width:20px;color:var(--jl-text-2);text-align:center;flex:none;padding:2px 6px;font-size:11px;font-weight:650;line-height:14px}.item[aria-current=page] .item-badge{background:var(--jl-accent);color:var(--jl-on-accent)}.expander jl-icon{transition:transform var(--jl-fast) var(--jl-ease)}.chevron{color:var(--jl-faint);transition:transform var(--jl-fast) var(--jl-ease)}.entry.open>.item .chevron,.entry.open>.expander jl-icon{transform:rotate(90deg)}.expander{border-radius:var(--jl-radius-xs);width:24px;height:24px;color:var(--jl-faint);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:5px;right:6px}.expander:hover{background:var(--jl-surface-3);color:var(--jl-text)}.entry:has(>.expander)>.item{padding-right:36px}:host([rail]) .section-label{background:var(--jl-line);color:#0000;height:1px;margin:4px 10px;padding:0;overflow:hidden}:host([rail]) .section:first-child .section-label{display:none}:host([rail]) .item{justify-content:center;padding:0}:host([rail]) .item-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}:host([rail]) .item-initial{display:inline-flex}:host([rail]) .item-badge{background:var(--jl-accent);color:#0000;width:8px;min-width:0;height:8px;padding:0;position:absolute;top:5px;right:9px;overflow:hidden}:host([rail]) .children{display:none}";
3
+ export { jl_side_nav_default as default };
@@ -7,7 +7,7 @@ import { JlIcon } from "../atoms/jl-icon.js";
7
7
  import { setOrRemove, uniqueId } from "../lib/dom.js";
8
8
  import { JlButton } from "../atoms/jl-button.js";
9
9
  import { findItem, firstLeaf, pathInSections } from "../lib/nav-tree.js";
10
- import jl_side_nav_default from "./jl-side-nav.css_raw.js";
10
+ import jl_side_nav_default from "./jl-side-nav.css.js";
11
11
  import { css } from "@jadis/core";
12
12
  import { ChevronRight, PanelLeftClose, PanelLeftOpen } from "lucide";
13
13
  import { jsx, jsxs } from "@jadis/core/jsx-runtime";
@@ -0,0 +1,3 @@
1
+ // src/organisms/jl-tab-bar.css?inline
2
+ var jl_tab_bar_default = ":host{--height:60px;display:block}nav{min-height:var(--height);padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--jl-line);background:var(--jl-surface);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;display:grid}.items{display:contents}.item{min-width:0;color:var(--jl-muted);cursor:pointer;transition:color var(--jl-fast) var(--jl-ease);background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:6px 2px;font-size:11px;font-weight:600;line-height:1.4;text-decoration:none;display:flex}.item:hover{color:var(--jl-text)}.item[aria-current=page]{color:var(--jl-accent)}.item:focus-visible{box-shadow:none}.icon{border-radius:var(--jl-radius-pill);width:52px;height:28px;transition:background var(--jl-fast) var(--jl-ease);place-items:center;display:inline-grid;position:relative}.item:focus-visible .icon{box-shadow:var(--jl-focus-ring)}.item[aria-current=page] .icon{background:var(--jl-accent-soft)}.label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:0 2px;overflow:hidden}.badge{border:2px solid var(--jl-surface);border-radius:var(--jl-radius-pill);background:var(--jl-accent);min-width:18px;height:18px;color:var(--jl-on-accent);text-align:center;padding:0 5px;font-size:10px;font-weight:700;line-height:14px;position:absolute;top:-4px;left:calc(50% + 4px)}";
3
+ export { jl_tab_bar_default as default };
@@ -5,7 +5,7 @@ import { jsonOf, textOf } from "../lib/attributes.js";
5
5
  import { registerIcons } from "../lib/icons.js";
6
6
  import { JlIcon } from "../atoms/jl-icon.js";
7
7
  import { setOrRemove } from "../lib/dom.js";
8
- import jl_tab_bar_default from "./jl-tab-bar.css_raw.js";
8
+ import jl_tab_bar_default from "./jl-tab-bar.css.js";
9
9
  import { css } from "@jadis/core";
10
10
  import { Ellipsis } from "lucide";
11
11
  import { Fragment, jsx, jsxs } from "@jadis/core/jsx-runtime";
@@ -0,0 +1,3 @@
1
+ // src/organisms/jl-table.css?inline
2
+ var jl_table_default = ":host{contain:inline-size;--max-height:none;--cell-y:10px;--cell-x:14px;--select-width:44px;--expand-width:36px;--lead:0px;display:block}:host([expandable]){--lead:var(--expand-width)}:host([expandable][selectable]){--expand-width:28px;--lead:calc(var(--select-width) + var(--expand-width))}:host([dense]){--cell-y:6px;--cell-x:12px}.scroll{max-height:var(--max-height);border:1px solid var(--jl-line);border-radius:var(--jl-radius);background:var(--jl-surface);overscroll-behavior-x:contain;overflow:auto}:host([expandable]) .scroll{container-type:inline-size}table{border-collapse:separate;border-spacing:0;width:100%;color:var(--jl-text);font-size:var(--jl-font-md);line-height:20px}th,td{padding:var(--cell-y) var(--cell-x);white-space:nowrap;vertical-align:middle}th{z-index:1;border-bottom:1px solid var(--jl-line);background:var(--jl-surface-2);color:var(--jl-muted);font-size:var(--jl-font-xs);letter-spacing:.01em;text-align:left;font-weight:600;position:sticky;top:0}td{border-top:1px solid var(--jl-line-soft)}tbody tr:first-child td{border-top:none}tbody tr.empty td{padding:40px var(--cell-x);color:var(--jl-muted);text-align:center}tbody tr.detail td{padding:0 var(--cell-x) calc(var(--cell-y) + 6px) calc(var(--lead) + var(--cell-x));white-space:normal;cursor:auto;border-top:none}.detail-body{left:calc(var(--lead) + var(--cell-x));max-width:calc(100cqi - var(--lead) - 2 * var(--cell-x));position:sticky}.align-left{text-align:left}.align-center{text-align:center}.align-right{text-align:right}.sort{border-radius:var(--jl-radius-xs);color:inherit;font-weight:inherit;letter-spacing:inherit;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;margin:-2px -4px;padding:2px 4px;display:inline-flex}.sort:hover{color:var(--jl-text)}.sort-icon{color:var(--jl-faint)}th[data-sorted]{color:var(--jl-text)}th[data-sorted] .sort-icon{color:var(--jl-accent)}tbody tr[data-selected] td,tbody tr[data-marked] td{background:var(--jl-accent-soft)}tbody tr[data-marked] td:first-child{box-shadow:inset 3px 0 0 var(--jl-accent)}tbody tr:not(.empty,.skeleton,.detail,[data-selected]):hover td,:host([striped]) tbody tr:nth-child(2n of :where(:not(.detail))):not(.empty,[data-selected],[data-marked]) td{background:var(--jl-surface-2)}:host([striped]) tbody tr:not(.empty,.skeleton,.detail,[data-selected]):hover td{background:var(--jl-surface-3)}:host([striped]) tbody tr:nth-child(2n of :where(:not(.detail))):not([data-selected],[data-marked])+.detail td{background:var(--jl-surface-2)}.format-number{font-variant-numeric:tabular-nums}td.wrap{white-space:normal;overflow-wrap:anywhere;min-width:160px}.format-date{color:var(--jl-text-2);font-variant-numeric:tabular-nums}code{border-radius:var(--jl-radius-xs);background:var(--jl-code-bg);font-size:var(--jl-font-xs);padding:2px 6px}.select-cell{width:var(--select-width);padding-right:0;line-height:0}.expand-cell{width:var(--expand-width);padding-right:0;padding-left:calc(var(--cell-x) - 4px);line-height:0}.select-cell+.expand-cell{padding-left:0}:host([expandable]) tbody tr[data-index]{cursor:pointer}.expand{border-radius:var(--jl-radius-xs);width:24px;height:24px;color:var(--jl-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;margin:-2px 0;padding:0;display:inline-flex}.expand:hover{color:var(--jl-text)}.chevron{transition:rotate var(--jl-fast) var(--jl-ease)}.expand[aria-expanded=true] .chevron{rotate:90deg}.check{display:inline-flex;position:relative}.checkbox{border:1.5px solid var(--jl-line-strong);background:var(--jl-surface);cursor:pointer;appearance:none;width:16px;height:16px;transition:background var(--jl-fast) var(--jl-ease), border-color var(--jl-fast) var(--jl-ease);border-radius:4px;margin:0}.checkbox:hover{border-color:var(--jl-muted)}.checkbox:checked,.checkbox:indeterminate{border-color:var(--jl-accent);background:var(--jl-accent)}.checkbox:disabled{cursor:not-allowed;opacity:.5}.mark{pointer-events:none;position:absolute;inset:0}.checkbox:checked+.mark:after{border:solid var(--jl-on-accent);content:\"\";border-width:0 2px 2px 0;width:5px;height:9px;position:absolute;top:2.5px;left:5.5px;rotate:45deg}.checkbox:indeterminate+.mark:after{background:var(--jl-on-accent);content:\"\";border-radius:1px;height:2px;position:absolute;top:7px;left:4px;right:4px}.empty-content{align-items:center;gap:8px;display:inline-flex}.empty jl-icon{color:var(--jl-faint)}.bone{border-radius:var(--jl-radius-pill);background:linear-gradient(90deg, var(--jl-surface-3) 30%, var(--jl-surface-2) 50%, var(--jl-surface-3) 70%) 0 0 / 300% 100%;vertical-align:middle;width:70%;max-width:160px;height:10px;animation:1.4s linear infinite shimmer;display:inline-block}.bone.box{border-radius:4px;width:16px;height:16px}tbody tr.skeleton:nth-child(3n+2) .bone:not(.box){width:50%}tbody tr.skeleton:nth-child(3n) .bone:not(.box){width:85%}@media (prefers-reduced-motion:reduce){.bone{animation:none}}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}.cell-description{color:var(--jl-muted);font-size:var(--jl-font-xs);margin-top:2px}";
3
+ export { jl_table_default as default };
@@ -8,7 +8,7 @@ import { JlIcon } from "../atoms/jl-icon.js";
8
8
  import { setOrRemove } from "../lib/dom.js";
9
9
  import { JlBadge } from "../atoms/jl-badge.js";
10
10
  import { startedOnControl } from "../lib/surface.js";
11
- import jl_table_default from "./jl-table.css_raw.js";
11
+ import jl_table_default from "./jl-table.css.js";
12
12
  import { css } from "@jadis/core";
13
13
  import { ArrowDown, ArrowUp, ChevronRight, ChevronsUpDown, Inbox } from "lucide";
14
14
  import { Fragment, jsx, jsxs } from "@jadis/core/jsx-runtime";
@@ -0,0 +1,3 @@
1
+ // src/organisms/jl-toaster.css?inline
2
+ var jl_toaster_default = ":host{--edge:16px;--width:380px;display:contents}.region{--bottom:var(--edge-bottom,calc(var(--edge) + var(--jl-shell-bottom,0px)));width:min(var(--width), calc(100vw - 2 * var(--edge)));color:var(--jl-text);pointer-events:none;background:0 0;border:none;flex-direction:column;gap:10px;margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:visible}.region:not(:popover-open){display:none}::slotted(*){pointer-events:auto}::slotted([data-stacked]){display:none}:host([placement=bottom-right]) .region{right:var(--edge);bottom:var(--bottom)}:host([placement=bottom-left]) .region{bottom:var(--bottom);left:var(--edge)}:host([placement=bottom-center]) .region{bottom:var(--bottom);left:50%;translate:-50%}:host([placement^=top]) .region{top:var(--edge);flex-direction:column-reverse}:host([placement^=top]) ::slotted(*){--jl-toast-enter:-8px}:host([placement=top-right]) .region{right:var(--edge)}:host([placement=top-center]) .region{left:50%;translate:-50%}";
3
+ export { jl_toaster_default as default };
@@ -8,7 +8,7 @@ import { formatDuration } from "../lib/time.js";
8
8
  import { formatFileSize } from "../lib/files.js";
9
9
  import { JlToast } from "../molecules/jl-toast.js";
10
10
  import { answerError, dispositionFileName, readWithProgress, saveBlob, urlFileName } from "../lib/download.js";
11
- import jl_toaster_default from "./jl-toaster.css_raw.js";
11
+ import jl_toaster_default from "./jl-toaster.css.js";
12
12
  import { css } from "@jadis/core";
13
13
  import { Download } from "lucide";
14
14
  import { jsx } from "@jadis/core/jsx-runtime";
@@ -0,0 +1,3 @@
1
+ // src/organisms/jl-tree.css?inline
2
+ var jl_tree_default = ":host{--indent:16px;--row-height:30px;display:block}.tree{color:var(--jl-text-2);font-size:var(--jl-font-md)}.group{position:relative}.group:before{top:0;bottom:4px;left:calc(8px + var(--level) * var(--indent) + 6.5px);background:var(--jl-line);content:\"\";width:1px;position:absolute}.item:focus-visible{box-shadow:none}.row{height:var(--row-height);padding:0 8px 0 calc(8px + var(--level) * var(--indent));border-radius:var(--jl-radius-sm);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;display:flex}.row:hover{background:var(--jl-surface-2);color:var(--jl-text)}.item:focus-visible>.row{box-shadow:var(--jl-focus-ring)}.item[aria-selected=true]>.row{background:var(--jl-accent-soft);color:var(--jl-text);font-weight:600}.chevron{width:14px;color:var(--jl-faint);transition:rotate var(--jl-fast) var(--jl-ease);flex:none;justify-content:center;display:inline-flex}.item[aria-expanded=true]>.row>.chevron{rotate:90deg}.icon{color:var(--jl-muted)}.item[aria-selected=true]>.row>.icon{color:var(--jl-accent)}.label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}a.row{color:inherit;text-decoration:none}.item.level-end>.row{color:var(--jl-muted)}.level-end[aria-disabled=true]>.row{cursor:default}.level-end[aria-disabled=true]>.row:hover{background:0 0}.spinner{color:var(--jl-muted);flex:none}.more,.retry{color:var(--jl-accent);flex:none;font-weight:500}.level-end>.row:hover .more,.level-end>.row:hover .retry{color:var(--jl-accent-strong)}.icon.error{color:var(--jl-danger)}.note{min-height:var(--row-height);padding:0 8px 0 calc(8px + var(--level) * var(--indent));color:var(--jl-muted);align-items:center;gap:6px;display:flex}.badge{color:var(--jl-faint);font-size:var(--jl-font-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}";
3
+ export { jl_tree_default as default };
@@ -8,7 +8,7 @@ import { JlIcon } from "../atoms/jl-icon.js";
8
8
  import { isModifiedClick, setOrRemove, uniqueId } from "../lib/dom.js";
9
9
  import { JlSpinner } from "../atoms/jl-spinner.js";
10
10
  import { allItems, childrenOf, isFolder, treeKeyAction, withExpanded, withExtraRows, withPage } from "../lib/tree.js";
11
- import jl_tree_default from "./jl-tree.css_raw.js";
11
+ import jl_tree_default from "./jl-tree.css.js";
12
12
  import { css } from "@jadis/core";
13
13
  import { ChevronRight, CircleAlert, File, Folder, FolderOpen } from "lucide";
14
14
  import { jsx, jsxs } from "@jadis/core/jsx-runtime";
@@ -0,0 +1,3 @@
1
+ // src/styles/base.css?inline
2
+ var base_default = ":host{box-sizing:border-box;font-family:var(--jl-font-sans);-webkit-tap-highlight-color:transparent}:host([hidden]){display:none!important}*,:before,:after{box-sizing:inherit}[hidden]{display:none!important}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{box-shadow:var(--jl-focus-ring);outline:none}h1,h2,h3,h4,p,ul,ol,figure{margin:0}code,kbd,pre{font-family:var(--jl-font-mono)}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}";
3
+ export { base_default as default };
@@ -0,0 +1,3 @@
1
+ // src/styles/control.css?inline
2
+ var control_default = ".control{width:100%;min-height:var(--height,var(--jl-control-md));border:1px solid var(--jl-line-strong);border-radius:var(--jl-radius-sm);background:var(--jl-surface);color:var(--jl-text);font-size:var(--jl-control-font);transition:border-color var(--jl-fast) var(--jl-ease), box-shadow var(--jl-fast) var(--jl-ease);align-items:center;gap:8px;padding:0 12px;line-height:20px;display:flex}.control:hover{border-color:color-mix(in srgb, var(--jl-line-strong) 60%, var(--jl-text) 18%)}.control:focus-within{border-color:var(--jl-accent);box-shadow:var(--jl-focus-ring)}:host([invalid]) .control{border-color:var(--jl-danger)}:host([invalid]) .control:focus-within{box-shadow:0 0 0 3px color-mix(in srgb, var(--jl-danger) 25%, transparent)}:host([disabled]) .control,:host(:disabled) .control{background:var(--jl-surface-2);color:var(--jl-muted);cursor:not-allowed}:host([size=sm]){--height:var(--jl-control-sm)}:host([size=lg]){--height:var(--jl-control-lg)}.native{min-width:0;height:calc(var(--height,var(--jl-control-md)) - 2px);color:inherit;font:inherit;background:0 0;border:none;outline:none;flex:1;padding:0}.native::placeholder{color:var(--jl-faint)}.native:focus-visible{box-shadow:none}.native:disabled{cursor:not-allowed}.adornment{color:var(--jl-faint);flex:none;align-items:center;display:inline-flex}.action{border-radius:var(--jl-radius-xs);width:24px;height:24px;color:var(--jl-faint);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;margin-right:-4px;padding:0;display:inline-flex}.action:hover{background:var(--jl-surface-3);color:var(--jl-text)}";
3
+ export { control_default as default };
@@ -0,0 +1,3 @@
1
+ // src/styles/floating.css?inline
2
+ var floating_default = ".floating{color:var(--jl-text);background:0 0;border:none;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.floating:popover-open{animation:jl-float-in var(--jl-fast) var(--jl-ease)}.panel{border:1px solid var(--jl-line);border-radius:var(--jl-radius);background:var(--jl-surface);box-shadow:var(--jl-shadow-lg)}@keyframes jl-float-in{0%{opacity:0;transform:translateY(-2px)scale(.98)}}";
3
+ export { floating_default as default };
@@ -1,7 +1,7 @@
1
- import base_default from "./base.css_raw.js";
2
- import control_default from "./control.css_raw.js";
3
- import floating_default from "./floating.css_raw.js";
4
- import tokens_default from "./tokens.css_raw.js";
1
+ import base_default from "./base.css.js";
2
+ import control_default from "./control.css.js";
3
+ import floating_default from "./floating.css.js";
4
+ import tokens_default from "./tokens.css.js";
5
5
  // src/styles/shared.ts
6
6
  /** First in every shadow root. */
7
7
  var BASE_STYLES = base_default;
@@ -0,0 +1,3 @@
1
+ // src/styles/tokens.css?inline
2
+ var tokens_default = "@layer jlib{:root,[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--jl-font-sans:\"Manrope Variable\", \"Manrope\", system-ui, -apple-system, \"Segoe UI\", sans-serif;--jl-font-mono:\"JetBrains Mono Variable\", \"JetBrains Mono\", ui-monospace, \"SF Mono\", Menlo, monospace;--jl-font-xs:12px;--jl-font-sm:13px;--jl-font-md:14px;--jl-font-lg:16px;--jl-font-xl:20px;--jl-font-2xl:28px;--jl-text:#0b0b0c;--jl-text-2:#3a3f47;--jl-muted:#5b616b;--jl-faint:#8a9099;--jl-bg:#fff;--jl-surface:#fff;--jl-surface-2:#f7f8f9;--jl-surface-3:#eef0f2;--jl-code-bg:#f0f2f4;--jl-line:#e6e8eb;--jl-line-soft:#eef0f2;--jl-line-strong:#d5d9de;--jl-brand:#0e88d3;--jl-accent:#0c72b0;--jl-accent-strong:#095a8b;--jl-accent-soft:#e9f4fb;--jl-accent-line:#b7dbf2;--jl-on-accent:#fff;--jl-on-brand:#fff;--jl-ok:#17784a;--jl-ok-soft:#ecf6f0;--jl-warn:#9a5b00;--jl-warn-soft:#fcf4e6;--jl-danger:#b42318;--jl-danger-soft:#fdf0ef;--jl-on-danger:#fff;--jl-info:#0c72b0;--jl-info-soft:#e9f4fb;--jl-code-keyword:#0c72b0;--jl-code-tag:#095a8b;--jl-code-attribute:#5b48c8;--jl-code-string:#17784a;--jl-code-number:#9a5b00;--jl-code-function:#3d5a80;--jl-code-property:#127a72;--jl-code-comment:#8a9099;--jl-radius-xs:6px;--jl-radius-sm:8px;--jl-radius:10px;--jl-radius-lg:12px;--jl-radius-xl:20px;--jl-radius-pill:999px;--jl-space-1:4px;--jl-space-2:8px;--jl-space-3:12px;--jl-space-4:16px;--jl-space-5:20px;--jl-space-6:24px;--jl-space-8:32px;--jl-space-10:40px;--jl-space-12:48px;--jl-space-16:64px;--jl-control-sm:30px;--jl-control-md:36px;--jl-control-lg:44px;--jl-control-font:var(--jl-font-md);--jl-page-form:720px;--jl-page-standard:1120px;--jl-page-wide:1400px;--jl-shadow-sm:0 1px 2px #0b0b0c0d;--jl-shadow:0 6px 16px -6px #0b0b0c1f;--jl-shadow-lg:0 18px 44px -14px #0b0b0c38;--jl-focus-ring:0 0 0 3px color-mix(in srgb, var(--jl-brand) 35%, transparent);--jl-scrim:#0b0b0c61;--jl-ease:cubic-bezier(.2, .7, .2, 1);--jl-fast:.12s;--jl-slow:.24s}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--jl-text:#eceef1;--jl-text-2:#c3c8cf;--jl-muted:#959ca6;--jl-faint:#6b727c;--jl-bg:#0f1113;--jl-surface:#0f1113;--jl-surface-2:#16191c;--jl-surface-3:#1d2125;--jl-code-bg:#1d2125;--jl-line:#262a2f;--jl-line-soft:#1f2327;--jl-line-strong:#343a41;--jl-brand:#1a9be0;--jl-accent:#3ea6e8;--jl-accent-strong:#6cc0f2;--jl-accent-soft:#0f2a3b;--jl-accent-line:#1e4a66;--jl-on-accent:#04131c;--jl-ok:#4cc38a;--jl-ok-soft:#10261c;--jl-warn:#e5a54b;--jl-warn-soft:#2a2012;--jl-danger:#f0786c;--jl-danger-soft:#3a1a17;--jl-on-danger:#1c0604;--jl-info:#3ea6e8;--jl-info-soft:#0f2a3b;--jl-code-keyword:#3ea6e8;--jl-code-tag:#6cc0f2;--jl-code-attribute:#a99bf0;--jl-code-string:#4cc38a;--jl-code-number:#e5a54b;--jl-code-function:#8fb0d6;--jl-code-property:#4fc1b5;--jl-code-comment:#6b727c;--jl-shadow-sm:0 1px 2px #0006;--jl-shadow:0 6px 18px -6px #0009;--jl-shadow-lg:0 18px 44px -12px #000000b3;--jl-scrim:#0000008c}}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--jl-text:#eceef1;--jl-text-2:#c3c8cf;--jl-muted:#959ca6;--jl-faint:#6b727c;--jl-bg:#0f1113;--jl-surface:#0f1113;--jl-surface-2:#16191c;--jl-surface-3:#1d2125;--jl-code-bg:#1d2125;--jl-line:#262a2f;--jl-line-soft:#1f2327;--jl-line-strong:#343a41;--jl-brand:#1a9be0;--jl-accent:#3ea6e8;--jl-accent-strong:#6cc0f2;--jl-accent-soft:#0f2a3b;--jl-accent-line:#1e4a66;--jl-on-accent:#04131c;--jl-ok:#4cc38a;--jl-ok-soft:#10261c;--jl-warn:#e5a54b;--jl-warn-soft:#2a2012;--jl-danger:#f0786c;--jl-danger-soft:#3a1a17;--jl-on-danger:#1c0604;--jl-info:#3ea6e8;--jl-info-soft:#0f2a3b;--jl-code-keyword:#3ea6e8;--jl-code-tag:#6cc0f2;--jl-code-attribute:#a99bf0;--jl-code-string:#4cc38a;--jl-code-number:#e5a54b;--jl-code-function:#8fb0d6;--jl-code-property:#4fc1b5;--jl-code-comment:#6b727c;--jl-shadow-sm:0 1px 2px #0006;--jl-shadow:0 6px 18px -6px #0009;--jl-shadow-lg:0 18px 44px -12px #000000b3;--jl-scrim:#0000008c}@media (pointer:coarse){:root,[data-theme=light],[data-theme=dark]{--jl-control-sm:36px;--jl-control-md:44px;--jl-control-lg:48px;--jl-control-font:16px}}}";
3
+ export { tokens_default as default };
@@ -0,0 +1,3 @@
1
+ // src/templates/jl-app-shell.css?inline
2
+ var jl_app_shell_default = ":host{--header-height:56px;--drawer-width:min(300px, 86%);height:100%;min-height:0;display:block;container:jl-app-shell/inline-size}.shell{background:var(--jl-bg);height:100%;color:var(--jl-text);grid-template:\"top top top\"\"nav main aside\"minmax(0,1fr)/auto minmax(0,1fr) auto;display:grid;position:relative;overflow:hidden}.top{min-height:var(--header-height);border-bottom:1px solid var(--jl-line);background:var(--jl-surface);grid-area:top;align-items:center;gap:8px;padding:0 16px;display:flex}:host(:not([has-header])) .top,:host([narrow-header]) .top{display:none}::slotted([slot=header]){flex:1;min-width:0}.menu{width:var(--jl-control-md);height:var(--jl-control-md);border-radius:var(--jl-radius-sm);color:var(--jl-text-2);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;margin-left:-8px;padding:0;display:none}.menu:hover{background:var(--jl-surface-3);color:var(--jl-text)}.nav{border-right:1px solid var(--jl-line);background:var(--jl-surface);grid-area:nav;min-height:0;overflow-y:auto}.nav:focus-visible{box-shadow:none}:host(:not([has-nav])) .nav{display:none}.main{isolation:isolate;grid-area:main;min-width:0;min-height:0;overflow:auto}.aside{border-left:1px solid var(--jl-line);background:var(--jl-surface);grid-area:aside;min-height:0;overflow-y:auto}:host(:not([has-aside])) .aside,.tabs,.scrim{display:none}@container jl-app-shell (width<960px){.shell{grid-template:\"top\"\"main\"minmax(0,1fr)\"tabs\"/minmax(0,1fr)}:host([has-tabs]) .tabs{grid-area:tabs;display:block}:host([has-nav]) .top,:host([narrow-header][has-header]) .top{display:flex}:host([has-nav]) .menu{display:inline-flex}.nav{z-index:2;max-width:var(--drawer-width);box-shadow:var(--jl-shadow-lg);visibility:hidden;transition:transform var(--jl-slow) var(--jl-ease), visibility 0s linear var(--jl-slow);position:absolute;top:0;bottom:0;left:0;transform:translate(-100%)}:host([nav-open]) .nav{visibility:visible;transition:transform var(--jl-slow) var(--jl-ease);transform:none}.scrim{z-index:1;background:var(--jl-scrim);opacity:0;pointer-events:none;transition:opacity var(--jl-slow) var(--jl-ease);display:block;position:absolute;inset:0}:host([nav-open]) .scrim{opacity:1;pointer-events:auto}.aside{display:none}}";
3
+ export { jl_app_shell_default as default };
@@ -4,7 +4,7 @@ import { JlElement } from "../base/jl-element.js";
4
4
  import { registerIcons } from "../lib/icons.js";
5
5
  import { JlIcon } from "../atoms/jl-icon.js";
6
6
  import { watchSizes } from "../lib/resize.js";
7
- import jl_app_shell_default from "./jl-app-shell.css_raw.js";
7
+ import jl_app_shell_default from "./jl-app-shell.css.js";
8
8
  import { css } from "@jadis/core";
9
9
  import { Menu } from "lucide";
10
10
  import { jsx, jsxs } from "@jadis/core/jsx-runtime";
@@ -0,0 +1,3 @@
1
+ // src/templates/jl-auth-layout.css?inline
2
+ var jl_auth_layout_default = ":host{min-height:var(--min-height,100dvh);display:block}.screen{min-height:var(--min-height,100dvh);grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);display:grid}.story{background:var(--jl-bg);color:var(--jl-text);flex-direction:column;justify-content:space-between;gap:32px;padding:40px 48px;display:flex;position:relative;overflow:hidden}.brand,.pitch,.points,.origin{z-index:1;position:relative}.pitch{gap:16px;max-width:520px;display:grid}.headline{letter-spacing:-.03em;text-wrap:balance;font-size:clamp(30px,3.4vw,46px);font-weight:800;line-height:1.08}.accent{color:var(--jl-brand)}.text{color:var(--jl-muted);font-size:15.5px;line-height:1.6}.points{font-size:var(--jl-font-md);gap:10px;margin:0;padding:0;list-style:none;display:grid}.points li{align-items:center;gap:10px;display:flex}.tick{background:var(--jl-brand);width:18px;height:18px;color:var(--jl-on-brand);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.origin{color:var(--jl-muted);font-size:var(--jl-font-xs);letter-spacing:.08em;text-transform:uppercase;font-weight:650}.backdrop{opacity:.07;pointer-events:none;width:420px;height:460px;position:absolute;bottom:-110px;right:-90px}.side{background:var(--jl-bg);place-items:center;padding:32px 24px;display:grid}@media (width<=860px){.screen{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.story{padding:18px 24px}.pitch,.points,.origin,.backdrop{display:none}}";
3
+ export { jl_auth_layout_default as default };
@@ -5,7 +5,7 @@ import { JlElement } from "../base/jl-element.js";
5
5
  import { jsonOf } from "../lib/attributes.js";
6
6
  import { registerIcons } from "../lib/icons.js";
7
7
  import { JlIcon } from "../atoms/jl-icon.js";
8
- import jl_auth_layout_default from "./jl-auth-layout.css_raw.js";
8
+ import jl_auth_layout_default from "./jl-auth-layout.css.js";
9
9
  import { css } from "@jadis/core";
10
10
  import { Check } from "lucide";
11
11
  import { jsx, jsxs } from "@jadis/core/jsx-runtime";
@@ -0,0 +1,3 @@
1
+ // src/templates/jl-page.css?inline
2
+ var jl_page_default = ":host{--page-width:var(--jl-page-standard);display:block}:host([width=form]){--page-width:var(--jl-page-form)}:host([width=wide]){--page-width:var(--jl-page-wide)}:host([width=full]){--page-width:none}.page{gap:var(--jl-space-6);max-width:var(--page-width);padding:var(--jl-space-8) var(--jl-space-10) var(--jl-space-12);grid-template-columns:minmax(0,1fr);margin:0 auto;display:grid}::slotted(*){min-width:0}.back{margin-left:-8px}@media (width<=720px){.page{padding:var(--jl-space-6) var(--jl-space-4) var(--jl-space-12)}}";
3
+ export { jl_page_default as default };
@@ -7,7 +7,7 @@ import { registerIcons } from "../lib/icons.js";
7
7
  import { setOrRemove } from "../lib/dom.js";
8
8
  import { JlButton } from "../atoms/jl-button.js";
9
9
  import { JlPageHeader } from "../organisms/jl-page-header.js";
10
- import jl_page_default from "./jl-page.css_raw.js";
10
+ import jl_page_default from "./jl-page.css.js";
11
11
  import { css } from "@jadis/core";
12
12
  import { ArrowLeft } from "lucide";
13
13
  import { jsx, jsxs } from "@jadis/core/jsx-runtime";
@@ -0,0 +1,3 @@
1
+ // src/templates/jl-split-view.css?inline
2
+ var jl_split_view_default = ":host{height:100%;min-height:0;display:block}.split{grid-template-columns:minmax(0, var(--position,50%)) 1px minmax(0, 1fr);height:100%;display:grid}:host([orientation=vertical]) .split{grid-template-columns:none;grid-template-rows:minmax(0, var(--position,50%)) 1px minmax(0, 1fr)}.pane{min-width:0;min-height:0;overflow:auto}.divider{z-index:1;background:var(--jl-line);cursor:col-resize;touch-action:none;transition:background var(--jl-fast) var(--jl-ease);position:relative}:host([orientation=vertical]) .divider{cursor:row-resize}.divider:before{content:\"\";position:absolute;inset:0 -5px}:host([orientation=vertical]) .divider:before{inset:-5px 0}.divider:hover,.divider:focus-visible,:host([dragging]) .divider{background:var(--jl-accent)}.divider:focus-visible{box-shadow:var(--jl-focus-ring)}.grip{border:1px solid var(--jl-line-strong);border-radius:var(--jl-radius-pill);background:var(--jl-surface);width:6px;height:28px;transition:border-color var(--jl-fast) var(--jl-ease);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}:host([orientation=vertical]) .grip{width:28px;height:6px}.divider:hover .grip,.divider:focus-visible .grip,:host([dragging]) .grip{border-color:var(--jl-accent)}:host([dragging]){cursor:col-resize;-webkit-user-select:none;user-select:none}:host([dragging][orientation=vertical]){cursor:row-resize}:host([dragging]) .pane{pointer-events:none}:host([stacked]) .split{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}:host([stacked]) .divider,:host([stacked]:not([pane=end])) .end,:host([stacked][pane=end]) .start{display:none}";
3
+ export { jl_split_view_default as default };
@@ -4,7 +4,7 @@ import { JlElement } from "../base/jl-element.js";
4
4
  import { clampedNumber, oneOf } from "../lib/attributes.js";
5
5
  import { watchSizes } from "../lib/resize.js";
6
6
  import { clampMin, clampSplit, positionAfterKey, positionAt } from "../lib/split.js";
7
- import jl_split_view_default from "./jl-split-view.css_raw.js";
7
+ import jl_split_view_default from "./jl-split-view.css.js";
8
8
  import { css } from "@jadis/core";
9
9
  import { jsx, jsxs } from "@jadis/core/jsx-runtime";
10
10
  // src/templates/jl-split-view.tsx
@@ -0,0 +1,3 @@
1
+ // src/templates/jl-stack.css?inline
2
+ var jl_stack_default = ":host{--gap:var(--jl-space-4);display:block}:host([gap=sm]){--gap:var(--jl-space-2)}:host([gap=lg]){--gap:var(--jl-space-6)}.stack{gap:var(--gap);grid-template-columns:minmax(0,1fr);display:grid}";
3
+ export { jl_stack_default as default };
@@ -0,0 +1,17 @@
1
+ import { JlElement } from '../base/jl-element';
2
+ import type { StackGap } from '../types/jl-stack.types';
3
+ export declare const STACK_GAPS: readonly StackGap[];
4
+ /**
5
+ * Puts its children one under the other, as wide as the stack, with the same space between them: the fields of a
6
+ * form, in a dialog or on a page, or the cards of a column.
7
+ */
8
+ export declare class JlStack extends JlElement {
9
+ static readonly selector = "jl-stack";
10
+ /** The space between the items. */
11
+ readonly gap: Readonly<Readonly<{
12
+ get(): StackGap;
13
+ set(setter: ((prevState: StackGap) => StackGap) | StackGap): void;
14
+ }>>;
15
+ templateHtml(): Node;
16
+ templateCss(): string;
17
+ }
@@ -0,0 +1,36 @@
1
+ import { BASE_STYLES } from "../styles/shared.js";
2
+ import { JlElement } from "../base/jl-element.js";
3
+ import { oneOf } from "../lib/attributes.js";
4
+ import jl_stack_default from "./jl-stack.css.js";
5
+ import { css } from "@jadis/core";
6
+ import { jsx } from "@jadis/core/jsx-runtime";
7
+ // src/templates/jl-stack.tsx
8
+ var STACK_GAPS = [
9
+ "sm",
10
+ "md",
11
+ "lg"
12
+ ];
13
+ /**
14
+ * Puts its children one under the other, as wide as the stack, with the same space between them: the fields of a
15
+ * form, in a dialog or on a page, or the cards of a column.
16
+ */
17
+ var JlStack = class extends JlElement {
18
+ static selector = "jl-stack";
19
+ /** The space between the items. */
20
+ gap = this.useChange("md", (value) => this.reflect("gap", value), {
21
+ attribute: "gap",
22
+ parse: oneOf(STACK_GAPS, "md")
23
+ });
24
+ templateHtml() {
25
+ return /* @__PURE__ */ jsx("div", {
26
+ class: "stack",
27
+ attrs: { part: "base" },
28
+ children: /* @__PURE__ */ jsx("slot", {})
29
+ });
30
+ }
31
+ templateCss() {
32
+ return css`${BASE_STYLES}${jl_stack_default}`;
33
+ }
34
+ };
35
+ JlStack.register();
36
+ export { JlStack, STACK_GAPS };
@@ -0,0 +1,2 @@
1
+ /** The space between a stack's items: 8, 16 or 24 pixels. */
2
+ export type StackGap = 'sm' | 'md' | 'lg';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syware/jlib",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "description": "A tree-shakeable component library on Jadis and native Web Components, organised in atomic design",
5
5
  "keywords": [
6
6
  "web-components",
@@ -82,10 +82,11 @@
82
82
  "format": "biome check --write .",
83
83
  "check": "npm run generate -- --check && npm run lint && npm run typecheck && npm run test",
84
84
  "prepack": "npm run build:lib",
85
- "prepublishOnly": "npm run check"
85
+ "prepublishOnly": "npm run check",
86
+ "version": "node scripts/plugin-version.mjs"
86
87
  },
87
88
  "peerDependencies": {
88
- "@jadis/core": "^1.5.1"
89
+ "@jadis/core": "^1.6.0"
89
90
  },
90
91
  "dependencies": {
91
92
  "lucide": "^1.61.0"
@@ -94,7 +95,7 @@
94
95
  "@biomejs/biome": "^2.6.3",
95
96
  "@fontsource-variable/jetbrains-mono": "^5.3.0",
96
97
  "@fontsource-variable/manrope": "^5.3.0",
97
- "@jadis/core": "^1.5.1",
98
+ "@jadis/core": "^1.8.0",
98
99
  "@types/node": "^24.13.3",
99
100
  "playwright-core": "^1.64.1",
100
101
  "typescript": "^7.0.2",
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-app-icon.css?raw
2
- var jl_app_icon_default = ":host {\n display: inline-flex;\n flex: none;\n vertical-align: middle;\n}\n\n/* The same in both themes, as the favicon is: the brand's blue, the glyph in white. */\n.tile {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--size, 28px);\n height: var(--size, 28px);\n border-radius: var(--corner, 7px);\n background: var(--jl-brand);\n color: var(--jl-on-brand);\n}\n";
3
- export { jl_app_icon_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-avatar.css?raw
2
- var jl_avatar_default = ":host {\n display: inline-flex;\n flex: none;\n vertical-align: middle;\n --size: 32px;\n --ring: 0px;\n --ring-color: var(--jl-surface);\n --fg: var(--jl-text-2);\n --bg: var(--jl-surface-3);\n}\n\n:host([size=\"sm\"]) {\n --size: 24px;\n}\n\n:host([size=\"lg\"]) {\n --size: 40px;\n}\n\n:host([size=\"xl\"]) {\n --size: 56px;\n}\n\n:host([tone=\"accent\"]) {\n --fg: var(--jl-accent);\n --bg: var(--jl-accent-soft);\n}\n\n:host([tone=\"ok\"]) {\n --fg: var(--jl-ok);\n --bg: var(--jl-ok-soft);\n}\n\n:host([tone=\"warn\"]) {\n --fg: var(--jl-warn);\n --bg: var(--jl-warn-soft);\n}\n\n:host([tone=\"danger\"]) {\n --fg: var(--jl-danger);\n --bg: var(--jl-danger-soft);\n}\n\n.avatar {\n position: relative;\n display: inline-flex;\n width: var(--size);\n height: var(--size);\n}\n\n.face {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n overflow: hidden;\n border-radius: 50%;\n background: var(--bg);\n color: var(--fg);\n font-size: calc(var(--size) * 0.38);\n font-weight: 700;\n letter-spacing: 0.01em;\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 var(--ring) var(--ring-color);\n user-select: none;\n}\n\n:host([shape=\"square\"]) .face {\n border-radius: calc(var(--size) * 0.25);\n}\n\n:host([has-image]) .face {\n background: var(--jl-surface-3);\n}\n\nimg {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n\n.status {\n position: absolute;\n right: 0;\n bottom: 0;\n width: max(7px, calc(var(--size) * 0.26));\n height: max(7px, calc(var(--size) * 0.26));\n border-radius: 50%;\n background: var(--jl-faint);\n box-shadow: 0 0 0 2px var(--ring-color);\n}\n\n:host([shape=\"square\"]) .status {\n right: -2px;\n bottom: -2px;\n}\n\n:host([status=\"online\"]) .status {\n background: var(--jl-ok);\n}\n\n:host([status=\"busy\"]) .status {\n background: var(--jl-danger);\n}\n\n:host([status=\"away\"]) .status {\n background: var(--jl-warn);\n}\n";
3
- export { jl_avatar_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-badge.css?raw
2
- var jl_badge_default = ":host {\n display: inline-flex;\n vertical-align: middle;\n --fg: var(--jl-text-2);\n --bg: var(--jl-surface-3);\n}\n\n:host([tone=\"accent\"]) {\n --fg: var(--jl-accent);\n --bg: var(--jl-accent-soft);\n}\n\n:host([tone=\"ok\"]) {\n --fg: var(--jl-ok);\n --bg: var(--jl-ok-soft);\n}\n\n:host([tone=\"warn\"]) {\n --fg: var(--jl-warn);\n --bg: var(--jl-warn-soft);\n}\n\n:host([tone=\"danger\"]) {\n --fg: var(--jl-danger);\n --bg: var(--jl-danger-soft);\n}\n\n:host([tone=\"info\"]) {\n --fg: var(--jl-info);\n --bg: var(--jl-info-soft);\n}\n\n.badge {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n height: 22px;\n padding: 0 8px;\n border-radius: var(--jl-radius-pill);\n background: var(--bg);\n color: var(--fg);\n font-size: var(--jl-font-xs);\n font-weight: 600;\n line-height: 1;\n white-space: nowrap;\n}\n\n:host([solid]) .badge {\n background: var(--fg);\n color: var(--jl-surface);\n}\n\n:host([tone=\"neutral\"][solid]) .badge {\n background: var(--jl-text);\n}\n\n.label:empty {\n display: none;\n}\n\n.dot {\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: currentColor;\n box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);\n}\n";
3
- export { jl_badge_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-button.css?raw
2
- var jl_button_default = ":host {\n display: inline-flex;\n vertical-align: middle;\n --height: var(--jl-control-md);\n --pad: 14px;\n --font-size: var(--jl-font-md);\n --radius: var(--jl-radius-sm);\n}\n\n:host([size=\"sm\"]) {\n --height: var(--jl-control-sm);\n --pad: 11px;\n --font-size: var(--jl-font-xs);\n}\n\n:host([size=\"lg\"]) {\n --height: var(--jl-control-lg);\n --pad: 18px;\n --font-size: 15px;\n --radius: var(--jl-radius);\n}\n\n:host([block]) {\n display: flex;\n}\n\n/* Moves between the button and the link: its children are laid out by whichever holds it. */\n.content {\n display: contents;\n}\n\n.base {\n display: inline-flex;\n flex: 1;\n align-items: center;\n justify-content: center;\n gap: 8px;\n height: var(--height);\n padding: 0 var(--pad);\n border: 1px solid var(--jl-line-strong);\n border-radius: var(--radius);\n background: var(--jl-surface);\n color: var(--jl-text);\n font-size: var(--font-size);\n font-weight: 600;\n line-height: 1;\n text-decoration: none;\n white-space: nowrap;\n cursor: pointer;\n transition:\n background var(--jl-fast) var(--jl-ease),\n border-color var(--jl-fast) var(--jl-ease),\n color var(--jl-fast) var(--jl-ease);\n}\n\n:host([icon-only]) .base {\n width: var(--height);\n padding: 0;\n}\n\n.base:hover {\n background: var(--jl-surface-2);\n}\n\n.base:active {\n background: var(--jl-surface-3);\n}\n\n:host([variant=\"primary\"]) .base {\n border-color: transparent;\n background: var(--jl-accent);\n color: var(--jl-on-accent);\n}\n\n:host([variant=\"primary\"]) .base:hover {\n background: var(--jl-accent-strong);\n}\n\n:host([variant=\"ghost\"]) .base {\n border-color: transparent;\n background: transparent;\n color: var(--jl-accent);\n}\n\n:host([variant=\"ghost\"]) .base:hover {\n background: var(--jl-accent-soft);\n}\n\n:host([variant=\"danger\"]) .base {\n border-color: transparent;\n background: var(--jl-danger);\n color: var(--jl-on-danger);\n}\n\n:host([variant=\"danger\"]) .base:hover {\n background: color-mix(in srgb, var(--jl-danger) 86%, var(--jl-text));\n}\n\n:host([loading]) .base {\n cursor: progress;\n}\n\n.base:disabled,\n.base[aria-disabled=\"true\"] {\n cursor: not-allowed;\n opacity: 0.5;\n}\n";
3
- export { jl_button_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-checkbox.css?raw
2
- var jl_checkbox_default = ":host {\n display: inline-flex;\n vertical-align: middle;\n --box: 18px;\n}\n\n.wrap {\n display: inline-flex;\n align-items: flex-start;\n gap: 10px;\n color: var(--jl-text);\n font-size: var(--jl-font-md);\n line-height: 20px;\n cursor: pointer;\n}\n\n/* The native box keeps the semantics and the keyboard; its look is drawn here, the marks on top of it. */\n.box {\n position: relative;\n display: inline-flex;\n flex: none;\n width: var(--box);\n height: var(--box);\n margin-top: 1px;\n}\n\n.native {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n border: 1px solid var(--jl-line-strong);\n border-radius: var(--jl-radius-xs);\n background: var(--jl-surface);\n cursor: inherit;\n appearance: none;\n transition:\n background var(--jl-fast) var(--jl-ease),\n border-color var(--jl-fast) var(--jl-ease),\n box-shadow var(--jl-fast) var(--jl-ease);\n}\n\n.wrap:hover .native:not(:disabled) {\n border-color: color-mix(in srgb, var(--jl-line-strong) 60%, var(--jl-text) 18%);\n}\n\n.native:checked,\n.native:indeterminate {\n border-color: var(--jl-accent);\n background: var(--jl-accent);\n}\n\n.wrap:hover .native:checked:not(:disabled),\n.wrap:hover .native:indeterminate:not(:disabled) {\n border-color: var(--jl-accent-strong);\n background: var(--jl-accent-strong);\n}\n\n.mark {\n position: absolute;\n inset: 0;\n display: none;\n align-items: center;\n justify-content: center;\n color: var(--jl-on-accent);\n pointer-events: none;\n}\n\n.native:checked:not(:indeterminate) ~ .check,\n.native:indeterminate ~ .dash {\n display: flex;\n}\n\n/* Its baseline is the element's, so a label beside it (a horizontal field) lines up with the text. */\n.text {\n display: grid;\n align-self: baseline;\n gap: 2px;\n}\n\n.description {\n color: var(--jl-muted);\n font-size: var(--jl-font-sm);\n line-height: 18px;\n}\n\n:host([disabled]) .wrap,\n:host(:disabled) .wrap {\n cursor: not-allowed;\n opacity: 0.5;\n}\n\n:host([disabled]) .native:not(:checked, :indeterminate),\n:host(:disabled) .native:not(:checked, :indeterminate) {\n background: var(--jl-surface-2);\n}\n";
3
- export { jl_checkbox_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-chip.css?raw
2
- var jl_chip_default = ":host {\n display: inline-flex;\n max-width: 100%;\n vertical-align: middle;\n --height: 28px;\n --pad: 10px;\n --font-size: var(--jl-font-sm);\n --dismiss: 20px;\n}\n\n:host([size=\"sm\"]) {\n --height: 24px;\n --pad: 8px;\n --font-size: var(--jl-font-xs);\n --dismiss: 18px;\n}\n\n.chip {\n display: inline-flex;\n align-items: center;\n min-width: 0;\n height: var(--height);\n border: 1px solid var(--jl-line-strong);\n border-radius: var(--jl-radius-pill);\n background: var(--jl-surface);\n color: var(--jl-text-2);\n font-size: var(--font-size);\n font-weight: 600;\n line-height: 1;\n white-space: nowrap;\n transition:\n background var(--jl-fast) var(--jl-ease),\n border-color var(--jl-fast) var(--jl-ease),\n color var(--jl-fast) var(--jl-ease);\n}\n\n.main {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n min-width: 0;\n height: 100%;\n padding: 0 var(--pad);\n border-radius: inherit;\n}\n\n/* A line box taller than the chip's own line-height of 1: the accents of É, Â, Ö stay inside what overflow clips. */\n.label {\n overflow: hidden;\n line-height: 1.4;\n text-overflow: ellipsis;\n}\n\n.label:empty {\n display: none;\n}\n\n:host([removable]) .main {\n padding-right: 4px;\n}\n\n:host([selectable]) .main {\n cursor: pointer;\n}\n\n:host([selectable]:not([disabled])) .chip:hover {\n background: var(--jl-surface-2);\n}\n\n:host([selected]) .chip,\n:host([selected][selectable]:not([disabled])) .chip:hover {\n border-color: var(--jl-accent-line);\n background: var(--jl-accent-soft);\n color: var(--jl-accent);\n}\n\n/* The ring goes around the whole chip, which the main part fills. */\n.main:focus-visible {\n box-shadow: none;\n}\n\n.chip:has(.main:focus-visible) {\n box-shadow: var(--jl-focus-ring);\n}\n\n.dismiss {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: var(--dismiss);\n height: var(--dismiss);\n margin-right: 3px;\n padding: 0;\n border: 0;\n border-radius: 50%;\n background: transparent;\n color: var(--jl-muted);\n cursor: pointer;\n}\n\n.dismiss:hover {\n background: var(--jl-surface-3);\n color: var(--jl-text);\n}\n\n:host([selected]) .dismiss {\n color: var(--jl-accent);\n}\n\n:host([selected]) .dismiss:hover {\n background: color-mix(in srgb, var(--jl-accent) 14%, transparent);\n color: var(--jl-accent-strong);\n}\n\n:host([disabled]) .chip {\n opacity: 0.5;\n}\n\n:host([disabled]) .main,\n:host([disabled]) .dismiss {\n cursor: not-allowed;\n}\n\n:host([disabled]) .dismiss:hover {\n background: transparent;\n}\n";
3
- export { jl_chip_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-divider.css?raw
2
- var jl_divider_default = ":host {\n display: block;\n --color: var(--jl-line);\n --thickness: 1px;\n --gap: 12px;\n}\n\n:host([vertical]) {\n display: inline-flex;\n align-self: stretch;\n min-height: 1em;\n vertical-align: middle;\n}\n\n.divider {\n display: flex;\n align-items: center;\n gap: var(--gap);\n width: 100%;\n}\n\n:host([vertical]) .divider {\n flex-direction: column;\n width: auto;\n height: auto;\n}\n\n.line {\n flex: 1;\n height: var(--thickness);\n background: var(--color);\n}\n\n:host([vertical]) .line {\n width: var(--thickness);\n height: auto;\n min-height: 4px;\n}\n\n/* Without a label, one line runs through: two would leave the gap between them. */\n:host(:not([labelled])) .after {\n display: none;\n}\n\n/* A label at the start or the end sits flush with that edge, as a section heading. */\n:host([labelled][align=\"start\"]) .before,\n:host([labelled][align=\"end\"]) .after {\n display: none;\n}\n\n.label {\n flex: none;\n max-width: 80%;\n color: var(--jl-muted);\n font-size: var(--jl-font-xs);\n font-weight: 600;\n line-height: 1.4;\n text-align: center;\n}\n\n:host([vertical]) .label {\n max-width: none;\n writing-mode: horizontal-tb;\n}\n";
3
- export { jl_divider_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-icon.css?raw
2
- var jl_icon_default = ":host {\n --cutout: var(--jl-surface);\n display: inline-flex;\n flex: none;\n line-height: 0;\n vertical-align: middle;\n}\n\n.icon {\n display: inline-flex;\n}\n\n/* Filled: lucide draws the shape around a sign first (the circle of circle-check, the triangle of triangle-alert).\n It takes the colour, and the sign takes the background's, as if cut out of it. */\n:host([filled]) svg > :first-child {\n fill: currentColor;\n}\n\n:host([filled]) svg > :not(:first-child) {\n stroke: var(--cutout);\n}\n";
3
- export { jl_icon_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-input.css?raw
2
- var jl_input_default = ":host {\n display: block;\n}\n\n:host([readonly]) .control {\n background: var(--jl-surface-2);\n}\n\n::slotted([slot=\"start\"]),\n::slotted([slot=\"end\"]) {\n flex: none;\n color: var(--jl-muted);\n font-size: var(--jl-font-sm);\n}\n\n/* The browser's own clear button and spinners: the field draws its own actions. */\n.native::-webkit-search-cancel-button,\n.native::-webkit-inner-spin-button {\n appearance: none;\n}\n\n.native[type=\"date\"],\n.native[type=\"time\"],\n.native[type=\"datetime-local\"],\n.native[type=\"month\"],\n.native[type=\"week\"] {\n font-family: var(--jl-font-mono);\n font-size: var(--jl-font-sm);\n}\n";
3
- export { jl_input_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-kbd.css?raw
2
- var jl_kbd_default = ":host {\n display: inline-flex;\n vertical-align: middle;\n}\n\n.keys,\n.caps {\n display: inline-flex;\n align-items: center;\n gap: 3px;\n}\n\n.key {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 20px;\n height: 20px;\n padding: 0 5px;\n border: 1px solid var(--jl-line-strong);\n border-bottom-width: 2px;\n border-radius: var(--jl-radius-xs);\n background: var(--jl-surface-2);\n color: var(--jl-text-2);\n font-family: var(--jl-font-sans);\n font-size: 11px;\n font-weight: 600;\n line-height: 1;\n white-space: nowrap;\n}\n";
3
- export { jl_kbd_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-link.css?raw
2
- var jl_link_default = ":host {\n display: inline;\n --color: var(--jl-accent);\n --hover: var(--jl-accent-strong);\n --underline: color-mix(in srgb, var(--jl-accent) 40%, transparent);\n}\n\n:host([variant=\"muted\"]) {\n --color: var(--jl-muted);\n --hover: var(--jl-text);\n --underline: transparent;\n}\n\n:host([variant=\"quiet\"]) {\n --underline: transparent;\n}\n\na {\n border-radius: 3px;\n color: var(--color);\n font-weight: 600;\n text-decoration: underline;\n text-decoration-color: var(--underline);\n text-decoration-thickness: 1px;\n text-underline-offset: 0.2em;\n cursor: pointer;\n transition:\n color var(--jl-fast) var(--jl-ease),\n text-decoration-color var(--jl-fast) var(--jl-ease);\n}\n\na:hover {\n color: var(--hover);\n text-decoration-color: currentColor;\n}\n\na:not([href]) {\n cursor: default;\n}\n\njl-icon {\n margin-left: 0.2em;\n vertical-align: -0.1em;\n}\n";
3
- export { jl_link_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-progress-ring.css?raw
2
- var jl_progress_ring_default = ":host {\n display: inline-flex;\n flex: none;\n vertical-align: middle;\n --size: 40px;\n --done: 0;\n --color: var(--jl-accent);\n --track: var(--jl-surface-3);\n}\n\n:host([tone=\"ok\"]) {\n --color: var(--jl-ok);\n}\n\n:host([tone=\"warn\"]) {\n --color: var(--jl-warn);\n}\n\n:host([tone=\"danger\"]) {\n --color: var(--jl-danger);\n}\n\n.ring {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--size);\n height: var(--size);\n}\n\n.svg {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n /* The arc starts at the top, as a clock's hand. */\n transform: rotate(-90deg);\n}\n\n.track {\n stroke: var(--track);\n}\n\n.arc {\n stroke: var(--color);\n stroke-dasharray: 100;\n stroke-dashoffset: calc(100 - var(--done));\n stroke-linecap: round;\n transition: stroke-dashoffset var(--jl-slow) var(--jl-ease);\n}\n\n/* At zero, the round cap would still draw a dot at the top. */\n:host([empty]) .arc {\n visibility: hidden;\n}\n\n:host([indeterminate]) .arc {\n stroke-dashoffset: 72;\n transition: none;\n}\n\n:host([indeterminate]) .svg {\n animation: turn 0.9s linear infinite;\n}\n\n.percent {\n position: relative;\n color: var(--jl-text);\n font-size: calc(var(--size) * 0.24);\n font-variant-numeric: tabular-nums;\n font-weight: 700;\n line-height: 1;\n}\n\n@keyframes turn {\n from {\n transform: rotate(-90deg);\n }\n\n to {\n transform: rotate(270deg);\n }\n}\n\n/* Without motion, an endless ring stays still: a quarter of it shows that work goes on. */\n@media (prefers-reduced-motion: reduce) {\n :host([indeterminate]) .svg {\n animation: none;\n }\n}\n";
3
- export { jl_progress_ring_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-progress.css?raw
2
- var jl_progress_default = ":host {\n display: block;\n --height: 8px;\n --color: var(--jl-accent);\n}\n\n:host([size=\"sm\"]) {\n --height: 4px;\n}\n\n:host([tone=\"ok\"]) {\n --color: var(--jl-ok);\n}\n\n:host([tone=\"warn\"]) {\n --color: var(--jl-warn);\n}\n\n:host([tone=\"danger\"]) {\n --color: var(--jl-danger);\n}\n\n.header {\n display: flex;\n align-items: baseline;\n gap: 12px;\n margin-bottom: 8px;\n font-size: var(--jl-font-sm);\n line-height: 1.4;\n}\n\n.label {\n flex: 1;\n min-width: 0;\n color: var(--jl-text-2);\n font-weight: 600;\n}\n\n.percent {\n margin-left: auto;\n color: var(--jl-muted);\n font-variant-numeric: tabular-nums;\n}\n\n.track {\n position: relative;\n height: var(--height);\n overflow: hidden;\n border-radius: var(--jl-radius-pill);\n background: var(--jl-surface-3);\n}\n\n.bar {\n width: 0;\n height: 100%;\n border-radius: inherit;\n background: var(--color);\n transition: width var(--jl-slow) var(--jl-ease);\n}\n\n:host([indeterminate]) .bar {\n position: absolute;\n inset: 0 auto 0 0;\n width: 40%;\n animation: travel 1.3s var(--jl-ease) infinite;\n}\n\n@keyframes travel {\n from {\n transform: translateX(-100%);\n }\n\n to {\n transform: translateX(250%);\n }\n}\n\n/* Without motion, an endless bar is drawn still and faded: work goes on, its end is unknown. */\n@media (prefers-reduced-motion: reduce) {\n :host([indeterminate]) .bar {\n width: 100%;\n opacity: 0.35;\n animation: none;\n }\n}\n";
3
- export { jl_progress_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-rating.css?raw
2
- var jl_rating_default = ":host {\n display: inline-flex;\n vertical-align: middle;\n --color: var(--jl-accent);\n --empty: var(--jl-faint);\n}\n\n.rating {\n display: inline-flex;\n padding: 2px;\n border-radius: var(--jl-radius-xs);\n cursor: pointer;\n}\n\n.icons {\n display: inline-flex;\n gap: 2px;\n}\n\n.icon {\n display: inline-flex;\n color: var(--empty);\n transition:\n color var(--jl-fast) var(--jl-ease),\n transform var(--jl-fast) var(--jl-ease);\n}\n\n.icon svg {\n fill: transparent;\n transition: fill var(--jl-fast) var(--jl-ease);\n}\n\n.icon.on {\n color: var(--color);\n}\n\n.icon.on svg {\n fill: currentColor;\n}\n\n/* The score a click would give: the same colour, lighter, so it reads as a proposal. */\n:host([previewing]) .icon.on {\n color: color-mix(in srgb, var(--color) 55%, transparent);\n}\n\n:host(:not([readonly]):not([disabled])) .icon:hover {\n transform: scale(1.12);\n}\n\n:host([invalid]) .icon:not(.on) {\n color: var(--jl-danger);\n}\n\n:host([readonly]) .rating {\n cursor: default;\n}\n\n:host([disabled]) .rating {\n cursor: not-allowed;\n opacity: 0.5;\n}\n";
3
- export { jl_rating_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-select.css?raw
2
- var jl_select_default = ":host {\n display: block;\n}\n\n/* The select covers the whole frame, chevron included, so a click anywhere opens it. */\n.control {\n position: relative;\n padding: 0;\n}\n\n.native {\n padding: 0 36px 0 12px;\n border-radius: inherit;\n text-overflow: ellipsis;\n cursor: pointer;\n appearance: none;\n}\n\n.native:disabled {\n cursor: not-allowed;\n}\n\n:host([placeholder-shown]) .native {\n color: var(--jl-faint);\n}\n\n/* The list keeps the text colour even while the placeholder greys the closed field. */\noption,\noptgroup {\n background: var(--jl-surface);\n color: var(--jl-text);\n}\n\n.chevron {\n position: absolute;\n right: 12px;\n color: var(--jl-muted);\n pointer-events: none;\n transition: transform var(--jl-fast) var(--jl-ease);\n}\n\n.native:open + .chevron {\n transform: rotate(180deg);\n}\n\n:host([disabled]) .chevron {\n color: var(--jl-faint);\n}\n\n/*\n * Where the browser lets the page draw the list (customizable select), it is the combobox's: the same panel, rows\n * and check. Touch screens keep the platform's own sheet, and other browsers their own list.\n */\n@media (hover: hover) and (pointer: fine) {\n @supports (appearance: base-select) {\n /* The list lines up with the frame, not with the select inside its border. */\n .control {\n anchor-name: --frame;\n }\n\n .native,\n .native::picker(select) {\n appearance: base-select;\n }\n\n /*\n * The browser draws the chosen label in a box of its own, out of text-overflow's reach: clamped to one line and\n * clipped at the padding, it still ends with an ellipsis.\n */\n .native {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n padding-block: calc((var(--height, var(--jl-control-md)) - 2px - 1lh) / 2);\n overflow: clip;\n overflow-clip-margin: content-box;\n }\n\n .native::picker-icon {\n display: none;\n }\n\n .native::picker(select) {\n position-anchor: --frame;\n /* Under the field when it fits there, as the combobox's list. */\n position-try-order: normal;\n box-sizing: border-box;\n min-inline-size: anchor-size(self-inline);\n max-block-size: 274px;\n margin-block: 6px;\n padding: 4px;\n border: 1px solid var(--jl-line);\n border-radius: var(--jl-radius);\n background: var(--jl-surface);\n color: var(--jl-text);\n box-shadow: var(--jl-shadow-lg);\n animation: jl-float-in var(--jl-fast) var(--jl-ease);\n }\n\n /*\n * A heading as the command palette's. The browser draws the label itself, half an em in: text-indent reaches it\n * and lines it up with the options' text.\n */\n optgroup {\n padding-block-start: 8px;\n color: var(--jl-muted);\n font-size: var(--jl-font-xs);\n font-weight: 600;\n text-indent: calc(10px - 0.5em);\n }\n\n optgroup > option:first-of-type {\n margin-block-start: 4px;\n }\n\n option {\n box-sizing: border-box;\n gap: 10px;\n min-block-size: 34px;\n padding: 6px 10px;\n border-radius: var(--jl-radius-xs);\n font-size: var(--jl-font-md);\n font-weight: 400;\n line-height: 1.35;\n text-indent: 0;\n cursor: pointer;\n }\n\n option:enabled:is(:hover, :focus-visible) {\n background: var(--jl-surface-3);\n box-shadow: none;\n }\n\n option:checked {\n font-weight: 600;\n }\n\n option:disabled {\n color: var(--jl-faint);\n cursor: not-allowed;\n }\n\n /* Lucide's check, at the end of the row as in the combobox. */\n option::checkmark {\n order: 1;\n width: 14px;\n height: 14px;\n margin-inline-start: auto;\n background: var(--jl-accent);\n content: \"\";\n mask:\n url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E\")\n center / contain no-repeat;\n }\n }\n}\n";
3
- export { jl_select_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-skeleton.css?raw
2
- var jl_skeleton_default = ":host {\n display: block;\n --base: var(--jl-surface-3);\n --shine: var(--jl-surface-2);\n}\n\n:host([shape=\"circle\"]) {\n display: inline-block;\n vertical-align: middle;\n}\n\n.bones {\n display: grid;\n gap: 0.55em;\n width: var(--width, 100%);\n}\n\n.bone {\n display: block;\n height: var(--height, 0.8em);\n border-radius: var(--jl-radius-xs);\n background: linear-gradient(90deg, var(--base) 30%, var(--shine) 50%, var(--base) 70%) 0 0 / 300% 100%;\n animation: shimmer 1.8s ease-in-out infinite;\n}\n\n.bone:last-child:not(:first-child) {\n width: 60%;\n}\n\n:host([shape=\"rect\"]) .bone {\n height: var(--height, 96px);\n border-radius: var(--jl-radius);\n}\n\n:host([shape=\"circle\"]) .bones {\n width: var(--width, 40px);\n}\n\n:host([shape=\"circle\"]) .bone {\n width: 100%;\n height: var(--height, auto);\n aspect-ratio: 1;\n border-radius: 50%;\n}\n\n@keyframes shimmer {\n from {\n background-position: 100% 0;\n }\n\n to {\n background-position: 0 0;\n }\n}\n\n/* A shortened endless animation would flicker: without motion, the placeholder stays still. */\n@media (prefers-reduced-motion: reduce) {\n .bone {\n animation: none;\n }\n}\n";
3
- export { jl_skeleton_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-slider.css?raw
2
- var jl_slider_default = ":host {\n display: block;\n --thumb: 16px;\n --track: 4px;\n --fill: var(--jl-accent);\n --rest: var(--jl-line-strong);\n}\n\n.slider {\n display: flex;\n align-items: flex-start;\n gap: 12px;\n}\n\n.track-area {\n position: relative;\n flex: 1;\n min-width: 0;\n}\n\n/* The track fills up to the thumb's centre, which travels the width minus the thumb itself. */\n.native {\n --stop: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--fraction, 0));\n display: block;\n width: 100%;\n height: 20px;\n margin: 0;\n background: transparent;\n cursor: pointer;\n appearance: none;\n}\n\n.native:focus-visible {\n box-shadow: none;\n}\n\n.native::-webkit-slider-runnable-track {\n height: var(--track);\n border-radius: var(--jl-radius-pill);\n background: linear-gradient(to right, var(--fill) var(--stop), var(--rest) var(--stop));\n}\n\n.native::-moz-range-track {\n height: var(--track);\n border-radius: var(--jl-radius-pill);\n background: linear-gradient(to right, var(--fill) var(--stop), var(--rest) var(--stop));\n}\n\n.native::-webkit-slider-thumb {\n width: var(--thumb);\n height: var(--thumb);\n margin-top: calc((var(--track) - var(--thumb)) / 2);\n border: 2px solid var(--fill);\n border-radius: 50%;\n background: var(--jl-surface);\n appearance: none;\n transition:\n box-shadow var(--jl-fast) var(--jl-ease),\n transform var(--jl-fast) var(--jl-ease);\n}\n\n.native::-moz-range-thumb {\n box-sizing: border-box;\n width: var(--thumb);\n height: var(--thumb);\n border: 2px solid var(--fill);\n border-radius: 50%;\n background: var(--jl-surface);\n}\n\n.native:hover::-webkit-slider-thumb {\n transform: scale(1.1);\n}\n\n.native:focus-visible::-webkit-slider-thumb {\n box-shadow: var(--jl-focus-ring);\n}\n\n.native:focus-visible::-moz-range-thumb {\n box-shadow: var(--jl-focus-ring);\n}\n\n:host([disabled]),\n:host(:disabled) {\n --fill: var(--jl-faint);\n}\n\n:host([disabled]) .native,\n:host(:disabled) .native {\n cursor: not-allowed;\n opacity: 0.6;\n}\n\n:host([disabled]) .native:hover::-webkit-slider-thumb,\n:host(:disabled) .native:hover::-webkit-slider-thumb {\n transform: none;\n}\n\n.output {\n min-width: 3ch;\n color: var(--jl-text);\n font-family: var(--jl-font-mono);\n font-size: var(--jl-font-sm);\n font-variant-numeric: tabular-nums;\n line-height: 20px;\n text-align: right;\n}\n\n.marks {\n position: relative;\n height: 8px;\n margin-top: 2px;\n}\n\n:host([has-labels]) .marks {\n height: 26px;\n}\n\n.mark {\n position: absolute;\n top: 0;\n left: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--at));\n display: grid;\n justify-items: center;\n gap: 2px;\n transform: translateX(-50%);\n}\n\n.tick {\n width: 1px;\n height: 6px;\n background: var(--jl-line-strong);\n}\n\n.mark-label {\n color: var(--jl-muted);\n font-size: var(--jl-font-xs);\n line-height: 16px;\n white-space: nowrap;\n}\n\n.mark[data-edge=\"start\"] .mark-label {\n transform: translateX(calc(50% - var(--thumb) / 2));\n}\n\n.mark[data-edge=\"end\"] .mark-label {\n transform: translateX(calc(var(--thumb) / 2 - 50%));\n}\n";
3
- export { jl_slider_default as default };