@ni/ok-components 0.3.4 → 0.3.6
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.
|
@@ -16487,7 +16487,7 @@
|
|
|
16487
16487
|
createThemeColorToken(tokenNames.headerBackgroundColor, tokenValues.headerBackgroundColor);
|
|
16488
16488
|
createThemeColorToken(tokenNames.sectionBackgroundColor, tokenValues.sectionBackgroundColor);
|
|
16489
16489
|
const sectionBackgroundImage = createThemeColorToken(tokenNames.sectionBackgroundImage, tokenValues.sectionBackgroundImage);
|
|
16490
|
-
createThemeColorToken(tokenNames.dividerBackgroundColor, tokenValues.dividerBackgroundColor);
|
|
16490
|
+
const dividerBackgroundColor = createThemeColorToken(tokenNames.dividerBackgroundColor, tokenValues.dividerBackgroundColor);
|
|
16491
16491
|
createThemeColorToken(tokenNames.dividerBackgroundDynamicColor, tokenValues.dividerBackgroundDynamicColor);
|
|
16492
16492
|
const fillSelectedColor = createThemeColorToken(tokenNames.fillSelectedColor, tokenValues.fillSelectedColor);
|
|
16493
16493
|
const fillSelectedRgbPartialColor = createThemeColorToken(tokenNames.fillSelectedRgbPartialColor, tokenValues.fillSelectedRgbPartialColor);
|
|
@@ -98071,6 +98071,25 @@ focus outline in that case.
|
|
|
98071
98071
|
display: none;
|
|
98072
98072
|
}
|
|
98073
98073
|
|
|
98074
|
+
.end {
|
|
98075
|
+
display: flex;
|
|
98076
|
+
flex-wrap: wrap;
|
|
98077
|
+
justify-content: center;
|
|
98078
|
+
padding: 2px ${standardPadding};
|
|
98079
|
+
border-top: ${borderWidth} solid ${dividerBackgroundColor};
|
|
98080
|
+
}
|
|
98081
|
+
|
|
98082
|
+
.end.end-empty {
|
|
98083
|
+
display: none;
|
|
98084
|
+
}
|
|
98085
|
+
|
|
98086
|
+
::slotted([slot="end"]) {
|
|
98087
|
+
font: ${errorTextFont};
|
|
98088
|
+
color: ${placeholderFontColor};
|
|
98089
|
+
${linkFont.cssCustomProperty}: ${errorTextFont};
|
|
98090
|
+
${linkFontColor.cssCustomProperty}: ${placeholderFontColor};
|
|
98091
|
+
}
|
|
98092
|
+
|
|
98074
98093
|
.messages {
|
|
98075
98094
|
flex: 1;
|
|
98076
98095
|
display: flex;
|
|
@@ -98109,6 +98128,9 @@ focus outline in that case.
|
|
|
98109
98128
|
<slot name="input" ${slotted({ property: 'slottedInputElements' })}>
|
|
98110
98129
|
</slot>
|
|
98111
98130
|
</div>
|
|
98131
|
+
<div class="end ${x => (x.endEmpty ? 'end-empty' : '')}">
|
|
98132
|
+
<slot name="end" ${slotted({ property: 'slottedEndElements' })}></slot>
|
|
98133
|
+
</div>
|
|
98112
98134
|
`;
|
|
98113
98135
|
|
|
98114
98136
|
/**
|
|
@@ -98131,6 +98153,8 @@ focus outline in that case.
|
|
|
98131
98153
|
this.toolbarEmpty = true;
|
|
98132
98154
|
/** @internal */
|
|
98133
98155
|
this.startEmpty = true;
|
|
98156
|
+
/** @internal */
|
|
98157
|
+
this.endEmpty = true;
|
|
98134
98158
|
}
|
|
98135
98159
|
slottedInputElementsChanged(_prev, next) {
|
|
98136
98160
|
this.inputEmpty = next === undefined || next.length === 0;
|
|
@@ -98141,6 +98165,9 @@ focus outline in that case.
|
|
|
98141
98165
|
slottedStartElementsChanged(_prev, next) {
|
|
98142
98166
|
this.startEmpty = next === undefined || next.length === 0;
|
|
98143
98167
|
}
|
|
98168
|
+
slottedEndElementsChanged(_prev, next) {
|
|
98169
|
+
this.endEmpty = next === undefined || next.length === 0;
|
|
98170
|
+
}
|
|
98144
98171
|
}
|
|
98145
98172
|
__decorate([
|
|
98146
98173
|
attr
|
|
@@ -98163,6 +98190,12 @@ focus outline in that case.
|
|
|
98163
98190
|
__decorate([
|
|
98164
98191
|
observable
|
|
98165
98192
|
], ChatConversation.prototype, "slottedStartElements", void 0);
|
|
98193
|
+
__decorate([
|
|
98194
|
+
observable
|
|
98195
|
+
], ChatConversation.prototype, "endEmpty", void 0);
|
|
98196
|
+
__decorate([
|
|
98197
|
+
observable
|
|
98198
|
+
], ChatConversation.prototype, "slottedEndElements", void 0);
|
|
98166
98199
|
const sprightChatConversation = ChatConversation.compose({
|
|
98167
98200
|
baseName: 'chat-conversation',
|
|
98168
98201
|
template: template$8,
|