@syware/jlib 0.8.0 → 0.10.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 (291) hide show
  1. package/README.md +19 -3
  2. package/dist/all.js +6 -3
  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 +1 -1
  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.d.ts +1 -0
  15. package/dist/atoms/jl-chip.js +5 -3
  16. package/dist/atoms/jl-divider.css.js +3 -0
  17. package/dist/atoms/jl-divider.js +1 -1
  18. package/dist/atoms/jl-icon.css.js +3 -0
  19. package/dist/atoms/jl-icon.js +1 -1
  20. package/dist/atoms/jl-input.css.js +3 -0
  21. package/dist/atoms/jl-input.d.ts +2 -0
  22. package/dist/atoms/jl-input.js +10 -4
  23. package/dist/atoms/jl-kbd.css.js +3 -0
  24. package/dist/atoms/jl-kbd.js +1 -1
  25. package/dist/atoms/jl-link.css.js +3 -0
  26. package/dist/atoms/jl-link.js +1 -1
  27. package/dist/atoms/jl-loading-bar.css.js +3 -0
  28. package/dist/atoms/jl-loading-bar.d.ts +38 -0
  29. package/dist/atoms/jl-loading-bar.js +121 -0
  30. package/dist/atoms/jl-progress-ring.css.js +3 -0
  31. package/dist/atoms/jl-progress-ring.js +1 -1
  32. package/dist/atoms/jl-progress.css.js +3 -0
  33. package/dist/atoms/jl-progress.js +1 -1
  34. package/dist/atoms/jl-rating.css.js +3 -0
  35. package/dist/atoms/jl-rating.d.ts +2 -0
  36. package/dist/atoms/jl-rating.js +14 -6
  37. package/dist/atoms/jl-select.css.js +3 -0
  38. package/dist/atoms/jl-select.js +1 -1
  39. package/dist/atoms/jl-skeleton.css.js +3 -0
  40. package/dist/atoms/jl-skeleton.js +1 -1
  41. package/dist/atoms/jl-slider.css.js +3 -0
  42. package/dist/atoms/jl-slider.js +1 -1
  43. package/dist/atoms/jl-spinner.css.js +3 -0
  44. package/dist/atoms/jl-spinner.d.ts +2 -0
  45. package/dist/atoms/jl-spinner.js +7 -3
  46. package/dist/atoms/jl-switch.css.js +3 -0
  47. package/dist/atoms/jl-switch.js +1 -1
  48. package/dist/atoms/jl-textarea.css.js +3 -0
  49. package/dist/atoms/jl-textarea.js +1 -1
  50. package/dist/base/jl-element.d.ts +8 -0
  51. package/dist/base/jl-element.js +5 -0
  52. package/dist/index.d.ts +5 -1
  53. package/dist/index.js +5 -2
  54. package/dist/lib/flow.js +23 -6
  55. package/dist/lib/texts-de.d.ts +111 -0
  56. package/dist/lib/texts-de.js +114 -0
  57. package/dist/lib/texts-fr.d.ts +111 -0
  58. package/dist/lib/texts-fr.js +114 -0
  59. package/dist/lib/texts.d.ts +180 -91
  60. package/dist/lib/texts.js +177 -9
  61. package/dist/molecules/jl-accordion-item.css.js +3 -0
  62. package/dist/molecules/jl-accordion-item.js +1 -1
  63. package/dist/molecules/jl-accordion.css.js +3 -0
  64. package/dist/molecules/jl-accordion.js +1 -1
  65. package/dist/molecules/jl-account-button.css.js +3 -0
  66. package/dist/molecules/jl-account-button.js +1 -1
  67. package/dist/molecules/jl-alert.css.js +3 -0
  68. package/dist/molecules/jl-alert.d.ts +1 -0
  69. package/dist/molecules/jl-alert.js +5 -3
  70. package/dist/molecules/jl-avatar-group.css.js +3 -0
  71. package/dist/molecules/jl-avatar-group.js +1 -1
  72. package/dist/molecules/jl-breadcrumb.css.js +3 -0
  73. package/dist/molecules/jl-breadcrumb.d.ts +2 -0
  74. package/dist/molecules/jl-breadcrumb.js +13 -7
  75. package/dist/molecules/jl-calendar.css.js +3 -0
  76. package/dist/molecules/jl-calendar.d.ts +1 -0
  77. package/dist/molecules/jl-calendar.js +8 -5
  78. package/dist/molecules/jl-card.css.js +3 -0
  79. package/dist/molecules/jl-card.js +1 -1
  80. package/dist/molecules/jl-chip-group.css.js +3 -0
  81. package/dist/molecules/jl-chip-group.d.ts +1 -0
  82. package/dist/molecules/jl-chip-group.js +5 -2
  83. package/dist/molecules/jl-code-block.css.js +3 -0
  84. package/dist/molecules/jl-code-block.js +2 -2
  85. package/dist/molecules/jl-combobox.css.js +3 -0
  86. package/dist/molecules/jl-combobox.d.ts +3 -1
  87. package/dist/molecules/jl-combobox.js +13 -8
  88. package/dist/molecules/jl-copy-button.css.js +3 -0
  89. package/dist/molecules/jl-copy-button.d.ts +1 -0
  90. package/dist/molecules/jl-copy-button.js +8 -6
  91. package/dist/molecules/jl-date-picker.css.js +3 -0
  92. package/dist/molecules/jl-date-picker.d.ts +1 -0
  93. package/dist/molecules/jl-date-picker.js +11 -8
  94. package/dist/molecules/jl-empty.css.js +3 -0
  95. package/dist/molecules/jl-empty.js +1 -1
  96. package/dist/molecules/jl-facts.css.js +3 -0
  97. package/dist/molecules/jl-facts.js +1 -1
  98. package/dist/molecules/jl-field.css.js +3 -0
  99. package/dist/molecules/jl-field.js +1 -1
  100. package/dist/molecules/jl-file-drop.css.js +3 -0
  101. package/dist/molecules/jl-file-drop.d.ts +1 -0
  102. package/dist/molecules/jl-file-drop.js +16 -7
  103. package/dist/molecules/jl-input-list.css.js +3 -0
  104. package/dist/molecules/jl-input-list.d.ts +3 -2
  105. package/dist/molecules/jl-input-list.js +11 -8
  106. package/dist/molecules/jl-list-item.css.js +3 -0
  107. package/dist/molecules/jl-list-item.js +1 -1
  108. package/dist/molecules/jl-load-more.css.js +3 -0
  109. package/dist/molecules/jl-load-more.d.ts +4 -2
  110. package/dist/molecules/jl-load-more.js +16 -9
  111. package/dist/molecules/jl-load-state.css.js +3 -0
  112. package/dist/molecules/jl-load-state.d.ts +13 -0
  113. package/dist/molecules/jl-load-state.js +63 -12
  114. package/dist/molecules/jl-menu.css.js +3 -0
  115. package/dist/molecules/jl-menu.js +1 -1
  116. package/dist/molecules/jl-number-input.css.js +3 -0
  117. package/dist/molecules/jl-number-input.d.ts +1 -0
  118. package/dist/molecules/jl-number-input.js +7 -4
  119. package/dist/molecules/jl-pagination.css.js +3 -0
  120. package/dist/molecules/jl-pagination.d.ts +2 -0
  121. package/dist/molecules/jl-pagination.js +18 -10
  122. package/dist/molecules/jl-popover.css.js +3 -0
  123. package/dist/molecules/jl-popover.js +1 -1
  124. package/dist/molecules/jl-radio-group.css.js +3 -0
  125. package/dist/molecules/jl-radio-group.d.ts +1 -0
  126. package/dist/molecules/jl-radio-group.js +5 -2
  127. package/dist/molecules/jl-search-button.css.js +3 -0
  128. package/dist/molecules/jl-search-button.d.ts +2 -1
  129. package/dist/molecules/jl-search-button.js +7 -5
  130. package/dist/molecules/jl-search.css.js +3 -0
  131. package/dist/molecules/jl-search.d.ts +2 -0
  132. package/dist/molecules/jl-search.js +10 -4
  133. package/dist/molecules/jl-segmented.css.js +3 -0
  134. package/dist/molecules/jl-segmented.js +1 -1
  135. package/dist/molecules/jl-stat.css.js +3 -0
  136. package/dist/molecules/jl-stat.js +1 -1
  137. package/dist/molecules/jl-steps.css.js +3 -0
  138. package/dist/molecules/jl-steps.d.ts +2 -0
  139. package/dist/molecules/jl-steps.js +10 -5
  140. package/dist/molecules/jl-tab-panel.css.js +3 -0
  141. package/dist/molecules/jl-tab-panel.js +1 -1
  142. package/dist/molecules/jl-tabs.css.js +3 -0
  143. package/dist/molecules/jl-tabs.js +1 -1
  144. package/dist/molecules/jl-tag-input.css.js +3 -0
  145. package/dist/molecules/jl-tag-input.d.ts +1 -0
  146. package/dist/molecules/jl-tag-input.js +9 -5
  147. package/dist/molecules/jl-timeline.css.js +3 -0
  148. package/dist/molecules/jl-timeline.js +1 -1
  149. package/dist/molecules/jl-toast.css.js +3 -0
  150. package/dist/molecules/jl-toast.d.ts +1 -0
  151. package/dist/molecules/jl-toast.js +5 -3
  152. package/dist/molecules/jl-tooltip.css.js +3 -0
  153. package/dist/molecules/jl-tooltip.js +1 -1
  154. package/dist/organisms/jl-command-palette.css.js +3 -0
  155. package/dist/organisms/jl-command-palette.d.ts +3 -1
  156. package/dist/organisms/jl-command-palette.js +23 -15
  157. package/dist/organisms/jl-confirm.css.js +3 -0
  158. package/dist/organisms/jl-confirm.d.ts +3 -0
  159. package/dist/organisms/jl-confirm.js +13 -12
  160. package/dist/organisms/jl-dialog.css.js +3 -0
  161. package/dist/organisms/jl-dialog.d.ts +1 -0
  162. package/dist/organisms/jl-dialog.js +5 -3
  163. package/dist/organisms/jl-drawer.css.js +3 -0
  164. package/dist/organisms/jl-drawer.d.ts +1 -0
  165. package/dist/organisms/jl-drawer.js +5 -3
  166. package/dist/organisms/jl-flow.css.js +3 -0
  167. package/dist/organisms/jl-flow.d.ts +2 -0
  168. package/dist/organisms/jl-flow.js +26 -17
  169. package/dist/organisms/jl-navbar.css.js +3 -0
  170. package/dist/organisms/jl-navbar.d.ts +3 -0
  171. package/dist/organisms/jl-navbar.js +17 -8
  172. package/dist/organisms/jl-page-header.css.js +3 -0
  173. package/dist/organisms/jl-page-header.js +1 -1
  174. package/dist/organisms/jl-page-outlet.css.js +3 -0
  175. package/dist/organisms/jl-page-outlet.d.ts +34 -0
  176. package/dist/organisms/jl-page-outlet.js +107 -0
  177. package/dist/organisms/jl-side-nav.css.js +3 -0
  178. package/dist/organisms/jl-side-nav.d.ts +4 -2
  179. package/dist/organisms/jl-side-nav.js +18 -12
  180. package/dist/organisms/jl-tab-bar.css.js +3 -0
  181. package/dist/organisms/jl-tab-bar.d.ts +1 -0
  182. package/dist/organisms/jl-tab-bar.js +6 -3
  183. package/dist/organisms/jl-table.css.js +3 -0
  184. package/dist/organisms/jl-table.d.ts +2 -1
  185. package/dist/organisms/jl-table.js +10 -7
  186. package/dist/organisms/jl-toaster.css.js +3 -0
  187. package/dist/organisms/jl-toaster.d.ts +2 -1
  188. package/dist/organisms/jl-toaster.js +13 -10
  189. package/dist/organisms/jl-tree.css.js +3 -0
  190. package/dist/organisms/jl-tree.d.ts +6 -4
  191. package/dist/organisms/jl-tree.js +22 -16
  192. package/dist/styles/base.css.js +3 -0
  193. package/dist/styles/control.css.js +3 -0
  194. package/dist/styles/floating.css.js +3 -0
  195. package/dist/styles/shared.js +4 -4
  196. package/dist/styles/tokens.css.js +3 -0
  197. package/dist/templates/jl-app-shell.css.js +3 -0
  198. package/dist/templates/jl-app-shell.d.ts +1 -0
  199. package/dist/templates/jl-app-shell.js +5 -3
  200. package/dist/templates/jl-auth-layout.css.js +3 -0
  201. package/dist/templates/jl-auth-layout.d.ts +4 -3
  202. package/dist/templates/jl-auth-layout.js +14 -12
  203. package/dist/templates/jl-page.css.js +3 -0
  204. package/dist/templates/jl-page.d.ts +1 -0
  205. package/dist/templates/jl-page.js +5 -2
  206. package/dist/templates/jl-split-view.css.js +3 -0
  207. package/dist/templates/jl-split-view.d.ts +1 -0
  208. package/dist/templates/jl-split-view.js +6 -5
  209. package/dist/templates/jl-stack.css.js +3 -0
  210. package/dist/templates/jl-stack.d.ts +17 -0
  211. package/dist/templates/jl-stack.js +36 -0
  212. package/dist/types/jl-stack.types.d.ts +2 -0
  213. package/dist/types/texts.types.d.ts +29 -4
  214. package/package.json +5 -4
  215. package/dist/atoms/jl-app-icon.css_raw.js +0 -3
  216. package/dist/atoms/jl-avatar.css_raw.js +0 -3
  217. package/dist/atoms/jl-badge.css_raw.js +0 -3
  218. package/dist/atoms/jl-button.css_raw.js +0 -3
  219. package/dist/atoms/jl-checkbox.css_raw.js +0 -3
  220. package/dist/atoms/jl-chip.css_raw.js +0 -3
  221. package/dist/atoms/jl-divider.css_raw.js +0 -3
  222. package/dist/atoms/jl-icon.css_raw.js +0 -3
  223. package/dist/atoms/jl-input.css_raw.js +0 -3
  224. package/dist/atoms/jl-kbd.css_raw.js +0 -3
  225. package/dist/atoms/jl-link.css_raw.js +0 -3
  226. package/dist/atoms/jl-progress-ring.css_raw.js +0 -3
  227. package/dist/atoms/jl-progress.css_raw.js +0 -3
  228. package/dist/atoms/jl-rating.css_raw.js +0 -3
  229. package/dist/atoms/jl-select.css_raw.js +0 -3
  230. package/dist/atoms/jl-skeleton.css_raw.js +0 -3
  231. package/dist/atoms/jl-slider.css_raw.js +0 -3
  232. package/dist/atoms/jl-spinner.css_raw.js +0 -3
  233. package/dist/atoms/jl-switch.css_raw.js +0 -3
  234. package/dist/atoms/jl-textarea.css_raw.js +0 -3
  235. package/dist/molecules/jl-accordion-item.css_raw.js +0 -3
  236. package/dist/molecules/jl-accordion.css_raw.js +0 -3
  237. package/dist/molecules/jl-account-button.css_raw.js +0 -3
  238. package/dist/molecules/jl-alert.css_raw.js +0 -3
  239. package/dist/molecules/jl-avatar-group.css_raw.js +0 -3
  240. package/dist/molecules/jl-breadcrumb.css_raw.js +0 -3
  241. package/dist/molecules/jl-calendar.css_raw.js +0 -3
  242. package/dist/molecules/jl-card.css_raw.js +0 -3
  243. package/dist/molecules/jl-chip-group.css_raw.js +0 -3
  244. package/dist/molecules/jl-code-block.css_raw.js +0 -3
  245. package/dist/molecules/jl-combobox.css_raw.js +0 -3
  246. package/dist/molecules/jl-copy-button.css_raw.js +0 -3
  247. package/dist/molecules/jl-date-picker.css_raw.js +0 -3
  248. package/dist/molecules/jl-empty.css_raw.js +0 -3
  249. package/dist/molecules/jl-facts.css_raw.js +0 -3
  250. package/dist/molecules/jl-field.css_raw.js +0 -3
  251. package/dist/molecules/jl-file-drop.css_raw.js +0 -3
  252. package/dist/molecules/jl-input-list.css_raw.js +0 -3
  253. package/dist/molecules/jl-list-item.css_raw.js +0 -3
  254. package/dist/molecules/jl-load-more.css_raw.js +0 -3
  255. package/dist/molecules/jl-load-state.css_raw.js +0 -3
  256. package/dist/molecules/jl-menu.css_raw.js +0 -3
  257. package/dist/molecules/jl-number-input.css_raw.js +0 -3
  258. package/dist/molecules/jl-pagination.css_raw.js +0 -3
  259. package/dist/molecules/jl-popover.css_raw.js +0 -3
  260. package/dist/molecules/jl-radio-group.css_raw.js +0 -3
  261. package/dist/molecules/jl-search-button.css_raw.js +0 -3
  262. package/dist/molecules/jl-search.css_raw.js +0 -3
  263. package/dist/molecules/jl-segmented.css_raw.js +0 -3
  264. package/dist/molecules/jl-stat.css_raw.js +0 -3
  265. package/dist/molecules/jl-steps.css_raw.js +0 -3
  266. package/dist/molecules/jl-tab-panel.css_raw.js +0 -3
  267. package/dist/molecules/jl-tabs.css_raw.js +0 -3
  268. package/dist/molecules/jl-tag-input.css_raw.js +0 -3
  269. package/dist/molecules/jl-timeline.css_raw.js +0 -3
  270. package/dist/molecules/jl-toast.css_raw.js +0 -3
  271. package/dist/molecules/jl-tooltip.css_raw.js +0 -3
  272. package/dist/organisms/jl-command-palette.css_raw.js +0 -3
  273. package/dist/organisms/jl-confirm.css_raw.js +0 -3
  274. package/dist/organisms/jl-dialog.css_raw.js +0 -3
  275. package/dist/organisms/jl-drawer.css_raw.js +0 -3
  276. package/dist/organisms/jl-flow.css_raw.js +0 -3
  277. package/dist/organisms/jl-navbar.css_raw.js +0 -3
  278. package/dist/organisms/jl-page-header.css_raw.js +0 -3
  279. package/dist/organisms/jl-side-nav.css_raw.js +0 -3
  280. package/dist/organisms/jl-tab-bar.css_raw.js +0 -3
  281. package/dist/organisms/jl-table.css_raw.js +0 -3
  282. package/dist/organisms/jl-toaster.css_raw.js +0 -3
  283. package/dist/organisms/jl-tree.css_raw.js +0 -3
  284. package/dist/styles/base.css_raw.js +0 -3
  285. package/dist/styles/control.css_raw.js +0 -3
  286. package/dist/styles/floating.css_raw.js +0 -3
  287. package/dist/styles/tokens.css_raw.js +0 -3
  288. package/dist/templates/jl-app-shell.css_raw.js +0 -3
  289. package/dist/templates/jl-auth-layout.css_raw.js +0 -3
  290. package/dist/templates/jl-page.css_raw.js +0 -3
  291. package/dist/templates/jl-split-view.css_raw.js +0 -3
