@fluentui/web-components 3.0.0-beta.30 → 3.0.0-beta.32

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.
Files changed (87) hide show
  1. package/CHANGELOG.md +28 -2
  2. package/dist/dts/anchor-button/anchor-button.d.ts +39 -4
  3. package/dist/dts/anchor-button/anchor-button.options.d.ts +0 -1
  4. package/dist/dts/badge/badge.d.ts +30 -0
  5. package/dist/dts/button/button.d.ts +25 -1
  6. package/dist/dts/button/button.options.d.ts +0 -1
  7. package/dist/dts/checkbox/checkbox.d.ts +13 -1
  8. package/dist/dts/compound-button/compound-button.options.d.ts +0 -5
  9. package/dist/dts/counter-badge/counter-badge.d.ts +36 -0
  10. package/dist/dts/divider/divider.d.ts +18 -0
  11. package/dist/dts/image/image.d.ts +36 -0
  12. package/dist/dts/label/label.d.ts +24 -0
  13. package/dist/dts/link/link.d.ts +12 -0
  14. package/dist/dts/menu-button/menu-button.options.d.ts +0 -1
  15. package/dist/dts/progress-bar/progress-bar.d.ts +18 -0
  16. package/dist/dts/spinner/spinner.d.ts +13 -1
  17. package/dist/dts/styles/states/index.d.ts +175 -0
  18. package/dist/dts/text-input/text-input.d.ts +12 -0
  19. package/dist/dts/toggle-button/toggle-button.options.d.ts +0 -1
  20. package/dist/esm/anchor-button/anchor-button.js +76 -8
  21. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  22. package/dist/esm/anchor-button/anchor-button.styles.js +8 -1
  23. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
  24. package/dist/esm/anchor-button/anchor-button.template.js +2 -2
  25. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
  26. package/dist/esm/badge/badge.js +59 -0
  27. package/dist/esm/badge/badge.js.map +1 -1
  28. package/dist/esm/badge/badge.styles.js +6 -5
  29. package/dist/esm/badge/badge.styles.js.map +1 -1
  30. package/dist/esm/button/button.js +48 -0
  31. package/dist/esm/button/button.js.map +1 -1
  32. package/dist/esm/button/button.options.js +0 -1
  33. package/dist/esm/button/button.options.js.map +1 -1
  34. package/dist/esm/button/button.styles.js +40 -49
  35. package/dist/esm/button/button.styles.js.map +1 -1
  36. package/dist/esm/checkbox/checkbox.js +26 -0
  37. package/dist/esm/checkbox/checkbox.js.map +1 -1
  38. package/dist/esm/checkbox/checkbox.styles.js +6 -5
  39. package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
  40. package/dist/esm/compound-button/compound-button.styles.js +14 -15
  41. package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
  42. package/dist/esm/counter-badge/counter-badge.js +67 -0
  43. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  44. package/dist/esm/counter-badge/counter-badge.styles.js +12 -6
  45. package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
  46. package/dist/esm/divider/divider.js +47 -2
  47. package/dist/esm/divider/divider.js.map +1 -1
  48. package/dist/esm/divider/divider.styles.js +31 -30
  49. package/dist/esm/divider/divider.styles.js.map +1 -1
  50. package/dist/esm/image/image.js +68 -0
  51. package/dist/esm/image/image.js.map +1 -1
  52. package/dist/esm/image/image.styles.js +10 -9
  53. package/dist/esm/image/image.styles.js.map +1 -1
  54. package/dist/esm/label/label.js +41 -0
  55. package/dist/esm/label/label.js.map +1 -1
  56. package/dist/esm/label/label.styles.js +7 -6
  57. package/dist/esm/label/label.styles.js.map +1 -1
  58. package/dist/esm/link/link.js +22 -0
  59. package/dist/esm/link/link.js.map +1 -1
  60. package/dist/esm/link/link.styles.js +11 -4
  61. package/dist/esm/link/link.styles.js.map +1 -1
  62. package/dist/esm/link/link.template.js +2 -2
  63. package/dist/esm/link/link.template.js.map +1 -1
  64. package/dist/esm/progress-bar/progress-bar.js +40 -0
  65. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  66. package/dist/esm/progress-bar/progress-bar.styles.js +7 -6
  67. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  68. package/dist/esm/spinner/spinner.js +27 -0
  69. package/dist/esm/spinner/spinner.js.map +1 -1
  70. package/dist/esm/spinner/spinner.styles.js +9 -8
  71. package/dist/esm/spinner/spinner.styles.js.map +1 -1
  72. package/dist/esm/styles/partials/badge.partials.js +43 -42
  73. package/dist/esm/styles/partials/badge.partials.js.map +1 -1
  74. package/dist/esm/styles/states/index.js +177 -0
  75. package/dist/esm/styles/states/index.js.map +1 -0
  76. package/dist/esm/text-input/text-input.js +27 -0
  77. package/dist/esm/text-input/text-input.js.map +1 -1
  78. package/dist/esm/text-input/text-input.styles.js +23 -22
  79. package/dist/esm/text-input/text-input.styles.js.map +1 -1
  80. package/dist/esm/toggle-button/toggle-button.js +2 -1
  81. package/dist/esm/toggle-button/toggle-button.js.map +1 -1
  82. package/dist/esm/toggle-button/toggle-button.styles.js +24 -23
  83. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
  84. package/dist/web-components.d.ts +276 -16
  85. package/dist/web-components.js +649 -94
  86. package/dist/web-components.min.js +341 -340
  87. package/package.json +3 -2
