@fluentui/react-alert 9.0.0-beta.121 → 9.0.0-beta.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -4
- package/lib/components/Alert/useAlertStyles.styles.js +59 -33
- package/lib/components/Alert/useAlertStyles.styles.js.map +1 -1
- package/lib-commonjs/components/Alert/useAlertStyles.styles.js +94 -118
- package/lib-commonjs/components/Alert/useAlertStyles.styles.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,45 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-alert
|
|
2
2
|
|
|
3
|
-
This log was last generated on Thu,
|
|
3
|
+
This log was last generated on Thu, 23 May 2024 07:57:51 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.0.0-beta.123](https://github.com/microsoft/fluentui/tree/@fluentui/react-alert_v9.0.0-beta.123)
|
|
8
|
+
|
|
9
|
+
Thu, 23 May 2024 07:57:51 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-alert_v9.0.0-beta.122..@fluentui/react-alert_v9.0.0-beta.123)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- chore: replace usage of .shorthands() in styles ([PR #31458](https://github.com/microsoft/fluentui/pull/31458) by olfedias@microsoft.com)
|
|
15
|
+
- Bump @fluentui/react-avatar to v9.6.28 ([commit](https://github.com/microsoft/fluentui/commit/10e6758b203de79c53ce31ba264e137f83f50ff4) by beachball)
|
|
16
|
+
- Bump @fluentui/react-button to v9.3.82 ([commit](https://github.com/microsoft/fluentui/commit/10e6758b203de79c53ce31ba264e137f83f50ff4) by beachball)
|
|
17
|
+
- Bump @fluentui/react-tabster to v9.21.4 ([commit](https://github.com/microsoft/fluentui/commit/10e6758b203de79c53ce31ba264e137f83f50ff4) by beachball)
|
|
18
|
+
|
|
19
|
+
## [9.0.0-beta.122](https://github.com/microsoft/fluentui/tree/@fluentui/react-alert_v9.0.0-beta.122)
|
|
20
|
+
|
|
21
|
+
Mon, 20 May 2024 12:44:51 GMT
|
|
22
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-alert_v9.0.0-beta.121..@fluentui/react-alert_v9.0.0-beta.122)
|
|
23
|
+
|
|
24
|
+
### Changes
|
|
25
|
+
|
|
26
|
+
- chore: bump @griffel/react ([PR #31258](https://github.com/microsoft/fluentui/pull/31258) by olfedias@microsoft.com)
|
|
27
|
+
- Bump @fluentui/react-avatar to v9.6.27 ([PR #26682](https://github.com/microsoft/fluentui/pull/26682) by beachball)
|
|
28
|
+
- Bump @fluentui/react-button to v9.3.81 ([PR #26682](https://github.com/microsoft/fluentui/pull/26682) by beachball)
|
|
29
|
+
- Bump @fluentui/react-tabster to v9.21.3 ([PR #26682](https://github.com/microsoft/fluentui/pull/26682) by beachball)
|
|
30
|
+
- Bump @fluentui/react-utilities to v9.18.9 ([PR #26682](https://github.com/microsoft/fluentui/pull/26682) by beachball)
|
|
31
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.38 ([PR #26682](https://github.com/microsoft/fluentui/pull/26682) by beachball)
|
|
32
|
+
|
|
7
33
|
## [9.0.0-beta.121](https://github.com/microsoft/fluentui/tree/@fluentui/react-alert_v9.0.0-beta.121)
|
|
8
34
|
|
|
9
|
-
Thu, 16 May 2024 09:
|
|
35
|
+
Thu, 16 May 2024 09:25:11 GMT
|
|
10
36
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-alert_v9.0.0-beta.120..@fluentui/react-alert_v9.0.0-beta.121)
|
|
11
37
|
|
|
12
38
|
### Changes
|
|
13
39
|
|
|
14
40
|
- chore: Upgrade react-icons version to 2.0.239 to pick up provider export map fix. ([PR #31287](https://github.com/microsoft/fluentui/pull/31287) by ololubek@microsoft.com)
|
|
15
|
-
- Bump @fluentui/react-avatar to v9.6.26 ([
|
|
16
|
-
- Bump @fluentui/react-button to v9.3.80 ([
|
|
41
|
+
- Bump @fluentui/react-avatar to v9.6.26 ([PR #31390](https://github.com/microsoft/fluentui/pull/31390) by beachball)
|
|
42
|
+
- Bump @fluentui/react-button to v9.3.80 ([PR #31390](https://github.com/microsoft/fluentui/pull/31390) by beachball)
|
|
17
43
|
|
|
18
44
|
## [9.0.0-beta.120](https://github.com/microsoft/fluentui/tree/@fluentui/react-alert_v9.0.0-beta.120)
|
|
19
45
|
|
|
@@ -13,26 +13,33 @@ const useStyles = /*#__PURE__*/__styles({
|
|
|
13
13
|
mc9l5x: "f22iagw",
|
|
14
14
|
Bt984gj: "f122n59",
|
|
15
15
|
sshi5w: "f5pgtk9",
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
Beyfa6y:
|
|
22
|
-
|
|
23
|
-
Btl43ni:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
16
|
+
Byoj8tv: 0,
|
|
17
|
+
uwmqm3: 0,
|
|
18
|
+
z189sj: 0,
|
|
19
|
+
z8tnut: 0,
|
|
20
|
+
B0ocmuz: "f1oic3e7",
|
|
21
|
+
Beyfa6y: 0,
|
|
22
|
+
Bbmb7ep: 0,
|
|
23
|
+
Btl43ni: 0,
|
|
24
|
+
B7oj6ja: 0,
|
|
25
|
+
Dimara: "ff3glw6",
|
|
26
|
+
Bgfg5da: 0,
|
|
27
|
+
B9xav0g: 0,
|
|
28
|
+
oivjwe: 0,
|
|
29
|
+
Bn0qgzm: 0,
|
|
30
|
+
B4g9neb: 0,
|
|
31
|
+
zhjwy3: 0,
|
|
32
|
+
wvpqe5: 0,
|
|
33
|
+
ibv6hh: 0,
|
|
34
|
+
u1mtju: 0,
|
|
35
|
+
h3c5rm: 0,
|
|
36
|
+
vrafjx: 0,
|
|
37
|
+
Bekrc4i: 0,
|
|
38
|
+
i8vvqc: 0,
|
|
39
|
+
g2u3we: 0,
|
|
40
|
+
icvyot: 0,
|
|
41
|
+
B4j52fo: 0,
|
|
42
|
+
irswps: "f9ggezi",
|
|
36
43
|
E5pizo: "fz58gqq",
|
|
37
44
|
Be2twd7: "fkhj508",
|
|
38
45
|
Bhrd7zp: "fl43uef",
|
|
@@ -46,28 +53,47 @@ const useStyles = /*#__PURE__*/__styles({
|
|
|
46
53
|
icon: {
|
|
47
54
|
Bqenvij: "fd461yt",
|
|
48
55
|
Be2twd7: "f4ybsrx",
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
56
|
+
Byoj8tv: 0,
|
|
57
|
+
uwmqm3: 0,
|
|
58
|
+
z189sj: 0,
|
|
59
|
+
z8tnut: 0,
|
|
60
|
+
B0ocmuz: ["fhivll6", "f1cgepy8"]
|
|
53
61
|
},
|
|
54
62
|
avatar: {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
63
|
+
jrapky: 0,
|
|
64
|
+
Frg6f3: 0,
|
|
65
|
+
t21cq0: 0,
|
|
66
|
+
B6of3ja: 0,
|
|
67
|
+
B74szlk: ["fxal17o", "ftghr3s"]
|
|
59
68
|
},
|
|
60
69
|
action: {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
70
|
+
Byoj8tv: 0,
|
|
71
|
+
uwmqm3: 0,
|
|
72
|
+
z189sj: 0,
|
|
73
|
+
z8tnut: 0,
|
|
74
|
+
B0ocmuz: "f4jnnbt",
|
|
65
75
|
Bf4jedk: "fy77jfu",
|
|
66
76
|
Frg6f3: ["fcgxt0o", "f1ujusj6"],
|
|
67
77
|
sj55zd: "f16muhyy"
|
|
68
78
|
}
|
|
69
79
|
}, {
|
|
70
|
-
d: [".f22iagw{display:flex;}", ".f122n59{align-items:center;}", ".f5pgtk9{min-height:44px;}", ".
|
|
80
|
+
d: [".f22iagw{display:flex;}", ".f122n59{align-items:center;}", ".f5pgtk9{min-height:44px;}", [".f1oic3e7{padding:0 12px;}", {
|
|
81
|
+
p: -1
|
|
82
|
+
}], [".ff3glw6{border-radius:4px;}", {
|
|
83
|
+
p: -1
|
|
84
|
+
}], [".f9ggezi{border:1px solid var(--colorTransparentStroke);}", {
|
|
85
|
+
p: -2
|
|
86
|
+
}], ".fz58gqq{box-shadow:var(--shadow8);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}", ".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}", ".fd461yt{height:16px;}", ".f4ybsrx{font-size:16px;}", [".fhivll6{padding:0 8px 0 0;}", {
|
|
87
|
+
p: -1
|
|
88
|
+
}], [".f1cgepy8{padding:0 0 0 8px;}", {
|
|
89
|
+
p: -1
|
|
90
|
+
}], [".fxal17o{margin:0 8px 0 0;}", {
|
|
91
|
+
p: -1
|
|
92
|
+
}], [".ftghr3s{margin:0 0 0 8px;}", {
|
|
93
|
+
p: -1
|
|
94
|
+
}], [".f4jnnbt{padding:5px 10px;}", {
|
|
95
|
+
p: -1
|
|
96
|
+
}], ".fy77jfu{min-width:0;}", ".fcgxt0o{margin-left:auto;}", ".f1ujusj6{margin-right:auto;}", ".f16muhyy{color:var(--colorBrandForeground1);}"]
|
|
71
97
|
});
|
|
72
98
|
const useIntentIconStyles = /*#__PURE__*/__styles({
|
|
73
99
|
success: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["tokens","__styles","mergeClasses","shorthands","createCustomFocusIndicatorStyle","alertClassNames","root","icon","action","avatar","useStyles","mc9l5x","Bt984gj","sshi5w","
|
|
1
|
+
{"version":3,"names":["tokens","__styles","mergeClasses","shorthands","createCustomFocusIndicatorStyle","alertClassNames","root","icon","action","avatar","useStyles","mc9l5x","Bt984gj","sshi5w","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","Beyfa6y","Bbmb7ep","Btl43ni","B7oj6ja","Dimara","Bgfg5da","B9xav0g","oivjwe","Bn0qgzm","B4g9neb","zhjwy3","wvpqe5","ibv6hh","u1mtju","h3c5rm","vrafjx","Bekrc4i","i8vvqc","g2u3we","icvyot","B4j52fo","irswps","E5pizo","Be2twd7","Bhrd7zp","sj55zd","De3pzq","inverted","Bqenvij","jrapky","Frg6f3","t21cq0","B6of3ja","B74szlk","Bf4jedk","d","p","useIntentIconStyles","success","error","warning","info","useIntentIconStylesInverted","useActionButtonColorInverted","B8q5s1w","Bci5o5g","n8qw10","Bdrgwmp","Bfpq7zp","useAlertStyles_unstable","state","appearance","styles","intentIconStylesPrimary","intentIconStylesInverted","actionStylesInverted","className","intent"],"sources":["useAlertStyles.styles.js"],"sourcesContent":["import { tokens } from '@fluentui/react-theme';\nimport { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';\n// eslint-disable-next-line deprecation/deprecation\nexport const alertClassNames = {\n root: 'fui-Alert',\n icon: 'fui-Alert__icon',\n action: 'fui-Alert__action',\n avatar: 'fui-Alert__avatar'\n};\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n minHeight: '44px',\n padding: '0 12px',\n borderRadius: '4px',\n border: `1px solid ${tokens.colorTransparentStroke}`,\n boxShadow: tokens.shadow8,\n fontSize: tokens.fontSizeBase300,\n fontWeight: tokens.fontWeightSemibold,\n color: tokens.colorNeutralForeground1,\n backgroundColor: tokens.colorNeutralBackground1\n },\n inverted: {\n color: tokens.colorNeutralForegroundInverted2,\n backgroundColor: tokens.colorNeutralBackgroundInverted\n },\n icon: {\n height: '16px',\n fontSize: '16px',\n padding: '0 8px 0 0'\n },\n avatar: {\n margin: '0 8px 0 0'\n },\n action: {\n padding: '5px 10px',\n minWidth: 0,\n marginLeft: 'auto',\n color: tokens.colorBrandForeground1\n }\n});\nconst useIntentIconStyles = makeStyles({\n success: {\n color: tokens.colorPaletteGreenForeground3\n },\n error: {\n color: tokens.colorPaletteRedForeground3\n },\n warning: {\n color: tokens.colorPaletteYellowForeground2\n },\n info: {\n color: tokens.colorNeutralForeground2\n }\n});\nconst useIntentIconStylesInverted = makeStyles({\n success: {\n color: tokens.colorPaletteGreenForegroundInverted\n },\n error: {\n color: tokens.colorPaletteRedForegroundInverted\n },\n warning: {\n color: tokens.colorPaletteYellowForegroundInverted\n },\n info: {\n color: tokens.colorNeutralForegroundInverted2\n }\n});\nconst useActionButtonColorInverted = makeStyles({\n action: {\n color: tokens.colorBrandForegroundInverted,\n ...createCustomFocusIndicatorStyle({\n ...shorthands.borderColor(tokens.colorTransparentStrokeInteractive),\n outlineColor: tokens.colorNeutralBackground5Pressed\n }, {\n enableOutline: true\n })\n }\n});\n/**\n * @deprecated please use the Toast or MessageBar component\n * Apply styling to the Alert slots based on the state\n */ // eslint-disable-next-line deprecation/deprecation\nexport const useAlertStyles_unstable = (state)=>{\n const inverted = state.appearance === 'inverted';\n const styles = useStyles();\n const intentIconStylesPrimary = useIntentIconStyles();\n const intentIconStylesInverted = useIntentIconStylesInverted();\n const actionStylesInverted = useActionButtonColorInverted();\n state.root.className = mergeClasses(alertClassNames.root, styles.root, inverted && styles.inverted, state.root.className);\n if (state.icon) {\n state.icon.className = mergeClasses(alertClassNames.icon, styles.icon, state.intent && (inverted ? intentIconStylesInverted[state.intent] : intentIconStylesPrimary[state.intent]), state.icon.className);\n }\n if (state.avatar) {\n state.avatar.className = mergeClasses(alertClassNames.avatar, styles.avatar, state.avatar.className);\n }\n if (state.action) {\n // Note: inverted && actionStylesInverted.action has the highest piority and must be merged last\n state.action.className = mergeClasses(alertClassNames.action, styles.action, inverted && actionStylesInverted.action, state.action.className);\n }\n return state;\n};\n"],"mappings":"AAAA,SAASA,MAAM,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|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
Bekrc4i: [
|
|
59
|
-
"f1hqa2wf",
|
|
60
|
-
"finvdd3"
|
|
61
|
-
],
|
|
62
|
-
Bn0qgzm: "f1f09k3d",
|
|
63
|
-
ibv6hh: [
|
|
64
|
-
"finvdd3",
|
|
65
|
-
"f1hqa2wf"
|
|
66
|
-
],
|
|
67
|
-
icvyot: "fzkkow9",
|
|
68
|
-
vrafjx: [
|
|
69
|
-
"fcdblym",
|
|
70
|
-
"fjik90z"
|
|
71
|
-
],
|
|
72
|
-
oivjwe: "fg706s2",
|
|
73
|
-
wvpqe5: [
|
|
74
|
-
"fjik90z",
|
|
75
|
-
"fcdblym"
|
|
76
|
-
],
|
|
77
|
-
g2u3we: "fghlq4f",
|
|
78
|
-
h3c5rm: [
|
|
79
|
-
"f1gn591s",
|
|
80
|
-
"fjscplz"
|
|
81
|
-
],
|
|
82
|
-
B9xav0g: "fb073pr",
|
|
83
|
-
zhjwy3: [
|
|
84
|
-
"fjscplz",
|
|
85
|
-
"f1gn591s"
|
|
86
|
-
],
|
|
31
|
+
Byoj8tv: 0,
|
|
32
|
+
uwmqm3: 0,
|
|
33
|
+
z189sj: 0,
|
|
34
|
+
z8tnut: 0,
|
|
35
|
+
B0ocmuz: "f1oic3e7",
|
|
36
|
+
Beyfa6y: 0,
|
|
37
|
+
Bbmb7ep: 0,
|
|
38
|
+
Btl43ni: 0,
|
|
39
|
+
B7oj6ja: 0,
|
|
40
|
+
Dimara: "ff3glw6",
|
|
41
|
+
Bgfg5da: 0,
|
|
42
|
+
B9xav0g: 0,
|
|
43
|
+
oivjwe: 0,
|
|
44
|
+
Bn0qgzm: 0,
|
|
45
|
+
B4g9neb: 0,
|
|
46
|
+
zhjwy3: 0,
|
|
47
|
+
wvpqe5: 0,
|
|
48
|
+
ibv6hh: 0,
|
|
49
|
+
u1mtju: 0,
|
|
50
|
+
h3c5rm: 0,
|
|
51
|
+
vrafjx: 0,
|
|
52
|
+
Bekrc4i: 0,
|
|
53
|
+
i8vvqc: 0,
|
|
54
|
+
g2u3we: 0,
|
|
55
|
+
icvyot: 0,
|
|
56
|
+
B4j52fo: 0,
|
|
57
|
+
irswps: "f9ggezi",
|
|
87
58
|
E5pizo: "fz58gqq",
|
|
88
59
|
Be2twd7: "fkhj508",
|
|
89
60
|
Bhrd7zp: "fl43uef",
|
|
@@ -97,40 +68,31 @@ const useStyles = /*#__PURE__*/ (0, _react.__styles)({
|
|
|
97
68
|
icon: {
|
|
98
69
|
Bqenvij: "fd461yt",
|
|
99
70
|
Be2twd7: "f4ybsrx",
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"f1cnd47f",
|
|
108
|
-
"fhxju0i"
|
|
71
|
+
Byoj8tv: 0,
|
|
72
|
+
uwmqm3: 0,
|
|
73
|
+
z189sj: 0,
|
|
74
|
+
z8tnut: 0,
|
|
75
|
+
B0ocmuz: [
|
|
76
|
+
"fhivll6",
|
|
77
|
+
"f1cgepy8"
|
|
109
78
|
]
|
|
110
79
|
},
|
|
111
80
|
avatar: {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"f1tyq0we",
|
|
120
|
-
"f11qmguv"
|
|
81
|
+
jrapky: 0,
|
|
82
|
+
Frg6f3: 0,
|
|
83
|
+
t21cq0: 0,
|
|
84
|
+
B6of3ja: 0,
|
|
85
|
+
B74szlk: [
|
|
86
|
+
"fxal17o",
|
|
87
|
+
"ftghr3s"
|
|
121
88
|
]
|
|
122
89
|
},
|
|
123
90
|
action: {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
Byoj8tv: "fdghr9",
|
|
130
|
-
uwmqm3: [
|
|
131
|
-
"frdkuqy",
|
|
132
|
-
"f81rol6"
|
|
133
|
-
],
|
|
91
|
+
Byoj8tv: 0,
|
|
92
|
+
uwmqm3: 0,
|
|
93
|
+
z189sj: 0,
|
|
94
|
+
z8tnut: 0,
|
|
95
|
+
B0ocmuz: "f4jnnbt",
|
|
134
96
|
Bf4jedk: "fy77jfu",
|
|
135
97
|
Frg6f3: [
|
|
136
98
|
"fcgxt0o",
|
|
@@ -143,26 +105,24 @@ const useStyles = /*#__PURE__*/ (0, _react.__styles)({
|
|
|
143
105
|
".f22iagw{display:flex;}",
|
|
144
106
|
".f122n59{align-items:center;}",
|
|
145
107
|
".f5pgtk9{min-height:44px;}",
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
".fjscplz{border-left-color:var(--colorTransparentStroke);}",
|
|
165
|
-
".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",
|
|
108
|
+
[
|
|
109
|
+
".f1oic3e7{padding:0 12px;}",
|
|
110
|
+
{
|
|
111
|
+
p: -1
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
[
|
|
115
|
+
".ff3glw6{border-radius:4px;}",
|
|
116
|
+
{
|
|
117
|
+
p: -1
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
[
|
|
121
|
+
".f9ggezi{border:1px solid var(--colorTransparentStroke);}",
|
|
122
|
+
{
|
|
123
|
+
p: -2
|
|
124
|
+
}
|
|
125
|
+
],
|
|
166
126
|
".fz58gqq{box-shadow:var(--shadow8);}",
|
|
167
127
|
".fkhj508{font-size:var(--fontSizeBase300);}",
|
|
168
128
|
".fl43uef{font-weight:var(--fontWeightSemibold);}",
|
|
@@ -172,20 +132,36 @@ const useStyles = /*#__PURE__*/ (0, _react.__styles)({
|
|
|
172
132
|
".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}",
|
|
173
133
|
".fd461yt{height:16px;}",
|
|
174
134
|
".f4ybsrx{font-size:16px;}",
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
135
|
+
[
|
|
136
|
+
".fhivll6{padding:0 8px 0 0;}",
|
|
137
|
+
{
|
|
138
|
+
p: -1
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
[
|
|
142
|
+
".f1cgepy8{padding:0 0 0 8px;}",
|
|
143
|
+
{
|
|
144
|
+
p: -1
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
[
|
|
148
|
+
".fxal17o{margin:0 8px 0 0;}",
|
|
149
|
+
{
|
|
150
|
+
p: -1
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
[
|
|
154
|
+
".ftghr3s{margin:0 0 0 8px;}",
|
|
155
|
+
{
|
|
156
|
+
p: -1
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
[
|
|
160
|
+
".f4jnnbt{padding:5px 10px;}",
|
|
161
|
+
{
|
|
162
|
+
p: -1
|
|
163
|
+
}
|
|
164
|
+
],
|
|
189
165
|
".fy77jfu{min-width:0;}",
|
|
190
166
|
".fcgxt0o{margin-left:auto;}",
|
|
191
167
|
".f1ujusj6{margin-right:auto;}",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["useAlertStyles.styles.js"],"sourcesContent":["import { tokens } from '@fluentui/react-theme';\nimport { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';\n// eslint-disable-next-line deprecation/deprecation\nexport const alertClassNames = {\n root: 'fui-Alert',\n icon: 'fui-Alert__icon',\n action: 'fui-Alert__action',\n avatar: 'fui-Alert__avatar'\n};\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n mc9l5x: \"f22iagw\",\n Bt984gj: \"f122n59\",\n sshi5w: \"f5pgtk9\",\n z8tnut: \"f1g0x7ka\",\n z189sj: [\"f11qrl6u\", \"fjlbh76\"],\n Byoj8tv: \"f1qch9an\",\n uwmqm3: [\"fjlbh76\", \"f11qrl6u\"],\n Bbmb7ep: [\"fff7au0\", \"f1bjk9e1\"],\n Beyfa6y: [\"f1bjk9e1\", \"fff7au0\"],\n B7oj6ja: [\"fwsfkhu\", \"f8wkphi\"],\n Btl43ni: [\"f8wkphi\", \"fwsfkhu\"],\n B4j52fo: \"f5ogflp\",\n Bekrc4i: [\"f1hqa2wf\", \"finvdd3\"],\n Bn0qgzm: \"f1f09k3d\",\n ibv6hh: [\"finvdd3\", \"f1hqa2wf\"],\n icvyot: \"fzkkow9\",\n vrafjx: [\"fcdblym\", \"fjik90z\"],\n oivjwe: \"fg706s2\",\n wvpqe5: [\"fjik90z\", \"fcdblym\"],\n g2u3we: \"fghlq4f\",\n h3c5rm: [\"f1gn591s\", \"fjscplz\"],\n B9xav0g: \"fb073pr\",\n zhjwy3: [\"fjscplz\", \"f1gn591s\"],\n E5pizo: \"fz58gqq\",\n Be2twd7: \"fkhj508\",\n Bhrd7zp: \"fl43uef\",\n sj55zd: \"f19n0e5\",\n De3pzq: \"fxugw4r\"\n },\n inverted: {\n sj55zd: \"f1w7i9ko\",\n De3pzq: \"f5pduvr\"\n },\n icon: {\n Bqenvij: \"fd461yt\",\n Be2twd7: \"f4ybsrx\",\n z8tnut: \"f1g0x7ka\",\n z189sj: [\"f19lj068\", \"f177v4lu\"],\n Byoj8tv: \"f1qch9an\",\n uwmqm3: [\"f1cnd47f\", \"fhxju0i\"]\n },\n avatar: {\n B6of3ja: \"f1hu3pq6\",\n t21cq0: [\"f1phki43\", \"ff9s3yw\"],\n jrapky: \"f19f4twv\",\n Frg6f3: [\"f1tyq0we\", \"f11qmguv\"]\n },\n action: {\n z8tnut: \"f1sbtcvk\",\n z189sj: [\"f81rol6\", \"frdkuqy\"],\n Byoj8tv: \"fdghr9\",\n uwmqm3: [\"frdkuqy\", \"f81rol6\"],\n Bf4jedk: \"fy77jfu\",\n Frg6f3: [\"fcgxt0o\", \"f1ujusj6\"],\n sj55zd: \"f16muhyy\"\n }\n}, {\n d: [\".f22iagw{display:flex;}\", \".f122n59{align-items:center;}\", \".f5pgtk9{min-height:44px;}\", \".f1g0x7ka{padding-top:0;}\", \".f11qrl6u{padding-right:12px;}\", \".fjlbh76{padding-left:12px;}\", \".f1qch9an{padding-bottom:0;}\", \".fff7au0{border-bottom-right-radius:4px;}\", \".f1bjk9e1{border-bottom-left-radius:4px;}\", \".fwsfkhu{border-top-right-radius:4px;}\", \".f8wkphi{border-top-left-radius:4px;}\", \".f5ogflp{border-top-width:1px;}\", \".f1hqa2wf{border-right-width:1px;}\", \".finvdd3{border-left-width:1px;}\", \".f1f09k3d{border-bottom-width:1px;}\", \".fzkkow9{border-top-style:solid;}\", \".fcdblym{border-right-style:solid;}\", \".fjik90z{border-left-style:solid;}\", \".fg706s2{border-bottom-style:solid;}\", \".fghlq4f{border-top-color:var(--colorTransparentStroke);}\", \".f1gn591s{border-right-color:var(--colorTransparentStroke);}\", \".fjscplz{border-left-color:var(--colorTransparentStroke);}\", \".fb073pr{border-bottom-color:var(--colorTransparentStroke);}\", \".fz58gqq{box-shadow:var(--shadow8);}\", \".fkhj508{font-size:var(--fontSizeBase300);}\", \".fl43uef{font-weight:var(--fontWeightSemibold);}\", \".f19n0e5{color:var(--colorNeutralForeground1);}\", \".fxugw4r{background-color:var(--colorNeutralBackground1);}\", \".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}\", \".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}\", \".fd461yt{height:16px;}\", \".f4ybsrx{font-size:16px;}\", \".f19lj068{padding-right:8px;}\", \".f177v4lu{padding-left:8px;}\", \".f1cnd47f{padding-left:0;}\", \".fhxju0i{padding-right:0;}\", \".f1hu3pq6{margin-top:0;}\", \".f1phki43{margin-right:8px;}\", \".ff9s3yw{margin-left:8px;}\", \".f19f4twv{margin-bottom:0;}\", \".f1tyq0we{margin-left:0;}\", \".f11qmguv{margin-right:0;}\", \".f1sbtcvk{padding-top:5px;}\", \".f81rol6{padding-right:10px;}\", \".frdkuqy{padding-left:10px;}\", \".fdghr9{padding-bottom:5px;}\", \".fy77jfu{min-width:0;}\", \".fcgxt0o{margin-left:auto;}\", \".f1ujusj6{margin-right:auto;}\", \".f16muhyy{color:var(--colorBrandForeground1);}\"]\n});\nconst useIntentIconStyles = /*#__PURE__*/__styles({\n success: {\n sj55zd: \"f1m7fhi8\"\n },\n error: {\n sj55zd: \"f1whyuy6\"\n },\n warning: {\n sj55zd: \"fpti2h4\"\n },\n info: {\n sj55zd: \"fkfq4zb\"\n }\n}, {\n d: [\".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}\", \".f1whyuy6{color:var(--colorPaletteRedForeground3);}\", \".fpti2h4{color:var(--colorPaletteYellowForeground2);}\", \".fkfq4zb{color:var(--colorNeutralForeground2);}\"]\n});\nconst useIntentIconStylesInverted = /*#__PURE__*/__styles({\n success: {\n sj55zd: \"f1pvjcpr\"\n },\n error: {\n sj55zd: \"fcrp5ll\"\n },\n warning: {\n sj55zd: \"f1r8f1cl\"\n },\n info: {\n sj55zd: \"f1w7i9ko\"\n }\n}, {\n d: [\".f1pvjcpr{color:var(--colorPaletteGreenForegroundInverted);}\", \".fcrp5ll{color:var(--colorPaletteRedForegroundInverted);}\", \".f1r8f1cl{color:var(--colorPaletteYellowForegroundInverted);}\", \".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}\"]\n});\nconst useActionButtonColorInverted = /*#__PURE__*/__styles({\n action: {\n sj55zd: \"f1qz2gb0\",\n B8q5s1w: \"fa5e339\",\n Bci5o5g: [\"fk4svks\", \"fqzoz0o\"],\n n8qw10: \"fw8q0i0\",\n Bdrgwmp: [\"fqzoz0o\", \"fk4svks\"],\n Bfpq7zp: \"f1dlk4fq\"\n }\n}, {\n d: [\".f1qz2gb0{color:var(--colorBrandForegroundInverted);}\", \".fa5e339[data-fui-focus-visible]{border-top-color:var(--colorTransparentStrokeInteractive);}\", \".fk4svks[data-fui-focus-visible]{border-right-color:var(--colorTransparentStrokeInteractive);}\", \".fqzoz0o[data-fui-focus-visible]{border-left-color:var(--colorTransparentStrokeInteractive);}\", \".fw8q0i0[data-fui-focus-visible]{border-bottom-color:var(--colorTransparentStrokeInteractive);}\", \".f1dlk4fq[data-fui-focus-visible]{outline-color:var(--colorNeutralBackground5Pressed);}\"]\n});\n/**\n * @deprecated please use the Toast or MessageBar component\n * Apply styling to the Alert slots based on the state\n */ // eslint-disable-next-line deprecation/deprecation\nexport const useAlertStyles_unstable = state => {\n const inverted = state.appearance === 'inverted';\n const styles = useStyles();\n const intentIconStylesPrimary = useIntentIconStyles();\n const intentIconStylesInverted = useIntentIconStylesInverted();\n const actionStylesInverted = useActionButtonColorInverted();\n state.root.className = mergeClasses(alertClassNames.root, styles.root, inverted && styles.inverted, state.root.className);\n if (state.icon) {\n state.icon.className = mergeClasses(alertClassNames.icon, styles.icon, state.intent && (inverted ? intentIconStylesInverted[state.intent] : intentIconStylesPrimary[state.intent]), state.icon.className);\n }\n if (state.avatar) {\n state.avatar.className = mergeClasses(alertClassNames.avatar, styles.avatar, state.avatar.className);\n }\n if (state.action) {\n // Note: inverted && actionStylesInverted.action has the highest piority and must be merged last\n state.action.className = mergeClasses(alertClassNames.action, styles.action, inverted && actionStylesInverted.action, state.action.className);\n }\n return state;\n};\n//# sourceMappingURL=useAlertStyles.styles.js.map"],"names":["alertClassNames","useAlertStyles_unstable","root","icon","action","avatar","useStyles","__styles","mc9l5x","Bt984gj","sshi5w","z8tnut","z189sj","Byoj8tv","uwmqm3","Bbmb7ep","Beyfa6y","B7oj6ja","Btl43ni","B4j52fo","Bekrc4i","Bn0qgzm","ibv6hh","icvyot","vrafjx","oivjwe","wvpqe5","g2u3we","h3c5rm","B9xav0g","zhjwy3","E5pizo","Be2twd7","Bhrd7zp","sj55zd","De3pzq","inverted","Bqenvij","B6of3ja","t21cq0","jrapky","Frg6f3","Bf4jedk","d","useIntentIconStyles","success","error","warning","info","useIntentIconStylesInverted","useActionButtonColorInverted","B8q5s1w","Bci5o5g","n8qw10","Bdrgwmp","Bfpq7zp","state","appearance","styles","intentIconStylesPrimary","intentIconStylesInverted","actionStylesInverted","className","mergeClasses","intent"],"mappings":";;;;;;;;;;;IAIaA,eAAe;eAAfA;;IAmHAC,uBAAuB;eAAvBA;;;uBAtHsC;AAG5C,MAAMD,kBAAkB;IAC7BE,MAAM;IACNC,MAAM;IACNC,QAAQ;IACRC,QAAQ;AACV;AACA,MAAMC,YAAY,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IACtCL,MAAM;QACJM,QAAQ;QACRC,SAAS;QACTC,QAAQ;QACRC,QAAQ;QACRC,QAAQ;YAAC;YAAY;SAAU;QAC/BC,SAAS;QACTC,QAAQ;YAAC;YAAW;SAAW;QAC/BC,SAAS;YAAC;YAAW;SAAW;QAChCC,SAAS;YAAC;YAAY;SAAU;QAChCC,SAAS;YAAC;YAAW;SAAU;QAC/BC,SAAS;YAAC;YAAW;SAAU;QAC/BC,SAAS;QACTC,SAAS;YAAC;YAAY;SAAU;QAChCC,SAAS;QACTC,QAAQ;YAAC;YAAW;SAAW;QAC/BC,QAAQ;QACRC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,QAAQ;QACRC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,QAAQ;QACRC,QAAQ;YAAC;YAAY;SAAU;QAC/BC,SAAS;QACTC,QAAQ;YAAC;YAAW;SAAW;QAC/BC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,QAAQ;IACV;IACAC,UAAU;QACRF,Q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QAChB,gGAAgG;QAChGoD,MAAMpD,MAAM,CAAC0D,SAAS,GAAGC,IAAAA,mBAAY,EAAC/D,gBAAgBI,MAAM,EAAEsD,OAAOtD,MAAM,EAAEgC,YAAYyB,qBAAqBzD,MAAM,EAAEoD,MAAMpD,MAAM,CAAC0D,SAAS;IAC9I;IACA,OAAON;AACT,GACA,iDAAiD"}
|
|
1
|
+
{"version":3,"sources":["useAlertStyles.styles.js"],"sourcesContent":["import { tokens } from '@fluentui/react-theme';\nimport { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';\n// eslint-disable-next-line deprecation/deprecation\nexport const alertClassNames = {\n root: 'fui-Alert',\n icon: 'fui-Alert__icon',\n action: 'fui-Alert__action',\n avatar: 'fui-Alert__avatar'\n};\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n mc9l5x: \"f22iagw\",\n Bt984gj: \"f122n59\",\n sshi5w: \"f5pgtk9\",\n Byoj8tv: 0,\n uwmqm3: 0,\n z189sj: 0,\n z8tnut: 0,\n B0ocmuz: \"f1oic3e7\",\n Beyfa6y: 0,\n Bbmb7ep: 0,\n Btl43ni: 0,\n B7oj6ja: 0,\n Dimara: \"ff3glw6\",\n Bgfg5da: 0,\n B9xav0g: 0,\n oivjwe: 0,\n Bn0qgzm: 0,\n B4g9neb: 0,\n zhjwy3: 0,\n wvpqe5: 0,\n ibv6hh: 0,\n u1mtju: 0,\n h3c5rm: 0,\n vrafjx: 0,\n Bekrc4i: 0,\n i8vvqc: 0,\n g2u3we: 0,\n icvyot: 0,\n B4j52fo: 0,\n irswps: \"f9ggezi\",\n E5pizo: \"fz58gqq\",\n Be2twd7: \"fkhj508\",\n Bhrd7zp: \"fl43uef\",\n sj55zd: \"f19n0e5\",\n De3pzq: \"fxugw4r\"\n },\n inverted: {\n sj55zd: \"f1w7i9ko\",\n De3pzq: \"f5pduvr\"\n },\n icon: {\n Bqenvij: \"fd461yt\",\n Be2twd7: \"f4ybsrx\",\n Byoj8tv: 0,\n uwmqm3: 0,\n z189sj: 0,\n z8tnut: 0,\n B0ocmuz: [\"fhivll6\", \"f1cgepy8\"]\n },\n avatar: {\n jrapky: 0,\n Frg6f3: 0,\n t21cq0: 0,\n B6of3ja: 0,\n B74szlk: [\"fxal17o\", \"ftghr3s\"]\n },\n action: {\n Byoj8tv: 0,\n uwmqm3: 0,\n z189sj: 0,\n z8tnut: 0,\n B0ocmuz: \"f4jnnbt\",\n Bf4jedk: \"fy77jfu\",\n Frg6f3: [\"fcgxt0o\", \"f1ujusj6\"],\n sj55zd: \"f16muhyy\"\n }\n}, {\n d: [\".f22iagw{display:flex;}\", \".f122n59{align-items:center;}\", \".f5pgtk9{min-height:44px;}\", [\".f1oic3e7{padding:0 12px;}\", {\n p: -1\n }], [\".ff3glw6{border-radius:4px;}\", {\n p: -1\n }], [\".f9ggezi{border:1px solid var(--colorTransparentStroke);}\", {\n p: -2\n }], \".fz58gqq{box-shadow:var(--shadow8);}\", \".fkhj508{font-size:var(--fontSizeBase300);}\", \".fl43uef{font-weight:var(--fontWeightSemibold);}\", \".f19n0e5{color:var(--colorNeutralForeground1);}\", \".fxugw4r{background-color:var(--colorNeutralBackground1);}\", \".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}\", \".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}\", \".fd461yt{height:16px;}\", \".f4ybsrx{font-size:16px;}\", [\".fhivll6{padding:0 8px 0 0;}\", {\n p: -1\n }], [\".f1cgepy8{padding:0 0 0 8px;}\", {\n p: -1\n }], [\".fxal17o{margin:0 8px 0 0;}\", {\n p: -1\n }], [\".ftghr3s{margin:0 0 0 8px;}\", {\n p: -1\n }], [\".f4jnnbt{padding:5px 10px;}\", {\n p: -1\n }], \".fy77jfu{min-width:0;}\", \".fcgxt0o{margin-left:auto;}\", \".f1ujusj6{margin-right:auto;}\", \".f16muhyy{color:var(--colorBrandForeground1);}\"]\n});\nconst useIntentIconStyles = /*#__PURE__*/__styles({\n success: {\n sj55zd: \"f1m7fhi8\"\n },\n error: {\n sj55zd: \"f1whyuy6\"\n },\n warning: {\n sj55zd: \"fpti2h4\"\n },\n info: {\n sj55zd: \"fkfq4zb\"\n }\n}, {\n d: [\".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}\", \".f1whyuy6{color:var(--colorPaletteRedForeground3);}\", \".fpti2h4{color:var(--colorPaletteYellowForeground2);}\", \".fkfq4zb{color:var(--colorNeutralForeground2);}\"]\n});\nconst useIntentIconStylesInverted = /*#__PURE__*/__styles({\n success: {\n sj55zd: \"f1pvjcpr\"\n },\n error: {\n sj55zd: \"fcrp5ll\"\n },\n warning: {\n sj55zd: \"f1r8f1cl\"\n },\n info: {\n sj55zd: \"f1w7i9ko\"\n }\n}, {\n d: [\".f1pvjcpr{color:var(--colorPaletteGreenForegroundInverted);}\", \".fcrp5ll{color:var(--colorPaletteRedForegroundInverted);}\", \".f1r8f1cl{color:var(--colorPaletteYellowForegroundInverted);}\", \".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}\"]\n});\nconst useActionButtonColorInverted = /*#__PURE__*/__styles({\n action: {\n sj55zd: \"f1qz2gb0\",\n B8q5s1w: \"fa5e339\",\n Bci5o5g: [\"fk4svks\", \"fqzoz0o\"],\n n8qw10: \"fw8q0i0\",\n Bdrgwmp: [\"fqzoz0o\", \"fk4svks\"],\n Bfpq7zp: \"f1dlk4fq\"\n }\n}, {\n d: [\".f1qz2gb0{color:var(--colorBrandForegroundInverted);}\", \".fa5e339[data-fui-focus-visible]{border-top-color:var(--colorTransparentStrokeInteractive);}\", \".fk4svks[data-fui-focus-visible]{border-right-color:var(--colorTransparentStrokeInteractive);}\", \".fqzoz0o[data-fui-focus-visible]{border-left-color:var(--colorTransparentStrokeInteractive);}\", \".fw8q0i0[data-fui-focus-visible]{border-bottom-color:var(--colorTransparentStrokeInteractive);}\", \".f1dlk4fq[data-fui-focus-visible]{outline-color:var(--colorNeutralBackground5Pressed);}\"]\n});\n/**\n * @deprecated please use the Toast or MessageBar component\n * Apply styling to the Alert slots based on the state\n */ // eslint-disable-next-line deprecation/deprecation\nexport const useAlertStyles_unstable = state => {\n const inverted = state.appearance === 'inverted';\n const styles = useStyles();\n const intentIconStylesPrimary = useIntentIconStyles();\n const intentIconStylesInverted = useIntentIconStylesInverted();\n const actionStylesInverted = useActionButtonColorInverted();\n state.root.className = mergeClasses(alertClassNames.root, styles.root, inverted && styles.inverted, state.root.className);\n if (state.icon) {\n state.icon.className = mergeClasses(alertClassNames.icon, styles.icon, state.intent && (inverted ? intentIconStylesInverted[state.intent] : intentIconStylesPrimary[state.intent]), state.icon.className);\n }\n if (state.avatar) {\n state.avatar.className = mergeClasses(alertClassNames.avatar, styles.avatar, state.avatar.className);\n }\n if (state.action) {\n // Note: inverted && actionStylesInverted.action has the highest piority and must be merged last\n state.action.className = mergeClasses(alertClassNames.action, styles.action, inverted && actionStylesInverted.action, state.action.className);\n }\n return state;\n};\n//# sourceMappingURL=useAlertStyles.styles.js.map"],"names":["alertClassNames","useAlertStyles_unstable","root","icon","action","avatar","useStyles","__styles","mc9l5x","Bt984gj","sshi5w","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","Beyfa6y","Bbmb7ep","Btl43ni","B7oj6ja","Dimara","Bgfg5da","B9xav0g","oivjwe","Bn0qgzm","B4g9neb","zhjwy3","wvpqe5","ibv6hh","u1mtju","h3c5rm","vrafjx","Bekrc4i","i8vvqc","g2u3we","icvyot","B4j52fo","irswps","E5pizo","Be2twd7","Bhrd7zp","sj55zd","De3pzq","inverted","Bqenvij","jrapky","Frg6f3","t21cq0","B6of3ja","B74szlk","Bf4jedk","d","p","useIntentIconStyles","success","error","warning","info","useIntentIconStylesInverted","useActionButtonColorInverted","B8q5s1w","Bci5o5g","n8qw10","Bdrgwmp","Bfpq7zp","state","appearance","styles","intentIconStylesPrimary","intentIconStylesInverted","actionStylesInverted","className","mergeClasses","intent"],"mappings":";;;;;;;;;;;IAIaA,eAAe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AMC,SAAS7D;IACf,MAAM8D,0BAA0Bf;IAChC,MAAMgB,2BAA2BX;IACjC,MAAMY,uBAAuBX;IAC7BM,MAAM/D,IAAI,CAACqE,SAAS,GAAGC,IAAAA,mBAAY,EAACxE,gBAAgBE,IAAI,EAAEiE,OAAOjE,IAAI,EAAEyC,YAAYwB,OAAOxB,QAAQ,EAAEsB,MAAM/D,IAAI,CAACqE,SAAS;IACxH,IAAIN,MAAM9D,IAAI,EAAE;QACd8D,MAAM9D,IAAI,CAACoE,SAAS,GAAGC,IAAAA,mBAAY,EAACxE,gBAAgBG,IAAI,EAAEgE,OAAOhE,IAAI,EAAE8D,MAAMQ,MAAM,IAAK9B,CAAAA,WAAW0B,wBAAwB,CAACJ,MAAMQ,MAAM,CAAC,GAAGL,uBAAuB,CAACH,MAAMQ,MAAM,CAAC,AAAD,GAAIR,MAAM9D,IAAI,CAACoE,SAAS;IAC1M;IACA,IAAIN,MAAM5D,MAAM,EAAE;QAChB4D,MAAM5D,MAAM,CAACkE,SAAS,GAAGC,IAAAA,mBAAY,EAACxE,gBAAgBK,MAAM,EAAE8D,OAAO9D,MAAM,EAAE4D,MAAM5D,MAAM,CAACkE,SAAS;IACrG;IACA,IAAIN,MAAM7D,MAAM,EAAE;QAChB,gGAAgG;QAChG6D,MAAM7D,MAAM,CAACmE,SAAS,GAAGC,IAAAA,mBAAY,EAACxE,gBAAgBI,MAAM,EAAE+D,OAAO/D,MAAM,EAAEuC,YAAY2B,qBAAqBlE,MAAM,EAAE6D,MAAM7D,MAAM,CAACmE,SAAS;IAC9I;IACA,OAAON;AACT,GACA,iDAAiD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-alert",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.123",
|
|
4
4
|
"description": "An alert component to display brief messages",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"@fluentui/scripts-tasks": "*"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@fluentui/react-avatar": "^9.6.
|
|
37
|
-
"@fluentui/react-button": "^9.3.
|
|
36
|
+
"@fluentui/react-avatar": "^9.6.28",
|
|
37
|
+
"@fluentui/react-button": "^9.3.82",
|
|
38
38
|
"@fluentui/react-icons": "^2.0.239",
|
|
39
|
-
"@fluentui/react-tabster": "^9.21.
|
|
39
|
+
"@fluentui/react-tabster": "^9.21.4",
|
|
40
40
|
"@fluentui/react-theme": "^9.1.19",
|
|
41
|
-
"@fluentui/react-utilities": "^9.18.
|
|
42
|
-
"@fluentui/react-jsx-runtime": "^9.0.
|
|
43
|
-
"@griffel/react": "^1.5.
|
|
41
|
+
"@fluentui/react-utilities": "^9.18.9",
|
|
42
|
+
"@fluentui/react-jsx-runtime": "^9.0.38",
|
|
43
|
+
"@griffel/react": "^1.5.22",
|
|
44
44
|
"@swc/helpers": "^0.5.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|