@ni/nimble-components 20.16.0 → 20.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-components-bundle.js +16 -3
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +10 -3
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/anchor/index.d.ts +11 -0
- package/dist/esm/anchor/index.js +3 -0
- package/dist/esm/anchor/index.js.map +1 -1
- package/dist/esm/anchor/styles.js +4 -0
- package/dist/esm/anchor/styles.js.map +1 -1
- package/dist/esm/anchor/template.js +8 -2
- package/dist/esm/anchor/template.js.map +1 -1
- package/package.json +1 -1
|
@@ -16274,7 +16274,7 @@
|
|
|
16274
16274
|
|
|
16275
16275
|
/**
|
|
16276
16276
|
* Do not edit directly
|
|
16277
|
-
* Generated on Mon, 11 Dec 2023
|
|
16277
|
+
* Generated on Mon, 11 Dec 2023 19:16:45 GMT
|
|
16278
16278
|
*/
|
|
16279
16279
|
|
|
16280
16280
|
const Information100DarkUi = "#a46eff";
|
|
@@ -17009,6 +17009,10 @@
|
|
|
17009
17009
|
font: ${linkFont};
|
|
17010
17010
|
}
|
|
17011
17011
|
|
|
17012
|
+
.top-container {
|
|
17013
|
+
display: contents;
|
|
17014
|
+
}
|
|
17015
|
+
|
|
17012
17016
|
[part='start'] {
|
|
17013
17017
|
display: none;
|
|
17014
17018
|
}
|
|
@@ -17084,7 +17088,13 @@
|
|
|
17084
17088
|
`;
|
|
17085
17089
|
|
|
17086
17090
|
// prettier-ignore
|
|
17087
|
-
const template$C = (_context, definition) => html
|
|
17091
|
+
const template$C = (_context, definition) => html `${
|
|
17092
|
+
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
17093
|
+
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
17094
|
+
*/ ''}<div
|
|
17095
|
+
class="top-container"
|
|
17096
|
+
contenteditable="${x => x.contentEditable}"
|
|
17097
|
+
><a
|
|
17088
17098
|
class="control"
|
|
17089
17099
|
part="control"
|
|
17090
17100
|
download="${x => x.download}"
|
|
@@ -17148,7 +17158,7 @@
|
|
|
17148
17158
|
@slotchange="${x => x.handleEndContentChange()}">
|
|
17149
17159
|
${definition.end || ''}
|
|
17150
17160
|
</slot
|
|
17151
|
-
></span></a>`;
|
|
17161
|
+
></span></a></div>`;
|
|
17152
17162
|
|
|
17153
17163
|
/**
|
|
17154
17164
|
* A nimble-styled anchor
|
|
@@ -17170,6 +17180,9 @@
|
|
|
17170
17180
|
__decorate$1([
|
|
17171
17181
|
attr
|
|
17172
17182
|
], Anchor.prototype, "appearance", void 0);
|
|
17183
|
+
__decorate$1([
|
|
17184
|
+
attr({ attribute: 'contenteditable' })
|
|
17185
|
+
], Anchor.prototype, "contentEditable", void 0);
|
|
17173
17186
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17174
17187
|
const nimbleAnchor = Anchor.compose({
|
|
17175
17188
|
baseName: 'anchor',
|