@fluentui/react-badge 0.0.0-nightlyf8be6a7c6520220106.1 → 0.0.0-nightlyff78d1e27a20220217.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. package/CHANGELOG.json +148 -31
  2. package/CHANGELOG.md +33 -11
  3. package/dist/react-badge.d.ts +18 -18
  4. package/lib/Badge.js.map +1 -1
  5. package/lib/CounterBadge.js.map +1 -1
  6. package/lib/PresenceBadge.js.map +1 -1
  7. package/lib/components/Badge/Badge.d.ts +1 -1
  8. package/lib/components/Badge/Badge.js +7 -7
  9. package/lib/components/Badge/Badge.js.map +1 -1
  10. package/lib/components/Badge/Badge.types.d.ts +4 -5
  11. package/lib/components/Badge/Badge.types.js.map +1 -1
  12. package/lib/components/Badge/index.d.ts +1 -1
  13. package/lib/components/Badge/index.js +0 -1
  14. package/lib/components/Badge/index.js.map +1 -1
  15. package/lib/components/Badge/renderBadge.d.ts +1 -1
  16. package/lib/components/Badge/renderBadge.js +4 -4
  17. package/lib/components/Badge/renderBadge.js.map +1 -1
  18. package/lib/components/Badge/useBadge.d.ts +1 -1
  19. package/lib/components/Badge/useBadge.js +1 -1
  20. package/lib/components/Badge/useBadge.js.map +1 -1
  21. package/lib/components/Badge/useBadgeStyles.d.ts +1 -1
  22. package/lib/components/Badge/useBadgeStyles.js +163 -178
  23. package/lib/components/Badge/useBadgeStyles.js.map +1 -1
  24. package/lib/components/CounterBadge/CounterBadge.d.ts +1 -1
  25. package/lib/components/CounterBadge/CounterBadge.js +7 -7
  26. package/lib/components/CounterBadge/CounterBadge.js.map +1 -1
  27. package/lib/components/CounterBadge/CounterBadge.types.d.ts +2 -1
  28. package/lib/components/CounterBadge/CounterBadge.types.js.map +1 -1
  29. package/lib/components/CounterBadge/index.js.map +1 -1
  30. package/lib/components/CounterBadge/useCounterBadge.d.ts +1 -1
  31. package/lib/components/CounterBadge/useCounterBadge.js +3 -3
  32. package/lib/components/CounterBadge/useCounterBadge.js.map +1 -1
  33. package/lib/components/CounterBadge/useCounterBadgeStyles.d.ts +1 -1
  34. package/lib/components/CounterBadge/useCounterBadgeStyles.js +4 -4
  35. package/lib/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
  36. package/lib/components/PresenceBadge/PresenceBadge.d.ts +1 -1
  37. package/lib/components/PresenceBadge/PresenceBadge.js +7 -7
  38. package/lib/components/PresenceBadge/PresenceBadge.js.map +1 -1
  39. package/lib/components/PresenceBadge/PresenceBadge.types.d.ts +4 -3
  40. package/lib/components/PresenceBadge/PresenceBadge.types.js.map +1 -1
  41. package/lib/components/PresenceBadge/index.js.map +1 -1
  42. package/lib/components/PresenceBadge/presenceIcons.js.map +1 -1
  43. package/lib/components/PresenceBadge/usePresenceBadge.d.ts +1 -1
  44. package/lib/components/PresenceBadge/usePresenceBadge.js +3 -3
  45. package/lib/components/PresenceBadge/usePresenceBadge.js.map +1 -1
  46. package/lib/components/PresenceBadge/usePresenceBadgeStyles.d.ts +1 -1
  47. package/lib/components/PresenceBadge/usePresenceBadgeStyles.js +2 -2
  48. package/lib/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
  49. package/lib/index.js.map +1 -1
  50. package/lib-commonjs/Badge.js.map +1 -1
  51. package/lib-commonjs/CounterBadge.js.map +1 -1
  52. package/lib-commonjs/PresenceBadge.js.map +1 -1
  53. package/lib-commonjs/components/Badge/Badge.d.ts +1 -1
  54. package/lib-commonjs/components/Badge/Badge.js +4 -4
  55. package/lib-commonjs/components/Badge/Badge.js.map +1 -1
  56. package/lib-commonjs/components/Badge/Badge.types.d.ts +4 -5
  57. package/lib-commonjs/components/Badge/Badge.types.js.map +1 -1
  58. package/lib-commonjs/components/Badge/index.d.ts +1 -1
  59. package/lib-commonjs/components/Badge/index.js +0 -2
  60. package/lib-commonjs/components/Badge/index.js.map +1 -1
  61. package/lib-commonjs/components/Badge/renderBadge.d.ts +1 -1
  62. package/lib-commonjs/components/Badge/renderBadge.js +6 -6
  63. package/lib-commonjs/components/Badge/renderBadge.js.map +1 -1
  64. package/lib-commonjs/components/Badge/useBadge.d.ts +1 -1
  65. package/lib-commonjs/components/Badge/useBadge.js +3 -3
  66. package/lib-commonjs/components/Badge/useBadge.js.map +1 -1
  67. package/lib-commonjs/components/Badge/useBadgeStyles.d.ts +1 -1
  68. package/lib-commonjs/components/Badge/useBadgeStyles.js +165 -180
  69. package/lib-commonjs/components/Badge/useBadgeStyles.js.map +1 -1
  70. package/lib-commonjs/components/CounterBadge/CounterBadge.d.ts +1 -1
  71. package/lib-commonjs/components/CounterBadge/CounterBadge.js +4 -4
  72. package/lib-commonjs/components/CounterBadge/CounterBadge.js.map +1 -1
  73. package/lib-commonjs/components/CounterBadge/CounterBadge.types.d.ts +2 -1
  74. package/lib-commonjs/components/CounterBadge/CounterBadge.types.js.map +1 -1
  75. package/lib-commonjs/components/CounterBadge/index.js.map +1 -1
  76. package/lib-commonjs/components/CounterBadge/useCounterBadge.d.ts +1 -1
  77. package/lib-commonjs/components/CounterBadge/useCounterBadge.js +4 -4
  78. package/lib-commonjs/components/CounterBadge/useCounterBadge.js.map +1 -1
  79. package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.d.ts +1 -1
  80. package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js +7 -7
  81. package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
  82. package/lib-commonjs/components/PresenceBadge/PresenceBadge.d.ts +1 -1
  83. package/lib-commonjs/components/PresenceBadge/PresenceBadge.js +4 -4
  84. package/lib-commonjs/components/PresenceBadge/PresenceBadge.js.map +1 -1
  85. package/lib-commonjs/components/PresenceBadge/PresenceBadge.types.d.ts +4 -3
  86. package/lib-commonjs/components/PresenceBadge/PresenceBadge.types.js.map +1 -1
  87. package/lib-commonjs/components/PresenceBadge/index.js.map +1 -1
  88. package/lib-commonjs/components/PresenceBadge/presenceIcons.js.map +1 -1
  89. package/lib-commonjs/components/PresenceBadge/usePresenceBadge.d.ts +1 -1
  90. package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js +4 -4
  91. package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js.map +1 -1
  92. package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.d.ts +1 -1
  93. package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js +6 -6
  94. package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
  95. package/lib-commonjs/index.js.map +1 -1
  96. package/package.json +12 -14
@@ -3,26 +3,20 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useBadgeStyles = exports.badgeClassName = void 0;
6
+ exports.useBadgeStyles_unstable = exports.badgeClassName = void 0;
7
7
 
8
- const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
9
 
10
10
  const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
11
11
 
12
12
  exports.badgeClassName = 'fui-Badge';
13
13
 
