@threadlabs/looma 0.45.2 → 0.46.2
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.
- package/EXPRESSIVE-MARKDOWN.md +23 -17
- package/README.md +4 -2
- package/components/ui-section/ui-section.html +18 -7
- package/components/ui-site-header/ui-site-header.html +25 -9
- package/components/ui-site-header/ui-site-header.js +4 -3
- package/dist/index.js +1 -1
- package/docs/catalog.json +4 -4
- package/editor/chunks/expressmark.js +1562 -0
- package/editor/chunks/extensions.js +327 -1051
- package/editor/expressmark.d.ts +17 -5
- package/editor/expressmark.js +1 -1037
- package/editor/extensions/footnote.d.ts +7 -12
- package/editor/extensions/index.d.ts +2 -2
- package/editor/extensions/index.js +3 -3
- package/editor/extensions/link-definition.d.ts +10 -0
- package/editor/index.js +3 -3
- package/markdown/fixtures.d.ts +1 -1
- package/markdown/fixtures.js +22 -16
- package/markdown/index.d.ts +2 -3
- package/markdown/index.js +2 -3
- package/package.json +2 -9
- package/styles/ui-section.css +12 -3
- package/styles/ui-site-header.css +54 -12
- package/vanilla/UiSection.js +6 -5
- package/vanilla/UiSiteHeader.js +29 -44
- package/vue/UiSection.vue +19 -12
- package/vue/UiSiteHeader.d.ts +2 -2
- package/vue/UiSiteHeader.vue +157 -79
- package/vue/chunks/UiSection.js +32 -29
- package/vue/chunks/UiSiteHeader.js +27 -49
- package/vue/components.css +151 -15
- package/vue/editor/LoomaEditor.d.ts +1 -1
- package/vue/editor/index.js +225 -186
- package/editor/chunks/reference-display.js +0 -453
- package/editor/extensions/markdown.d.ts +0 -16
- package/markdown/markdown-it.d.ts +0 -21
- package/markdown/markdown-it.js +0 -562
package/docs/catalog.json
CHANGED
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
],
|
|
464
464
|
"schemaVersion": 1,
|
|
465
465
|
"package": "@threadlabs/looma",
|
|
466
|
-
"version": "0.
|
|
466
|
+
"version": "0.46.2",
|
|
467
467
|
"groups": [
|
|
468
468
|
{
|
|
469
469
|
"id": "layout",
|
|
@@ -17073,7 +17073,7 @@
|
|
|
17073
17073
|
"name": "03-fieldset",
|
|
17074
17074
|
"title": "Connected headings",
|
|
17075
17075
|
"description": "A native legend joins the heading to the frame. Descriptions, actions and fields stay comfortably inside it.",
|
|
17076
|
-
"markup": "<ui-stack gap=\"l\">\n <ui-section heading=\"Profile\" variant=\"fieldset\">\n <span slot=\"description\">The details people see when you work together.</span>\n <ui-form-field>\n <label slot=\"label\" for=\"profile-name\">Display name</label>\n <ui-input id=\"profile-name\" value=\"Ada Lovelace\"></ui-input>\n </ui-form-field>\n <ui-button slot=\"actions\" variant=\"outline\" tone=\"accent\" size=\"sm\">Reset</ui-button>\n </ui-section>\n <ui-section heading=\"Notifications\" variant=\"fieldset\">\n <ui-text>Choose which updates you receive.</ui-text>\n </ui-section>\n <ui-section heading=\"Delete account\" variant=\"fieldset\" tone=\"danger\">\n <span slot=\"description\">Permanently remove this account and its saved preferences.</span>\n <ui-button variant=\"outline\" tone=\"danger\">Delete account</ui-button>\n </ui-section>\n</ui-stack>",
|
|
17076
|
+
"markup": "<ui-stack gap=\"l\">\n <ui-section heading=\"Profile\" variant=\"fieldset\">\n <span slot=\"description\">The details people see when you work together.</span>\n <ui-form-field>\n <label slot=\"label\" for=\"profile-name\">Display name</label>\n <ui-input id=\"profile-name\" value=\"Ada Lovelace\"></ui-input>\n </ui-form-field>\n <ui-button slot=\"actions\" variant=\"outline\" tone=\"accent\" size=\"sm\">Reset</ui-button>\n </ui-section>\n <ui-section heading=\"Notifications\" variant=\"fieldset\">\n <ui-text>Choose which updates you receive.</ui-text>\n </ui-section>\n <ui-section heading=\"Delete account\" variant=\"fieldset\" tone=\"danger\">\n <span slot=\"description\">Permanently remove this account and its saved preferences.</span>\n <ui-button slot=\"actions\" variant=\"outline\" tone=\"danger\">Delete account</ui-button>\n </ui-section>\n</ui-stack>",
|
|
17077
17077
|
"resizable": false,
|
|
17078
17078
|
"bindings": "",
|
|
17079
17079
|
"frameworks": {}
|
|
@@ -17985,7 +17985,7 @@
|
|
|
17985
17985
|
"tag": "ui-site-header",
|
|
17986
17986
|
"package": "@threadlabs/looma",
|
|
17987
17987
|
"root": "header",
|
|
17988
|
-
"description": "Supply brand, navigation, and optional actions once. Below the breakpoint, SiteHeader automatically
|
|
17988
|
+
"description": "Supply brand, navigation, and optional actions once. Below the breakpoint, SiteHeader automatically puts the hamburger in the inline navigation's position beside the brand, with the same gap (mirrored in RTL). Optional actions stay at the trailing edge. It presents the same navigation in a full-height, scrollable drawer with a dark backdrop. It handles focus, Escape, outside press, link selection, and page scroll locking. Applications supply links and routing; no menu slot, duplicate links, IDs, or drawer wiring are needed. Before JavaScript, navigation remains available inline unless a custom native menu supplies its mobile navigation. Native custom menu controls remain usable before upgrade. Use TopBar for contextual application tools.",
|
|
17989
17989
|
"designTokens": {
|
|
17990
17990
|
"sources": [
|
|
17991
17991
|
"packages/looma/src/components/ui-site-header/ui-site-header.html"
|
|
@@ -18261,7 +18261,7 @@
|
|
|
18261
18261
|
"id": "@threadlabs/looma/ui-site-header/01-default",
|
|
18262
18262
|
"name": "01-default",
|
|
18263
18263
|
"title": "Site navigation",
|
|
18264
|
-
"description": "A full-width header keeps its logo visible, places desktop navigation beside it, and puts search and account controls at the trailing edge. Below 64rem, the
|
|
18264
|
+
"description": "A full-width header keeps its logo visible, places desktop navigation beside it, and puts search and account controls at the trailing edge. Below 64rem, the hamburger takes the inline navigation's position beside the logo, keeping the same gap. It opens the same navigation in a full-height, scrollable drawer with a dark backdrop. No menu trigger, duplicate links, IDs, or event wiring are needed. Pass actions individually so the header reserves their adjustable hit areas.",
|
|
18265
18265
|
"markup": "<ui-site-header>\n <a slot=\"brand\" href=\"#home\" aria-label=\"Folio home\"><ui-icon name=\"compass\"></ui-icon>Folio</a>\n <a slot=\"navigation\" href=\"#guide\" aria-current=\"page\">Guide</a>\n <a slot=\"navigation\" href=\"#components\">Components</a>\n <a slot=\"navigation\" href=\"#journal\">Journal</a>\n <ui-icon-button slot=\"actions\" id=\"site-header-search-trigger\" size=\"sm\" label=\"Search pages\"><ui-icon name=\"search\"></ui-icon></ui-icon-button>\n <ui-icon-button slot=\"actions\" id=\"site-header-account-trigger\" size=\"sm\" label=\"Account\"><ui-icon name=\"user-round\"></ui-icon></ui-icon-button>\n</ui-site-header>\n<ui-popover for=\"site-header-search-trigger\"><ui-form-field>\n <label slot=\"label\" for=\"site-header-search\">Search pages</label><ui-input id=\"site-header-search\" type=\"search\" placeholder=\"Find a page\"></ui-input>\n </ui-form-field></ui-popover>\n<ui-popover for=\"site-header-account-trigger\"><nav aria-label=\"Account\">\n <ui-stack gap=\"s\"><a href=\"#profile\">Your profile</a><a href=\"#settings\">Settings</a></ui-stack>\n </nav></ui-popover>",
|
|
18266
18266
|
"resizable": false,
|
|
18267
18267
|
"bindings": "",
|