@@ -1,5 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { attr, FASTElement, nullableNumberConverter, volatile } from '@microsoft/fast-element';
3
+ import { toggleState } from '../utils/element-internals.js';
3
4
  /**
4
5
  * An Progress HTML Element.
5
6
  * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
@@ -7,6 +8,45 @@ import { attr, FASTElement, nullableNumberConverter, volatile } from '@microsoft
7
8
  * @public
8
9
  */
9
10
  export class ProgressBar extends FASTElement {
11
+ /**
12
+ * Handles changes to thickness attribute custom states
13
+ * @param prev - the previous state
14
+ * @param next - the next state
15
+ */
16
+ thicknessChanged(prev, next) {
17
+ if (prev) {
18
+ toggleState(this.elementInternals, `${prev}`, false);
19
+ }
20
+ if (next) {
21
+ toggleState(this.elementInternals, `${next}`, true);
22
+ }
23
+ }
24
+ /**
25
+ * Handles changes to shape attribute custom states
26
+ * @param prev - the previous state
27
+ * @param next - the next state
28
+ */
29
+ shapeChanged(prev, next) {
30
+ if (prev) {
31
+ toggleState(this.elementInternals, `${prev}`, false);
32
+ }
33
+ if (next) {
34
+ toggleState(this.elementInternals, `${next}`, true);
35
+ }
36
+ }
37
+ /**
38
+ * Handles changes to validation-state attribute custom states
39
+ * @param prev - the previous state
40
+ * @param next - the next state
41
+ */
42
+ validationStateChanged(prev, next) {
43
+ if (prev) {
44
+ toggleState(this.elementInternals, `${prev}`, false);
45
+ }
46
+ if (next) {
47
+ toggleState(this.elementInternals, `${next}`, true);
48
+ }
49
+ }
10
50
  /**
11
51
  * Updates the percent complete when the `value` property changes.
12
52
  *
@@ -1 +1 @@
1
- {"version":3,"file":"progress-bar.js","sourceRoot":"","sources":["../../../src/progress-bar/progress-bar.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,uBAAuB,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAG/F;;;;;GAKG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAyC1C;;;;OAIG;IACO,YAAY,CAAC,IAAwB,EAAE,IAAwB;QACvE,IAAI,CAAC,gBAAgB,CAAC,YAAY,GAAG,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACnF,CAAC;IAUD;;;;;OAKG;IACO,UAAU,CAAC,IAAwB,EAAE,IAAwB;QACrE,IAAI,CAAC,gBAAgB,CAAC,YAAY,GAAG,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACnF,CAAC;IAUD;;;;;;OAMG;IACO,UAAU,CAAC,IAAwB,EAAE,IAAwB;QACrE,IAAI,CAAC,gBAAgB,CAAC,YAAY,GAAG,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACnF,CAAC;IAED;;;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EAAE,CAAC;0CACvB;AAiBtB;IADC,IAAI,CAAC,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC;wCACzB;AAkBpB;IADC,IAAI,CAAC,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC;wCACzB;AAkBpB;IADC,QAAQ;kDAQR"}
@@ -1,6 +1,7 @@
1
1
  import { css } from '@microsoft/fast-element';
2
2
  import { display, forcedColorsStylesheetBehavior } from '../utils/index.js';
3
3
  import { borderRadiusMedium, borderRadiusNone, colorCompoundBrandBackground, colorNeutralBackground6, colorPaletteDarkOrangeBackground3, colorPaletteGreenBackground3, colorPaletteRedBackground3, colorTransparentBackground, } from '../theme/design-tokens.js';
4
+ import { errorState, largeState, squareState, successState, warningState } from '../styles/states/index.js';
4
5
  /** ProgressBar styles
5
6
  * @public
6
7
  */
@@ -16,11 +17,11 @@ export const styles = css `
16
17
  contain: content;
17
18
  }
18
19
 
19
- :host([thickness='large']) {
20
+ :host(${largeState}) {
20
21
  height: 4px;
21
22
  }
22
23
 
23
- :host([shape='square']) {
24
+ :host(${squareState}) {
24
25
  border-radius: ${borderRadiusNone};
25
26
  }
26
27
 
@@ -49,15 +50,15 @@ export const styles = css `
49
50
  animation-iteration-count: infinite;
50
51
  }
