@ni/spright-components 6.23.1 → 6.23.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/dist/all-components-bundle.js +24 -9
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +24 -9
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +41 -41
- package/dist/custom-elements.md +8 -8
- package/package.json +2 -2
|
@@ -20872,18 +20872,27 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20872
20872
|
}
|
|
20873
20873
|
|
|
20874
20874
|
.icon {
|
|
20875
|
-
|
|
20876
|
-
|
|
20877
|
-
justify-content: center;
|
|
20878
|
-
margin-top: 8px;
|
|
20875
|
+
display: none;
|
|
20876
|
+
margin: 8px ${smallPadding} 0 ${standardPadding};
|
|
20879
20877
|
flex: 0 0 auto;
|
|
20880
20878
|
opacity: 0.6;
|
|
20881
20879
|
}
|
|
20882
20880
|
|
|
20881
|
+
:host([severity='error']) .icon,
|
|
20882
|
+
:host([severity='warning']) .icon,
|
|
20883
|
+
:host([severity='information']) .icon {
|
|
20884
|
+
display: flex;
|
|
20885
|
+
}
|
|
20886
|
+
|
|
20883
20887
|
.text {
|
|
20884
20888
|
display: inline;
|
|
20885
|
-
margin
|
|
20886
|
-
|
|
20889
|
+
margin: 7px 0 7px ${standardPadding};
|
|
20890
|
+
}
|
|
20891
|
+
|
|
20892
|
+
:host([severity='error']) .text,
|
|
20893
|
+
:host([severity='warning']) .text,
|
|
20894
|
+
:host([severity='information']) .text {
|
|
20895
|
+
margin-left: 0;
|
|
20887
20896
|
}
|
|
20888
20897
|
|
|
20889
20898
|
slot[name='title'] {
|
|
@@ -20914,14 +20923,20 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20914
20923
|
white-space: nowrap;
|
|
20915
20924
|
}
|
|
20916
20925
|
|
|
20926
|
+
:host([prevent-dismiss]) slot[name='action'] {
|
|
20927
|
+
margin-right: 12px;
|
|
20928
|
+
}
|
|
20929
|
+
|
|
20917
20930
|
slot[name='action']::slotted(nimble-anchor) {
|
|
20918
20931
|
font-size: 12.8px;
|
|
20919
20932
|
}
|
|
20920
20933
|
|
|
20921
20934
|
.dismiss {
|
|
20922
|
-
|
|
20923
|
-
|
|
20924
|
-
|
|
20935
|
+
margin: 0 12px 0 ${standardPadding};
|
|
20936
|
+
}
|
|
20937
|
+
|
|
20938
|
+
:host([prevent-dismiss]) .dismiss {
|
|
20939
|
+
display: none;
|
|
20925
20940
|
}
|
|
20926
20941
|
`.withBehaviors(themeBehavior(Theme.light, css `
|
|
20927
20942
|
:host {
|