@ni/nimble-components 11.4.1 → 11.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.
@@ -1,5 +1,8 @@
1
1
  import { NumberField as FoundationNumberField } from '@microsoft/fast-foundation';
2
2
  import { NumberFieldAppearance } from './types';
3
+ import '../icons/add';
4
+ import '../icons/exclamation-mark';
5
+ import '../icons/minus-wide';
3
6
  declare global {
4
7
  interface HTMLElementTagNameMap {
5
8
  'nimble-number-field': NumberField;
@@ -10,5 +13,13 @@ declare global {
10
13
  */
11
14
  export declare class NumberField extends FoundationNumberField {
12
15
  appearance: NumberFieldAppearance;
16
+ /**
17
+ * A message explaining why the value is invalid.
18
+ *
19
+ * @public
20
+ * @remarks
21
+ * HTML Attribute: error-text
22
+ */
23
+ errorText: string | undefined;
13
24
  connectedCallback(): void;
14
25
  }
@@ -3,6 +3,10 @@ import { attr, html } from '@microsoft/fast-element';
3
3
  import { DesignSystem, NumberField as FoundationNumberField, numberFieldTemplate as template } from '@microsoft/fast-foundation';
4
4
  import { styles } from './styles';
5
5
  import { NumberFieldAppearance } from './types';
6
+ import { errorTextTemplate } from '../patterns/error/template';
7
+ import '../icons/add';
8
+ import '../icons/exclamation-mark';
9
+ import '../icons/minus-wide';
6
10
  /**
7
11
  * A nimble-styled HTML number input
8
12
  */
@@ -20,6 +24,9 @@ export class NumberField extends FoundationNumberField {
20
24
  __decorate([
21
25
  attr
22
26
  ], NumberField.prototype, "appearance", void 0);
27
+ __decorate([
28
+ attr({ attribute: 'error-text' })
29
+ ], NumberField.prototype, "errorText", void 0);
23
30
  /**
24
31
  * A function that returns a number-field registration for configuring the component with a DesignSystem.
25
32
  *
@@ -57,6 +64,12 @@ const nimbleNumberField = NumberField.compose({
57
64
  "Increment"
58
65
  <nimble-icon-add slot="start"></nimble-icon-add>
59
66
  </nimble-button>
67
+ `,
68
+ end: html `
69
+ <nimble-icon-exclamation-mark
70
+ class="error-icon fail"
71
+ ></nimble-icon-exclamation-mark>
72
+ ${errorTextTemplate}
60
73
  `
61
74
  });
62
75
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/number-field/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EACH,YAAY,EACZ,WAAW,IAAI,qBAAqB,EAEpC,mBAAmB,IAAI,QAAQ,EAClC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAQhD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,qBAAqB;IAAtD;;QAEW,eAAU,GAA0B,qBAAqB,CAAC,SAAS,CAAC;IAQ/E,CAAC;IANmB,iBAAiB;QAC7B,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAE1B,qFAAqF;QACrF,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACpD,CAAC;CACJ;AARG;IADC,IAAI;+CACsE;AAU/E;;;;;;;GAOG;AACH,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,CAAqB;IAC9D,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,qBAAqB;IAChC,QAAQ;IACR,MAAM;IACN,aAAa,EAAE;QACX,cAAc,EAAE,IAAI;KACvB;IACD,aAAa,EAAE,IAAI,CAAA;;;;;;;;;;KAUlB;IACD,WAAW,EAAE,IAAI,CAAA;;;;;;;;;;KAUhB;CACJ,CAAC,CAAC;AAEH,YAAY,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,iBAAiB,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/number-field/index.ts"],"names":[],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,CAAC,CAAC"}
@@ -3,8 +3,10 @@ import { display } from '@microsoft/fast-foundation';
3
3
  import { borderRgbPartialColor, borderHoverColor, borderWidth, bodyFontColor, bodyDisabledFontColor, controlHeight, fillSelectedRgbPartialColor, controlLabelFont, controlLabelFontColor, labelHeight, smallDelay, bodyFont, failColor, standardPadding, controlLabelDisabledFontColor } from '../theme-provider/design-tokens';
4
4
  import { appearanceBehavior } from '../utilities/style/appearance';
5
5
  import { NumberFieldAppearance } from './types';
6
+ import { styles as errorStyles } from '../patterns/error/styles';
6
7
  export const styles = css `
7
8
  ${display('inline-block')}
9
+ ${errorStyles}
8
10
 
9
11
  :host {
10
12
  font: ${bodyFont};
@@ -13,6 +15,9 @@ export const styles = css `
13
15
  color: ${bodyFontColor};
14
16
  height: calc(${labelHeight} + ${controlHeight});
15
17
  --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
18
+ --ni-private-height-within-border: calc(
19
+ ${controlHeight} - 2 * ${borderWidth}
20
+ );
16
21
  }
17
22
 
18
23
  :host([disabled]) {
@@ -36,9 +41,10 @@ export const styles = css `
36
41
  display: flex;
37
42
  flex-direction: row;
38
43
  justify-content: center;
44
+ align-items: center;
39
45
  border-radius: 0px;
40
46
  border: 0px solid rgba(${borderRgbPartialColor}, 0.3);
41
- gap: calc(${standardPadding} / 2);
47
+ padding: ${borderWidth};
42
48
  }
43
49
 
44
50
  .root:focus-within {
@@ -49,6 +55,10 @@ export const styles = css `
49
55
  border-color: rgba(${borderRgbPartialColor}, 0.1);
50
56
  }
51
57
 
58
+ :host(.invalid) .root {
59
+ border-bottom-color: ${failColor};
60
+ }
61
+
52
62
  .root::before {
53
63
  ${ /* Empty string causes alignment issue */''}
54
64
  content: ' ';
@@ -95,10 +105,11 @@ export const styles = css `
95
105
  font: inherit;
96
106
  background: transparent;
97
107
  color: inherit;
98
- height: ${controlHeight};
108
+ height: var(--ni-private-height-within-border);
99
109
  width: 100%;
100
110
  border: none;
101
111
  padding: 0px;
112
+ padding-left: calc(${standardPadding} / 2);
102
113
  }
103
114
 
104
115
  .control:hover,
@@ -117,45 +128,55 @@ export const styles = css `
117
128
  color: ${controlLabelFontColor};
118
129
  }
119
130
 
120
- .control:focus-within::placeholder {
121
- opacity: 1;
122
- }
123
-
124
131
  .control[disabled]::placeholder {
125
132
  color: ${bodyDisabledFontColor};
126
133
  }
127
134
 
128
135
  .controls {
129
- display: flex;
130
- flex-direction: row-reverse;
131
- justify-content: center;
132
- align-items: center;
136
+ display: contents;
137
+ }
138
+
139
+ ${
140
+ /* We are using flex `order` to define the visual ordering of the inc/dec buttons and the invalid icon because they are not "interactive" i.e. part of the tab order */ ''}
141
+ .step-up {
142
+ order: 3;
143
+ padding-right: calc(${standardPadding} / 4);
144
+ }
145
+
146
+ .step-down {
147
+ order: 2;
133
148
  }
134
149
 
135
150
  .step-up-down-button {
136
151
  ${controlHeight.cssCustomProperty}: 24px;
137
152
  }
153
+
154
+ [part='end'] {
155
+ display: contents;
156
+ }
157
+
158
+ .error-icon {
159
+ order: 1;
160
+ padding-right: calc(${standardPadding} / 4);
161
+ }
138
162
  `.withBehaviors(appearanceBehavior(NumberFieldAppearance.underline, css `
139
163
  .root {
140
164
  border-bottom-width: ${borderWidth};
141
- padding-top: ${borderWidth};
142
- padding-left: ${borderWidth};
143
- padding-right: ${borderWidth};
144
- }
145
-
146
- .control {
147
- height: calc(${controlHeight} - 2 * ${borderWidth});
165
+ padding-bottom: 0;
148
166
  }
149
167
  `), appearanceBehavior(NumberFieldAppearance.block, css `
150
168
  .root {
151
169
  background-color: rgba(${borderRgbPartialColor}, 0.1);
152
- padding-left: ${borderWidth};
153
- padding-right: ${borderWidth};
154
170
  }
155
171
 
156
172
  .root:focus-within,
157
173
  :host(.invalid) .root {
158
174
  border-bottom-width: ${borderWidth};
175
+ padding-bottom: 0;
176
+ }
177
+
178
+ :host(:hover) .root {
179
+ padding-bottom: 0;
159
180
  }
160
181
 
161
182
  :host([disabled]) .root {
@@ -164,10 +185,7 @@ export const styles = css `
164
185
  `), appearanceBehavior(NumberFieldAppearance.outline, css `
165
186
  .root {
166
187
  border-width: ${borderWidth};
167
- }
168
-
169
- .control {
170
- height: calc(${controlHeight} - 2 * ${borderWidth});
188
+ padding: 0;
171
189
  }
172
190
  `));
173
191
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/number-field/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EACH,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,2BAA2B,EAC3B,gBAAgB,EAChB,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAS,EACT,eAAe,EACf,6BAA6B,EAChC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,cAAc,CAAC;;;gBAGb,QAAQ;;;iBAGP,aAAa;uBACP,WAAW,MAAM,aAAa;mDACF,WAAW;;;;iBAI7C,qBAAqB;;;;;;iBAMrB,qBAAqB;gBACtB,gBAAgB;;;;iBAIf,6BAA6B;;;;;;;;;;iCAUb,qBAAqB;oBAClC,eAAe;;;;+BAIJ,gBAAgB;;;;6BAIlB,qBAAqB;;;;UAIxC,CAAA,yCAA0C,EAAE;;;;;;;;;;4BAU1B,WAAW;;;yBAGd,gBAAgB;;4BAEb,UAAU;;;;;;;;;;+BAUP,SAAS;;;;;;;;;;;;;;;;;;;;kBAoBtB,aAAa;;;;;;;;;;;;;;iBAcd,qBAAqB;2BACX,2BAA2B;;;;iBAIrC,qBAA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Aa;mDACF,WAAW;;cAEhD,aAAa,UAAU,WAAW;;;;;iBAK/B,qBAAqB;;;;;;iBAMrB,qBAAqB;gBACtB,gBAAgB;;;;iBAIf,6BAA6B;;;;;;;;;;;iCAWb,qBAAqB;mBACnC,WAAW;;;;+BAIC,gBAAgB;;;;6BAIlB,qBAAqB;;;;+BAInB,SAAS;;;;UAI9B,CAAA,yCAA0C,EAAE;;;;;;;;;;4BAU1B,WAAW;;;yBAGd,gBAAgB;;4BAEb,UAAU;;;;;;;;;;+BAUP,SAAS;;;;;;;;;;;;;;;;;;;;;;;;6BAwBX,eAAe;;;;;;;;;;;iBAW3B,qBAAqB;2BACX,2BAA2B;;;;iBAIrC,qBAAqB;;;;iBAIrB,qBAAqB;;;;;;;MAOhC;AACE,uKAAuK,CAAC,EAC5K;;;8BAG0B,eAAe;;;;;;;;UAQnC,aAAa,CAAC,iBAAiB;;;;;;;;;8BASX,eAAe;;CAE5C,CAAC,aAAa,CACH,kBAAkB,CACd,qBAAqB,CAAC,SAAS,EAC/B,GAAG,CAAA;;uCAEoB,WAAW;;;SAGzC,CACI,EACD,kBAAkB,CACd,qBAAqB,CAAC,KAAK,EAC3B,GAAG,CAAA;;yCAEsB,qBAAqB;;;;;uCAKvB,WAAW;;;;;;;;;yCAST,qBAAqB;;SAErD,CACI,EACD,kBAAkB,CACd,qBAAqB,CAAC,OAAO,EAC7B,GAAG,CAAA;;gCAEa,WAAW;;;SAGlC,CACI,CACJ,CAAC"}
@@ -48,6 +48,7 @@ export const styles = css `
48
48
  justify-content: center;
49
49
  border: 0px solid rgba(${borderRgbPartialColor}, 0.3);
50
50
  gap: calc(${standardPadding} / 2);
51
+ padding: ${borderWidth};
51
52
  }
52
53
 
53
54
  :host([readonly]) .root {
@@ -109,7 +110,7 @@ export const styles = css `
109
110
  background: transparent;
110
111
  color: inherit;
111
112
  padding: 0px;
112
- height: ${controlHeight};
113
+ height: var(--ni-private-height-within-border);
113
114
  width: 100%;
114
115
  margin-top: auto;
115
116
  margin-bottom: auto;
@@ -141,10 +142,6 @@ export const styles = css `
141
142
  color: ${controlLabelFontColor};
142
143
  }
143
144
 
144
- .control:not([readonly]):focus-within::placeholder {
145
- opacity: 1;
146
- }
147
-
148
145
  .control[disabled]::placeholder {
149
146
  color: ${bodyDisabledFontColor};
150
147
  }
@@ -193,13 +190,7 @@ export const styles = css `
193
190
  `.withBehaviors(appearanceBehavior(TextFieldAppearance.underline, css `
194
191
  .root {
195
192
  border-bottom-width: ${borderWidth};
196
- }
197
-
198
- .control {
199
- height: var(--ni-private-height-within-border);
200
- padding-top: ${borderWidth};
201
- padding-left: ${borderWidth};
202
- padding-right: ${borderWidth};
193
+ padding-bottom: 0;
203
194
  }
204
195
  `), appearanceBehavior(TextFieldAppearance.block, css `
205
196
  .root {
@@ -214,11 +205,11 @@ export const styles = css `
214
205
  .root:focus-within,
215
206
  :host(.invalid) .root {
216
207
  border-bottom-width: ${borderWidth};
208
+ padding-bottom: 0;
217
209
  }
218
210
 
219
- .root:focus-within .control,
220
- :host(.invalid) .control {
221
- height: calc(${controlHeight} - ${borderWidth});
211
+ :host(:hover) .root {
212
+ padding-bottom: 0;
222
213
  }
223
214
 
224
215
  :host([readonly]) .root {
@@ -232,10 +223,7 @@ export const styles = css `
232
223
  `), appearanceBehavior(TextFieldAppearance.outline, css `
233
224
  .root {
234
225
  border-width: ${borderWidth};
235
- }
236
-
237
- .control {
238
- height: var(--ni-private-height-within-border);
226
+ padding: 0;
239
227
  }
240
228
  `), appearanceBehavior(TextFieldAppearance.frameless, css `
241
229
  .control {
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/text-field/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAErD,OAAO,EACH,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,qBAAqB,E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,WAAW;;;SAGlC,CACQ,EACD,kBAAkB,CACd,mBAAmB,CAAC,SAAS,EAC7B,GAAG,CAAA;;gCAES,WAAW;iCACV,WAAW;;;;;;SAMnC,CACQ,EACD,aAAa,CACT,GAAG,CAAA;cACT,EAAE,CAAC,iBAAiB;;;;SAIzB,EACW,GAAG,CAAA;cACT,EAAE,CAAC,gBAAgB;;;;SAIxB;AACW,cAAc;AACd,KAAK,CAAC,IAAI,CACb,CACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/nimble-components",
3
- "version": "11.4.1",
3
+ "version": "11.5.0",
4
4
  "description": "Styled web components for the NI Nimble Design System",
5
5
  "scripts": {
6
6
  "build": "npm run generate-icons && npm run build-components && npm run bundle-components && npm run generate-scss && npm run build-storybook",