@@ -43,6 +43,7 @@ export declare class JlPage extends JlElement {
43
43
  templateHtml(): Node;
44
44
  templateCss(): string;
45
45
  onConnect(): void;
46
+ protected drawTexts(): void;
46
47
  /** The back link stays out of the header's breadcrumb slot without an address, so the header takes no room for it. */
47
48
  private renderBack;
48
49
  private renderTitle;
@@ -1,13 +1,13 @@
1
+ import { jlText } from "../lib/texts.js";
1
2
  import { BASE_STYLES } from "../styles/shared.js";
2
3
  import { JlElement } from "../base/jl-element.js";
3
4
  import { oneOf } from "../lib/attributes.js";
4
5
  import { define } from "../lib/define.js";
5
6
  import { registerIcons } from "../lib/icons.js";
6
- import { jlText } from "../lib/texts.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";
@@ -83,6 +83,9 @@ var JlPage = class extends JlElement {
83
83
  this.renderTitle();
84
84
  this._refs.back.events.register("press", () => this.events.emit("back"));
85
85
  }
86
+ drawTexts() {
87
+ this.renderBack();
88
+ }
86
89
  /** The back link stays out of the header's breadcrumb slot without an address, so the header takes no room for it. */
87
90
  renderBack() {
88
91
  const back = this._refs.back;
@@ -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 };
@@ -55,6 +55,7 @@ export declare class JlSplitView extends JlElement {
55
55
  reset(): void;
56
56
  templateHtml(): Node;
57
57
  templateCss(): string;
58
+ protected drawTexts(): void;
58
59
  onConnect(): void;
59
60
  onDisconnect(): void;
60
61
  private renderStacked;
@@ -1,10 +1,10 @@
1
+ import { jlText } from "../lib/texts.js";
1
2
  import { BASE_STYLES } from "../styles/shared.js";
2
3
  import { JlElement } from "../base/jl-element.js";
3
4
  import { clampedNumber, oneOf } from "../lib/attributes.js";
4
- import { jlText } from "../lib/texts.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
@@ -62,9 +62,7 @@ var JlSplitView = class extends JlElement {
62
62
  parse: oneOf(SPLIT_PANES, "start")
63
63
  });
64
64
  /** The divider's name for screen readers. */
65
- label = this.useChange(jlText("resizePanes"), (value) => {
66
- this._refs.divider.setAttribute("aria-label", value === "" ? jlText("resizePanes") : value);
67
- }, { attribute: "label" });
65
+ label = this.useChange("", () => this.drawTexts(), { attribute: "label" });
68
66
  _drag = { from: DEFAULT_POSITION };
69
67
  _resize = watchSizes(() => this.renderStacked());
70
68
  /** Whether it shows one pane at a time now. */
@@ -112,6 +110,9 @@ var JlSplitView = class extends JlElement {
112
110
  templateCss() {
113
111
  return css`${BASE_STYLES}${jl_split_view_default}`;
114
112
  }
113
+ drawTexts() {
114
+ this._refs.divider.setAttribute("aria-label", this.label.get() || jlText("resizePanes"));
115
+ }
115
116
  onConnect() {
116
117
  this._resize.observe(this);
117
118
  const divider = this._refs.divider;
@@ -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';
@@ -1,5 +1,30 @@
1
- import type { DEFAULT_TEXTS } from '../lib/texts';
1
+ import type { Bus, TranslationLoader, Translations } from '@jadis/core';
2
+ import type { DEFAULT_TEXTS, JL_LANGUAGES } from '../lib/texts';
3
+ /** jlib's texts in English: the source every language translates. */
4
+ export type JlSourceTexts = typeof DEFAULT_TEXTS;
2
5
  /** The name of one of the texts jlib's components show on their own. */
3
- export type JlTextKey = keyof typeof DEFAULT_TEXTS;
4
- /** The texts in the page's language: some or all of them, the rest staying in English. */
5
- export type JlTexts = Partial<Record<JlTextKey, string>>;
6
+ export type JlTextKey = keyof JlSourceTexts;
7
+ /** A language jlib translates itself. */
8
+ export type JlLanguage = (typeof JL_LANGUAGES)[number];
9
+ /** All of jlib's texts in one language, each with the placeholders of its English text. */
10
+ export type JlLanguageTexts = Translations<JlSourceTexts>;
11
+ /** Some of jlib's texts in one language, each with the placeholders of its English text. */
12
+ export type JlFixes = Partial<JlLanguageTexts>;
13
+ /** What a language added to jlib shows: its texts, their loader, or one of jlib's own languages. */
14
+ export type JlLanguageEntry = JlLanguageTexts | TranslationLoader<JlLanguageTexts> | JlLanguage;
15
+ /** A translator jlib's texts can follow, such as a Jadis `Translator`. */
16
+ export interface FollowedTranslator<Locale extends string> {
17
+ readonly locale: Locale;
18
+ readonly locales: readonly Locale[];
19
+ readonly bus: Bus<{
20
+ change: Locale;
21
+ }>;
22
+ }
23
+ /** A locale a page can add: one jlib does not translate itself, whose texts are fixed instead. */
24
+ export type AddedLocale<Locale extends string> = Locale extends JlLanguage ? `jlib translates ${Locale} itself: fix its texts with jlTexts.fix` : Locale;
25
+ /** The texts shown, in the locale they are shown for, with that locale's number format. */
26
+ export interface ShownTexts {
27
+ locale: string;
28
+ numbers: Intl.NumberFormat;
29
+ texts: Readonly<Record<JlTextKey, string>>;
30
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syware/jlib",
3
- "version": "0.8.0",
3
+ "version": "0.10.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.4.0"
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.4.2",
98
+ "@jadis/core": "^1.6.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 };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-spinner.css?raw
2
- var jl_spinner_default = ":host {\n display: inline-flex;\n flex: none;\n --size: 16px;\n}\n\n.ring {\n width: var(--size);\n height: var(--size);\n border: 2px solid color-mix(in srgb, currentColor 22%, transparent);\n border-top-color: currentColor;\n border-radius: 50%;\n animation: spin 0.7s linear infinite;\n}\n\n@keyframes spin {\n to {\n transform: rotate(1turn);\n }\n}\n\n/* The one animation reduced motion keeps, slower: a still ring would read as stuck. */\n@media (prefers-reduced-motion: reduce) {\n .ring {\n /* biome-ignore lint/complexity/noImportantStyles: wins over the reduced-motion rule of BASE_STYLES */\n animation-duration: 1.6s !important;\n /* biome-ignore lint/complexity/noImportantStyles: wins over the reduced-motion rule of BASE_STYLES */\n animation-iteration-count: infinite !important;\n }\n}\n";
3
- export { jl_spinner_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-switch.css?raw
2
- var jl_switch_default = ":host {\n display: inline-flex;\n vertical-align: middle;\n --track-width: 36px;\n --track-height: 20px;\n --thumb: 14px;\n}\n\n:host([size=\"sm\"]) {\n --track-width: 28px;\n --track-height: 16px;\n --thumb: 10px;\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:host([size=\"sm\"]) .wrap {\n font-size: var(--jl-font-sm);\n}\n\n.track {\n position: relative;\n display: inline-flex;\n flex: none;\n width: var(--track-width);\n height: var(--track-height);\n margin-top: calc((20px - var(--track-height)) / 2);\n}\n\n/* The native box keeps the semantics and the keyboard; it is drawn as the track, the thumb slides over it. */\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-pill);\n background: var(--jl-surface-3);\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 border-color: var(--jl-accent);\n background: var(--jl-accent);\n}\n\n.wrap:hover .native:checked:not(:disabled) {\n border-color: var(--jl-accent-strong);\n background: var(--jl-accent-strong);\n}\n\n.thumb {\n position: absolute;\n top: calc((var(--track-height) - var(--thumb)) / 2);\n left: calc((var(--track-height) - var(--thumb)) / 2);\n width: var(--thumb);\n height: var(--thumb);\n border-radius: 50%;\n background: var(--jl-muted);\n pointer-events: none;\n transition:\n transform var(--jl-fast) var(--jl-ease),\n background var(--jl-fast) var(--jl-ease);\n}\n\n.native:checked + .thumb {\n background: var(--jl-on-accent);\n transform: translateX(calc(var(--track-width) - var(--track-height)));\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";
3
- export { jl_switch_default as default };
@@ -1,3 +0,0 @@
1
- // src/atoms/jl-textarea.css?raw
2
- var jl_textarea_default = ":host {\n display: block;\n}\n\n.field {\n display: grid;\n gap: 6px;\n}\n\n.control {\n align-items: stretch;\n padding: 0;\n}\n\n/* The area takes the frame's whole box, so its own scrollbar and resize handle sit inside the border. */\n.native {\n display: block;\n height: auto;\n min-height: calc(var(--jl-control-md) - 2px);\n padding: 8px 12px;\n border-radius: inherit;\n resize: vertical;\n}\n\n:host([autosize]) .native {\n resize: none;\n overflow-y: hidden;\n}\n\n:host([readonly]) .control {\n background: var(--jl-surface-2);\n}\n\n.counter {\n justify-self: end;\n color: var(--jl-muted);\n font-family: var(--jl-font-mono);\n font-size: var(--jl-font-xs);\n font-variant-numeric: tabular-nums;\n line-height: 16px;\n}\n\n.counter[data-full] {\n color: var(--jl-warn);\n}\n";
3
- export { jl_textarea_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-accordion-item.css?raw
2
- var jl_accordion_item_default = ":host {\n display: block;\n border-bottom: 1px solid var(--jl-line);\n /* Lets the content's height animate from 0 to auto. */\n interpolate-size: allow-keywords;\n --pad-x: 0px;\n}\n\nsummary {\n display: flex;\n align-items: center;\n gap: 10px;\n min-height: 48px;\n padding: 12px var(--pad-x);\n border-radius: var(--jl-radius-xs);\n color: var(--jl-text);\n font-size: var(--jl-font-md);\n font-weight: 600;\n line-height: 1.4;\n list-style: none;\n cursor: pointer;\n user-select: none;\n}\n\nsummary::-webkit-details-marker {\n display: none;\n}\n\n.titles {\n display: grid;\n flex: 1;\n min-width: 0;\n}\n\n.description {\n overflow: hidden;\n color: var(--jl-muted);\n font-size: var(--jl-font-sm);\n font-weight: 400;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.icon {\n color: var(--jl-muted);\n}\n\n.chevron {\n color: var(--jl-faint);\n transition: rotate var(--jl-slow) var(--jl-ease);\n}\n\nsummary:hover .chevron {\n color: var(--jl-text);\n}\n\ndetails[open] .chevron {\n rotate: 180deg;\n}\n\nsummary:focus-visible {\n box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--jl-brand) 60%, transparent);\n}\n\n/*\n * The content box is a pseudo-element BASE_STYLES' \"* { box-sizing: inherit }\" does not reach: without this, what\n * it holds (and the slotted fields, which inherit through it) would fall back to content-box.\n */\ndetails::details-content {\n box-sizing: inherit;\n block-size: 0;\n overflow: clip;\n transition:\n block-size var(--jl-slow) var(--jl-ease),\n content-visibility var(--jl-slow) allow-discrete;\n}\n\ndetails[open]::details-content {\n block-size: auto;\n}\n\n.content {\n padding: 0 var(--pad-x) 16px;\n color: var(--jl-text-2);\n font-size: var(--jl-font-md);\n line-height: 1.6;\n}\n\n:host([disabled]) summary {\n color: var(--jl-faint);\n cursor: not-allowed;\n}\n\n:host([disabled]) summary:hover .chevron {\n color: var(--jl-faint);\n}\n";
3
- export { jl_accordion_item_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-accordion.css?raw
2
- var jl_accordion_default = ":host {\n display: block;\n}\n\n:host([variant=\"bordered\"]) .accordion {\n border: 1px solid var(--jl-line);\n border-radius: var(--jl-radius);\n background: var(--jl-surface);\n}\n\n:host([variant=\"bordered\"]) ::slotted(*) {\n --pad-x: 16px;\n}\n\n:host([variant=\"bordered\"]) ::slotted(:last-child) {\n border-bottom: none;\n}\n";
3
- export { jl_accordion_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-account-button.css?raw
2
- var jl_account_button_default = ":host {\n display: block;\n}\n\n.base {\n display: flex;\n width: 100%;\n padding: 6px 8px;\n border: 0;\n border-radius: var(--jl-radius-sm);\n background: transparent;\n color: var(--jl-text);\n text-align: left;\n text-decoration: none;\n cursor: pointer;\n transition: background var(--jl-fast) var(--jl-ease);\n}\n\n.base:hover {\n background: var(--jl-surface-2);\n}\n\n.content {\n display: flex;\n flex: 1;\n align-items: center;\n gap: 10px;\n min-width: 0;\n}\n\njl-avatar {\n flex: none;\n}\n\n.text {\n display: grid;\n min-width: 0;\n line-height: 1.3;\n}\n\n.name,\n.description {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.name {\n font-size: var(--jl-font-sm);\n font-weight: 650;\n}\n\n.description {\n color: var(--jl-muted);\n font-size: var(--jl-font-xs);\n}\n\n/* The avatar alone, round. */\n:host([compact]) {\n display: inline-block;\n}\n\n:host([compact]) .base {\n width: auto;\n padding: 2px;\n border-radius: var(--jl-radius-pill);\n}\n\n:host([compact]) .text {\n display: none;\n}\n\n/* Their account page is the one shown: marked as the side nav marks its current place. */\n\n:host([current]) .base {\n background: var(--jl-accent-soft);\n}\n\n:host([current]) .name {\n color: var(--jl-accent);\n}\n\n:host([current][compact]) .base {\n box-shadow: 0 0 0 2px var(--jl-accent);\n}\n";
3
- export { jl_account_button_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-alert.css?raw
2
- var jl_alert_default = ":host {\n display: block;\n --fg: var(--jl-info);\n --bg: var(--jl-info-soft);\n --border: color-mix(in srgb, var(--fg) 24%, var(--bg));\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=\"neutral\"]) {\n --fg: var(--jl-muted);\n --bg: var(--jl-surface-2);\n --border: var(--jl-line);\n}\n\n.alert {\n display: flex;\n align-items: flex-start;\n gap: 12px;\n padding: 12px 14px;\n border: 1px solid var(--border);\n border-radius: var(--jl-radius);\n background: var(--bg);\n color: var(--jl-text-2);\n font-size: var(--jl-font-md);\n line-height: 1.5;\n}\n\n:host([dismissible]) .alert {\n padding-right: 8px;\n}\n\n.icon {\n /* Centred on the first line of text: 21px high at this size. */\n margin-top: 1.5px;\n color: var(--fg);\n}\n\n.content {\n display: grid;\n flex: 1;\n gap: 2px;\n min-width: 0;\n}\n\n.heading {\n color: var(--jl-text);\n font-weight: 650;\n}\n\n.actions {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n margin-top: 10px;\n}\n\n.close {\n margin: -5px 0 -5px 0;\n --jl-accent: var(--fg);\n --jl-accent-soft: color-mix(in srgb, var(--fg) 12%, transparent);\n}\n\n::slotted(a) {\n color: inherit;\n font-weight: 600;\n}\n";
3
- export { jl_alert_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-avatar-group.css?raw
2
- var jl_avatar_group_default = ":host {\n display: inline-flex;\n vertical-align: middle;\n --overlap: 6px;\n --ring-color: var(--jl-surface);\n}\n\n:host([size=\"sm\"]) {\n --overlap: 4px;\n}\n\n:host([size=\"lg\"]) {\n --overlap: 8px;\n}\n\n:host([size=\"xl\"]) {\n --overlap: 10px;\n}\n\n.group {\n display: inline-flex;\n align-items: center;\n padding-left: var(--overlap);\n}\n\njl-avatar {\n margin-left: calc(var(--overlap) * -1);\n --ring: 2px;\n --ring-color: inherit;\n}\n\n.more {\n font-variant-numeric: tabular-nums;\n}\n";
3
- export { jl_avatar_group_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-breadcrumb.css?raw
2
- var jl_breadcrumb_default = ":host {\n display: block;\n}\n\nol {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 4px 0;\n padding: 0;\n list-style: none;\n font-size: var(--jl-font-sm);\n line-height: 20px;\n}\n\nli {\n display: inline-flex;\n align-items: center;\n min-width: 0;\n}\n\n.separator {\n margin: 0 6px;\n color: var(--jl-faint);\n}\n\n.crumb {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n min-width: 0;\n padding: 2px 4px;\n border-radius: var(--jl-radius-xs);\n color: var(--jl-muted);\n text-decoration: none;\n}\n\na.crumb:hover {\n color: var(--jl-text);\n text-decoration: underline;\n text-underline-offset: 3px;\n}\n\n.crumb[aria-current=\"page\"] {\n color: var(--jl-text);\n font-weight: 600;\n}\n\n.label {\n max-width: 24ch;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.more {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 22px;\n padding: 0;\n border: none;\n border-radius: var(--jl-radius-xs);\n background: none;\n color: var(--jl-muted);\n cursor: pointer;\n}\n\n.more:hover {\n background: var(--jl-surface-3);\n color: var(--jl-text);\n}\n\n/* The first crumb's text lines up with what is under the trail, its padding hanging out to the left. */\nli:first-child .crumb {\n margin-left: -4px;\n}\n";
3
- export { jl_breadcrumb_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-calendar.css?raw
2
- var jl_calendar_default = ":host {\n display: inline-block;\n vertical-align: top;\n --cell: 36px;\n}\n\n:host([size=\"sm\"]) {\n --cell: 32px;\n}\n\n:host([size=\"lg\"]) {\n --cell: 42px;\n}\n\n.calendar {\n display: inline-grid;\n gap: 6px;\n padding: 12px;\n border: 1px solid var(--jl-line);\n border-radius: var(--jl-radius-lg);\n background: var(--jl-surface);\n color: var(--jl-text);\n}\n\n:host([invalid]) .calendar {\n border-color: var(--jl-danger);\n}\n\nheader {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.title {\n flex: 1;\n font-size: var(--jl-font-md);\n font-weight: 650;\n text-align: center;\n}\n\n/* \"octobre 2026\": a title starts with a capital, whatever the locale writes. */\n.title::first-letter {\n text-transform: uppercase;\n}\n\n.nav {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 30px;\n height: 30px;\n padding: 0;\n border: none;\n border-radius: var(--jl-radius-sm);\n background: none;\n color: var(--jl-text-2);\n cursor: pointer;\n}\n\n.nav:hover {\n background: var(--jl-surface-3);\n color: var(--jl-text);\n}\n\n.nav:disabled {\n background: none;\n color: var(--jl-faint);\n cursor: not-allowed;\n opacity: 0.5;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\nth {\n width: var(--cell);\n height: 28px;\n padding: 0;\n color: var(--jl-muted);\n font-size: 11px;\n font-weight: 600;\n text-align: center;\n}\n\ntd {\n width: var(--cell);\n height: var(--cell);\n padding: 2px;\n text-align: center;\n cursor: pointer;\n}\n\n.number {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n border-radius: var(--jl-radius-sm);\n font-size: var(--jl-font-sm);\n font-variant-numeric: tabular-nums;\n transition:\n background var(--jl-fast) var(--jl-ease),\n color var(--jl-fast) var(--jl-ease);\n}\n\ntd:hover .number {\n background: var(--jl-surface-3);\n}\n\ntd:focus-visible {\n box-shadow: none;\n}\n\ntd:focus-visible .number {\n box-shadow: var(--jl-focus-ring);\n}\n\ntd.outside .number {\n color: var(--jl-muted);\n}\n\ntd[aria-current=\"date\"] .number {\n color: var(--jl-accent);\n font-weight: 700;\n box-shadow: inset 0 0 0 1px var(--jl-accent-line);\n}\n\ntd[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n\ntd[aria-disabled=\"true\"] .number {\n background: none;\n color: var(--jl-faint);\n text-decoration: line-through;\n text-decoration-color: color-mix(in srgb, var(--jl-faint) 60%, transparent);\n}\n\ntd[aria-selected=\"true\"] .number {\n background: var(--jl-accent);\n color: var(--jl-on-accent);\n font-weight: 650;\n}\n\n:host([disabled]) .calendar {\n opacity: 0.55;\n}\n\n:host([disabled]) td {\n cursor: not-allowed;\n}\n\n:host([disabled]) td:hover .number {\n background: none;\n}\n";
3
- export { jl_calendar_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-card.css?raw
2
- var jl_card_default = ":host {\n display: block;\n --pad: 20px;\n --edge: 20px;\n --gap: 12px;\n --radius: var(--jl-radius-lg);\n}\n\n:host([padding=\"none\"]) {\n --pad: 0px;\n --edge: 16px;\n}\n\n:host([padding=\"sm\"]) {\n --pad: 12px;\n --edge: 12px;\n --gap: 8px;\n}\n\n:host([padding=\"lg\"]) {\n --pad: 28px;\n --edge: 28px;\n --gap: 16px;\n}\n\n.card {\n position: relative;\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow: hidden;\n border: 1px solid var(--jl-line);\n border-radius: var(--radius);\n background: var(--jl-surface);\n color: var(--jl-text);\n font-size: var(--jl-font-md);\n line-height: 1.55;\n transition: border-color var(--jl-fast) var(--jl-ease);\n}\n\n:host([clickable]) .card {\n cursor: pointer;\n}\n\n:host([clickable]) .card:hover {\n border-color: var(--jl-accent-line);\n}\n\n/* The link covers the card, so a press anywhere follows it; the header actions and the footer sit above it. */\n.link {\n position: absolute;\n inset: 0;\n z-index: 1;\n border-radius: inherit;\n}\n\n/* The card clips what overflows its corners, the link's own ring included: the card wears the ring instead. */\n.link:focus-visible {\n box-shadow: none;\n}\n\n.card:has(.link:focus-visible) {\n box-shadow: var(--jl-focus-ring);\n}\n\n.actions,\nfooter {\n position: relative;\n z-index: 2;\n}\n\n.media ::slotted(*) {\n display: block;\n width: 100%;\n}\n\n.media ::slotted(img) {\n object-fit: cover;\n}\n\nheader {\n display: flex;\n align-items: flex-start;\n gap: 12px;\n padding: var(--edge) var(--edge) 0;\n}\n\n/* Actions without a heading sit in the top right corner, over the content, rather than on a row of their own. */\n:host([floating-actions]) header {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n}\n\n:host([has-header]:not([has-body])) header {\n padding-bottom: var(--edge);\n}\n\n.titles {\n display: grid;\n flex: 1;\n gap: 2px;\n min-width: 0;\n}\n\nh3 {\n font-size: var(--jl-font-lg);\n font-weight: 650;\n letter-spacing: -0.01em;\n line-height: 1.35;\n}\n\n.description {\n color: var(--jl-muted);\n font-size: var(--jl-font-sm);\n line-height: 1.5;\n}\n\n.actions {\n display: flex;\n flex: none;\n align-items: center;\n gap: 6px;\n margin: -4px -6px -4px 0;\n}\n\n.body {\n flex: 1;\n padding: var(--pad);\n}\n\n:host([has-header]) .body {\n padding-top: var(--gap);\n}\n\n:host([has-header][padding=\"none\"]) .body {\n margin-top: var(--gap);\n padding-top: 0;\n border-top: 1px solid var(--jl-line);\n}\n\nfooter {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-end;\n gap: 8px;\n padding: 12px var(--edge);\n border-top: 1px solid var(--jl-line);\n}\n\n:host(:not([has-body]):not([has-header])) footer {\n border-top: 0;\n}\n";
3
- export { jl_card_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-chip-group.css?raw
2
- var jl_chip_group_default = ":host {\n display: block;\n min-width: 0;\n --height: 28px;\n --pad: 10px;\n --font-size: var(--jl-font-sm);\n}\n\n:host([size=\"sm\"]) {\n --height: 24px;\n --pad: 8px;\n --font-size: var(--jl-font-xs);\n}\n\n/* Where a thumb presses it. */\n:host([size=\"lg\"]) {\n --height: 36px;\n --pad: 14px;\n --font-size: var(--jl-font-md);\n}\n\n/*\n * One row that scrolls sideways on a narrow screen. The padding keeps the focus ring inside what the scroller\n * clips; the negative margin keeps the chips aligned with the content around.\n */\n.group {\n display: flex;\n gap: 8px;\n min-width: 0;\n margin: -3px;\n padding: 3px;\n overflow-x: auto;\n scrollbar-width: none;\n contain: inline-size;\n}\n\n.group::-webkit-scrollbar {\n display: none;\n}\n\n:host([wrap]) .group {\n flex-wrap: wrap;\n overflow: visible;\n contain: none;\n}\n\n.chip {\n display: inline-flex;\n flex: none;\n align-items: center;\n gap: 6px;\n max-width: 100%;\n height: var(--height);\n padding: 0 var(--pad);\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 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.chip:hover:not(:disabled) {\n background: var(--jl-surface-2);\n}\n\n.chip.selected,\n.chip.selected:hover:not(:disabled) {\n border-color: var(--jl-accent-line);\n background: var(--jl-accent-soft);\n color: var(--jl-accent);\n}\n\n.chip:disabled {\n cursor: not-allowed;\n opacity: 0.5;\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.badge {\n min-width: 18px;\n margin-right: -4px;\n padding: 0 6px;\n border-radius: var(--jl-radius-pill);\n background: var(--jl-surface-3);\n color: var(--jl-muted);\n font-size: var(--jl-font-xs);\n font-variant-numeric: tabular-nums;\n font-weight: 650;\n line-height: 18px;\n text-align: center;\n}\n\n.chip.selected .badge {\n background: color-mix(in srgb, var(--jl-accent) 14%, transparent);\n color: var(--jl-accent);\n}\n";
3
- export { jl_chip_group_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-code-block.css?raw
2
- var jl_code_block_default = ":host {\n display: block;\n min-width: 0;\n --max-height: none;\n}\n\nfigure {\n position: relative;\n border: 1px solid var(--jl-line);\n border-radius: var(--jl-radius);\n background: var(--jl-surface-2);\n overflow: hidden;\n}\n\nheader {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n height: 38px;\n padding: 0 52px 0 14px;\n border-bottom: 1px solid var(--jl-line);\n color: var(--jl-muted);\n font-size: var(--jl-font-xs);\n}\n\n.heading {\n overflow: hidden;\n color: var(--jl-text-2);\n font-family: var(--jl-font-mono);\n font-weight: 500;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.language {\n font-weight: 600;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n}\n\n.body {\n display: flex;\n min-width: 0;\n max-height: var(--max-height);\n overflow-y: auto;\n}\n\n.gutter,\npre {\n padding: 14px 16px;\n font-family: var(--jl-font-mono);\n font-size: 12.5px;\n line-height: 1.7;\n font-variant-ligatures: no-contextual;\n}\n\n.gutter {\n flex: none;\n padding-right: 4px;\n color: var(--jl-faint);\n text-align: right;\n white-space: pre;\n user-select: none;\n}\n\npre {\n flex: 1;\n min-width: 0;\n margin: 0;\n padding-right: 48px;\n overflow-x: auto;\n color: var(--jl-text);\n tab-size: 2;\n}\n\n:host([wrap]) pre {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.copy {\n position: absolute;\n top: 6px;\n right: 6px;\n background: var(--jl-surface-2);\n border-radius: var(--jl-radius-sm);\n}\n\n:host(:not([has-header])) .copy {\n opacity: 0.6;\n transition: opacity var(--jl-fast) var(--jl-ease);\n}\n\n:host(:not([has-header])) figure:hover .copy,\n.copy:focus-within {\n opacity: 1;\n}\n\n.tok-comment {\n color: var(--jl-code-comment);\n font-style: italic;\n}\n\n.tok-string {\n color: var(--jl-code-string);\n}\n\n.tok-number {\n color: var(--jl-code-number);\n}\n\n.tok-keyword {\n color: var(--jl-code-keyword);\n}\n\n.tok-tag {\n color: var(--jl-code-tag);\n}\n\n.tok-attribute {\n color: var(--jl-code-attribute);\n}\n\n.tok-property {\n color: var(--jl-code-property);\n}\n\n.tok-function {\n color: var(--jl-code-function);\n}\n\n.tok-punctuation {\n color: var(--jl-muted);\n}\n";
3
- export { jl_code_block_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-combobox.css?raw
2
- var jl_combobox_default = ":host {\n display: block;\n /* As a grid or flex item, the field may be narrower than its text field would like. */\n min-width: 0;\n}\n\n.toggle jl-icon {\n transition: transform var(--jl-fast) var(--jl-ease);\n}\n\n:host([open]) .toggle jl-icon {\n transform: rotate(180deg);\n}\n\n.toggle:disabled {\n cursor: not-allowed;\n}\n\n.popup {\n padding: 4px;\n}\n\n.listbox {\n position: relative;\n max-height: 264px;\n margin: 0;\n padding: 0;\n overflow-y: auto;\n list-style: none;\n}\n\n.option {\n display: flex;\n align-items: center;\n gap: 10px;\n min-height: 34px;\n padding: 6px 10px;\n border-radius: var(--jl-radius-xs);\n color: var(--jl-text);\n font-size: var(--jl-font-md);\n line-height: 1.35;\n cursor: pointer;\n user-select: none;\n}\n\n.option.active {\n background: var(--jl-surface-3);\n}\n\n.option-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.option.chosen .option-label {\n font-weight: 600;\n}\n\n.option[aria-disabled=\"true\"] {\n color: var(--jl-faint);\n cursor: not-allowed;\n}\n\n.text {\n display: grid;\n flex: 1;\n gap: 1px;\n min-width: 0;\n}\n\n.description {\n color: var(--jl-muted);\n font-size: var(--jl-font-xs);\n}\n\n.check {\n color: var(--jl-accent);\n visibility: hidden;\n}\n\n.option.chosen .check {\n visibility: visible;\n}\n\nmark {\n background: none;\n color: var(--jl-accent);\n font-weight: 700;\n}\n\n.empty {\n padding: 8px 10px;\n color: var(--jl-muted);\n font-size: var(--jl-font-sm);\n}\n";
3
- export { jl_combobox_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-copy-button.css?raw
2
- var jl_copy_button_default = ":host {\n display: inline-flex;\n}\n\n:host([copied]) jl-button {\n --jl-accent: var(--jl-ok);\n --jl-accent-soft: var(--jl-ok-soft);\n}\n";
3
- export { jl_copy_button_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-date-picker.css?raw
2
- var jl_date_picker_default = ":host {\n display: block;\n /* As a grid or flex item, the field may be narrower than its text field would like. */\n min-width: 0;\n}\n\n.open:disabled {\n cursor: not-allowed;\n}\n\n:host([open]) .open {\n background: var(--jl-surface-3);\n color: var(--jl-text);\n}\n\n.popup {\n padding: 0;\n}\n\n/* The panel draws the frame: the calendar inside drops its own. */\n.calendar::part(base) {\n border: none;\n}\n";
3
- export { jl_date_picker_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-empty.css?raw
2
- var jl_empty_default = ":host {\n display: block;\n --pad: 40px 24px;\n --medallion: 48px;\n --heading: var(--jl-font-lg);\n}\n\n:host([size=\"sm\"]) {\n --pad: 24px 16px;\n --medallion: 40px;\n --heading: var(--jl-font-md);\n}\n\n.empty {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: var(--pad);\n text-align: center;\n}\n\n.medallion {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--medallion);\n height: var(--medallion);\n margin-bottom: 14px;\n border: 1px solid var(--jl-line);\n border-radius: 50%;\n background: var(--jl-surface-2);\n color: var(--jl-muted);\n}\n\n:host([size=\"sm\"]) .medallion {\n margin-bottom: 10px;\n}\n\n.heading {\n color: var(--jl-text);\n font-size: var(--heading);\n font-weight: 650;\n letter-spacing: -0.01em;\n line-height: 1.35;\n}\n\n.description {\n max-width: 44ch;\n margin-top: 4px;\n color: var(--jl-muted);\n font-size: var(--jl-font-sm);\n line-height: 1.55;\n}\n\n.actions {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n gap: 8px;\n margin-top: 18px;\n}\n\n:host([size=\"sm\"]) .actions {\n margin-top: 14px;\n}\n";
3
- export { jl_empty_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-facts.css?raw
2
- var jl_facts_default = ":host {\n display: block;\n container-type: inline-size;\n}\n\n:host([empty]) {\n display: none;\n}\n\n.facts {\n display: grid;\n grid-template-columns: max-content minmax(0, 1fr);\n gap: 6px 24px;\n margin: 0;\n font-size: var(--jl-font-md);\n}\n\n/* Each pair is a row of the grid: the labels line up in one column, the values in the other. */\n.fact {\n display: contents;\n}\n\ndt {\n color: var(--jl-muted);\n}\n\ndd {\n min-width: 0;\n margin: 0;\n color: var(--jl-text);\n overflow-wrap: anywhere;\n}\n\ncode {\n font-family: var(--jl-font-mono);\n font-size: var(--jl-font-sm);\n word-break: break-all;\n}\n\na {\n color: var(--jl-accent);\n text-decoration: none;\n}\n\na:hover {\n color: var(--jl-accent-strong);\n text-decoration: underline;\n}\n\n:host([orientation=\"vertical\"]) .facts {\n grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));\n gap: 16px 24px;\n}\n\n:host([orientation=\"vertical\"]) .fact {\n display: grid;\n gap: 2px;\n align-content: start;\n}\n\n@container (width < 420px) {\n .facts {\n grid-template-columns: minmax(0, 1fr);\n gap: 12px;\n }\n\n .fact {\n display: grid;\n gap: 2px;\n }\n}\n";
3
- export { jl_facts_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-field.css?raw
2
- var jl_field_default = ":host {\n display: block;\n container-type: inline-size;\n --label-width: 160px;\n}\n\n.field {\n display: grid;\n gap: 6px;\n}\n\n.label-row {\n display: flex;\n gap: 3px;\n color: var(--jl-text);\n font-size: var(--jl-font-sm);\n font-weight: 600;\n line-height: 20px;\n}\n\n.asterisk {\n color: var(--jl-danger);\n}\n\n.body {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 6px;\n min-width: 0;\n}\n\n.hint {\n color: var(--jl-muted);\n font-size: var(--jl-font-sm);\n line-height: 18px;\n}\n\n.error-region:empty {\n display: contents;\n}\n\n.error {\n display: flex;\n align-items: flex-start;\n gap: 6px;\n color: var(--jl-danger);\n font-size: var(--jl-font-sm);\n line-height: 18px;\n}\n\n.error jl-icon {\n flex: none;\n margin-top: 2px;\n}\n\n/* Beside: the label takes a column and sits on the baseline of the control's first line of text. */\n:host([orientation=\"horizontal\"]) .field {\n grid-template-columns: var(--label-width) minmax(0, 1fr);\n align-items: baseline;\n gap: 6px 16px;\n}\n\n@container (max-width: 420px) {\n :host([orientation=\"horizontal\"]) .field {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n";
3
- export { jl_field_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-file-drop.css?raw
2
- var jl_file_drop_default = ":host {\n display: block;\n /* As a grid or flex item, the field may be narrower than its text field would like. */\n min-width: 0;\n --pad: 24px;\n --badge: 44px;\n}\n\n:host([size=\"sm\"]) {\n --pad: 14px;\n --badge: 34px;\n}\n\n:host([size=\"lg\"]) {\n --pad: 36px;\n --badge: 52px;\n}\n\n.zone {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n padding: var(--pad);\n border: 1.5px dashed var(--jl-line-strong);\n border-radius: var(--jl-radius);\n background: var(--jl-surface);\n color: var(--jl-text);\n text-align: center;\n cursor: pointer;\n transition:\n border-color var(--jl-fast) var(--jl-ease),\n background var(--jl-fast) var(--jl-ease);\n}\n\n.zone:hover {\n border-color: color-mix(in srgb, var(--jl-line-strong) 60%, var(--jl-text) 18%);\n background: var(--jl-surface-2);\n}\n\n:host([dragging]) .zone {\n border-color: var(--jl-accent);\n background: var(--jl-accent-soft);\n}\n\n:host([invalid]) .zone {\n border-color: var(--jl-danger);\n}\n\n:host([disabled]) .zone {\n border-color: var(--jl-line-strong);\n background: var(--jl-surface-2);\n color: var(--jl-muted);\n cursor: not-allowed;\n}\n\n.zone-icon {\n align-items: center;\n justify-content: center;\n width: var(--badge);\n height: var(--badge);\n margin-bottom: 6px;\n border-radius: var(--jl-radius-pill);\n background: var(--jl-surface-3);\n color: var(--jl-muted);\n transition:\n background var(--jl-fast) var(--jl-ease),\n color var(--jl-fast) var(--jl-ease);\n}\n\n:host([dragging]) .zone-icon {\n background: var(--jl-surface);\n color: var(--jl-accent);\n}\n\n.text {\n font-size: var(--jl-font-md);\n font-weight: 600;\n line-height: 1.4;\n}\n\n:host([size=\"sm\"]) .text {\n font-size: var(--jl-font-sm);\n}\n\n.hint {\n color: var(--jl-muted);\n font-size: var(--jl-font-xs);\n line-height: 1.4;\n}\n\n.browse {\n display: inline-flex;\n align-items: center;\n height: var(--jl-control-sm);\n margin-top: 8px;\n padding: 0 12px;\n border: 1px solid var(--jl-line-strong);\n border-radius: var(--jl-radius-sm);\n background: var(--jl-surface);\n font-size: var(--jl-font-xs);\n font-weight: 600;\n cursor: pointer;\n transition: background var(--jl-fast) var(--jl-ease);\n}\n\n.browse:hover {\n background: var(--jl-surface-3);\n}\n\n.browse:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n\n.refused,\n.files {\n margin: 8px 0 0;\n padding: 0;\n list-style: none;\n}\n\n.refused {\n display: grid;\n gap: 4px;\n color: var(--jl-danger);\n font-size: var(--jl-font-sm);\n line-height: 1.45;\n}\n\n.refusal {\n display: flex;\n align-items: flex-start;\n gap: 6px;\n}\n\n.refusal jl-icon {\n margin-top: 3px;\n}\n\n.refused-name {\n font-weight: 600;\n overflow-wrap: anywhere;\n}\n\n.files {\n border: 1px solid var(--jl-line);\n border-radius: var(--jl-radius);\n}\n\n.file {\n display: flex;\n align-items: center;\n gap: 10px;\n min-height: 40px;\n padding: 6px 8px 6px 12px;\n}\n\n.file + .file {\n border-top: 1px solid var(--jl-line);\n}\n\n.file-icon {\n color: var(--jl-faint);\n}\n\n.file-name {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n font-size: var(--jl-font-sm);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.file-size {\n color: var(--jl-muted);\n font-family: var(--jl-font-mono);\n font-size: var(--jl-font-xs);\n white-space: nowrap;\n}\n\n.file-remove {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n padding: 0;\n border: none;\n border-radius: var(--jl-radius-xs);\n background: none;\n color: var(--jl-faint);\n cursor: pointer;\n}\n\n.file-remove:hover {\n background: var(--jl-surface-3);\n color: var(--jl-text);\n}\n\n/* \"images, PDF · up to 5 MB\": the hint starts with a capital. */\n.hint::first-letter {\n text-transform: uppercase;\n}\n";
3
- export { jl_file_drop_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-input-list.css?raw
2
- var jl_input_list_default = ":host {\n display: block;\n}\n\n.list,\n.rows {\n display: grid;\n gap: var(--jl-space-2);\n}\n\n.row {\n display: flex;\n align-items: start;\n gap: var(--jl-space-1);\n}\n\n.row > :first-child {\n flex: 1;\n min-width: 0;\n}\n\n[hidden] {\n display: none;\n}\n";
3
- export { jl_input_list_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-list-item.css?raw
2
- var jl_list_item_default = ":host {\n display: block;\n --pad-x: 16px;\n --pad-y: 12px;\n}\n\n.item {\n position: relative;\n display: flex;\n align-items: center;\n gap: 12px;\n min-height: 52px;\n padding: var(--pad-y) var(--pad-x);\n background: var(--jl-surface);\n color: var(--jl-text);\n transition: background var(--jl-fast) var(--jl-ease);\n}\n\n/* Rows that follow each other are separated by a line; the last one leaves the edge to its container. */\n:host(:not(:last-child)) .item {\n border-bottom: 1px solid var(--jl-line);\n}\n\n:host([clickable]) .item {\n cursor: pointer;\n}\n\n:host([clickable]) .item:hover {\n background: var(--jl-surface-2);\n}\n\n:host([selected]) .item,\n:host([selected][clickable]) .item:hover {\n background: var(--jl-accent-soft);\n}\n\n/* The link covers the row, so a press anywhere follows it; the trailing controls sit above it. */\n.link {\n position: absolute;\n inset: 0;\n z-index: 1;\n}\n\n.link:focus-visible,\n.item:focus-visible {\n box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--jl-brand) 55%, transparent);\n}\n\n.end {\n position: relative;\n z-index: 2;\n display: flex;\n flex: none;\n align-items: center;\n gap: 8px;\n}\n\n.start {\n display: inline-flex;\n flex: none;\n align-items: center;\n}\n\n.icon-box {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n border-radius: var(--jl-radius-sm);\n background: var(--jl-surface-3);\n color: var(--jl-text-2);\n}\n\n:host([selected]) .icon-box {\n background: color-mix(in srgb, var(--jl-accent) 14%, transparent);\n color: var(--jl-accent);\n}\n\n.text {\n display: grid;\n flex: 1;\n gap: 1px;\n min-width: 0;\n}\n\n.heading {\n overflow: hidden;\n font-size: var(--jl-font-md);\n font-weight: 600;\n line-height: 1.4;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n:host([selected]) .heading {\n color: var(--jl-accent);\n}\n\n.description {\n color: var(--jl-muted);\n font-size: var(--jl-font-sm);\n line-height: 1.45;\n}\n\n.meta {\n flex: none;\n color: var(--jl-muted);\n font-size: var(--jl-font-xs);\n font-variant-numeric: tabular-nums;\n white-space: nowrap;\n}\n\n.chevron {\n margin-right: -4px;\n color: var(--jl-faint);\n}\n";
3
- export { jl_list_item_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-load-more.css?raw
2
- var jl_load_more_default = ":host {\n display: block;\n}\n\n:host([complete]) {\n display: none;\n}\n\n.more {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n align-items: center;\n justify-content: center;\n padding: 12px 0;\n color: var(--jl-muted);\n font-size: var(--jl-font-sm);\n}\n";
3
- export { jl_load_more_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-load-state.css?raw
2
- var jl_load_state_default = ":host {\n display: block;\n}\n\n.bones {\n display: grid;\n gap: 16px;\n padding: 16px;\n}\n\n.bones.lines {\n gap: 10px;\n}\n\n.bones.cards {\n grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));\n gap: 12px;\n padding: 0;\n}\n\n.bone-row {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n\n.bone-lines {\n display: grid;\n flex: 1;\n gap: 6px;\n}\n\n.bone-card {\n display: grid;\n gap: 8px;\n padding: 12px;\n border: 1px solid var(--jl-line);\n border-radius: var(--jl-radius-lg);\n}\n";
3
- export { jl_load_state_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-menu.css?raw
2
- var jl_menu_default = ":host {\n display: inline-flex;\n vertical-align: middle;\n}\n\n.menu {\n min-width: 200px;\n max-width: min(320px, calc(100vw - 16px));\n max-height: min(420px, calc(100dvh - 16px));\n padding: 4px;\n overflow-y: auto;\n}\n\n.menu:focus-visible {\n box-shadow: var(--jl-shadow-lg), var(--jl-focus-ring);\n}\n\n.item {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n min-height: 32px;\n padding: 6px 10px;\n border-radius: var(--jl-radius-xs);\n color: var(--jl-text);\n font-size: var(--jl-font-md);\n line-height: 20px;\n cursor: pointer;\n user-select: none;\n}\n\n/* The focused item is the highlighted one, for the pointer as for the keyboard. */\n.item:focus,\n.item:focus-visible {\n outline: none;\n box-shadow: none;\n background: var(--jl-surface-3);\n}\n\n.icon {\n flex: none;\n margin-top: 2px;\n color: var(--jl-muted);\n}\n\n.text {\n display: grid;\n flex: 1;\n min-width: 0;\n}\n\n.label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.description {\n color: var(--jl-muted);\n font-size: var(--jl-font-xs);\n line-height: 1.4;\n}\n\n.shortcut {\n flex: none;\n margin-left: 12px;\n color: var(--jl-muted);\n font-size: var(--jl-font-xs);\n letter-spacing: 0.02em;\n}\n\n.item[data-danger] {\n color: var(--jl-danger);\n}\n\n.item[data-danger] .icon {\n color: inherit;\n}\n\n.item[data-danger]:focus {\n background: var(--jl-danger-soft);\n}\n\n.item[aria-disabled] {\n color: var(--jl-faint);\n cursor: not-allowed;\n}\n\n.item[aria-disabled] .icon,\n.item[aria-disabled] .description {\n color: inherit;\n}\n\n.heading {\n padding: 8px 10px 4px;\n color: var(--jl-muted);\n font-size: 11px;\n font-weight: 650;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n}\n\n.divider {\n height: 1px;\n margin: 4px -4px;\n border: none;\n background: var(--jl-line);\n}\n";
3
- export { jl_menu_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-number-input.css?raw
2
- var jl_number_input_default = ":host {\n display: block;\n}\n\n.control {\n padding: 0 8px;\n}\n\n.native {\n text-align: center;\n font-variant-numeric: tabular-nums;\n}\n\n.action {\n margin-right: 0;\n}\n\n.action:disabled {\n background: none;\n color: var(--jl-faint);\n cursor: not-allowed;\n opacity: 0.5;\n}\n\n:host([size=\"sm\"]) .action {\n width: 22px;\n height: 22px;\n}\n\n:host([size=\"lg\"]) .action {\n width: 30px;\n height: 30px;\n}\n";
3
- export { jl_number_input_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-pagination.css?raw
2
- var jl_pagination_default = ":host {\n display: block;\n --height: var(--jl-control-md);\n --font-size: var(--jl-font-sm);\n --entry: var(--height);\n --gap: 4px;\n /* The width of an entry on a phone. */\n --min-button: 26px;\n}\n\n:host([size=\"sm\"]) {\n --height: var(--jl-control-sm);\n --font-size: var(--jl-font-xs);\n --min-button: 24px;\n}\n\n:host([size=\"lg\"]) {\n --height: var(--jl-control-lg);\n --font-size: var(--jl-font-md);\n --min-button: 32px;\n}\n\n/* Each entry is a square the height of the row; on a phone the entries tighten so a row of seven or nine fits. */\n@media (width < 480px) {\n :host {\n --entry: var(--min-button);\n --gap: 2px;\n }\n}\n\nnav {\n display: flex;\n align-items: center;\n gap: var(--gap);\n}\n\n.pages {\n display: flex;\n align-items: center;\n gap: var(--gap);\n padding: 0;\n list-style: none;\n}\n\n.pages li {\n display: flex;\n width: var(--entry);\n}\n\n.button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: var(--height);\n padding: 0 2px;\n border: 1px solid transparent;\n border-radius: var(--jl-radius-sm);\n background: none;\n color: var(--jl-text-2);\n font-size: var(--font-size);\n font-weight: 600;\n font-variant-numeric: tabular-nums;\n cursor: pointer;\n transition:\n background var(--jl-fast) var(--jl-ease),\n color var(--jl-fast) var(--jl-ease);\n}\n\n.button:hover:not(:disabled, [aria-current]) {\n background: var(--jl-surface-2);\n color: var(--jl-text);\n}\n\n.button:active:not(:disabled, [aria-current]) {\n background: var(--jl-surface-3);\n}\n\n.previous,\n.next {\n flex: none;\n width: calc(var(--entry) + 2px);\n border-color: var(--jl-line-strong);\n color: var(--jl-text);\n}\n\n.button:disabled {\n cursor: not-allowed;\n opacity: 0.4;\n}\n\n.page[aria-current] {\n background: var(--jl-accent);\n color: var(--jl-on-accent);\n cursor: default;\n}\n\n.pages .gap {\n display: inline-flex;\n width: calc(var(--entry) - 10px);\n align-items: flex-end;\n justify-content: center;\n color: var(--jl-faint);\n font-size: var(--font-size);\n user-select: none;\n}\n\n.status {\n flex: none;\n min-width: 72px;\n padding: 0 8px;\n color: var(--jl-text-2);\n font-size: var(--font-size);\n font-weight: 600;\n font-variant-numeric: tabular-nums;\n text-align: center;\n white-space: nowrap;\n}\n";
3
- export { jl_pagination_default as default };
@@ -1,3 +0,0 @@
1
- // src/molecules/jl-popover.css?raw
2
- var jl_popover_default = ":host {\n display: inline-flex;\n vertical-align: middle;\n}\n\n.panel {\n width: max-content;\n min-width: 200px;\n max-width: min(360px, calc(100vw - 16px));\n padding: 14px 16px;\n font-size: var(--jl-font-md);\n line-height: 1.5;\n}\n\n.panel:focus-visible {\n box-shadow: var(--jl-shadow-lg), var(--jl-focus-ring);\n}\n\nheader {\n margin-bottom: 10px;\n}\n\nh2 {\n font-size: var(--jl-font-md);\n font-weight: 700;\n line-height: 1.4;\n}\n";
3
- export { jl_popover_default as default };