14
- const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
15
- "root": {
14
+ const useRootStyles = /*#__PURE__*/react_1.__styles({
15
+ "base": {
16
16
  "mc9l5x": "ftuwxu6",
17
17
  "B7ck84d": "f1ewtqcl",
18
18
  "Bt984gj": "f122n59",
19
19
  "Brf1p80": "f4d9j23",
20
- "De3pzq": "ffp7eso",
21
- "g2u3we": "f1vp46cd",
22
- "h3c5rm": ["f1lxz1cr", "ff8nh0i"],
23
- "B9xav0g": "fe9j8it",
24
- "zhjwy3": ["ff8nh0i", "f1lxz1cr"],
25
- "sj55zd": "f1phragk",
26
20
  "Bhrd7zp": "fl43uef",
27
21
  "B4j52fo": "f192inf7",
28
22
  "Bekrc4i": ["f5tn483", "f1ojsxk5"],
@@ -35,17 +29,17 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
35
29
  "Bahqtrf": "fk6fouc",
36
30
  "qhf8xq": "f10pi13n"
37
31
  },
38
- "rootTiny": {
32
+ "tiny": {
39
33
  "a9b677": "f16dn6v3",
40
34
  "Bqenvij": "f3mu39s",
41
35
  "Be2twd7": "f130uwy9"
42
36
  },
43
- "rootExtraSmall": {
37
+ "extra-small": {
44
38
  "a9b677": "fpd43o0",
45
39
  "Bqenvij": "f30q22z",
46
40
  "Be2twd7": "f1tccstq"
47
41
  },
48
- "rootSmall": {
42
+ "small": {
49
43
  "Bf4jedk": "fq2vo04",
50
44
  "Bqenvij": "fd461yt",
51
45
  "z8tnut": "fq1loh5",
@@ -56,7 +50,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
56
50
  "Belr9w4": "f1ma2n7n",
57
51
  "Be2twd7": "f1n0apg3"
58
52
  },
59
- "rootMedium": {
53
+ "medium": {
60
54
  "Bqenvij": "fjamq6b",
61
55
  "Bf4jedk": "f11u7vat",
62
56
  "i8kkvl": "f1q8lukm",
@@ -67,7 +61,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
67
61
  "uwmqm3": ["fycuoez", "f8wuabp"],
68
62
  "Be2twd7": "fnmn6fi"
69
63
  },
70
- "rootLarge": {
64
+ "large": {
71
65
  "Bf4jedk": "f17fgpbq",
72
66
  "Bqenvij": "frvgh55",
73
67
  "z8tnut": "f10ra9hq",
@@ -78,7 +72,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
78
72
  "i8kkvl": "f1q8lukm",
79
73
  "Belr9w4": "f1ma2n7n"
80
74
  },
81
- "rootExtraLarge": {
75
+ "extra-large": {
82
76
  "Bf4jedk": "fwbmr0d",
83
77
  "Bqenvij": "f1d2rq10",
84
78
  "z8tnut": "f1xp5gbu",
@@ -93,49 +87,40 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
93
87
  "Bn0qgzm": "fmklw6v",
94
88
  "ibv6hh": ["fsfsuhs", "f1wpluaz"]
95
89
  },
96
- "rootRounded": {
90
+ "square": {},
91
+ "rounded": {
97
92
  "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
98
93
  "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
99
94
  "B7oj6ja": ["f1jar5jt", "fyu767a"],
100
95
  "Btl43ni": ["fyu767a", "f1jar5jt"]
101
96
  },
102
- "rootRoundedSmallToTiny": {
97
+ "roundedSmallToTiny": {
103
98
  "Bbmb7ep": ["f1g3puop", "fi2rrw2"],
104
99
  "Beyfa6y": ["fi2rrw2", "f1g3puop"],
105
100
  "B7oj6ja": ["f1rstyi9", "f1s4nn1u"],
106
101
  "Btl43ni": ["f1s4nn1u", "f1rstyi9"]
107
102
  },
108
- "rootCircular": {
103
+ "circular": {
109
104
  "Bbmb7ep": ["fxyqdnz", "fib3qew"],
110
105
  "Beyfa6y": ["fib3qew", "fxyqdnz"],
111
106
  "B7oj6ja": ["f14p2bvz", "fdqj3q4"],
112
107
  "Btl43ni": ["fdqj3q4", "f14p2bvz"]
113
108
  },
114
- "rootGhost": {
115
- "De3pzq": "f3rmtva",
116
- "icvyot": "f1ern45e",
117
- "vrafjx": ["f1n71otn", "f1deefiw"],
118
- "oivjwe": "f1h8hb77",
119
- "wvpqe5": ["f1deefiw", "f1n71otn"],
120
- "sj55zd": "f1817uup"
109
+ "filled": {
110
+ "g2u3we": "fghlq4f",
111
+ "h3c5rm": ["f1gn591s", "fjscplz"],
112
+ "B9xav0g": "fb073pr",
113
+ "zhjwy3": ["fjscplz", "f1gn591s"]
121
114
  },
122
- "rootOutline": {
123
- "De3pzq": "f3rmtva",
115
+ "filled-brand": {
116
+ "De3pzq": "ffp7eso",
117
+ "sj55zd": "f1phragk",
124
118
  "g2u3we": "f1vp46cd",
125
119
  "h3c5rm": ["f1lxz1cr", "ff8nh0i"],
126
120
  "B9xav0g": "fe9j8it",
127
- "zhjwy3": ["ff8nh0i", "f1lxz1cr"],
128
- "sj55zd": "f1817uup"
129
- },
130
- "rootTint": {
131
- "De3pzq": "f16xkysk",
132
- "sj55zd": "faj9fo0",
133
- "g2u3we": "f161y7kd",
134
- "h3c5rm": ["f1c8dzaj", "f1sl6hi9"],
135
- "B9xav0g": "f1619yhw",
136
- "zhjwy3": ["f1sl6hi9", "f1c8dzaj"]
121
+ "zhjwy3": ["ff8nh0i", "f1lxz1cr"]
137
122
  },
138
- "rootFilledDanger": {
123
+ "filled-danger": {
139
124
  "De3pzq": "fdl5y0r",
140
125
  "sj55zd": "f1phragk",
141
126
  "g2u3we": "f11ttmz8",
@@ -143,51 +128,27 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
143
128
  "B9xav0g": "fvovscg",
144
129
  "zhjwy3": ["f459ikj", "f1ratw88"]
145
130
  },
146
- "rootOutlineDanger": {
147
- "sj55zd": "f1whyuy6",
148
- "g2u3we": "f1tg094z",
149
- "h3c5rm": ["f19abfc5", "f1cj97ds"],
150
- "B9xav0g": "f1i5u4jy",
151
- "zhjwy3": ["f1cj97ds", "f19abfc5"]
152
- },
153
- "rootTintDanger": {
154
- "De3pzq": "ff0poqj",
155
- "sj55zd": "f1hcrxcs",
156
- "g2u3we": "f1oqjm8o",
157
- "h3c5rm": ["fkgrb8g", "frb5wm0"],
158
- "B9xav0g": "f1iai1ph",
159
- "zhjwy3": ["frb5wm0", "fkgrb8g"]
131
+ "filled-important": {
132
+ "De3pzq": "f1c73kur",
133
+ "sj55zd": "fr0bkrk"
160
134
  },
161
- "rootGhostDanger": {
162
- "sj55zd": "f1whyuy6"
135
+ "filled-informative": {
136
+ "De3pzq": "f3vzo32",
137
+ "sj55zd": "f11d4kpn"
163
138
  },
164
- "rootFilledSevere": {
139
+ "filled-severe": {
165
140
  "De3pzq": "f1s438gw",
166
- "sj55zd": "f1phragk",
167
- "g2u3we": "fghlq4f",
168
- "h3c5rm": ["f1gn591s", "fjscplz"],
169
- "B9xav0g": "fb073pr",
170
- "zhjwy3": ["fjscplz", "f1gn591s"]
141
+ "sj55zd": "f1phragk"
171
142
  },
172
- "rootOutlineSevere": {
173
- "sj55zd": "f1l8vj45",
174
- "g2u3we": "f1wahxdx",
175
- "h3c5rm": ["fpbzgcg", "f1g7u8zt"],
176
- "B9xav0g": "f1wrnc4t",
177
- "zhjwy3": ["f1g7u8zt", "fpbzgcg"]
178
- },
179
- "rootTintSevere": {
180
- "De3pzq": "f1xzsg4",
181
- "sj55zd": "f1k5f75o",
182
- "g2u3we": "f18s257e",
183
- "h3c5rm": ["f13ptu4t", "fiwx4jo"],
184
- "B9xav0g": "f1geyuz0",
185
- "zhjwy3": ["fiwx4jo", "f13ptu4t"]
143
+ "filled-subtle": {
144
+ "De3pzq": "fxugw4r",
145
+ "sj55zd": "f19n0e5"
186
146
  },
187
- "rootGhostSevere": {
188
- "sj55zd": "f1l8vj45"
147
+ "filled-success": {
148
+ "De3pzq": "flxk52p",
149
+ "sj55zd": "f1phragk"
189
150
  },
190
- "rootFilledWarning": {
151
+ "filled-warning": {
191
152
  "De3pzq": "ffq97bm",
192
153
  "sj55zd": "f19n0e5",
193
154
  "g2u3we": "f1gyeiz5",
@@ -195,92 +156,100 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
195
156
  "B9xav0g": "f102bkgo",
196
157
  "zhjwy3": ["fd1epeu", "f1jnj1iq"]
197
158
  },
198
- "rootOutlineWarning": {
199
- "sj55zd": "fpti2h4",
200
- "g2u3we": "fbahunb",
201
- "h3c5rm": ["fa2hcp6", "f1cr20yc"],
202
- "B9xav0g": "f1fbl5g1",
203
- "zhjwy3": ["f1cr20yc", "fa2hcp6"]
159
+ "ghost": {
160
+ "icvyot": "f1ern45e",
161
+ "vrafjx": ["f1n71otn", "f1deefiw"],
162
+ "oivjwe": "f1h8hb77",
163
+ "wvpqe5": ["f1deefiw", "f1n71otn"]
204
164
  },
205
- "rootTintWarning": {
206
- "De3pzq": "f10s6hli",
207
- "sj55zd": "fpti2h4",
208
- "g2u3we": "f1e2bpek",
209
- "h3c5rm": ["fnu3uvp", "fdpwmi9"],
210
- "B9xav0g": "fk8fs0c",
211
- "zhjwy3": ["fdpwmi9", "fnu3uvp"]
165
+ "ghost-brand": {
166
+ "sj55zd": "f1817uup"
212
167
  },
213
- "rootGhostWarning": {
214
- "sj55zd": "fpti2h4"
168
+ "ghost-danger": {
169
+ "sj55zd": "f1whyuy6"
215
170
  },
216
- "rootFilledSuccess": {
217
- "De3pzq": "flxk52p",
218
- "sj55zd": "f1phragk",
219
- "g2u3we": "fghlq4f",
220
- "h3c5rm": ["f1gn591s", "fjscplz"],
221
- "B9xav0g": "fb073pr",
222
- "zhjwy3": ["fjscplz", "f1gn591s"]
171
+ "ghost-important": {
172
+ "sj55zd": "f19n0e5"
223
173
  },
224
- "rootOutlineSuccess": {
225
- "sj55zd": "f1sms7z7",
226
- "g2u3we": "f7obisw",
227
- "h3c5rm": ["f108f34s", "f1chpoyh"],
228
- "B9xav0g": "f1xtovf2",
229
- "zhjwy3": ["f1chpoyh", "f108f34s"]
174
+ "ghost-informative": {
175
+ "sj55zd": "f11d4kpn"
230
176
  },
231
- "rootTintSuccess": {
232
- "De3pzq": "f2vsrz6",
233
- "sj55zd": "ffmvakt",
234
- "g2u3we": "f3m3qtd",
235
- "h3c5rm": ["f1bjyn17", "fksln3n"],
236
- "B9xav0g": "frg4y0o",
237
- "zhjwy3": ["fksln3n", "f1bjyn17"]
177
+ "ghost-severe": {
178
+ "sj55zd": "f1l8vj45"
179
+ },
180
+ "ghost-subtle": {
181
+ "sj55zd": "fqpbvvt"
238
182
  },
239
- "rootGhostSuccess": {
183
+ "ghost-success": {
240
184
  "sj55zd": "f1m7fhi8"
241
185
  },
242
- "rootFilledImportant": {
243
- "De3pzq": "f1c73kur",
244
- "sj55zd": "fr0bkrk",
245
- "g2u3we": "fghlq4f",
246
- "h3c5rm": ["f1gn591s", "fjscplz"],
247
- "B9xav0g": "fb073pr",
248
- "zhjwy3": ["fjscplz", "f1gn591s"]
186
+ "ghost-warning": {
187
+ "sj55zd": "fpti2h4"
249
188
  },
250
- "rootOutlineImportant": {
189
+ "outline": {
190
+ "g2u3we": "f23ftbb",
191
+ "h3c5rm": ["f1gkuv52", "f1p1bl80"],
192
+ "B9xav0g": "fioka3i",
193
+ "zhjwy3": ["f1p1bl80", "f1gkuv52"]
194
+ },
195
+ "outline-brand": {
196
+ "sj55zd": "f1817uup"
197
+ },
198
+ "outline-danger": {
199
+ "sj55zd": "f1whyuy6"
200
+ },
201
+ "outline-important": {
251
202
  "sj55zd": "f11d4kpn",
252
203
  "g2u3we": "fq0vr37",
253
204
  "h3c5rm": ["f1byw159", "f11cr0be"],
254
205
  "B9xav0g": "f1c1zstj",
255
206
  "zhjwy3": ["f11cr0be", "f1byw159"]
256
207
  },
257
- "rootTintImportant": {
258
- "De3pzq": "f945g0u",
259
- "sj55zd": "fr0bkrk",
260
- "g2u3we": "fghlq4f",
261
- "h3c5rm": ["f1gn591s", "fjscplz"],
262
- "B9xav0g": "fb073pr",
263
- "zhjwy3": ["fjscplz", "f1gn591s"]
208
+ "outline-informative": {
209
+ "sj55zd": "f11d4kpn",
210
+ "g2u3we": "f68mrw8",
211
+ "h3c5rm": ["f7pw515", "fw35ms5"],
212
+ "B9xav0g": "frpde29",
213
+ "zhjwy3": ["fw35ms5", "f7pw515"]
264
214
  },
265
- "rootGhostImportant": {
266
- "sj55zd": "f19n0e5"
215
+ "outline-severe": {
216
+ "sj55zd": "f1l8vj45"
267
217
  },
268
- "rootFilledInformative": {
269
- "De3pzq": "f3vzo32",
270
- "sj55zd": "f11d4kpn",
218
+ "outline-subtle": {
219
+ "sj55zd": "fqpbvvt"
220
+ },
221
+ "outline-success": {
222
+ "sj55zd": "f1sms7z7"
223
+ },
224
+ "outline-warning": {
225
+ "sj55zd": "fpti2h4"
226
+ },
227
+ "tint": {},
228
+ "tint-brand": {
229
+ "De3pzq": "f16xkysk",
230
+ "sj55zd": "faj9fo0",
231
+ "g2u3we": "f161y7kd",
232
+ "h3c5rm": ["f1c8dzaj", "f1sl6hi9"],
233
+ "B9xav0g": "f1619yhw",
234
+ "zhjwy3": ["f1sl6hi9", "f1c8dzaj"]
235
+ },
236
+ "tint-danger": {
237
+ "De3pzq": "ff0poqj",
238
+ "sj55zd": "f1hcrxcs",
239
+ "g2u3we": "f1oqjm8o",
240
+ "h3c5rm": ["fkgrb8g", "frb5wm0"],
241
+ "B9xav0g": "f1iai1ph",
242
+ "zhjwy3": ["frb5wm0", "fkgrb8g"]
243
+ },
244
+ "tint-important": {
245
+ "De3pzq": "f945g0u",
246
+ "sj55zd": "fr0bkrk",
271
247
  "g2u3we": "fghlq4f",
272
248
  "h3c5rm": ["f1gn591s", "fjscplz"],
273
249
  "B9xav0g": "fb073pr",
274
250
  "zhjwy3": ["fjscplz", "f1gn591s"]
275
251
  },
276
- "rootOutlineInformative": {
277
- "sj55zd": "f11d4kpn",
278
- "g2u3we": "f68mrw8",
279
- "h3c5rm": ["f7pw515", "fw35ms5"],
280
- "B9xav0g": "frpde29",
281
- "zhjwy3": ["fw35ms5", "f7pw515"]
282
- },
283
- "rootTintInformative": {
252
+ "tint-informative": {
284
253
  "De3pzq": "f1ctqxl6",
285
254
  "sj55zd": "f11d4kpn",
286
255
  "g2u3we": "f68mrw8",
@@ -288,25 +257,15 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
288
257
  "B9xav0g": "frpde29",
289
258
  "zhjwy3": ["fw35ms5", "f7pw515"]
290
259
  },
291
- "rootGhostInformative": {
292
- "sj55zd": "f11d4kpn"
293
- },
294
- "rootFilledSubtle": {
295
- "De3pzq": "fxugw4r",
296
- "sj55zd": "f19n0e5",
297
- "g2u3we": "fghlq4f",
298
- "h3c5rm": ["f1gn591s", "fjscplz"],
299
- "B9xav0g": "fb073pr",
300
- "zhjwy3": ["fjscplz", "f1gn591s"]
301
- },
302
- "rootOutlineSubtle": {
303
- "sj55zd": "fqpbvvt",
304
- "g2u3we": "fgtodeh",
305
- "h3c5rm": ["fm9lria", "fvwj3xt"],
306
- "B9xav0g": "f7asi1z",
307
- "zhjwy3": ["fvwj3xt", "fm9lria"]
260
+ "tint-severe": {
261
+ "De3pzq": "f1xzsg4",
262
+ "sj55zd": "f1k5f75o",
263
+ "g2u3we": "f18s257e",
264
+ "h3c5rm": ["f13ptu4t", "fiwx4jo"],
265
+ "B9xav0g": "f1geyuz0",
266
+ "zhjwy3": ["fiwx4jo", "f13ptu4t"]
308
267
  },
309
- "rootTintSubtle": {
268
+ "tint-subtle": {
310
269
  "De3pzq": "fxugw4r",
311
270
  "sj55zd": "f11d4kpn",
312
271
  "g2u3we": "f68mrw8",
@@ -314,44 +273,70 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
314
273
  "B9xav0g": "frpde29",
315
274
  "zhjwy3": ["fw35ms5", "f7pw515"]
316
275
  },
317
- "rootGhostSubtle": {
318
- "sj55zd": "fqpbvvt"
276
+ "tint-success": {
277
+ "De3pzq": "f2vsrz6",
278
+ "sj55zd": "ffmvakt",
279
+ "g2u3we": "f3m3qtd",
280
+ "h3c5rm": ["f1bjyn17", "fksln3n"],
281
+ "B9xav0g": "frg4y0o",
282
+ "zhjwy3": ["fksln3n", "f1bjyn17"]
319
283
  },
320
- "icon": {
284
+ "tint-warning": {
285
+ "De3pzq": "f10s6hli",
286
+ "sj55zd": "fpti2h4",
287
+ "g2u3we": "f1e2bpek",
288
+ "h3c5rm": ["fnu3uvp", "fdpwmi9"],
289
+ "B9xav0g": "fk8fs0c",
290
+ "zhjwy3": ["fdpwmi9", "fnu3uvp"]
291
+ }
292
+ }, {
293
+ "d": [".ftuwxu6{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}", ".f1ewtqcl{box-sizing:border-box;}", ".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".f4d9j23{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f192inf7{border-top-width:var(--strokeWidthThin);}", ".f5tn483{border-right-width:var(--strokeWidthThin);}", ".f1ojsxk5{border-left-width:var(--strokeWidthThin);}", ".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".f10pi13n{position:relative;}", ".f16dn6v3{width:6px;}", ".f3mu39s{height:6px;}", ".f130uwy9{font-size:4px;}", ".fpd43o0{width:10px;}", ".f30q22z{height:10px;}", ".f1tccstq{font-size:6px;}", ".fq2vo04{min-width:16px;}", ".fd461yt{height:16px;}", ".fq1loh5{padding-top:2px;}", ".f12huiiw{padding-right:2px;}", ".f161knb0{padding-left:2px;}", ".futqtb8{padding-bottom:2px;}", ".f1q8lukm{-webkit-column-gap:4px;column-gap:4px;}", ".f1ma2n7n{row-gap:4px;}", ".f1n0apg3{font-size:8px;}", ".fjamq6b{height:20px;}", ".f11u7vat{min-width:20px;}", ".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".fnmn6fi{font-size:10px;}", ".f17fgpbq{min-width:24px;}", ".frvgh55{height:24px;}", ".f1ugzwwg{font-size:12px;}", ".fwbmr0d{min-width:32px;}", ".f1d2rq10{height:32px;}", ".f1xp5gbu{padding-top:6px;}", ".f1sgzk6v{padding-right:6px;}", ".f1bg5zqg{padding-left:6px;}", ".f1d7kygh{padding-bottom:6px;}", ".fgfbwa2{-webkit-column-gap:6px;column-gap:6px;}", ".f1y3hx6l{row-gap:6px;}", ".f18zi460{border-top-width:var(--strokeWidthThick);}", ".f1wpluaz{border-right-width:var(--strokeWidthThick);}", ".fsfsuhs{border-left-width:var(--strokeWidthThick);}", ".fmklw6v{border-bottom-width:var(--strokeWidthThick);}", ".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}", ".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}", ".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}", ".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}", ".f1g3puop{border-bottom-right-radius:var(--borderRadiusSmall);}", ".fi2rrw2{border-bottom-left-radius:var(--borderRadiusSmall);}", ".f1rstyi9{border-top-right-radius:var(--borderRadiusSmall);}", ".f1s4nn1u{border-top-left-radius:var(--borderRadiusSmall);}", ".fxyqdnz{border-bottom-right-radius:99px;}", ".fib3qew{border-bottom-left-radius:99px;}", ".f14p2bvz{border-top-right-radius:99px;}", ".fdqj3q4{border-top-left-radius:99px;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}", ".ffp7eso{background-color:var(--colorBrandBackground);}", ".f1phragk{color:var(--colorNeutralForegroundOnBrand);}", ".f1vp46cd{border-top-color:var(--colorBrandBackground);}", ".f1lxz1cr{border-right-color:var(--colorBrandBackground);}", ".ff8nh0i{border-left-color:var(--colorBrandBackground);}", ".fe9j8it{border-bottom-color:var(--colorBrandBackground);}", ".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}", ".f11ttmz8{border-top-color:var(--colorPaletteRedBackground3);}", ".f1ratw88{border-right-color:var(--colorPaletteRedBackground3);}", ".f459ikj{border-left-color:var(--colorPaletteRedBackground3);}", ".fvovscg{border-bottom-color:var(--colorPaletteRedBackground3);}", ".f1c73kur{background-color:var(--colorNeutralForeground1);}", ".fr0bkrk{color:var(--colorNeutralBackground1);}", ".f3vzo32{background-color:var(--colorNeutralBackground5);}", ".f11d4kpn{color:var(--colorNeutralForeground3);}", ".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".flxk52p{background-color:var(--colorPaletteGreenBackground3);}", ".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}", ".f1gyeiz5{border-top-color:var(--colorPaletteYellowBackground3);}", ".f1jnj1iq{border-right-color:var(--colorPaletteYellowBackground3);}", ".fd1epeu{border-left-color:var(--colorPaletteYellowBackground3);}", ".f102bkgo{border-bottom-color:var(--colorPaletteYellowBackground3);}", ".f1ern45e{border-top-style:none;}", ".f1n71otn{border-right-style:none;}", ".f1deefiw{border-left-style:none;}", ".f1h8hb77{border-bottom-style:none;}", ".f1817uup{color:var(--colorBrandBackground);}", ".f1whyuy6{color:var(--colorPaletteRedForeground3);}", ".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}", ".fpti2h4{color:var(--colorPaletteYellowForeground2);}", ".f23ftbb{border-top-color:currentColor;}", ".f1gkuv52{border-right-color:currentColor;}", ".f1p1bl80{border-left-color:currentColor;}", ".fioka3i{border-bottom-color:currentColor;}", ".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}", ".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}", ".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}", ".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}", ".f68mrw8{border-top-color:var(--colorNeutralStroke2);}", ".f7pw515{border-right-color:var(--colorNeutralStroke2);}", ".fw35ms5{border-left-color:var(--colorNeutralStroke2);}", ".frpde29{border-bottom-color:var(--colorNeutralStroke2);}", ".f1sms7z7{color:var(--colorPaletteGreenForeground2);}", ".f16xkysk{background-color:var(--colorBrandBackground2);}", ".faj9fo0{color:var(--colorBrandForeground2);}", ".f161y7kd{border-top-color:var(--colorBrandStroke2);}", ".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}", ".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}", ".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}", ".ff0poqj{background-color:var(--colorPaletteRedBackground1);}", ".f1hcrxcs{color:var(--colorPaletteRedForeground1);}", ".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}", ".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}", ".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}", ".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}", ".f945g0u{background-color:var(--colorNeutralForeground3);}", ".f1ctqxl6{background-color:var(--colorNeutralBackground4);}", ".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}", ".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}", ".f18s257e{border-top-color:var(--colorPaletteDarkOrangeForeground2);}", ".f13ptu4t{border-right-color:var(--colorPaletteDarkOrangeForeground2);}", ".fiwx4jo{border-left-color:var(--colorPaletteDarkOrangeForeground2);}", ".f1geyuz0{border-bottom-color:var(--colorPaletteDarkOrangeForeground2);}", ".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}", ".ffmvakt{color:var(--colorPaletteGreenForeground1);}", ".f3m3qtd{border-top-color:var(--colorPaletteGreenBackground2);}", ".f1bjyn17{border-right-color:var(--colorPaletteGreenBackground2);}", ".fksln3n{border-left-color:var(--colorPaletteGreenBackground2);}", ".frg4y0o{border-bottom-color:var(--colorPaletteGreenBackground2);}", ".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}", ".f1e2bpek{border-top-color:var(--colorPaletteYellowBackground2);}", ".fnu3uvp{border-right-color:var(--colorPaletteYellowBackground2);}", ".fdpwmi9{border-left-color:var(--colorPaletteYellowBackground2);}", ".fk8fs0c{border-bottom-color:var(--colorPaletteYellowBackground2);}"]
294
+ });
295
+
296
+ const useIconStyles = /*#__PURE__*/react_1.__styles({
297
+ "base": {
321
298
  "mc9l5x": "f22iagw",
322
299
  "Bmliigx": "fxe27oy",
323
300
  "Bt984gj": "f122n59",
324
301
  "Bqenvij": "f1l02sjl"
302
+ },
303
+ "tiny": {
304
+ "Be2twd7": "f1tccstq"
305
+ },
306
+ "extra-small": {
307
+ "Be2twd7": "fnmn6fi"
308
+ },
309
+ "small": {
310
+ "Be2twd7": "f1ugzwwg"
311
+ },
312
+ "medium": {
313
+ "Be2twd7": "f1ugzwwg"
314
+ },
315
+ "large": {
316
+ "Be2twd7": "f4ybsrx"
317
+ },
318
+ "extra-large": {
319
+ "Be2twd7": "fe5j1ua"
325
320
  }
326
321
  }, {
327
- "d": [".ftuwxu6{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}", ".f1ewtqcl{box-sizing:border-box;}", ".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".f4d9j23{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;}", ".ffp7eso{background-color:var(--colorBrandBackground);}", ".f1vp46cd{border-top-color:var(--colorBrandBackground);}", ".f1lxz1cr{border-right-color:var(--colorBrandBackground);}", ".ff8nh0i{border-left-color:var(--colorBrandBackground);}", ".fe9j8it{border-bottom-color:var(--colorBrandBackground);}", ".f1phragk{color:var(--colorNeutralForegroundOnBrand);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f192inf7{border-top-width:var(--strokeWidthThin);}", ".f5tn483{border-right-width:var(--strokeWidthThin);}", ".f1ojsxk5{border-left-width:var(--strokeWidthThin);}", ".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".f10pi13n{position:relative;}", ".f16dn6v3{width:6px;}", ".f3mu39s{height:6px;}", ".f130uwy9{font-size:4px;}", ".fpd43o0{width:10px;}", ".f30q22z{height:10px;}", ".f1tccstq{font-size:6px;}", ".fq2vo04{min-width:16px;}", ".fd461yt{height:16px;}", ".fq1loh5{padding-top:2px;}", ".f12huiiw{padding-right:2px;}", ".f161knb0{padding-left:2px;}", ".futqtb8{padding-bottom:2px;}", ".f1q8lukm{-webkit-column-gap:4px;column-gap:4px;}", ".f1ma2n7n{row-gap:4px;}", ".f1n0apg3{font-size:8px;}", ".fjamq6b{height:20px;}", ".f11u7vat{min-width:20px;}", ".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".fnmn6fi{font-size:10px;}", ".f17fgpbq{min-width:24px;}", ".frvgh55{height:24px;}", ".f1ugzwwg{font-size:12px;}", ".fwbmr0d{min-width:32px;}", ".f1d2rq10{height:32px;}", ".f1xp5gbu{padding-top:6px;}", ".f1sgzk6v{padding-right:6px;}", ".f1bg5zqg{padding-left:6px;}", ".f1d7kygh{padding-bottom:6px;}", ".fgfbwa2{-webkit-column-gap:6px;column-gap:6px;}", ".f1y3hx6l{row-gap:6px;}", ".f18zi460{border-top-width:var(--strokeWidthThick);}", ".f1wpluaz{border-right-width:var(--strokeWidthThick);}", ".fsfsuhs{border-left-width:var(--strokeWidthThick);}", ".fmklw6v{border-bottom-width:var(--strokeWidthThick);}", ".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}", ".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}", ".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}", ".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}", ".f1g3puop{border-bottom-right-radius:var(--borderRadiusSmall);}", ".fi2rrw2{border-bottom-left-radius:var(--borderRadiusSmall);}", ".f1rstyi9{border-top-right-radius:var(--borderRadiusSmall);}", ".f1s4nn1u{border-top-left-radius:var(--borderRadiusSmall);}", ".fxyqdnz{border-bottom-right-radius:99px;}", ".fib3qew{border-bottom-left-radius:99px;}", ".f14p2bvz{border-top-right-radius:99px;}", ".fdqj3q4{border-top-left-radius:99px;}", ".f3rmtva{background-color:transparent;}", ".f1ern45e{border-top-style:none;}", ".f1n71otn{border-right-style:none;}", ".f1deefiw{border-left-style:none;}", ".f1h8hb77{border-bottom-style:none;}", ".f1817uup{color:var(--colorBrandBackground);}", ".f16xkysk{background-color:var(--colorBrandBackground2);}", ".faj9fo0{color:var(--colorBrandForeground2);}", ".f161y7kd{border-top-color:var(--colorBrandStroke2);}", ".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}", ".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}", ".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}", ".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}", ".f11ttmz8{border-top-color:var(--colorPaletteRedBackground3);}", ".f1ratw88{border-right-color:var(--colorPaletteRedBackground3);}", ".f459ikj{border-left-color:var(--colorPaletteRedBackground3);}", ".fvovscg{border-bottom-color:var(--colorPaletteRedBackground3);}", ".f1whyuy6{color:var(--colorPaletteRedForeground3);}", ".f1tg094z{border-top-color:var(--colorPaletteRedForeground3);}", ".f19abfc5{border-right-color:var(--colorPaletteRedForeground3);}", ".f1cj97ds{border-left-color:var(--colorPaletteRedForeground3);}", ".f1i5u4jy{border-bottom-color:var(--colorPaletteRedForeground3);}", ".ff0poqj{background-color:var(--colorPaletteRedBackground1);}", ".f1hcrxcs{color:var(--colorPaletteRedForeground1);}", ".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}", ".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}", ".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}", ".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}", ".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}", ".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}", ".f1wahxdx{border-top-color:var(--colorPaletteDarkOrangeForeground3);}", ".fpbzgcg{border-right-color:var(--colorPaletteDarkOrangeForeground3);}", ".f1g7u8zt{border-left-color:var(--colorPaletteDarkOrangeForeground3);}", ".f1wrnc4t{border-bottom-color:var(--colorPaletteDarkOrangeForeground3);}", ".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}", ".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}", ".f18s257e{border-top-color:var(--colorPaletteDarkOrangeForeground2);}", ".f13ptu4t{border-right-color:var(--colorPaletteDarkOrangeForeground2);}", ".fiwx4jo{border-left-color:var(--colorPaletteDarkOrangeForeground2);}", ".f1geyuz0{border-bottom-color:var(--colorPaletteDarkOrangeForeground2);}", ".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".f1gyeiz5{border-top-color:var(--colorPaletteYellowBackground3);}", ".f1jnj1iq{border-right-color:var(--colorPaletteYellowBackground3);}", ".fd1epeu{border-left-color:var(--colorPaletteYellowBackground3);}", ".f102bkgo{border-bottom-color:var(--colorPaletteYellowBackground3);}", ".fpti2h4{color:var(--colorPaletteYellowForeground2);}", ".fbahunb{border-top-color:var(--colorPaletteYellowForeground2);}", ".fa2hcp6{border-right-color:var(--colorPaletteYellowForeground2);}", ".f1cr20yc{border-left-color:var(--colorPaletteYellowForeground2);}", ".f1fbl5g1{border-bottom-color:var(--colorPaletteYellowForeground2);}", ".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}", ".f1e2bpek{border-top-color:var(--colorPaletteYellowBackground2);}", ".fnu3uvp{border-right-color:var(--colorPaletteYellowBackground2);}", ".fdpwmi9{border-left-color:var(--colorPaletteYellowBackground2);}", ".fk8fs0c{border-bottom-color:var(--colorPaletteYellowBackground2);}", ".flxk52p{background-color:var(--colorPaletteGreenBackground3);}", ".f1sms7z7{color:var(--colorPaletteGreenForeground2);}", ".f7obisw{border-top-color:var(--colorPaletteGreenForeground2);}", ".f108f34s{border-right-color:var(--colorPaletteGreenForeground2);}", ".f1chpoyh{border-left-color:var(--colorPaletteGreenForeground2);}", ".f1xtovf2{border-bottom-color:var(--colorPaletteGreenForeground2);}", ".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}", ".ffmvakt{color:var(--colorPaletteGreenForeground1);}", ".f3m3qtd{border-top-color:var(--colorPaletteGreenBackground2);}", ".f1bjyn17{border-right-color:var(--colorPaletteGreenBackground2);}", ".fksln3n{border-left-color:var(--colorPaletteGreenBackground2);}", ".frg4y0o{border-bottom-color:var(--colorPaletteGreenBackground2);}", ".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}", ".f1c73kur{background-color:var(--colorNeutralForeground1);}", ".fr0bkrk{color:var(--colorNeutralBackground1);}", ".f11d4kpn{color:var(--colorNeutralForeground3);}", ".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}", ".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}", ".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}", ".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}", ".f945g0u{background-color:var(--colorNeutralForeground3);}", ".f3vzo32{background-color:var(--colorNeutralBackground5);}", ".f68mrw8{border-top-color:var(--colorNeutralStroke2);}", ".f7pw515{border-right-color:var(--colorNeutralStroke2);}", ".fw35ms5{border-left-color:var(--colorNeutralStroke2);}", ".frpde29{border-bottom-color:var(--colorNeutralStroke2);}", ".f1ctqxl6{background-color:var(--colorNeutralBackground4);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".fgtodeh{border-top-color:var(--colorNeutralForegroundInverted);}", ".fm9lria{border-right-color:var(--colorNeutralForegroundInverted);}", ".fvwj3xt{border-left-color:var(--colorNeutralForegroundInverted);}", ".f7asi1z{border-bottom-color:var(--colorNeutralForegroundInverted);}", ".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".fxe27oy{-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;}", ".f1l02sjl{height:100%;}"]
322
+ "d": [".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".fxe27oy{-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;}", ".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".f1l02sjl{height:100%;}", ".f1tccstq{font-size:6px;}", ".fnmn6fi{font-size:10px;}", ".f1ugzwwg{font-size:12px;}", ".f4ybsrx{font-size:16px;}", ".fe5j1ua{font-size:20px;}"]
328
323
  });
329
324
  /**
330
325
  * Applies style classnames to slots
331
326
  */
332
327
 
333
328
 
334
- const useBadgeStyles = state => {
335
- const styles = useStyles();
336
- const isGhost = state.appearance === 'ghost';
337
- const isOutline = state.appearance === 'outline';
338
- const isTint = state.appearance === 'tint';
339
- const isFilled = state.appearance === 'filled';
340
- const isDanger = state.color === 'danger';
341
- const isSevere = state.color === 'severe';
342
- const isWarning = state.color === 'warning';
343
- const isSuccess = state.color === 'success';
344
- const isImportant = state.color === 'important';
345
- const isInformative = state.color === 'informative';
346
- const isSubtle = state.color === 'subtle';
347
- state.root.className = react_make_styles_1.mergeClasses(exports.badgeClassName, styles.root, state.size === 'tiny' && styles.rootTiny, state.size === 'extra-small' && styles.rootExtraSmall, state.size === 'small' && styles.rootSmall, state.size === 'medium' && styles.rootMedium, state.size === 'large' && styles.rootLarge, state.size === 'extra-large' && styles.rootExtraLarge, state.shape === 'circular' && styles.rootCircular, state.shape === 'rounded' && styles.rootRounded, state.shape === 'rounded' && (state.size === 'small' || state.size === 'extra-small' || state.size === 'tiny') && styles.rootRoundedSmallToTiny, isGhost && styles.rootGhost, isOutline && styles.rootOutline, isTint && styles.rootTint, isFilled && isDanger && styles.rootFilledDanger, isOutline && isDanger && styles.rootOutlineDanger, isTint && isDanger && styles.rootTintDanger, isGhost && isDanger && styles.rootGhostDanger, isFilled && isSevere && styles.rootFilledSevere, isOutline && isSevere && styles.rootOutlineSevere, isTint && isSevere && styles.rootTintSevere, isGhost && isSevere && styles.rootGhostSevere, isFilled && isWarning && styles.rootFilledWarning, isOutline && isWarning && styles.rootOutlineWarning, isTint && isWarning && styles.rootTintWarning, isGhost && isWarning && styles.rootGhostWarning, isFilled && isSuccess && styles.rootFilledSuccess, isOutline && isSuccess && styles.rootOutlineSuccess, isTint && isSuccess && styles.rootTintSuccess, isGhost && isSuccess && styles.rootGhostSuccess, isFilled && isImportant && styles.rootFilledImportant, isOutline && isImportant && styles.rootOutlineImportant, isTint && isImportant && styles.rootTintImportant, isGhost && isImportant && styles.rootGhostImportant, isFilled && isInformative && styles.rootFilledInformative, isOutline && isInformative && styles.rootOutlineInformative, isTint && isInformative && styles.rootTintInformative, isGhost && isInformative && styles.rootGhostInformative, isFilled && isSubtle && styles.rootFilledSubtle, isOutline && isSubtle && styles.rootOutlineSubtle, isTint && isSubtle && styles.rootTintSubtle, isGhost && isSubtle && styles.rootGhostSubtle, state.root.className);
329
+ const useBadgeStyles_unstable = state => {
330
+ const rootStyles = useRootStyles();
331
+ state.root.className = react_1.mergeClasses(exports.badgeClassName, rootStyles.base, rootStyles[state.size], rootStyles[state.shape], state.shape === 'rounded' && (state.size === 'small' || state.size === 'extra-small' || state.size === 'tiny') && rootStyles.roundedSmallToTiny, rootStyles[state.appearance], rootStyles[`${state.appearance}-${state.color}`], state.root.className);
332
+ const iconStyles = useIconStyles();
348
333
 
349
334
  if (state.icon) {
350
- state.icon.className = react_make_styles_1.mergeClasses(styles.icon, state.icon.className);
335
+ state.icon.className = react_1.mergeClasses(iconStyles.base, iconStyles[state.size], state.icon.className);
351
336
  }
352
337
 
353
338
  return state;
354
339
  };
355
340
 
356
- exports.useBadgeStyles = useBadgeStyles;
341
+ exports.useBadgeStyles_unstable = useBadgeStyles_unstable;
357
342
  //# sourceMappingURL=useBadgeStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Badge/useBadgeStyles.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAGa,OAAA,CAAA,cAAA,GAAiB,WAAjB;;AA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A;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAtB;AA8BA;;AAEG;;;AACI,MAAM,uBAAuB,GAAI,KAAD,IAAkC;AACvE,QAAM,UAAU,GAAG,aAAa,EAAhC;AAEA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,OAAA,CAAA,YAAA,CACrB,OAAA,CAAA,cADqB,EAErB,UAAU,CAAC,IAFU,EAGrB,UAAU,CAAC,KAAK,CAAC,IAAP,CAHW,EAIrB,UAAU,CAAC,KAAK,CAAC,KAAP,CAJW,EAKrB,KAAK,CAAC,KAAN,KAAgB,SAAhB,KACG,KAAK,CAAC,IAAN,KAAe,OAAf,IAA0B,KAAK,CAAC,IAAN,KAAe,aAAzC,IAA0D,KAAK,CAAC,IAAN,KAAe,MAD5E,KAEE,UAAU,CAAC,kBAPQ,EAQrB,UAAU,CAAC,KAAK,CAAC,UAAP,CARW,EASrB,UAAU,CAAC,GAAG,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,KAAK,EAAnC,CATW,EAUrB,KAAK,CAAC,IAAN,CAAW,SAVU,CAAvB;AAaA,QAAM,UAAU,GAAG,aAAa,EAAhC;;AACA,MAAI,KAAK,CAAC,IAAV,EAAgB;AACd,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,OAAA,CAAA,YAAA,CAAa,UAAU,CAAC,IAAxB,EAA8B,UAAU,CAAC,KAAK,CAAC,IAAP,CAAxC,EAAsD,KAAK,CAAC,IAAN,CAAW,SAAjE,CAAvB;AACD;;AAED,SAAO,KAAP;AACD,CAtBM;;AAAM,OAAA,CAAA,uBAAA,GAAuB,uBAAvB","sourcesContent":["import { shorthands, mergeClasses, makeStyles } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { BadgeState } from './Badge.types';\n\nexport const badgeClassName = 'fui-Badge';\n\nconst useRootStyles = makeStyles({\n base: {\n display: 'inline-flex',\n boxSizing: 'border-box',\n alignItems: 'center',\n justifyContent: 'center',\n fontWeight: tokens.fontWeightSemibold,\n ...shorthands.borderWidth(tokens.strokeWidthThin),\n ...shorthands.borderStyle('solid'),\n fontFamily: tokens.fontFamilyBase,\n position: 'relative',\n },\n\n // size\n\n tiny: {\n width: '6px',\n height: '6px',\n fontSize: '4px',\n },\n 'extra-small': {\n width: '10px',\n height: '10px',\n fontSize: '6px',\n },\n small: {\n minWidth: '16px',\n height: '16px',\n ...shorthands.padding('2px'),\n ...shorthands.gap('4px'),\n fontSize: '8px',\n },\n medium: {\n height: '20px',\n minWidth: '20px',\n ...shorthands.gap('4px'),\n ...shorthands.padding('4px'),\n fontSize: '10px',\n },\n large: {\n minWidth: '24px',\n height: '24px',\n ...shorthands.padding('4px'),\n fontSize: '12px',\n ...shorthands.gap('4px'),\n },\n 'extra-large': {\n minWidth: '32px',\n height: '32px',\n ...shorthands.padding('6px'),\n ...shorthands.gap('6px'),\n fontSize: '12px',\n ...shorthands.borderWidth(tokens.strokeWidthThick),\n },\n\n // shape\n\n square: {\n // Default border radius\n },\n rounded: {\n ...shorthands.borderRadius(tokens.borderRadiusMedium),\n },\n roundedSmallToTiny: {\n ...shorthands.borderRadius(tokens.borderRadiusSmall),\n },\n circular: {\n ...shorthands.borderRadius('99px'),\n },\n\n // appearance: filled\n\n filled: {\n ...shorthands.borderColor(tokens.colorTransparentStroke),\n },\n 'filled-brand': {\n backgroundColor: tokens.colorBrandBackground,\n color: tokens.colorNeutralForegroundOnBrand,\n ...shorthands.borderColor(tokens.colorBrandBackground),\n },\n 'filled-danger': {\n backgroundColor: tokens.colorPaletteRedBackground3,\n color: tokens.colorNeutralForegroundOnBrand,\n ...shorthands.borderColor(tokens.colorPaletteRedBackground3),\n },\n 'filled-important': {\n backgroundColor: tokens.colorNeutralForeground1,\n color: tokens.colorNeutralBackground1,\n },\n 'filled-informative': {\n backgroundColor: tokens.colorNeutralBackground5,\n color: tokens.colorNeutralForeground3,\n },\n 'filled-severe': {\n backgroundColor: tokens.colorPaletteDarkOrangeBackground3,\n color: tokens.colorNeutralForegroundOnBrand,\n },\n 'filled-subtle': {\n backgroundColor: tokens.colorNeutralBackground1,\n color: tokens.colorNeutralForeground1,\n },\n 'filled-success': {\n backgroundColor: tokens.colorPaletteGreenBackground3,\n color: tokens.colorNeutralForegroundOnBrand,\n },\n 'filled-warning': {\n backgroundColor: tokens.colorPaletteYellowBackground3,\n color: tokens.colorNeutralForeground1,\n ...shorthands.borderColor(tokens.colorPaletteYellowBackground3),\n },\n\n // appearance: ghost\n\n ghost: {\n ...shorthands.borderStyle('none'),\n },\n 'ghost-brand': {\n color: tokens.colorBrandBackground,\n },\n 'ghost-danger': {\n color: tokens.colorPaletteRedForeground3,\n },\n 'ghost-important': {\n color: tokens.colorNeutralForeground1,\n },\n 'ghost-informative': {\n color: tokens.colorNeutralForeground3,\n },\n 'ghost-severe': {\n color: tokens.colorPaletteDarkOrangeForeground3,\n },\n 'ghost-subtle': {\n color: tokens.colorNeutralForegroundInverted,\n },\n 'ghost-success': {\n color: tokens.colorPaletteGreenForeground3,\n },\n 'ghost-warning': {\n color: tokens.colorPaletteYellowForeground2,\n },\n\n // appearance: outline\n\n outline: {\n ...shorthands.borderColor('currentColor'),\n },\n 'outline-brand': {\n color: tokens.colorBrandBackground,\n },\n 'outline-danger': {\n color: tokens.colorPaletteRedForeground3,\n },\n 'outline-important': {\n color: tokens.colorNeutralForeground3,\n ...shorthands.borderColor(tokens.colorNeutralStrokeAccessible),\n },\n 'outline-informative': {\n color: tokens.colorNeutralForeground3,\n ...shorthands.borderColor(tokens.colorNeutralStroke2),\n },\n 'outline-severe': {\n color: tokens.colorPaletteDarkOrangeForeground3,\n },\n 'outline-subtle': {\n color: tokens.colorNeutralForegroundInverted,\n },\n 'outline-success': {\n color: tokens.colorPaletteGreenForeground2,\n },\n 'outline-warning': {\n color: tokens.colorPaletteYellowForeground2,\n },\n\n // appearance: tint\n\n tint: {\n // No shared colors between tint appearances\n },\n 'tint-brand': {\n backgroundColor: tokens.colorBrandBackground2,\n color: tokens.colorBrandForeground2,\n ...shorthands.borderColor(tokens.colorBrandStroke2),\n },\n 'tint-danger': {\n backgroundColor: tokens.colorPaletteRedBackground1,\n color: tokens.colorPaletteRedForeground1,\n ...shorthands.borderColor(tokens.colorPaletteRedBorder1),\n },\n 'tint-important': {\n backgroundColor: tokens.colorNeutralForeground3,\n color: tokens.colorNeutralBackground1,\n ...shorthands.borderColor(tokens.colorTransparentStroke),\n },\n 'tint-informative': {\n backgroundColor: tokens.colorNeutralBackground4,\n color: tokens.colorNeutralForeground3,\n ...shorthands.borderColor(tokens.colorNeutralStroke2),\n },\n 'tint-severe': {\n backgroundColor: tokens.colorPaletteDarkOrangeBackground1,\n color: tokens.colorPaletteDarkOrangeForeground1,\n ...shorthands.borderColor(tokens.colorPaletteDarkOrangeForeground2),\n },\n 'tint-subtle': {\n backgroundColor: tokens.colorNeutralBackground1,\n color: tokens.colorNeutralForeground3,\n ...shorthands.borderColor(tokens.colorNeutralStroke2),\n },\n 'tint-success': {\n backgroundColor: tokens.colorPaletteGreenBackground1,\n color: tokens.colorPaletteGreenForeground1,\n ...shorthands.borderColor(tokens.colorPaletteGreenBackground2),\n },\n 'tint-warning': {\n backgroundColor: tokens.colorPaletteYellowBackground1,\n color: tokens.colorPaletteYellowForeground2,\n ...shorthands.borderColor(tokens.colorPaletteYellowBackground2),\n },\n});\n\nconst useIconStyles = makeStyles({\n base: {\n display: 'flex',\n alignContent: 'center',\n alignItems: 'center',\n height: '100%',\n },\n\n // size\n\n tiny: {\n fontSize: '6px',\n },\n 'extra-small': {\n fontSize: '10px',\n },\n small: {\n fontSize: '12px',\n },\n medium: {\n fontSize: '12px',\n },\n large: {\n fontSize: '16px',\n },\n 'extra-large': {\n fontSize: '20px',\n },\n});\n\n/**\n * Applies style classnames to slots\n */\nexport const useBadgeStyles_unstable = (state: BadgeState): BadgeState => {\n const rootStyles = useRootStyles();\n\n state.root.className = mergeClasses(\n badgeClassName,\n rootStyles.base,\n rootStyles[state.size],\n rootStyles[state.shape],\n state.shape === 'rounded' &&\n (state.size === 'small' || state.size === 'extra-small' || state.size === 'tiny') &&\n rootStyles.roundedSmallToTiny,\n rootStyles[state.appearance],\n rootStyles[`${state.appearance}-${state.color}` as const],\n state.root.className,\n );\n\n const iconStyles = useIconStyles();\n if (state.icon) {\n state.icon.className = mergeClasses(iconStyles.base, iconStyles[state.size], state.icon.className);\n }\n\n return state;\n};\n"],"sourceRoot":"../src/"}
@@ -1,6 +1,6 @@
1
1
  import type { CounterBadgeProps } from './CounterBadge.types';
2
2
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
3
3
  /**
4
- * Define a styled CounterBadge, using the `useCounterBadge` hook.
4
+ * Define a styled CounterBadge, using the `useCounterBadge_unstable` hook.
5
5
  */
6
6
  export declare const CounterBadge: ForwardRefComponent<CounterBadgeProps>;
@@ -13,14 +13,14 @@ const useCounterBadgeStyles_1 = /*#__PURE__*/require("./useCounterBadgeStyles");
13
13
 
14
14
  const index_1 = /*#__PURE__*/require("../Badge/index");
15
15
  /**
16
- * Define a styled CounterBadge, using the `useCounterBadge` hook.
16
+ * Define a styled CounterBadge, using the `useCounterBadge_unstable` hook.
17
17
  */
18
18
 
19
19
 
20
20
  exports.CounterBadge = /*#__PURE__*/React.forwardRef((props, ref) => {
21
- const state = useCounterBadge_1.useCounterBadge(props, ref);
22
- useCounterBadgeStyles_1.useCounterBadgeStyles(state);
23
- return index_1.renderBadge(state);
21
+ const state = useCounterBadge_1.useCounterBadge_unstable(props, ref);
22
+ useCounterBadgeStyles_1.useCounterBadgeStyles_unstable(state);
23
+ return index_1.renderBadge_unstable(state);
24
24
  });
25
25
  exports.CounterBadge.displayName = 'CounterBadge';
26
26
  //# sourceMappingURL=CounterBadge.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/CounterBadge/CounterBadge.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,mBAAA,CAAA;;AACA,MAAA,uBAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,YAAA,gBAAuD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAClG,QAAM,KAAK,GAAG,iBAAA,CAAA,eAAA,CAAgB,KAAhB,EAAuB,GAAvB,CAAd;AACA,EAAA,uBAAA,CAAA,qBAAA,CAAsB,KAAtB;AAEA,SAAO,OAAA,CAAA,WAAA,CAAY,KAAZ,CAAP;AACD,CALmE,CAAvD;AAOb,OAAA,CAAA,YAAA,CAAa,WAAb,GAA2B,cAA3B","sourceRoot":""}
1
+ {"version":3,"sources":["components/CounterBadge/CounterBadge.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,mBAAA,CAAA;;AACA,MAAA,uBAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,YAAA,gBAAuD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAClG,QAAM,KAAK,GAAG,iBAAA,CAAA,wBAAA,CAAyB,KAAzB,EAAgC,GAAhC,CAAd;AACA,EAAA,uBAAA,CAAA,8BAAA,CAA+B,KAA/B;AAEA,SAAO,OAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CALmE,CAAvD;AAOb,OAAA,CAAA,YAAA,CAAa,WAAb,GAA2B,cAA3B","sourcesContent":["import * as React from 'react';\nimport { useCounterBadge_unstable } from './useCounterBadge';\nimport { useCounterBadgeStyles_unstable } from './useCounterBadgeStyles';\nimport { renderBadge_unstable } from '../Badge/index';\nimport type { CounterBadgeProps } from './CounterBadge.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * Define a styled CounterBadge, using the `useCounterBadge_unstable` hook.\n */\nexport const CounterBadge: ForwardRefComponent<CounterBadgeProps> = React.forwardRef((props, ref) => {\n const state = useCounterBadge_unstable(props, ref);\n useCounterBadgeStyles_unstable(state);\n\n return renderBadge_unstable(state);\n});\n\nCounterBadge.displayName = 'CounterBadge';\n"],"sourceRoot":"../src/"}
@@ -1,5 +1,5 @@
1
1
  import type { BadgeProps, BadgeState } from '../Badge/index';
2
- export declare type CounterBadgeCommons = {
2
+ declare type CounterBadgeCommons = {
3
3
  /**
4
4
  * Max number to be displayed
5
5
  * @default 99
@@ -38,3 +38,4 @@ export declare type CounterBadgeCommons = {
38
38
  };
39
39
  export declare type CounterBadgeProps = Omit<BadgeProps, 'appearance' | 'shape' | 'color'> & Partial<CounterBadgeCommons>;
40
40
  export declare type CounterBadgeState = Omit<BadgeState, 'appearance' | 'shape' | 'color'> & CounterBadgeCommons;
41
+ export {};
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"../src/"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/CounterBadge/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,gBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,sBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,mBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA","sourceRoot":""}
1
+ {"version":3,"sources":["components/CounterBadge/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,gBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,sBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,mBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './CounterBadge';\nexport * from './CounterBadge.types';\nexport * from './useCounterBadge';\nexport * from './useCounterBadgeStyles';\n"],"sourceRoot":"../src/"}