@nectary/components 5.37.5 → 5.37.7
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/bundle.js +4 -4
- package/package.json +3 -3
- package/sheet-title/index.js +1 -1
- package/utils/markdown.js +3 -3
package/bundle.js
CHANGED
|
@@ -1495,9 +1495,9 @@ const regParagraph = /\n{2,}/;
|
|
|
1495
1495
|
const regEm3Star = new RegExp("(?<!\\\\)\\*\\*\\*(?<em3>.+?)(?<!\\\\)\\*\\*\\*");
|
|
1496
1496
|
const regEm2Star = new RegExp("(?<!\\\\)\\*\\*(?<em2>.+?)(?<!\\\\)\\*\\*");
|
|
1497
1497
|
const regEm1Star = new RegExp("(?<!\\\\)\\*(?<em1>.+?)(?<!\\\\)\\*");
|
|
1498
|
-
const regEm3Underscore = new RegExp("(
|
|
1499
|
-
const regEm2Underscore = new RegExp("(
|
|
1500
|
-
const regEm1Underscore = new RegExp("(
|
|
1498
|
+
const regEm3Underscore = new RegExp("(?<![\\\\a-zA-Z0-9])___(?<em3>.+?)(?<!\\\\)___(?![a-zA-Z0-9])");
|
|
1499
|
+
const regEm2Underscore = new RegExp("(?<![\\\\a-zA-Z0-9])__(?<em2>.+?)(?<!\\\\)__(?![a-zA-Z0-9])");
|
|
1500
|
+
const regEm1Underscore = new RegExp("(?<![\\\\a-zA-Z0-9])_(?<em1>.+?)(?<!\\\\)_(?![a-zA-Z0-9])");
|
|
1501
1501
|
const regCodeTag = new RegExp("(?<!\\\\)`(?<code>.+?)(?<!\\\\)`");
|
|
1502
1502
|
const regStrikethrough = new RegExp("(?<!\\\\)~~(?<strike>.+?)(?<!\\\\)~~");
|
|
1503
1503
|
const regButtonPlaceholder = new RegExp("(?<!\\\\)\\[\\[(?<button>[a-zA-Z0-9_-]+)\\]\\]");
|
|
@@ -14337,7 +14337,7 @@ class Sheet extends NectaryElement {
|
|
|
14337
14337
|
};
|
|
14338
14338
|
}
|
|
14339
14339
|
defineCustomElement("sinch-sheet", Sheet);
|
|
14340
|
-
const templateHTML$f = '<style>:host{display:contents;--sinch-sheet-close-button-display:unset}#top{display:flex;flex-direction:row;align-items:center;margin-top:8px;gap:
|
|
14340
|
+
const templateHTML$f = '<style>:host{display:contents;--sinch-sheet-close-button-display:unset}#top{display:flex;flex-direction:row;align-items:center;margin-top:8px;gap:var(--sinch-comp-sheet-size-title-gap)}#text{--sinch-global-color-text:var(--sinch-comp-sheet-color-title);--sinch-comp-title-font:var(--sinch-comp-sheet-font-title)}#description{--sinch-global-color-text:var(--sinch-comp-sheet-color-description);--sinch-comp-text-font:var(--sinch-comp-sheet-font-description)}#close{display:var(--sinch-sheet-close-button-display,initial);margin-left:auto}</style><div id="title"><div id="top"><slot id="icon" name="icon"></slot><sinch-title id="text" type="m" level="3"></sinch-title><sinch-button id="close" size="s" aria-label="Close"><sinch-icon icons-version="2" name="fa-xmark" id="icon-close" slot="icon"></sinch-icon></sinch-button></div><sinch-text id="description" type="m"></sinch-text></div>';
|
|
14341
14341
|
const template$f = document.createElement("template");
|
|
14342
14342
|
template$f.innerHTML = templateHTML$f;
|
|
14343
14343
|
class SheetTitle extends NectaryElement {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nectary/components",
|
|
3
|
-
"version": "5.37.
|
|
3
|
+
"version": "5.37.7",
|
|
4
4
|
"files": [
|
|
5
5
|
"**/*/*.css",
|
|
6
6
|
"**/*/*.json",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.22.15",
|
|
27
|
-
"@nectary/assets": "3.6.
|
|
27
|
+
"@nectary/assets": "3.6.13"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@babel/cli": "^7.22.15",
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
"vite": "^7.0.6"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@nectary/theme-base": "1.16.
|
|
43
|
+
"@nectary/theme-base": "1.16.2"
|
|
44
44
|
}
|
|
45
45
|
}
|
package/sheet-title/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import "../title/index.js";
|
|
|
3
3
|
import { isAttrEqual, updateAttribute, getAttribute } from "../utils/dom.js";
|
|
4
4
|
import { defineCustomElement, NectaryElement } from "../utils/element.js";
|
|
5
5
|
import { getRect } from "../utils/rect.js";
|
|
6
|
-
const templateHTML = '<style>:host{display:contents;--sinch-sheet-close-button-display:unset}#top{display:flex;flex-direction:row;align-items:center;margin-top:8px;gap:
|
|
6
|
+
const templateHTML = '<style>:host{display:contents;--sinch-sheet-close-button-display:unset}#top{display:flex;flex-direction:row;align-items:center;margin-top:8px;gap:var(--sinch-comp-sheet-size-title-gap)}#text{--sinch-global-color-text:var(--sinch-comp-sheet-color-title);--sinch-comp-title-font:var(--sinch-comp-sheet-font-title)}#description{--sinch-global-color-text:var(--sinch-comp-sheet-color-description);--sinch-comp-text-font:var(--sinch-comp-sheet-font-description)}#close{display:var(--sinch-sheet-close-button-display,initial);margin-left:auto}</style><div id="title"><div id="top"><slot id="icon" name="icon"></slot><sinch-title id="text" type="m" level="3"></sinch-title><sinch-button id="close" size="s" aria-label="Close"><sinch-icon icons-version="2" name="fa-xmark" id="icon-close" slot="icon"></sinch-icon></sinch-button></div><sinch-text id="description" type="m"></sinch-text></div>';
|
|
7
7
|
const template = document.createElement("template");
|
|
8
8
|
template.innerHTML = templateHTML;
|
|
9
9
|
class SheetTitle extends NectaryElement {
|
package/utils/markdown.js
CHANGED
|
@@ -3,9 +3,9 @@ const regParagraph = /\n{2,}/;
|
|
|
3
3
|
const regEm3Star = new RegExp("(?<!\\\\)\\*\\*\\*(?<em3>.+?)(?<!\\\\)\\*\\*\\*");
|
|
4
4
|
const regEm2Star = new RegExp("(?<!\\\\)\\*\\*(?<em2>.+?)(?<!\\\\)\\*\\*");
|
|
5
5
|
const regEm1Star = new RegExp("(?<!\\\\)\\*(?<em1>.+?)(?<!\\\\)\\*");
|
|
6
|
-
const regEm3Underscore = new RegExp("(
|
|
7
|
-
const regEm2Underscore = new RegExp("(
|
|
8
|
-
const regEm1Underscore = new RegExp("(
|
|
6
|
+
const regEm3Underscore = new RegExp("(?<![\\\\a-zA-Z0-9])___(?<em3>.+?)(?<!\\\\)___(?![a-zA-Z0-9])");
|
|
7
|
+
const regEm2Underscore = new RegExp("(?<![\\\\a-zA-Z0-9])__(?<em2>.+?)(?<!\\\\)__(?![a-zA-Z0-9])");
|
|
8
|
+
const regEm1Underscore = new RegExp("(?<![\\\\a-zA-Z0-9])_(?<em1>.+?)(?<!\\\\)_(?![a-zA-Z0-9])");
|
|
9
9
|
const regCodeTag = new RegExp("(?<!\\\\)`(?<code>.+?)(?<!\\\\)`");
|
|
10
10
|
const regStrikethrough = new RegExp("(?<!\\\\)~~(?<strike>.+?)(?<!\\\\)~~");
|
|
11
11
|
const regButtonPlaceholder = new RegExp("(?<!\\\\)\\[\\[(?<button>[a-zA-Z0-9_-]+)\\]\\]");
|