51
52
 
52
- :host([validation-state='error']) .indicator {
53
+ :host(${errorState}) .indicator {
53
54
  background-color: ${colorPaletteRedBackground3};
54
55
  }
55
56
 
56
- :host([validation-state='warning']) .indicator {
57
+ :host(${warningState}) .indicator {
57
58
  background-color: ${colorPaletteDarkOrangeBackground3};
58
59
  }
59
60
 
60
- :host([validation-state='success']) .indicator {
61
+ :host(${successState}) .indicator {
61
62
  background-color: ${colorPaletteGreenBackground3};
62
63
  }
63
64
 
@@ -87,7 +88,7 @@ export const styles = css `
87
88
  background-color: CanvasText;
88
89
  }
89
90
  .indicator,
90
- :host(:is([validation-state='success'], [validation-state='warning'], [validation-state='error'])) .indicator {
91
+ :host(:is(${successState}, ${warningState}, ${errorState})) .indicator {
91
92
  background-color: Highlight;
92
93
  }
93
94
  `));
@@ -1 +1 @@
1
- {"version":3,"file":"progress-bar.styles.js","sourceRoot":"","sources":["../../../src/progress-bar/progress-bar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,4BAA4B,EAC5B,uBAAuB,EACvB,iCAAiC,EACjC,4BAA4B,EAC5B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,2BAA2B,CAAC;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,OAAO,CAAC;;;;;;wBAMI,uBAAuB;qBAC1B,kBAAkB;;;;;;;;;qBASlB,gBAAgB;;;;wBAIb,4BAA4B;;;;;;;;;;;;;;QAc5C,uBAAuB;QACvB,0BAA0B;QAC1B,uBAAuB;;;;;;;;;wBASP,0BAA0B;;;;wBAI1B,iCAAiC;;;;wBAIjC,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;CAwBnD,CAAC,aAAa,CACb,8BAA8B,CAAC,GAAG,CAAA;;;;;;;;GAQjC,CAAC,CACH,CAAC"}
1
+ {"version":3,"file":"progress-bar.styles.js","sourceRoot":"","sources":["../../../src/progress-bar/progress-bar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,4BAA4B,EAC5B,uBAAuB,EACvB,iCAAiC,EACjC,4BAA4B,EAC5B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE5G;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,OAAO,CAAC;;;;;;wBAMI,uBAAuB;qBAC1B,kBAAkB;;;;UAI7B,UAAU;;;;UAIV,WAAW;qBACA,gBAAgB;;;;wBAIb,4BAA4B;;;;;;;;;;;;;;QAc5C,uBAAuB;QACvB,0BAA0B;QAC1B,uBAAuB;;;;;;;;UAQrB,UAAU;wBACI,0BAA0B;;;UAGxC,YAAY;wBACE,iCAAiC;;;UAG/C,YAAY;wBACE,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;CAwBnD,CAAC,aAAa,CACb,8BAA8B,CAAC,GAAG,CAAA;;;;;gBAKpB,YAAY,KAAK,YAAY,KAAK,UAAU;;;GAGzD,CAAC,CACH,CAAC"}
@@ -1,10 +1,37 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { attr, FASTElement } from '@microsoft/fast-element';
3
+ import { toggleState } from '../utils/element-internals.js';
3
4
  /**
4
5
  * The base class used for constructing a fluent-spinner custom element
5
6
  * @public
6
7
  */
7
8
  export class Spinner extends FASTElement {
9
+ /**
10
+ * Handles changes to size attribute custom states
11
+ * @param prev - the previous state
12
+ * @param next - the next state
13
+ */
14
+ sizeChanged(prev, next) {
15
+ if (prev) {
16
+ toggleState(this.elementInternals, `${prev}`, false);
17
+ }
18
+ if (next) {
19
+ toggleState(this.elementInternals, `${next}`, true);
20
+ }
21
+ }
22
+ /**
23
+ * Handles changes to appearance attribute custom states
24
+ * @param prev - the previous state
25
+ * @param next - the next state
26
+ */
27
+ appearanceChanged(prev, next) {
28
+ if (prev) {
29
+ toggleState(this.elementInternals, `${prev}`, false);
30
+ }
31
+ if (next) {
32
+ toggleState(this.elementInternals, `${next}`, true);
33
+ }
34
+ }
8
35
  constructor() {
9
36
  super();
10
37
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../../src/spinner/spinner.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG5D;;;GAGG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IA2BtC;QACE,KAAK,EAAE,CAAC;QA3BV;;;;WAIG;QACO,qBAAgB,GAAqB,IAAI,CAAC,eAAe,EAAE,CAAC;QAuBpE,IAAI,CAAC,gBAAgB,CAAC,IAAI,GAAG,aAAa,CAAC;IAC7C,CAAC;CACF;AAfC;IADC,IAAI;qCACqB;AAS1B;IADC,IAAI;2CACiC"}
1
+ {"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../../src/spinner/spinner.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAG5D;;;GAGG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAkBtC;;;;OAIG;IACI,WAAW,CAAC,IAA6B,EAAE,IAA6B;QAC7E,IAAI,IAAI,EAAE;YACR,WAAW,CAAC,IAAI,CAAC,gBAAgB,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,CAAC,CAAC;SACtD;QACD,IAAI,IAAI,EAAE;YACR,WAAW,CAAC,IAAI,CAAC,gBAAgB,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC;SACrD;IACH,CAAC;IAWD;;;;OAIG;IACI,iBAAiB,CAAC,IAAmC,EAAE,IAAmC;QAC/F,IAAI,IAAI,EAAE;YACR,WAAW,CAAC,IAAI,CAAC,gBAAgB,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,CAAC,CAAC;SACtD;QACD,IAAI,IAAI,EAAE;YACR,WAAW,CAAC,IAAI,CAAC,gBAAgB,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC;SACrD;IACH,CAAC;IAED;QACE,KAAK,EAAE,CAAC;QAvDV;;;;WAIG;QACI,qBAAgB,GAAqB,IAAI,CAAC,eAAe,EAAE,CAAC;QAmDjE,IAAI,CAAC,gBAAgB,CAAC,IAAI,GAAG,aAAa,CAAC;IAC7C,CAAC;CACF;AA3CC;IADC,IAAI;qCACqB;AAuB1B;IADC,IAAI;2CACiC"}
@@ -1,6 +1,7 @@
1
1
  import { css } from '@microsoft/fast-element';
2
2
  import { display } from '../utils/index.js';
3
3
  import { colorBrandStroke1, colorBrandStroke2, colorNeutralStrokeOnBrand2 } from '../theme/design-tokens.js';
4
+ import { extraLargeState, extraSmallState, hugeState, invertedState, largeState, smallState, tinyState, } from '../styles/states/index.js';
4
5
  export const styles = css `
5
6
  ${display('flex')}
6
7
 
@@ -11,27 +12,27 @@ export const styles = css `
11
12
  width: 32px;
12
13
  contain: content;
13
14
  }
14
- :host([size='tiny']) {
15
+ :host(${tinyState}) {
15
16
  height: 20px;
16
17
  width: 20px;
17
18
  }
18
- :host([size='extra-small']) {
19
+ :host(${extraSmallState}) {
19
20
  height: 24px;
20
21
  width: 24px;
21
22
  }
22
- :host([size='small']) {
23
+ :host(${smallState}) {
23
24
  height: 28px;
24
25
  width: 28px;
25
26
  }
26
- :host([size='large']) {
27
+ :host(${largeState}) {
27
28
  height: 36px;
28
29
  width: 36px;
29
30
  }
30
- :host([size='extra-large']) {
31
+ :host(${extraLargeState}) {
31
32
  height: 40px;
32
33
  width: 40px;
33
34
  }
34
- :host([size='huge']) {
35
+ :host(${hugeState}) {
35
36
  height: 44px;
36
37
  width: 44px;
37
38
  }
@@ -46,7 +47,7 @@ export const styles = css `
46
47
  stroke-width: 1.5px;
47
48
  }
48
49
 
49
- :host([appearance='inverted']) .background {
50
+ :host(${invertedState}) .background {
50
51
  stroke: rgba(255, 255, 255, 0.2);
51
52
  }
52
53
 
@@ -61,7 +62,7 @@ export const styles = css `
61
62
  animation: spin-infinite 3s cubic-bezier(0.53, 0.21, 0.29, 0.67) infinite;
62
63
  }
63
64
 
64
- :host([appearance='inverted']) .indicator {
65
+ :host(${invertedState}) .indicator {
65
66
  stroke: ${colorNeutralStrokeOnBrand2};
66
67
  }
67
68
 
@@ -1 +1 @@
1
- {"version":3,"file":"spinner.styles.js","sourceRoot":"","sources":["../../../src/spinner/spinner.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE7G,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCL,iBAAiB;;;;;;;;;cASjB,iBAAiB;;;;;;;;;;;cAWjB,0BAA0B;;;;;;;;;;;;;;;;;CAiBvC,CAAC"}
1
+ {"version":3,"file":"spinner.styles.js","sourceRoot":"","sources":["../../../src/spinner/spinner.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAC7G,OAAO,EACL,eAAe,EACf,eAAe,EACf,SAAS,EACT,aAAa,EACb,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,2BAA2B,CAAC;AAEnC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,MAAM,CAAC;;;;;;;;;UAST,SAAS;;;;UAIT,eAAe;;;;UAIf,UAAU;;;;UAIV,UAAU;;;;UAIV,eAAe;;;;UAIf,SAAS;;;;;;;;;;;cAWL,iBAAiB;;;;UAIrB,aAAa;;;;;cAKT,iBAAiB;;;;;;;;;;UAUrB,aAAa;cACT,0BAA0B;;;;;;;;;;;;;;;;;CAiBvC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { css } from '@microsoft/fast-element';
2
2
  import { display } from '../../utils/index.js';
3
3
  import { borderRadiusCircular, colorBrandBackground, colorBrandBackground2, colorBrandForeground1, colorBrandForeground2, colorBrandStroke2, colorNeutralBackground1, colorNeutralBackground4, colorNeutralBackground5, colorNeutralForeground1, colorNeutralForeground1Static, colorNeutralForeground3, colorNeutralForegroundInverted, colorNeutralForegroundOnBrand, colorNeutralForegroundStaticInverted, colorNeutralStroke2, colorNeutralStrokeAccessible, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBackground3, colorPaletteDarkOrangeBorder1, colorPaletteDarkOrangeForeground1, colorPaletteDarkOrangeForeground3, colorPaletteGreenBackground1, colorPaletteGreenBackground3, colorPaletteGreenBorder2, colorPaletteGreenForeground1, colorPaletteGreenForeground2, colorPaletteGreenForeground3, colorPaletteRedBackground1, colorPaletteRedBackground3, colorPaletteRedBorder1, colorPaletteRedForeground1, colorPaletteRedForeground3, colorPaletteYellowBackground1, colorPaletteYellowBackground3, colorPaletteYellowBorder1, colorPaletteYellowForeground2, colorTransparentStroke, fontFamilyBase, fontSizeBase100, fontSizeBase200, fontWeightSemibold, lineHeightBase100, lineHeightBase200, spacingHorizontalSNudge, spacingHorizontalXS, spacingHorizontalXXS, strokeWidthThin, } from '../../theme/design-tokens.js';
4
+ import { dangerState, extraLargeState, extraSmallState, ghostState, importantState, informativeState, largeState, outlineState, severeState, smallState, subtleState, successState, tintState, tinyState, warningState, } from '../states/index.js';
4
5
  const textPadding = spacingHorizontalXXS;
5
6
  export const badgeBaseStyles = css.partial `
6
7
  ${display('inline-flex')} :host {
@@ -26,7 +27,7 @@ export const badgeBaseStyles = css.partial `
26
27
  font-size: 12px;
27
28
  }
28
29
 
29
- :host(:not([appearance='ghost']))::after {
30
+ :host(:not(${ghostState}))::after {
30
31
  position: absolute;
31
32
  content: '';
32
33
  top: 0;
@@ -44,7 +45,7 @@ export const badgeBaseStyles = css.partial `
44
45
  * The badge's size styles
45
46
  */
46
47
  export const badgeSizeStyles = css.partial `
47
- :host([size='tiny']) {
48
+ :host(${tinyState}) {
48
49
  width: 6px;
49
50
  height: 6px;
50
51
  font-size: 4px;
@@ -52,10 +53,10 @@ export const badgeSizeStyles = css.partial `
52
53
  padding-inline: 0;
53
54
  min-width: unset;
54
55
  }
55
- :host([size='tiny']) ::slotted(svg) {
56
+ :host(${tinyState}) ::slotted(svg) {
56
57
  font-size: 6px;
57
58
  }
58
- :host([size='extra-small']) {
59
+ :host(${extraSmallState}) {
59
60
  width: 10px;
60
61
  height: 10px;
61
62
  font-size: 6px;
@@ -63,37 +64,37 @@ export const badgeSizeStyles = css.partial `
63
64
  padding-inline: 0;
64
65
  min-width: unset;
65
66
  }
66
- :host([size='extra-small']) ::slotted(svg) {
67
+ :host(${extraSmallState}) ::slotted(svg) {
67
68
  font-size: 10px;
68
69
  }
69
- :host([size='small']) {
70
+ :host(${smallState}) {
70
71
  min-width: 16px;
71
72
  height: 16px;
72
73
  font-size: ${fontSizeBase100};
73
74
  line-height: ${lineHeightBase100};
74
75
  padding-inline: calc(${spacingHorizontalXXS} + ${textPadding});
75
76
  }
76
- :host([size='small']) ::slotted(svg) {
77
+ :host(${smallState}) ::slotted(svg) {
77
78
  font-size: 12px;
78
79
  }
79
- :host([size='large']) {
80
+ :host(${largeState}) {
80
81
  min-width: 24px;
81
82
  height: 24px;
82
83
  font-size: ${fontSizeBase200};
83
84
  line-height: ${lineHeightBase200};
84
85
  padding-inline: calc(${spacingHorizontalXS} + ${textPadding});
85
86
  }
86
- :host([size='large']) ::slotted(svg) {
87
+ :host(${largeState}) ::slotted(svg) {
87
88
  font-size: 16px;
88
89
  }
89
- :host([size='extra-large']) {
90
+ :host(${extraLargeState}) {
90
91
  min-width: 32px;
91
92
  height: 32px;
92
93
  font-size: ${fontSizeBase200};
93
94
  line-height: ${lineHeightBase200};
94
95
  padding-inline: calc(${spacingHorizontalSNudge} + ${textPadding});
95
96
  }
96
- :host([size='extra-large']) ::slotted(svg) {
97
+ :host(${extraLargeState}) ::slotted(svg) {
97
98
  font-size: 20px;
98
99
  }
99
100
  `;
@@ -104,37 +105,37 @@ export const badgeSizeStyles = css.partial `
104
105
  * @public
105
106
  */
106
107
  export const badgeFilledStyles = css.partial `
107
- :host([color='danger']) {
108
+ :host(${dangerState}) {
108
109
  background-color: ${colorPaletteRedBackground3};
109
110
  color: ${colorNeutralForegroundOnBrand};
110
111
  }
111
112
 
112
- :host([color='important']) {
113
+ :host(${importantState}) {
113
114
  background-color: ${colorNeutralForeground1};
114
115
  color: ${colorNeutralBackground1};
115
116
  }
116
117
 
117
- :host([color='informative']) {
118
+ :host(${informativeState}) {
118
119
  background-color: ${colorNeutralBackground5};
119
120
  color: ${colorNeutralForeground3};
120
121
  }
121
122
 
122
- :host([color='severe']) {
123
+ :host(${severeState}) {
123
124
  background-color: ${colorPaletteDarkOrangeBackground3};
124
125
  color: ${colorNeutralForegroundOnBrand};
125
126
  }
126
127
 
127
- :host([color='subtle']) {
128
+ :host(${subtleState}) {
128
129
  background-color: ${colorNeutralBackground1};
129
130
  color: ${colorNeutralForeground1};
130
131
  }
131
132
 
132
- :host([color='success']) {
133
+ :host(${successState}) {
133
134
  background-color: ${colorPaletteGreenBackground3};
134
135
  color: ${colorNeutralForegroundOnBrand};
135
136
  }
136
137
 
137
- :host([color='warning']) {
138
+ :host(${warningState}) {
138
139
  background-color: ${colorPaletteYellowBackground3};
139
140
  color: ${colorNeutralForeground1Static};
140
141
  }
@@ -144,36 +145,36 @@ export const badgeFilledStyles = css.partial `
144
145
  * @public
145
146
  */
146
147
  export const badgeGhostStyles = css.partial `
147
- :host([appearance='ghost']) {
148
+ :host(${ghostState}) {
148
149
  color: ${colorBrandForeground1};
149
150
  background-color: initial;
150
151
  }
151
152
 
152
- :host([appearance='ghost'][color='danger']) {
153
+ :host(${ghostState}${dangerState}) {
153
154
  color: ${colorPaletteRedForeground3};
154
155
  }
155
156
 
156
- :host([appearance='ghost'][color='important']) {
157
+ :host(${ghostState}${importantState}) {
157
158
  color: ${colorNeutralForeground1};
158
159
  }
159
160
 
160
- :host([appearance='ghost'][color='informative']) {
161
+ :host(${ghostState}${informativeState}) {
161
162
  color: ${colorNeutralForeground3};
162
163
  }
163
164
 
164
- :host([appearance='ghost'][color='severe']) {
165
+ :host(${ghostState}${severeState}) {
165
166
  color: ${colorPaletteDarkOrangeForeground3};
166
167
  }
167
168
 
168
- :host([appearance='ghost'][color='subtle']) {
169
+ :host(${ghostState}${subtleState}) {
169
170
  color: ${colorNeutralForegroundInverted};
170
171
  }
171
172
 
172
- :host([appearance='ghost'][color='success']) {
173
+ :host(${ghostState}${successState}) {
173
174
  color: ${colorPaletteGreenForeground3};
174
175
  }
175
176
 
176
- :host([appearance='ghost'][color='warning']) {
177
+ :host(${ghostState}${warningState}) {
177
178
  color: ${colorPaletteYellowForeground2};
178
179
  }
179
180
  `;
@@ -182,39 +183,39 @@ export const badgeGhostStyles = css.partial `
182
183
  * @public
183
184
  */
184
185
  export const badgeOutlineStyles = css.partial `
185
- :host([appearance='outline']) {
186
+ :host(${outlineState}) {
186
187
  border-color: currentColor;
187
188
  color: ${colorBrandForeground1};
188
189
  background-color: initial;
189
190
  }
190
191
 
191
- :host([appearance='outline'][color='danger']) {
192
+ :host(${outlineState}${dangerState}) {
192
193
  color: ${colorPaletteRedForeground3};
193
194
  }
194
195
 
195
- :host([appearance='outline'][color='important']) {
196
+ :host(${outlineState}${importantState}) {
196
197
  color: ${colorNeutralForeground3};
197
198
  border-color: ${colorNeutralStrokeAccessible};
198
199
  }
199
200
 
200
- :host([appearance='outline'][color='informative']) {
201
+ :host(${outlineState}${informativeState}) {
201
202
  color: ${colorNeutralForeground3};
202
203
  border-color: ${colorNeutralStroke2};
203
204
  }
204
205
 
205
- :host([appearance='outline'][color='severe']) {
206
+ :host(${outlineState}${severeState}) {
206
207
  color: ${colorPaletteDarkOrangeForeground3};
207
208
  }
208
209
 
209
- :host([appearance='outline'][color='subtle']) {
210
+ :host(${outlineState}${subtleState}) {
210
211
  color: ${colorNeutralForegroundStaticInverted};
211
212
  }
212
213
 
213
- :host([appearance='outline'][color='success']) {
214
+ :host(${outlineState}${successState}) {
214
215
  color: ${colorPaletteGreenForeground2};
215
216
  }
216
217
 
217
- :host([appearance='outline'][color='warning']) {
218
+ :host(${outlineState}${warningState}) {
218
219
  color: ${colorPaletteYellowForeground2};
219
220
  }
220
221
  `;
@@ -223,49 +224,49 @@ export const badgeOutlineStyles = css.partial `
223
224
  * @public
224
225
  */
225
226
  export const badgeTintStyles = css.partial `
226
- :host([appearance='tint']) {
227
+ :host(${tintState}) {
227
228
  background-color: ${colorBrandBackground2};
228
229
  color: ${colorBrandForeground2};
229
230
  border-color: ${colorBrandStroke2};
230
231
  }
231
232
 
232
- :host([appearance='tint'][color='danger']) {
233
+ :host(${tintState}${dangerState}) {
233
234
  background-color: ${colorPaletteRedBackground1};
234
235
  color: ${colorPaletteRedForeground1};
235
236
  border-color: ${colorPaletteRedBorder1};
236
237
  }
237
238
 
238
- :host([appearance='tint'][color='important']) {
239
+ :host(${tintState}${importantState}) {
239
240
  background-color: ${colorNeutralForeground3};
240
241
  color: ${colorNeutralBackground1};
241
242
  border-color: ${colorTransparentStroke};
242
243
  }
243
244
 
244
- :host([appearance='tint'][color='informative']) {
245
+ :host(${tintState}${informativeState}) {
245
246
  background-color: ${colorNeutralBackground4};
246
247
  color: ${colorNeutralForeground3};
247
248
  border-color: ${colorNeutralStroke2};
248
249
  }
249
250
 
250
- :host([appearance='tint'][color='severe']) {
251
+ :host(${tintState}${severeState}) {
251
252
  background-color: ${colorPaletteDarkOrangeBackground1};
252
253
  color: ${colorPaletteDarkOrangeForeground1};
253
254
  border-color: ${colorPaletteDarkOrangeBorder1};
254
255
  }
255
256
 
256
- :host([appearance='tint'][color='subtle']) {
257
+ :host(${tintState}${subtleState}) {
257
258
  background-color: ${colorNeutralBackground1};
258
259
  color: ${colorNeutralForeground3};
259
260
  border-color: ${colorNeutralStroke2};
260
261
  }
261
262
 
262
- :host([appearance='tint'][color='success']) {
263
+ :host(${tintState}${successState}) {
263
264
  background-color: ${colorPaletteGreenBackground1};
264
265
  color: ${colorPaletteGreenForeground1};
265
266
  border-color: ${colorPaletteGreenBorder2};
266
267
  }
267
268
 
268
- :host([appearance='tint'][color='warning']) {
269
+ :host(${tintState}${warningState}) {
269
270
  background-color: ${colorPaletteYellowBackground1};
270
271
  color: ${colorPaletteYellowForeground2};
271
272
  border-color: ${colorPaletteYellowBorder1};
@@ -1 +1 @@
1
- {"version":3,"file":"badge.partials.js","sourceRoot":"","sources":["../../../../src/styles/partials/badge.partials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,6BAA6B,EAC7B,uBAAuB,EACvB,8BAA8B,EAC9B,6BAA6B,EAC7B,oCAAoC,EACpC,mBAAmB,EACnB,4BAA4B,EAC5B,iCAAiC,EACjC,iCAAiC,EACjC,6BAA6B,EAC7B,iCAAiC,EACjC,iCAAiC,EACjC,4BAA4B,EAC5B,4BAA4B,EAC5B,wBAAwB,EACxB,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,EAC1B,0BAA0B,EAC1B,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,EAC7B,6BAA6B,EAC7B,yBAAyB,EACzB,6BAA6B,EAC7B,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,eAAe,EACf,kBAAk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vB,uBAAuB;;;;aAIvB,iCAAiC;;;;aAIjC,8BAA8B;;;;aAI9B,4BAA4B;;;;aAI5B,6BAA6B;;CAEzC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAAA;;;aAGhC,qBAAqB;;;;;aAKrB,0BAA0B;;;;aAI1B,uBAAuB;oBAChB,4BAA4B;;;;aAInC,uBAAuB;oBAChB,mBAAmB;;;;aAI1B,iCAAiC;;;;aAIjC,oCAAoC;;;;aAIpC,4BAA4B;;;;aAI5B,6BAA6B;;CAEzC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAC,OAAO,CAAA;;wBAElB,qBAAqB;aAChC,qBAAqB;oBACd,iBAAiB;;;;wBAIb,0BAA0B;aACrC,0BAA0B;oBACnB,sBAAsB;;;;wBAIlB,uBAAuB;aAClC,uBAAuB;oBAChB,sBAAsB;;;;wBAIlB,uBAAuB;aAClC,uBAAuB;oBAChB,mBAAmB;;;;wBAIf,iCAAiC;aAC5C,iCAAiC;oBAC1B,6BAA6B;;;;wBAIzB,uBAAuB;aAClC,uBAAuB;oBAChB,mBAAmB;;;;wBAIf,4BAA4B;aACvC,4BAA4B;oBACrB,wBAAwB;;;;wBAIpB,6BAA6B;aACxC,6BAA6B;oBACtB,yBAAyB;;CAE5C,CAAC"}
1
+ {"version":3,"file":"badge.partials.js","sourceRoot":"","sources":["../../../../src/styles/partials/badge.partials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,6BAA6B,EAC7B,uBA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