@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.
@@ -3054,18 +3054,27 @@ const pv="nimble-anchored-region",fv=Mt`
3054
3054
  }
3055
3055
 
3056
3056
  .icon {
3057
- width: 48px;
3058
- display: flex;
3059
- justify-content: center;
3060
- margin-top: 8px;
3057
+ display: none;
3058
+ margin: 8px ${Dc} 0 ${Fc};
3061
3059
  flex: 0 0 auto;
3062
3060
  opacity: 0.6;
3063
3061
  }
3064
3062
 
3063
+ :host([severity='error']) .icon,
3064
+ :host([severity='warning']) .icon,
3065
+ :host([severity='information']) .icon {
3066
+ display: flex;
3067
+ }
3068
+
3065
3069
  .text {
3066
3070
  display: inline;
3067
- margin-top: 7px;
3068
- margin-bottom: 7px;
3071
+ margin: 7px 0 7px ${Fc};
3072
+ }
3073
+
3074
+ :host([severity='error']) .text,
3075
+ :host([severity='warning']) .text,
3076
+ :host([severity='information']) .text {
3077
+ margin-left: 0;
3069
3078
  }
3070
3079
 
3071
3080
  slot[name='title'] {
@@ -3096,14 +3105,20 @@ const pv="nimble-anchored-region",fv=Mt`
3096
3105
  white-space: nowrap;
3097
3106
  }
3098
3107
 
3108
+ :host([prevent-dismiss]) slot[name='action'] {
3109
+ margin-right: 12px;
3110
+ }
3111
+
3099
3112
  slot[name='action']::slotted(nimble-anchor) {
3100
3113
  font-size: 12.8px;
3101
3114
  }
3102
3115
 
3103
3116
  .dismiss {
3104
- width: 48px;
3105
- display: flex;
3106
- justify-content: center;
3117
+ margin: 0 12px 0 ${Fc};
3118
+ }
3119
+
3120
+ :host([prevent-dismiss]) .dismiss {
3121
+ display: none;
3107
3122
  }
3108
3123
  `.withBehaviors(xh(Wo,Mt`
3109
3124
  :host {