@ni/nimble-components 7.4.1 → 7.5.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.
- package/dist/all-components-bundle.js +36 -8
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +4 -4
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/icon-base/icon-metadata.d.ts +1 -1
- package/dist/esm/icon-base/icon-metadata.js +423 -141
- package/dist/esm/icon-base/icon-metadata.js.map +1 -1
- package/dist/esm/nimble-components/src/icon-base/icon-metadata.d.ts +1 -1
- package/dist/esm/text-area/styles.js +14 -2
- package/dist/esm/text-area/styles.js.map +1 -1
- package/dist/esm/text-field/index.js +5 -2
- package/dist/esm/text-field/index.js.map +1 -1
- package/dist/esm/text-field/styles.js +17 -4
- package/dist/esm/text-field/styles.js.map +1 -1
- package/package.json +1 -1
|
@@ -17644,13 +17644,15 @@
|
|
|
17644
17644
|
})(TextAreaAppearance || (TextAreaAppearance = {}));
|
|
17645
17645
|
|
|
17646
17646
|
const styles$4 = css `
|
|
17647
|
-
${display('inline-
|
|
17647
|
+
${display('inline-flex')}
|
|
17648
17648
|
|
|
17649
17649
|
:host {
|
|
17650
17650
|
font: ${bodyFont};
|
|
17651
17651
|
outline: none;
|
|
17652
17652
|
user-select: none;
|
|
17653
17653
|
color: ${bodyFontColor};
|
|
17654
|
+
flex-direction: column;
|
|
17655
|
+
vertical-align: top;
|
|
17654
17656
|
}
|
|
17655
17657
|
|
|
17656
17658
|
:host([disabled]) {
|
|
@@ -17658,7 +17660,7 @@
|
|
|
17658
17660
|
}
|
|
17659
17661
|
|
|
17660
17662
|
.label {
|
|
17661
|
-
display:
|
|
17663
|
+
display: block;
|
|
17662
17664
|
color: ${controlLabelFontColor};
|
|
17663
17665
|
font: ${controlLabelFont};
|
|
17664
17666
|
}
|
|
@@ -17670,6 +17672,8 @@
|
|
|
17670
17672
|
.control {
|
|
17671
17673
|
-webkit-appearance: none;
|
|
17672
17674
|
font: inherit;
|
|
17675
|
+
width: 100%;
|
|
17676
|
+
flex-grow: 1;
|
|
17673
17677
|
outline: none;
|
|
17674
17678
|
box-sizing: border-box;
|
|
17675
17679
|
position: relative;
|
|
@@ -17719,6 +17723,14 @@
|
|
|
17719
17723
|
color: ${controlLabelDisabledFontColor};
|
|
17720
17724
|
}
|
|
17721
17725
|
|
|
17726
|
+
:host([cols]) .control {
|
|
17727
|
+
width: auto;
|
|
17728
|
+
}
|
|
17729
|
+
|
|
17730
|
+
:host([rows]) .control {
|
|
17731
|
+
flex: none;
|
|
17732
|
+
}
|
|
17733
|
+
|
|
17722
17734
|
:host([resize='both']) .control {
|
|
17723
17735
|
resize: both;
|
|
17724
17736
|
}
|
|
@@ -17919,25 +17931,29 @@
|
|
|
17919
17931
|
}
|
|
17920
17932
|
|
|
17921
17933
|
[part='end'] {
|
|
17934
|
+
display: contents;
|
|
17935
|
+
}
|
|
17936
|
+
|
|
17937
|
+
.error-content {
|
|
17922
17938
|
display: none;
|
|
17923
17939
|
}
|
|
17924
17940
|
|
|
17925
|
-
:host(.invalid)
|
|
17941
|
+
:host(.invalid) .error-content {
|
|
17926
17942
|
display: contents;
|
|
17927
17943
|
}
|
|
17928
17944
|
|
|
17929
|
-
:host(.invalid)
|
|
17945
|
+
:host(.invalid) .error-content svg {
|
|
17930
17946
|
height: ${iconSize};
|
|
17931
17947
|
width: ${iconSize};
|
|
17932
17948
|
padding-right: 8px;
|
|
17933
17949
|
flex: none;
|
|
17934
17950
|
}
|
|
17935
17951
|
|
|
17936
|
-
:host(.invalid)
|
|
17952
|
+
:host(.invalid) .error-content path {
|
|
17937
17953
|
fill: ${failColor};
|
|
17938
17954
|
}
|
|
17939
17955
|
|
|
17940
|
-
:host([disabled])
|
|
17956
|
+
:host([disabled]) .error-content path {
|
|
17941
17957
|
fill: ${bodyDisabledFontColor};
|
|
17942
17958
|
}
|
|
17943
17959
|
|
|
@@ -17968,6 +17984,15 @@
|
|
|
17968
17984
|
:host([disabled]) .errortext {
|
|
17969
17985
|
color: ${bodyDisabledFontColor};
|
|
17970
17986
|
}
|
|
17987
|
+
|
|
17988
|
+
[part='actions'] {
|
|
17989
|
+
display: contents;
|
|
17990
|
+
}
|
|
17991
|
+
|
|
17992
|
+
slot[name='actions']::slotted(*) {
|
|
17993
|
+
margin-right: 8px;
|
|
17994
|
+
${controlHeight.cssCustomProperty}: 24px;
|
|
17995
|
+
}
|
|
17971
17996
|
`.withBehaviors(appearanceBehavior(TextFieldAppearance.Underline, css `
|
|
17972
17997
|
.root {
|
|
17973
17998
|
--ni-private-bottom-border-width: 1px;
|
|
@@ -18074,10 +18099,13 @@
|
|
|
18074
18099
|
delegatesFocus: true
|
|
18075
18100
|
},
|
|
18076
18101
|
end: html `
|
|
18077
|
-
|
|
18102
|
+
<span class="error-content">${exclamationMark16X16.data}</span>
|
|
18103
|
+
<span part="actions">
|
|
18104
|
+
<slot name="actions"></slot>
|
|
18105
|
+
</span>
|
|
18078
18106
|
<div
|
|
18079
18107
|
id="errortext"
|
|
18080
|
-
class="errortext"
|
|
18108
|
+
class="errortext error-content"
|
|
18081
18109
|
title="${x => x.errorText}"
|
|
18082
18110
|
aria-live="polite"
|
|
18083
18111
|
>
|