@fluentui/react-message-bar 9.75.0-experimental.css-modules.20261031-810ab07afb.0 → 9.75.1-experimental.positioning-engine.20261103-19efe125d1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -13
- package/README.md +0 -8
- package/package.json +11 -14
- package/lib/components/MessageBar/MessageBar.module.css +0 -70
- package/lib/components/MessageBar/useMessageBarStyles.styles.css.js +0 -19
- package/lib/components/MessageBar/useMessageBarStyles.styles.css.js.map +0 -1
- package/lib/components/MessageBar/useMessageBarStyles.styles.raw.css.js +0 -19
- package/lib/components/MessageBar/useMessageBarStyles.styles.raw.css.js.map +0 -1
- package/lib/components/MessageBarActions/MessageBarActions.module.css +0 -22
- package/lib/components/MessageBarActions/useMessageBarActionsStyles.styles.css.js +0 -15
- package/lib/components/MessageBarActions/useMessageBarActionsStyles.styles.css.js.map +0 -1
- package/lib/components/MessageBarActions/useMessageBarActionsStyles.styles.raw.css.js +0 -15
- package/lib/components/MessageBarActions/useMessageBarActionsStyles.styles.raw.css.js.map +0 -1
- package/lib/components/MessageBarBody/MessageBarBody.module.css +0 -10
- package/lib/components/MessageBarBody/useMessageBarBodyStyles.styles.css.js +0 -9
- package/lib/components/MessageBarBody/useMessageBarBodyStyles.styles.css.js.map +0 -1
- package/lib/components/MessageBarBody/useMessageBarBodyStyles.styles.raw.css.js +0 -9
- package/lib/components/MessageBarBody/useMessageBarBodyStyles.styles.raw.css.js.map +0 -1
- package/lib/components/MessageBarGroup/useMessageBarGroupStyles.styles.css.js +0 -10
- package/lib/components/MessageBarGroup/useMessageBarGroupStyles.styles.css.js.map +0 -1
- package/lib/components/MessageBarGroup/useMessageBarGroupStyles.styles.raw.css.js +0 -10
- package/lib/components/MessageBarGroup/useMessageBarGroupStyles.styles.raw.css.js.map +0 -1
- package/lib/components/MessageBarTitle/MessageBarTitle.module.css +0 -11
- package/lib/components/MessageBarTitle/useMessageBarTitleStyles.styles.css.js +0 -11
- package/lib/components/MessageBarTitle/useMessageBarTitleStyles.styles.css.js.map +0 -1
- package/lib/components/MessageBarTitle/useMessageBarTitleStyles.styles.raw.css.js +0 -11
- package/lib/components/MessageBarTitle/useMessageBarTitleStyles.styles.raw.css.js.map +0 -1
- package/lib-commonjs/components/MessageBar/MessageBar.module.css +0 -70
- package/lib-commonjs/components/MessageBar/useMessageBarStyles.styles.css.cjs +0 -36
- package/lib-commonjs/components/MessageBar/useMessageBarStyles.styles.css.cjs.map +0 -1
- package/lib-commonjs/components/MessageBar/useMessageBarStyles.styles.raw.css.cjs +0 -36
- package/lib-commonjs/components/MessageBar/useMessageBarStyles.styles.raw.css.cjs.map +0 -1
- package/lib-commonjs/components/MessageBarActions/MessageBarActions.module.css +0 -22
- package/lib-commonjs/components/MessageBarActions/useMessageBarActionsStyles.styles.css.cjs +0 -32
- package/lib-commonjs/components/MessageBarActions/useMessageBarActionsStyles.styles.css.cjs.map +0 -1
- package/lib-commonjs/components/MessageBarActions/useMessageBarActionsStyles.styles.raw.css.cjs +0 -32
- package/lib-commonjs/components/MessageBarActions/useMessageBarActionsStyles.styles.raw.css.cjs.map +0 -1
- package/lib-commonjs/components/MessageBarBody/MessageBarBody.module.css +0 -10
- package/lib-commonjs/components/MessageBarBody/useMessageBarBodyStyles.styles.css.cjs +0 -28
- package/lib-commonjs/components/MessageBarBody/useMessageBarBodyStyles.styles.css.cjs.map +0 -1
- package/lib-commonjs/components/MessageBarBody/useMessageBarBodyStyles.styles.raw.css.cjs +0 -28
- package/lib-commonjs/components/MessageBarBody/useMessageBarBodyStyles.styles.raw.css.cjs.map +0 -1
- package/lib-commonjs/components/MessageBarGroup/useMessageBarGroupStyles.styles.css.cjs +0 -26
- package/lib-commonjs/components/MessageBarGroup/useMessageBarGroupStyles.styles.css.cjs.map +0 -1
- package/lib-commonjs/components/MessageBarGroup/useMessageBarGroupStyles.styles.raw.css.cjs +0 -26
- package/lib-commonjs/components/MessageBarGroup/useMessageBarGroupStyles.styles.raw.css.cjs.map +0 -1
- package/lib-commonjs/components/MessageBarTitle/MessageBarTitle.module.css +0 -11
- package/lib-commonjs/components/MessageBarTitle/useMessageBarTitleStyles.styles.css.cjs +0 -28
- package/lib-commonjs/components/MessageBarTitle/useMessageBarTitleStyles.styles.css.cjs.map +0 -1
- package/lib-commonjs/components/MessageBarTitle/useMessageBarTitleStyles.styles.raw.css.cjs +0 -28
- package/lib-commonjs/components/MessageBarTitle/useMessageBarTitleStyles.styles.raw.css.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-message-bar
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Tue, 03 Nov 2026 14:18:29 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.75.
|
|
7
|
+
## [9.75.1-experimental.positioning-engine.20261103-19efe125d1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-message-bar_v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-message-bar_v9.7.9..@fluentui/react-message-bar_v9.75.
|
|
9
|
+
Tue, 03 Nov 2026 14:18:29 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-message-bar_v9.7.9..@fluentui/react-message-bar_v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
|
-
- Release 9.75.
|
|
15
|
-
- Bump @fluentui/react-button to v9.75.
|
|
16
|
-
- Bump @fluentui/react-jsx-runtime to v9.75.
|
|
17
|
-
- Bump @fluentui/react-link to v9.75.
|
|
18
|
-
- Bump @fluentui/react-motion to v9.75.
|
|
19
|
-
- Bump @fluentui/react-motion-components-preview to v9.75.
|
|
20
|
-
- Bump @fluentui/react-shared-contexts to v9.75.
|
|
21
|
-
- Bump @fluentui/react-theme to v9.75.
|
|
22
|
-
- Bump @fluentui/react-utilities to v9.75.
|
|
14
|
+
- Release 9.75.1-experimental.positioning-engine.20261103-19efe125d1 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
|
|
15
|
+
- Bump @fluentui/react-button to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
- Bump @fluentui/react-jsx-runtime to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
17
|
+
- Bump @fluentui/react-link to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
- Bump @fluentui/react-motion to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
19
|
+
- Bump @fluentui/react-motion-components-preview to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
20
|
+
- Bump @fluentui/react-shared-contexts to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
|
+
- Bump @fluentui/react-theme to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
22
|
+
- Bump @fluentui/react-utilities to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
23
23
|
|
|
24
24
|
## [9.7.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-message-bar_v9.7.9)
|
|
25
25
|
|
package/README.md
CHANGED
|
@@ -25,11 +25,3 @@ function Example() {
|
|
|
25
25
|
)
|
|
26
26
|
}
|
|
27
27
|
```
|
|
28
|
-
|
|
29
|
-
## Opt-in CSS Modules styles
|
|
30
|
-
|
|
31
|
-
Message bars, titles, actions, and groups have layered CSS Modules alternatives beside their Griffel style hooks.
|
|
32
|
-
Resolve the relevant `.styles.js` imports to `.styles.css.js` (and source `.styles`
|
|
33
|
-
imports to `.styles.css.ts`) only in an explicitly opted-in bundler configuration.
|
|
34
|
-
Keep CSS assets and process the headless icon stylesheet in the `fluentui` layer.
|
|
35
|
-
The default component imports and Griffel implementations are unchanged.
|
package/package.json
CHANGED
|
@@ -1,31 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-message-bar",
|
|
3
|
-
"version": "9.75.
|
|
3
|
+
"version": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
4
4
|
"description": "Fluent UI MessageBar component",
|
|
5
5
|
"main": "lib-commonjs/index.cjs",
|
|
6
6
|
"module": "lib/index.js",
|
|
7
7
|
"typings": "./dist/index.d.ts",
|
|
8
|
-
"sideEffects":
|
|
9
|
-
"**/*.css"
|
|
10
|
-
],
|
|
8
|
+
"sideEffects": false,
|
|
11
9
|
"repository": {
|
|
12
10
|
"type": "git",
|
|
13
11
|
"url": "https://github.com/microsoft/fluentui"
|
|
14
12
|
},
|
|
15
13
|
"license": "MIT",
|
|
16
14
|
"dependencies": {
|
|
17
|
-
"@fluentui/react-button": "9.75.
|
|
15
|
+
"@fluentui/react-button": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
18
16
|
"@fluentui/react-icons": "^2.0.245",
|
|
19
|
-
"@fluentui/react-jsx-runtime": "9.75.
|
|
20
|
-
"@fluentui/react-link": "9.75.
|
|
21
|
-
"@fluentui/react-motion": "9.75.
|
|
22
|
-
"@fluentui/react-motion-components-preview": "9.75.
|
|
23
|
-
"@fluentui/react-shared-contexts": "9.75.
|
|
24
|
-
"@fluentui/react-theme": "9.75.
|
|
25
|
-
"@fluentui/react-utilities": "9.75.
|
|
17
|
+
"@fluentui/react-jsx-runtime": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
18
|
+
"@fluentui/react-link": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
19
|
+
"@fluentui/react-motion": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
20
|
+
"@fluentui/react-motion-components-preview": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
21
|
+
"@fluentui/react-shared-contexts": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
22
|
+
"@fluentui/react-theme": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
23
|
+
"@fluentui/react-utilities": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
26
24
|
"@griffel/react": "^1.5.32",
|
|
27
|
-
"@swc/helpers": "^0.5.1"
|
|
28
|
-
"clsx": "^2.1.1"
|
|
25
|
+
"@swc/helpers": "^0.5.1"
|
|
29
26
|
},
|
|
30
27
|
"peerDependencies": {
|
|
31
28
|
"@types/react": ">=16.14.0 <20.0.0",
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
@layer fluentui {
|
|
2
|
-
.root {
|
|
3
|
-
white-space: nowrap;
|
|
4
|
-
display: grid;
|
|
5
|
-
grid-template-columns: auto 1fr auto auto;
|
|
6
|
-
grid-template-rows: 1fr;
|
|
7
|
-
grid-template-areas: 'icon body secondaryActions actions';
|
|
8
|
-
padding-inline-start: var(--spacingHorizontalM);
|
|
9
|
-
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1);
|
|
10
|
-
border-radius: var(--borderRadiusMedium);
|
|
11
|
-
align-items: center;
|
|
12
|
-
min-height: calc(var(--spacingHorizontalXXXL) + var(--spacingHorizontalXS));
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
background-color: var(--colorNeutralBackground3);
|
|
15
|
-
}
|
|
16
|
-
.icon {
|
|
17
|
-
grid-area: icon;
|
|
18
|
-
font-size: var(--fontSizeBase500);
|
|
19
|
-
margin-inline-end: var(--spacingHorizontalS);
|
|
20
|
-
color: var(--colorNeutralForeground3);
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
}
|
|
24
|
-
.bottomReflowSpacer {
|
|
25
|
-
margin-bottom: var(--spacingVerticalS);
|
|
26
|
-
grid-area: secondaryActions;
|
|
27
|
-
}
|
|
28
|
-
.multiline {
|
|
29
|
-
white-space: normal;
|
|
30
|
-
align-items: start;
|
|
31
|
-
padding-top: var(--spacingVerticalMNudge);
|
|
32
|
-
grid-template-columns: auto 1fr auto;
|
|
33
|
-
grid-template-areas:
|
|
34
|
-
'icon body actions'
|
|
35
|
-
'secondaryActions secondaryActions secondaryActions';
|
|
36
|
-
}
|
|
37
|
-
.square {
|
|
38
|
-
border-radius: 0;
|
|
39
|
-
}
|
|
40
|
-
.error {
|
|
41
|
-
background-color: var(--colorStatusDangerBackground1);
|
|
42
|
-
border-top-color: var(--colorStatusDangerBorder1);
|
|
43
|
-
border-right-color: var(--colorStatusDangerBorder1);
|
|
44
|
-
border-bottom-color: var(--colorStatusDangerBorder1);
|
|
45
|
-
border-left-color: var(--colorStatusDangerBorder1);
|
|
46
|
-
}
|
|
47
|
-
.warning {
|
|
48
|
-
background-color: var(--colorStatusWarningBackground1);
|
|
49
|
-
border-top-color: var(--colorStatusWarningBorder1);
|
|
50
|
-
border-right-color: var(--colorStatusWarningBorder1);
|
|
51
|
-
border-bottom-color: var(--colorStatusWarningBorder1);
|
|
52
|
-
border-left-color: var(--colorStatusWarningBorder1);
|
|
53
|
-
}
|
|
54
|
-
.success {
|
|
55
|
-
background-color: var(--colorStatusSuccessBackground1);
|
|
56
|
-
border-top-color: var(--colorStatusSuccessBorder1);
|
|
57
|
-
border-right-color: var(--colorStatusSuccessBorder1);
|
|
58
|
-
border-bottom-color: var(--colorStatusSuccessBorder1);
|
|
59
|
-
border-left-color: var(--colorStatusSuccessBorder1);
|
|
60
|
-
}
|
|
61
|
-
:where(.error) > .icon {
|
|
62
|
-
color: var(--colorStatusDangerForeground1);
|
|
63
|
-
}
|
|
64
|
-
:where(.warning) > .icon {
|
|
65
|
-
color: var(--colorStatusWarningForeground3);
|
|
66
|
-
}
|
|
67
|
-
:where(.success) > .icon {
|
|
68
|
-
color: var(--colorStatusSuccessForeground1);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./MessageBar.module.css";
|
|
3
|
-
export const messageBarClassNames = {
|
|
4
|
-
root: 'fui-MessageBar',
|
|
5
|
-
icon: 'fui-MessageBar__icon',
|
|
6
|
-
bottomReflowSpacer: 'fui-MessageBar__bottomReflowSpacer'
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Apply styling to the MessageBar slots based on the state
|
|
10
|
-
*/ export const useMessageBarStyles_unstable = (state)=>{
|
|
11
|
-
state.root.className = clsx(messageBarClassNames.root, styles.root, styles[state.layout], styles[state.shape], styles[state.intent], state.root.className);
|
|
12
|
-
if (state.icon) {
|
|
13
|
-
state.icon.className = clsx(messageBarClassNames.icon, styles.icon, state.icon.className);
|
|
14
|
-
}
|
|
15
|
-
if (state.bottomReflowSpacer) {
|
|
16
|
-
state.bottomReflowSpacer.className = clsx(messageBarClassNames.bottomReflowSpacer, styles.bottomReflowSpacer, state.bottomReflowSpacer.className);
|
|
17
|
-
}
|
|
18
|
-
return state;
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBar/useMessageBarStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarSlots, MessageBarState } from './MessageBar.types';\nimport styles from './MessageBar.module.css';\n\nexport const messageBarClassNames: SlotClassNames<MessageBarSlots> = {\n root: 'fui-MessageBar',\n icon: 'fui-MessageBar__icon',\n bottomReflowSpacer: 'fui-MessageBar__bottomReflowSpacer',\n};\n\n/**\n * Apply styling to the MessageBar slots based on the state\n */\nexport const useMessageBarStyles_unstable = (state: MessageBarState): MessageBarState => {\n state.root.className = clsx(\n messageBarClassNames.root,\n styles.root,\n styles[state.layout],\n styles[state.shape],\n styles[state.intent],\n state.root.className,\n );\n if (state.icon) {\n state.icon.className = clsx(messageBarClassNames.icon, styles.icon, state.icon.className);\n }\n if (state.bottomReflowSpacer) {\n state.bottomReflowSpacer.className = clsx(\n messageBarClassNames.bottomReflowSpacer,\n styles.bottomReflowSpacer,\n state.bottomReflowSpacer.className,\n );\n }\n return state;\n};\n"],"names":["clsx","styles","messageBarClassNames","root","icon","bottomReflowSpacer","useMessageBarStyles_unstable","state","className","layout","shape","intent"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,uBAAwD;IACnEC,MAAM;IACNC,MAAM;IACNC,oBAAoB;AACtB,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,GAAGR,KACrBE,qBAAqBC,IAAI,EACzBF,OAAOE,IAAI,EACXF,MAAM,CAACM,MAAME,MAAM,CAAC,EACpBR,MAAM,CAACM,MAAMG,KAAK,CAAC,EACnBT,MAAM,CAACM,MAAMI,MAAM,CAAC,EACpBJ,MAAMJ,IAAI,CAACK,SAAS;IAEtB,IAAID,MAAMH,IAAI,EAAE;QACdG,MAAMH,IAAI,CAACI,SAAS,GAAGR,KAAKE,qBAAqBE,IAAI,EAAEH,OAAOG,IAAI,EAAEG,MAAMH,IAAI,CAACI,SAAS;IAC1F;IACA,IAAID,MAAMF,kBAAkB,EAAE;QAC5BE,MAAMF,kBAAkB,CAACG,SAAS,GAAGR,KACnCE,qBAAqBG,kBAAkB,EACvCJ,OAAOI,kBAAkB,EACzBE,MAAMF,kBAAkB,CAACG,SAAS;IAEtC;IACA,OAAOD;AACT,EAAE"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./MessageBar.module.css";
|
|
3
|
-
export const messageBarClassNames = {
|
|
4
|
-
root: 'fui-MessageBar',
|
|
5
|
-
icon: 'fui-MessageBar__icon',
|
|
6
|
-
bottomReflowSpacer: 'fui-MessageBar__bottomReflowSpacer'
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Apply styling to the MessageBar slots based on the state
|
|
10
|
-
*/ export const useMessageBarStyles_unstable = (state)=>{
|
|
11
|
-
state.root.className = clsx(messageBarClassNames.root, styles.root, styles[state.layout], styles[state.shape], styles[state.intent], state.root.className);
|
|
12
|
-
if (state.icon) {
|
|
13
|
-
state.icon.className = clsx(messageBarClassNames.icon, styles.icon, state.icon.className);
|
|
14
|
-
}
|
|
15
|
-
if (state.bottomReflowSpacer) {
|
|
16
|
-
state.bottomReflowSpacer.className = clsx(messageBarClassNames.bottomReflowSpacer, styles.bottomReflowSpacer, state.bottomReflowSpacer.className);
|
|
17
|
-
}
|
|
18
|
-
return state;
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBar/useMessageBarStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarSlots, MessageBarState } from './MessageBar.types';\nimport styles from './MessageBar.module.css';\n\nexport const messageBarClassNames: SlotClassNames<MessageBarSlots> = {\n root: 'fui-MessageBar',\n icon: 'fui-MessageBar__icon',\n bottomReflowSpacer: 'fui-MessageBar__bottomReflowSpacer',\n};\n\n/**\n * Apply styling to the MessageBar slots based on the state\n */\nexport const useMessageBarStyles_unstable = (state: MessageBarState): MessageBarState => {\n state.root.className = clsx(\n messageBarClassNames.root,\n styles.root,\n styles[state.layout],\n styles[state.shape],\n styles[state.intent],\n state.root.className,\n );\n if (state.icon) {\n state.icon.className = clsx(messageBarClassNames.icon, styles.icon, state.icon.className);\n }\n if (state.bottomReflowSpacer) {\n state.bottomReflowSpacer.className = clsx(\n messageBarClassNames.bottomReflowSpacer,\n styles.bottomReflowSpacer,\n state.bottomReflowSpacer.className,\n );\n }\n return state;\n};\n"],"names":["clsx","styles","messageBarClassNames","root","icon","bottomReflowSpacer","useMessageBarStyles_unstable","state","className","layout","shape","intent"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,uBAAwD;IACnEC,MAAM;IACNC,MAAM;IACNC,oBAAoB;AACtB,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,GAAGR,KACrBE,qBAAqBC,IAAI,EACzBF,OAAOE,IAAI,EACXF,MAAM,CAACM,MAAME,MAAM,CAAC,EACpBR,MAAM,CAACM,MAAMG,KAAK,CAAC,EACnBT,MAAM,CAACM,MAAMI,MAAM,CAAC,EACpBJ,MAAMJ,IAAI,CAACK,SAAS;IAEtB,IAAID,MAAMH,IAAI,EAAE;QACdG,MAAMH,IAAI,CAACI,SAAS,GAAGR,KAAKE,qBAAqBE,IAAI,EAAEH,OAAOG,IAAI,EAAEG,MAAMH,IAAI,CAACI,SAAS;IAC1F;IACA,IAAID,MAAMF,kBAAkB,EAAE;QAC5BE,MAAMF,kBAAkB,CAACG,SAAS,GAAGR,KACnCE,qBAAqBG,kBAAkB,EACvCJ,OAAOI,kBAAkB,EACzBE,MAAMF,kBAAkB,CAACG,SAAS;IAEtC;IACA,OAAOD;AACT,EAAE"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
@layer fluentui {
|
|
2
|
-
.root {
|
|
3
|
-
grid-area: secondaryActions;
|
|
4
|
-
display: flex;
|
|
5
|
-
column-gap: var(--spacingHorizontalM);
|
|
6
|
-
padding-inline-end: var(--spacingHorizontalM);
|
|
7
|
-
}
|
|
8
|
-
.containerAction {
|
|
9
|
-
grid-area: actions;
|
|
10
|
-
padding-inline-end: var(--spacingHorizontalM);
|
|
11
|
-
}
|
|
12
|
-
.multiline {
|
|
13
|
-
justify-content: end;
|
|
14
|
-
margin-top: var(--spacingVerticalMNudge);
|
|
15
|
-
margin-bottom: var(--spacingVerticalS);
|
|
16
|
-
margin-inline-end: 0px;
|
|
17
|
-
padding-inline-end: var(--spacingVerticalM);
|
|
18
|
-
}
|
|
19
|
-
.noActions {
|
|
20
|
-
display: none;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./MessageBarActions.module.css";
|
|
3
|
-
export const messageBarActionsClassNames = {
|
|
4
|
-
root: 'fui-MessageBarActions',
|
|
5
|
-
containerAction: 'fui-MessageBarActions__containerAction'
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Apply styling to the MessageBarActions slots based on the state
|
|
9
|
-
*/ export const useMessageBarActionsStyles_unstable = (state)=>{
|
|
10
|
-
state.root.className = clsx(messageBarActionsClassNames.root, styles.root, styles[state.layout], !state.hasActions && styles.noActions, state.root.className);
|
|
11
|
-
if (state.containerAction) {
|
|
12
|
-
state.containerAction.className = clsx(messageBarActionsClassNames.containerAction, styles.containerAction, state.containerAction.className);
|
|
13
|
-
}
|
|
14
|
-
return state;
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarActions/useMessageBarActionsStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarActionsSlots, MessageBarActionsState } from './MessageBarActions.types';\nimport styles from './MessageBarActions.module.css';\n\nexport const messageBarActionsClassNames: SlotClassNames<MessageBarActionsSlots> = {\n root: 'fui-MessageBarActions',\n containerAction: 'fui-MessageBarActions__containerAction',\n};\n\n/**\n * Apply styling to the MessageBarActions slots based on the state\n */\nexport const useMessageBarActionsStyles_unstable = (state: MessageBarActionsState): MessageBarActionsState => {\n state.root.className = clsx(\n messageBarActionsClassNames.root,\n styles.root,\n styles[state.layout],\n !state.hasActions && styles.noActions,\n state.root.className,\n );\n if (state.containerAction) {\n state.containerAction.className = clsx(\n messageBarActionsClassNames.containerAction,\n styles.containerAction,\n state.containerAction.className,\n );\n }\n return state;\n};\n"],"names":["clsx","styles","messageBarActionsClassNames","root","containerAction","useMessageBarActionsStyles_unstable","state","className","layout","hasActions","noActions"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,iCAAiC;AAEpD,OAAO,MAAMC,8BAAsE;IACjFC,MAAM;IACNC,iBAAiB;AACnB,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,sCAAsC,CAACC;IAClDA,MAAMH,IAAI,CAACI,SAAS,GAAGP,KACrBE,4BAA4BC,IAAI,EAChCF,OAAOE,IAAI,EACXF,MAAM,CAACK,MAAME,MAAM,CAAC,EACpB,CAACF,MAAMG,UAAU,IAAIR,OAAOS,SAAS,EACrCJ,MAAMH,IAAI,CAACI,SAAS;IAEtB,IAAID,MAAMF,eAAe,EAAE;QACzBE,MAAMF,eAAe,CAACG,SAAS,GAAGP,KAChCE,4BAA4BE,eAAe,EAC3CH,OAAOG,eAAe,EACtBE,MAAMF,eAAe,CAACG,SAAS;IAEnC;IACA,OAAOD;AACT,EAAE"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./MessageBarActions.module.css";
|
|
3
|
-
export const messageBarActionsClassNames = {
|
|
4
|
-
root: 'fui-MessageBarActions',
|
|
5
|
-
containerAction: 'fui-MessageBarActions__containerAction'
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Apply styling to the MessageBarActions slots based on the state
|
|
9
|
-
*/ export const useMessageBarActionsStyles_unstable = (state)=>{
|
|
10
|
-
state.root.className = clsx(messageBarActionsClassNames.root, styles.root, styles[state.layout], !state.hasActions && styles.noActions, state.root.className);
|
|
11
|
-
if (state.containerAction) {
|
|
12
|
-
state.containerAction.className = clsx(messageBarActionsClassNames.containerAction, styles.containerAction, state.containerAction.className);
|
|
13
|
-
}
|
|
14
|
-
return state;
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarActions/useMessageBarActionsStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarActionsSlots, MessageBarActionsState } from './MessageBarActions.types';\nimport styles from './MessageBarActions.module.css';\n\nexport const messageBarActionsClassNames: SlotClassNames<MessageBarActionsSlots> = {\n root: 'fui-MessageBarActions',\n containerAction: 'fui-MessageBarActions__containerAction',\n};\n\n/**\n * Apply styling to the MessageBarActions slots based on the state\n */\nexport const useMessageBarActionsStyles_unstable = (state: MessageBarActionsState): MessageBarActionsState => {\n state.root.className = clsx(\n messageBarActionsClassNames.root,\n styles.root,\n styles[state.layout],\n !state.hasActions && styles.noActions,\n state.root.className,\n );\n if (state.containerAction) {\n state.containerAction.className = clsx(\n messageBarActionsClassNames.containerAction,\n styles.containerAction,\n state.containerAction.className,\n );\n }\n return state;\n};\n"],"names":["clsx","styles","messageBarActionsClassNames","root","containerAction","useMessageBarActionsStyles_unstable","state","className","layout","hasActions","noActions"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,iCAAiC;AAEpD,OAAO,MAAMC,8BAAsE;IACjFC,MAAM;IACNC,iBAAiB;AACnB,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,sCAAsC,CAACC;IAClDA,MAAMH,IAAI,CAACI,SAAS,GAAGP,KACrBE,4BAA4BC,IAAI,EAChCF,OAAOE,IAAI,EACXF,MAAM,CAACK,MAAME,MAAM,CAAC,EACpB,CAACF,MAAMG,UAAU,IAAIR,OAAOS,SAAS,EACrCJ,MAAMH,IAAI,CAACI,SAAS;IAEtB,IAAID,MAAMF,eAAe,EAAE;QACzBE,MAAMF,eAAe,CAACG,SAAS,GAAGP,KAChCE,4BAA4BE,eAAe,EAC3CH,OAAOG,eAAe,EACtBE,MAAMF,eAAe,CAACG,SAAS;IAEnC;IACA,OAAOD;AACT,EAAE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
@layer fluentui {
|
|
2
|
-
.root {
|
|
3
|
-
font-family: var(--fontFamilyBase);
|
|
4
|
-
font-size: var(--fontSizeBase300);
|
|
5
|
-
font-weight: var(--fontWeightRegular);
|
|
6
|
-
line-height: var(--lineHeightBase300);
|
|
7
|
-
grid-area: body;
|
|
8
|
-
padding-inline-end: var(--spacingHorizontalM);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./MessageBarBody.module.css";
|
|
3
|
-
export const messageBarBodyClassNames = {
|
|
4
|
-
root: 'fui-MessageBarBody'
|
|
5
|
-
};
|
|
6
|
-
export const useMessageBarBodyStyles_unstable = (state)=>{
|
|
7
|
-
state.root.className = clsx(messageBarBodyClassNames.root, styles.root, state.root.className);
|
|
8
|
-
return state;
|
|
9
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarBody/useMessageBarBodyStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarBodySlots, MessageBarBodyState } from './MessageBarBody.types';\nimport styles from './MessageBarBody.module.css';\n\nexport const messageBarBodyClassNames: SlotClassNames<MessageBarBodySlots> = {\n root: 'fui-MessageBarBody',\n};\n\nexport const useMessageBarBodyStyles_unstable = (state: MessageBarBodyState): MessageBarBodyState => {\n state.root.className = clsx(messageBarBodyClassNames.root, styles.root, state.root.className);\n return state;\n};\n"],"names":["clsx","styles","messageBarBodyClassNames","root","useMessageBarBodyStyles_unstable","state","className"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,8BAA8B;AAEjD,OAAO,MAAMC,2BAAgE;IAC3EC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,mCAAmC,CAACC;IAC/CA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KAAKE,yBAAyBC,IAAI,EAAEF,OAAOE,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAC5F,OAAOD;AACT,EAAE"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./MessageBarBody.module.css";
|
|
3
|
-
export const messageBarBodyClassNames = {
|
|
4
|
-
root: 'fui-MessageBarBody'
|
|
5
|
-
};
|
|
6
|
-
export const useMessageBarBodyStyles_unstable = (state)=>{
|
|
7
|
-
state.root.className = clsx(messageBarBodyClassNames.root, styles.root, state.root.className);
|
|
8
|
-
return state;
|
|
9
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarBody/useMessageBarBodyStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarBodySlots, MessageBarBodyState } from './MessageBarBody.types';\nimport styles from './MessageBarBody.module.css';\n\nexport const messageBarBodyClassNames: SlotClassNames<MessageBarBodySlots> = {\n root: 'fui-MessageBarBody',\n};\n\nexport const useMessageBarBodyStyles_unstable = (state: MessageBarBodyState): MessageBarBodyState => {\n state.root.className = clsx(messageBarBodyClassNames.root, styles.root, state.root.className);\n return state;\n};\n"],"names":["clsx","styles","messageBarBodyClassNames","root","useMessageBarBodyStyles_unstable","state","className"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,8BAA8B;AAEjD,OAAO,MAAMC,2BAAgE;IAC3EC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,mCAAmC,CAACC;IAC/CA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KAAKE,yBAAyBC,IAAI,EAAEF,OAAOE,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAC5F,OAAOD;AACT,EAAE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
export const messageBarGroupClassNames = {
|
|
3
|
-
root: 'fui-MessageBarGroup'
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* Apply styling to the MessageBarGroup slots based on the state
|
|
7
|
-
*/ export const useMessageBarGroupStyles_unstable = (state)=>{
|
|
8
|
-
state.root.className = clsx(messageBarGroupClassNames.root, state.root.className);
|
|
9
|
-
return state;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarGroup/useMessageBarGroupStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarGroupSlots, MessageBarGroupState } from './MessageBarGroup.types';\n\nexport const messageBarGroupClassNames: SlotClassNames<MessageBarGroupSlots> = {\n root: 'fui-MessageBarGroup',\n};\n\n/**\n * Apply styling to the MessageBarGroup slots based on the state\n */\nexport const useMessageBarGroupStyles_unstable = (state: MessageBarGroupState): MessageBarGroupState => {\n state.root.className = clsx(messageBarGroupClassNames.root, state.root.className);\n return state;\n};\n"],"names":["clsx","messageBarGroupClassNames","root","useMessageBarGroupStyles_unstable","state","className"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAI5B,OAAO,MAAMC,4BAAkE;IAC7EC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,oCAAoC,CAACC;IAChDA,MAAMF,IAAI,CAACG,SAAS,GAAGL,KAAKC,0BAA0BC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAChF,OAAOD;AACT,EAAE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
export const messageBarGroupClassNames = {
|
|
3
|
-
root: 'fui-MessageBarGroup'
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* Apply styling to the MessageBarGroup slots based on the state
|
|
7
|
-
*/ export const useMessageBarGroupStyles_unstable = (state)=>{
|
|
8
|
-
state.root.className = clsx(messageBarGroupClassNames.root, state.root.className);
|
|
9
|
-
return state;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarGroup/useMessageBarGroupStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarGroupSlots, MessageBarGroupState } from './MessageBarGroup.types';\n\nexport const messageBarGroupClassNames: SlotClassNames<MessageBarGroupSlots> = {\n root: 'fui-MessageBarGroup',\n};\n\n/**\n * Apply styling to the MessageBarGroup slots based on the state\n */\nexport const useMessageBarGroupStyles_unstable = (state: MessageBarGroupState): MessageBarGroupState => {\n state.root.className = clsx(messageBarGroupClassNames.root, state.root.className);\n return state;\n};\n"],"names":["clsx","messageBarGroupClassNames","root","useMessageBarGroupStyles_unstable","state","className"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAI5B,OAAO,MAAMC,4BAAkE;IAC7EC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,oCAAoC,CAACC;IAChDA,MAAMF,IAAI,CAACG,SAAS,GAAGL,KAAKC,0BAA0BC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAChF,OAAOD;AACT,EAAE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./MessageBarTitle.module.css";
|
|
3
|
-
export const messageBarTitleClassNames = {
|
|
4
|
-
root: 'fui-MessageBarTitle'
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Apply styling to the MessageBarTitle slots based on the state
|
|
8
|
-
*/ export const useMessageBarTitleStyles_unstable = (state)=>{
|
|
9
|
-
state.root.className = clsx(messageBarTitleClassNames.root, styles.root, state.root.className);
|
|
10
|
-
return state;
|
|
11
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarTitle/useMessageBarTitleStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarTitleSlots, MessageBarTitleState } from './MessageBarTitle.types';\nimport styles from './MessageBarTitle.module.css';\n\nexport const messageBarTitleClassNames: SlotClassNames<MessageBarTitleSlots> = {\n root: 'fui-MessageBarTitle',\n};\n\n/**\n * Apply styling to the MessageBarTitle slots based on the state\n */\nexport const useMessageBarTitleStyles_unstable = (state: MessageBarTitleState): MessageBarTitleState => {\n state.root.className = clsx(messageBarTitleClassNames.root, styles.root, state.root.className);\n\n return state;\n};\n"],"names":["clsx","styles","messageBarTitleClassNames","root","useMessageBarTitleStyles_unstable","state","className"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,+BAA+B;AAElD,OAAO,MAAMC,4BAAkE;IAC7EC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,oCAAoC,CAACC;IAChDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KAAKE,0BAA0BC,IAAI,EAAEF,OAAOE,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAE7F,OAAOD;AACT,EAAE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./MessageBarTitle.module.css";
|
|
3
|
-
export const messageBarTitleClassNames = {
|
|
4
|
-
root: 'fui-MessageBarTitle'
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Apply styling to the MessageBarTitle slots based on the state
|
|
8
|
-
*/ export const useMessageBarTitleStyles_unstable = (state)=>{
|
|
9
|
-
state.root.className = clsx(messageBarTitleClassNames.root, styles.root, state.root.className);
|
|
10
|
-
return state;
|
|
11
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarTitle/useMessageBarTitleStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarTitleSlots, MessageBarTitleState } from './MessageBarTitle.types';\nimport styles from './MessageBarTitle.module.css';\n\nexport const messageBarTitleClassNames: SlotClassNames<MessageBarTitleSlots> = {\n root: 'fui-MessageBarTitle',\n};\n\n/**\n * Apply styling to the MessageBarTitle slots based on the state\n */\nexport const useMessageBarTitleStyles_unstable = (state: MessageBarTitleState): MessageBarTitleState => {\n state.root.className = clsx(messageBarTitleClassNames.root, styles.root, state.root.className);\n\n return state;\n};\n"],"names":["clsx","styles","messageBarTitleClassNames","root","useMessageBarTitleStyles_unstable","state","className"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,+BAA+B;AAElD,OAAO,MAAMC,4BAAkE;IAC7EC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,oCAAoC,CAACC;IAChDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KAAKE,0BAA0BC,IAAI,EAAEF,OAAOE,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAE7F,OAAOD;AACT,EAAE"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
@layer fluentui {
|
|
2
|
-
.root {
|
|
3
|
-
white-space: nowrap;
|
|
4
|
-
display: grid;
|
|
5
|
-
grid-template-columns: auto 1fr auto auto;
|
|
6
|
-
grid-template-rows: 1fr;
|
|
7
|
-
grid-template-areas: 'icon body secondaryActions actions';
|
|
8
|
-
padding-inline-start: var(--spacingHorizontalM);
|
|
9
|
-
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1);
|
|
10
|
-
border-radius: var(--borderRadiusMedium);
|
|
11
|
-
align-items: center;
|
|
12
|
-
min-height: calc(var(--spacingHorizontalXXXL) + var(--spacingHorizontalXS));
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
background-color: var(--colorNeutralBackground3);
|
|
15
|
-
}
|
|
16
|
-
.icon {
|
|
17
|
-
grid-area: icon;
|
|
18
|
-
font-size: var(--fontSizeBase500);
|
|
19
|
-
margin-inline-end: var(--spacingHorizontalS);
|
|
20
|
-
color: var(--colorNeutralForeground3);
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
}
|
|
24
|
-
.bottomReflowSpacer {
|
|
25
|
-
margin-bottom: var(--spacingVerticalS);
|
|
26
|
-
grid-area: secondaryActions;
|
|
27
|
-
}
|
|
28
|
-
.multiline {
|
|
29
|
-
white-space: normal;
|
|
30
|
-
align-items: start;
|
|
31
|
-
padding-top: var(--spacingVerticalMNudge);
|
|
32
|
-
grid-template-columns: auto 1fr auto;
|
|
33
|
-
grid-template-areas:
|
|
34
|
-
'icon body actions'
|
|
35
|
-
'secondaryActions secondaryActions secondaryActions';
|
|
36
|
-
}
|
|
37
|
-
.square {
|
|
38
|
-
border-radius: 0;
|
|
39
|
-
}
|
|
40
|
-
.error {
|
|
41
|
-
background-color: var(--colorStatusDangerBackground1);
|
|
42
|
-
border-top-color: var(--colorStatusDangerBorder1);
|
|
43
|
-
border-right-color: var(--colorStatusDangerBorder1);
|
|
44
|
-
border-bottom-color: var(--colorStatusDangerBorder1);
|
|
45
|
-
border-left-color: var(--colorStatusDangerBorder1);
|
|
46
|
-
}
|
|
47
|
-
.warning {
|
|
48
|
-
background-color: var(--colorStatusWarningBackground1);
|
|
49
|
-
border-top-color: var(--colorStatusWarningBorder1);
|
|
50
|
-
border-right-color: var(--colorStatusWarningBorder1);
|
|
51
|
-
border-bottom-color: var(--colorStatusWarningBorder1);
|
|
52
|
-
border-left-color: var(--colorStatusWarningBorder1);
|
|
53
|
-
}
|
|
54
|
-
.success {
|
|
55
|
-
background-color: var(--colorStatusSuccessBackground1);
|
|
56
|
-
border-top-color: var(--colorStatusSuccessBorder1);
|
|
57
|
-
border-right-color: var(--colorStatusSuccessBorder1);
|
|
58
|
-
border-bottom-color: var(--colorStatusSuccessBorder1);
|
|
59
|
-
border-left-color: var(--colorStatusSuccessBorder1);
|
|
60
|
-
}
|
|
61
|
-
:where(.error) > .icon {
|
|
62
|
-
color: var(--colorStatusDangerForeground1);
|
|
63
|
-
}
|
|
64
|
-
:where(.warning) > .icon {
|
|
65
|
-
color: var(--colorStatusWarningForeground3);
|
|
66
|
-
}
|
|
67
|
-
:where(.success) > .icon {
|
|
68
|
-
color: var(--colorStatusSuccessForeground1);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
get messageBarClassNames () {
|
|
13
|
-
return messageBarClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useMessageBarStyles_unstable () {
|
|
16
|
-
return useMessageBarStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _MessageBarmodulecss = /*#__PURE__*/ _interop_require_default._(require("./MessageBar.module.css"));
|
|
22
|
-
const messageBarClassNames = {
|
|
23
|
-
root: 'fui-MessageBar',
|
|
24
|
-
icon: 'fui-MessageBar__icon',
|
|
25
|
-
bottomReflowSpacer: 'fui-MessageBar__bottomReflowSpacer'
|
|
26
|
-
};
|
|
27
|
-
const useMessageBarStyles_unstable = (state)=>{
|
|
28
|
-
state.root.className = (0, _clsx.clsx)(messageBarClassNames.root, _MessageBarmodulecss.default.root, _MessageBarmodulecss.default[state.layout], _MessageBarmodulecss.default[state.shape], _MessageBarmodulecss.default[state.intent], state.root.className);
|
|
29
|
-
if (state.icon) {
|
|
30
|
-
state.icon.className = (0, _clsx.clsx)(messageBarClassNames.icon, _MessageBarmodulecss.default.icon, state.icon.className);
|
|
31
|
-
}
|
|
32
|
-
if (state.bottomReflowSpacer) {
|
|
33
|
-
state.bottomReflowSpacer.className = (0, _clsx.clsx)(messageBarClassNames.bottomReflowSpacer, _MessageBarmodulecss.default.bottomReflowSpacer, state.bottomReflowSpacer.className);
|
|
34
|
-
}
|
|
35
|
-
return state;
|
|
36
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBar/useMessageBarStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarSlots, MessageBarState } from './MessageBar.types';\nimport styles from './MessageBar.module.css';\n\nexport const messageBarClassNames: SlotClassNames<MessageBarSlots> = {\n root: 'fui-MessageBar',\n icon: 'fui-MessageBar__icon',\n bottomReflowSpacer: 'fui-MessageBar__bottomReflowSpacer',\n};\n\n/**\n * Apply styling to the MessageBar slots based on the state\n */\nexport const useMessageBarStyles_unstable = (state: MessageBarState): MessageBarState => {\n state.root.className = clsx(\n messageBarClassNames.root,\n styles.root,\n styles[state.layout],\n styles[state.shape],\n styles[state.intent],\n state.root.className,\n );\n if (state.icon) {\n state.icon.className = clsx(messageBarClassNames.icon, styles.icon, state.icon.className);\n }\n if (state.bottomReflowSpacer) {\n state.bottomReflowSpacer.className = clsx(\n messageBarClassNames.bottomReflowSpacer,\n styles.bottomReflowSpacer,\n state.bottomReflowSpacer.className,\n );\n }\n return state;\n};\n"],"names":["clsx","styles","messageBarClassNames","root","icon","bottomReflowSpacer","useMessageBarStyles_unstable","state","className","layout","shape","intent"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;8EAGT,0BAA0B;AAEtC,6BAA8D;IACnEC,MAAM;IACNC,MAAM;IACNC,oBAAoB;AACtB,EAAE;AAKK,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,OAAGR,UAAAA,EACrBE,qBAAqBC,IAAI,EACzBF,4BAAAA,CAAOE,IAAI,EACXF,4BAAM,CAACM,MAAME,MAAM,CAAC,EACpBR,4BAAM,CAACM,MAAMG,KAAK,CAAC,EACnBT,4BAAM,CAACM,MAAMI,MAAM,CAAC,EACpBJ,MAAMJ,IAAI,CAACK,SAAS;IAEtB,IAAID,MAAMH,IAAI,EAAE;QACdG,MAAMH,IAAI,CAACI,SAAS,OAAGR,UAAAA,EAAKE,qBAAqBE,IAAI,EAAEH,4BAAAA,CAAOG,IAAI,EAAEG,MAAMH,IAAI,CAACI,SAAS;IAC1F;IACA,IAAID,MAAMF,kBAAkB,EAAE;QAC5BE,MAAMF,kBAAkB,CAACG,SAAS,OAAGR,UAAAA,EACnCE,qBAAqBG,kBAAkB,EACvCJ,4BAAAA,CAAOI,kBAAkB,EACzBE,MAAMF,kBAAkB,CAACG,SAAS;IAEtC;IACA,OAAOD;AACT,EAAE"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
get messageBarClassNames () {
|
|
13
|
-
return messageBarClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useMessageBarStyles_unstable () {
|
|
16
|
-
return useMessageBarStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _MessageBarmodulecss = /*#__PURE__*/ _interop_require_default._(require("./MessageBar.module.css"));
|
|
22
|
-
const messageBarClassNames = {
|
|
23
|
-
root: 'fui-MessageBar',
|
|
24
|
-
icon: 'fui-MessageBar__icon',
|
|
25
|
-
bottomReflowSpacer: 'fui-MessageBar__bottomReflowSpacer'
|
|
26
|
-
};
|
|
27
|
-
const useMessageBarStyles_unstable = (state)=>{
|
|
28
|
-
state.root.className = (0, _clsx.clsx)(messageBarClassNames.root, _MessageBarmodulecss.default.root, _MessageBarmodulecss.default[state.layout], _MessageBarmodulecss.default[state.shape], _MessageBarmodulecss.default[state.intent], state.root.className);
|
|
29
|
-
if (state.icon) {
|
|
30
|
-
state.icon.className = (0, _clsx.clsx)(messageBarClassNames.icon, _MessageBarmodulecss.default.icon, state.icon.className);
|
|
31
|
-
}
|
|
32
|
-
if (state.bottomReflowSpacer) {
|
|
33
|
-
state.bottomReflowSpacer.className = (0, _clsx.clsx)(messageBarClassNames.bottomReflowSpacer, _MessageBarmodulecss.default.bottomReflowSpacer, state.bottomReflowSpacer.className);
|
|
34
|
-
}
|
|
35
|
-
return state;
|
|
36
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBar/useMessageBarStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarSlots, MessageBarState } from './MessageBar.types';\nimport styles from './MessageBar.module.css';\n\nexport const messageBarClassNames: SlotClassNames<MessageBarSlots> = {\n root: 'fui-MessageBar',\n icon: 'fui-MessageBar__icon',\n bottomReflowSpacer: 'fui-MessageBar__bottomReflowSpacer',\n};\n\n/**\n * Apply styling to the MessageBar slots based on the state\n */\nexport const useMessageBarStyles_unstable = (state: MessageBarState): MessageBarState => {\n state.root.className = clsx(\n messageBarClassNames.root,\n styles.root,\n styles[state.layout],\n styles[state.shape],\n styles[state.intent],\n state.root.className,\n );\n if (state.icon) {\n state.icon.className = clsx(messageBarClassNames.icon, styles.icon, state.icon.className);\n }\n if (state.bottomReflowSpacer) {\n state.bottomReflowSpacer.className = clsx(\n messageBarClassNames.bottomReflowSpacer,\n styles.bottomReflowSpacer,\n state.bottomReflowSpacer.className,\n );\n }\n return state;\n};\n"],"names":["clsx","styles","messageBarClassNames","root","icon","bottomReflowSpacer","useMessageBarStyles_unstable","state","className","layout","shape","intent"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;8EAGT,0BAA0B;AAEtC,6BAA8D;IACnEC,MAAM;IACNC,MAAM;IACNC,oBAAoB;AACtB,EAAE;AAKK,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,OAAGR,UAAAA,EACrBE,qBAAqBC,IAAI,EACzBF,4BAAAA,CAAOE,IAAI,EACXF,4BAAM,CAACM,MAAME,MAAM,CAAC,EACpBR,4BAAM,CAACM,MAAMG,KAAK,CAAC,EACnBT,4BAAM,CAACM,MAAMI,MAAM,CAAC,EACpBJ,MAAMJ,IAAI,CAACK,SAAS;IAEtB,IAAID,MAAMH,IAAI,EAAE;QACdG,MAAMH,IAAI,CAACI,SAAS,OAAGR,UAAAA,EAAKE,qBAAqBE,IAAI,EAAEH,4BAAAA,CAAOG,IAAI,EAAEG,MAAMH,IAAI,CAACI,SAAS;IAC1F;IACA,IAAID,MAAMF,kBAAkB,EAAE;QAC5BE,MAAMF,kBAAkB,CAACG,SAAS,OAAGR,UAAAA,EACnCE,qBAAqBG,kBAAkB,EACvCJ,4BAAAA,CAAOI,kBAAkB,EACzBE,MAAMF,kBAAkB,CAACG,SAAS;IAEtC;IACA,OAAOD;AACT,EAAE"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
@layer fluentui {
|
|
2
|
-
.root {
|
|
3
|
-
grid-area: secondaryActions;
|
|
4
|
-
display: flex;
|
|
5
|
-
column-gap: var(--spacingHorizontalM);
|
|
6
|
-
padding-inline-end: var(--spacingHorizontalM);
|
|
7
|
-
}
|
|
8
|
-
.containerAction {
|
|
9
|
-
grid-area: actions;
|
|
10
|
-
padding-inline-end: var(--spacingHorizontalM);
|
|
11
|
-
}
|
|
12
|
-
.multiline {
|
|
13
|
-
justify-content: end;
|
|
14
|
-
margin-top: var(--spacingVerticalMNudge);
|
|
15
|
-
margin-bottom: var(--spacingVerticalS);
|
|
16
|
-
margin-inline-end: 0px;
|
|
17
|
-
padding-inline-end: var(--spacingVerticalM);
|
|
18
|
-
}
|
|
19
|
-
.noActions {
|
|
20
|
-
display: none;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
get messageBarActionsClassNames () {
|
|
13
|
-
return messageBarActionsClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useMessageBarActionsStyles_unstable () {
|
|
16
|
-
return useMessageBarActionsStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _MessageBarActionsmodulecss = /*#__PURE__*/ _interop_require_default._(require("./MessageBarActions.module.css"));
|
|
22
|
-
const messageBarActionsClassNames = {
|
|
23
|
-
root: 'fui-MessageBarActions',
|
|
24
|
-
containerAction: 'fui-MessageBarActions__containerAction'
|
|
25
|
-
};
|
|
26
|
-
const useMessageBarActionsStyles_unstable = (state)=>{
|
|
27
|
-
state.root.className = (0, _clsx.clsx)(messageBarActionsClassNames.root, _MessageBarActionsmodulecss.default.root, _MessageBarActionsmodulecss.default[state.layout], !state.hasActions && _MessageBarActionsmodulecss.default.noActions, state.root.className);
|
|
28
|
-
if (state.containerAction) {
|
|
29
|
-
state.containerAction.className = (0, _clsx.clsx)(messageBarActionsClassNames.containerAction, _MessageBarActionsmodulecss.default.containerAction, state.containerAction.className);
|
|
30
|
-
}
|
|
31
|
-
return state;
|
|
32
|
-
};
|
package/lib-commonjs/components/MessageBarActions/useMessageBarActionsStyles.styles.css.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarActions/useMessageBarActionsStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarActionsSlots, MessageBarActionsState } from './MessageBarActions.types';\nimport styles from './MessageBarActions.module.css';\n\nexport const messageBarActionsClassNames: SlotClassNames<MessageBarActionsSlots> = {\n root: 'fui-MessageBarActions',\n containerAction: 'fui-MessageBarActions__containerAction',\n};\n\n/**\n * Apply styling to the MessageBarActions slots based on the state\n */\nexport const useMessageBarActionsStyles_unstable = (state: MessageBarActionsState): MessageBarActionsState => {\n state.root.className = clsx(\n messageBarActionsClassNames.root,\n styles.root,\n styles[state.layout],\n !state.hasActions && styles.noActions,\n state.root.className,\n );\n if (state.containerAction) {\n state.containerAction.className = clsx(\n messageBarActionsClassNames.containerAction,\n styles.containerAction,\n state.containerAction.className,\n );\n }\n return state;\n};\n"],"names":["clsx","styles","messageBarActionsClassNames","root","containerAction","useMessageBarActionsStyles_unstable","state","className","layout","hasActions","noActions"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;qFAGT,iCAAiC;AAE7C,oCAA4E;IACjFC,MAAM;IACNC,iBAAiB;AACnB,EAAE;AAKK,MAAMC,sCAAsC,CAACC;IAClDA,MAAMH,IAAI,CAACI,SAAS,OAAGP,UAAAA,EACrBE,4BAA4BC,IAAI,EAChCF,mCAAAA,CAAOE,IAAI,EACXF,mCAAM,CAACK,MAAME,MAAM,CAAC,EACpB,CAACF,MAAMG,UAAU,IAAIR,mCAAAA,CAAOS,SAAS,EACrCJ,MAAMH,IAAI,CAACI,SAAS;IAEtB,IAAID,MAAMF,eAAe,EAAE;QACzBE,MAAMF,eAAe,CAACG,SAAS,OAAGP,UAAAA,EAChCE,4BAA4BE,eAAe,EAC3CH,mCAAAA,CAAOG,eAAe,EACtBE,MAAMF,eAAe,CAACG,SAAS;IAEnC;IACA,OAAOD;AACT,EAAE"}
|
package/lib-commonjs/components/MessageBarActions/useMessageBarActionsStyles.styles.raw.css.cjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
get messageBarActionsClassNames () {
|
|
13
|
-
return messageBarActionsClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useMessageBarActionsStyles_unstable () {
|
|
16
|
-
return useMessageBarActionsStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _MessageBarActionsmodulecss = /*#__PURE__*/ _interop_require_default._(require("./MessageBarActions.module.css"));
|
|
22
|
-
const messageBarActionsClassNames = {
|
|
23
|
-
root: 'fui-MessageBarActions',
|
|
24
|
-
containerAction: 'fui-MessageBarActions__containerAction'
|
|
25
|
-
};
|
|
26
|
-
const useMessageBarActionsStyles_unstable = (state)=>{
|
|
27
|
-
state.root.className = (0, _clsx.clsx)(messageBarActionsClassNames.root, _MessageBarActionsmodulecss.default.root, _MessageBarActionsmodulecss.default[state.layout], !state.hasActions && _MessageBarActionsmodulecss.default.noActions, state.root.className);
|
|
28
|
-
if (state.containerAction) {
|
|
29
|
-
state.containerAction.className = (0, _clsx.clsx)(messageBarActionsClassNames.containerAction, _MessageBarActionsmodulecss.default.containerAction, state.containerAction.className);
|
|
30
|
-
}
|
|
31
|
-
return state;
|
|
32
|
-
};
|
package/lib-commonjs/components/MessageBarActions/useMessageBarActionsStyles.styles.raw.css.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarActions/useMessageBarActionsStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarActionsSlots, MessageBarActionsState } from './MessageBarActions.types';\nimport styles from './MessageBarActions.module.css';\n\nexport const messageBarActionsClassNames: SlotClassNames<MessageBarActionsSlots> = {\n root: 'fui-MessageBarActions',\n containerAction: 'fui-MessageBarActions__containerAction',\n};\n\n/**\n * Apply styling to the MessageBarActions slots based on the state\n */\nexport const useMessageBarActionsStyles_unstable = (state: MessageBarActionsState): MessageBarActionsState => {\n state.root.className = clsx(\n messageBarActionsClassNames.root,\n styles.root,\n styles[state.layout],\n !state.hasActions && styles.noActions,\n state.root.className,\n );\n if (state.containerAction) {\n state.containerAction.className = clsx(\n messageBarActionsClassNames.containerAction,\n styles.containerAction,\n state.containerAction.className,\n );\n }\n return state;\n};\n"],"names":["clsx","styles","messageBarActionsClassNames","root","containerAction","useMessageBarActionsStyles_unstable","state","className","layout","hasActions","noActions"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;qFAGT,iCAAiC;AAE7C,oCAA4E;IACjFC,MAAM;IACNC,iBAAiB;AACnB,EAAE;AAKK,MAAMC,sCAAsC,CAACC;IAClDA,MAAMH,IAAI,CAACI,SAAS,OAAGP,UAAAA,EACrBE,4BAA4BC,IAAI,EAChCF,mCAAAA,CAAOE,IAAI,EACXF,mCAAM,CAACK,MAAME,MAAM,CAAC,EACpB,CAACF,MAAMG,UAAU,IAAIR,mCAAAA,CAAOS,SAAS,EACrCJ,MAAMH,IAAI,CAACI,SAAS;IAEtB,IAAID,MAAMF,eAAe,EAAE;QACzBE,MAAMF,eAAe,CAACG,SAAS,OAAGP,UAAAA,EAChCE,4BAA4BE,eAAe,EAC3CH,mCAAAA,CAAOG,eAAe,EACtBE,MAAMF,eAAe,CAACG,SAAS;IAEnC;IACA,OAAOD;AACT,EAAE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
@layer fluentui {
|
|
2
|
-
.root {
|
|
3
|
-
font-family: var(--fontFamilyBase);
|
|
4
|
-
font-size: var(--fontSizeBase300);
|
|
5
|
-
font-weight: var(--fontWeightRegular);
|
|
6
|
-
line-height: var(--lineHeightBase300);
|
|
7
|
-
grid-area: body;
|
|
8
|
-
padding-inline-end: var(--spacingHorizontalM);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
get messageBarBodyClassNames () {
|
|
13
|
-
return messageBarBodyClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useMessageBarBodyStyles_unstable () {
|
|
16
|
-
return useMessageBarBodyStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _MessageBarBodymodulecss = /*#__PURE__*/ _interop_require_default._(require("./MessageBarBody.module.css"));
|
|
22
|
-
const messageBarBodyClassNames = {
|
|
23
|
-
root: 'fui-MessageBarBody'
|
|
24
|
-
};
|
|
25
|
-
const useMessageBarBodyStyles_unstable = (state)=>{
|
|
26
|
-
state.root.className = (0, _clsx.clsx)(messageBarBodyClassNames.root, _MessageBarBodymodulecss.default.root, state.root.className);
|
|
27
|
-
return state;
|
|
28
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarBody/useMessageBarBodyStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarBodySlots, MessageBarBodyState } from './MessageBarBody.types';\nimport styles from './MessageBarBody.module.css';\n\nexport const messageBarBodyClassNames: SlotClassNames<MessageBarBodySlots> = {\n root: 'fui-MessageBarBody',\n};\n\nexport const useMessageBarBodyStyles_unstable = (state: MessageBarBodyState): MessageBarBodyState => {\n state.root.className = clsx(messageBarBodyClassNames.root, styles.root, state.root.className);\n return state;\n};\n"],"names":["clsx","styles","messageBarBodyClassNames","root","useMessageBarBodyStyles_unstable","state","className"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;kFAGT,8BAA8B;AAE1C,iCAAsE;IAC3EC,MAAM;AACR,EAAE;AAEK,MAAMC,mCAAmC,CAACC;IAC/CA,MAAMF,IAAI,CAACG,SAAS,OAAGN,UAAAA,EAAKE,yBAAyBC,IAAI,EAAEF,gCAAAA,CAAOE,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAC5F,OAAOD;AACT,EAAE"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
get messageBarBodyClassNames () {
|
|
13
|
-
return messageBarBodyClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useMessageBarBodyStyles_unstable () {
|
|
16
|
-
return useMessageBarBodyStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _MessageBarBodymodulecss = /*#__PURE__*/ _interop_require_default._(require("./MessageBarBody.module.css"));
|
|
22
|
-
const messageBarBodyClassNames = {
|
|
23
|
-
root: 'fui-MessageBarBody'
|
|
24
|
-
};
|
|
25
|
-
const useMessageBarBodyStyles_unstable = (state)=>{
|
|
26
|
-
state.root.className = (0, _clsx.clsx)(messageBarBodyClassNames.root, _MessageBarBodymodulecss.default.root, state.root.className);
|
|
27
|
-
return state;
|
|
28
|
-
};
|
package/lib-commonjs/components/MessageBarBody/useMessageBarBodyStyles.styles.raw.css.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarBody/useMessageBarBodyStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarBodySlots, MessageBarBodyState } from './MessageBarBody.types';\nimport styles from './MessageBarBody.module.css';\n\nexport const messageBarBodyClassNames: SlotClassNames<MessageBarBodySlots> = {\n root: 'fui-MessageBarBody',\n};\n\nexport const useMessageBarBodyStyles_unstable = (state: MessageBarBodyState): MessageBarBodyState => {\n state.root.className = clsx(messageBarBodyClassNames.root, styles.root, state.root.className);\n return state;\n};\n"],"names":["clsx","styles","messageBarBodyClassNames","root","useMessageBarBodyStyles_unstable","state","className"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;kFAGT,8BAA8B;AAE1C,iCAAsE;IAC3EC,MAAM;AACR,EAAE;AAEK,MAAMC,mCAAmC,CAACC;IAC/CA,MAAMF,IAAI,CAACG,SAAS,OAAGN,UAAAA,EAAKE,yBAAyBC,IAAI,EAAEF,gCAAAA,CAAOE,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAC5F,OAAOD;AACT,EAAE"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
get messageBarGroupClassNames () {
|
|
13
|
-
return messageBarGroupClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useMessageBarGroupStyles_unstable () {
|
|
16
|
-
return useMessageBarGroupStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _clsx = require("clsx");
|
|
20
|
-
const messageBarGroupClassNames = {
|
|
21
|
-
root: 'fui-MessageBarGroup'
|
|
22
|
-
};
|
|
23
|
-
const useMessageBarGroupStyles_unstable = (state)=>{
|
|
24
|
-
state.root.className = (0, _clsx.clsx)(messageBarGroupClassNames.root, state.root.className);
|
|
25
|
-
return state;
|
|
26
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarGroup/useMessageBarGroupStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarGroupSlots, MessageBarGroupState } from './MessageBarGroup.types';\n\nexport const messageBarGroupClassNames: SlotClassNames<MessageBarGroupSlots> = {\n root: 'fui-MessageBarGroup',\n};\n\n/**\n * Apply styling to the MessageBarGroup slots based on the state\n */\nexport const useMessageBarGroupStyles_unstable = (state: MessageBarGroupState): MessageBarGroupState => {\n state.root.className = clsx(messageBarGroupClassNames.root, state.root.className);\n return state;\n};\n"],"names":["clsx","messageBarGroupClassNames","root","useMessageBarGroupStyles_unstable","state","className"],"mappings":";;;;;;;;;;;QAIaC;;;;;;;sBAJQ,OAAO;AAIrB,kCAAwE;IAC7EC,MAAM;AACR,EAAE;AAKK,MAAMC,oCAAoC,CAACC;IAChDA,MAAMF,IAAI,CAACG,SAAS,OAAGL,UAAAA,EAAKC,0BAA0BC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAChF,OAAOD;AACT,EAAE"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
get messageBarGroupClassNames () {
|
|
13
|
-
return messageBarGroupClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useMessageBarGroupStyles_unstable () {
|
|
16
|
-
return useMessageBarGroupStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _clsx = require("clsx");
|
|
20
|
-
const messageBarGroupClassNames = {
|
|
21
|
-
root: 'fui-MessageBarGroup'
|
|
22
|
-
};
|
|
23
|
-
const useMessageBarGroupStyles_unstable = (state)=>{
|
|
24
|
-
state.root.className = (0, _clsx.clsx)(messageBarGroupClassNames.root, state.root.className);
|
|
25
|
-
return state;
|
|
26
|
-
};
|
package/lib-commonjs/components/MessageBarGroup/useMessageBarGroupStyles.styles.raw.css.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarGroup/useMessageBarGroupStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarGroupSlots, MessageBarGroupState } from './MessageBarGroup.types';\n\nexport const messageBarGroupClassNames: SlotClassNames<MessageBarGroupSlots> = {\n root: 'fui-MessageBarGroup',\n};\n\n/**\n * Apply styling to the MessageBarGroup slots based on the state\n */\nexport const useMessageBarGroupStyles_unstable = (state: MessageBarGroupState): MessageBarGroupState => {\n state.root.className = clsx(messageBarGroupClassNames.root, state.root.className);\n return state;\n};\n"],"names":["clsx","messageBarGroupClassNames","root","useMessageBarGroupStyles_unstable","state","className"],"mappings":";;;;;;;;;;;QAIaC;;;;;;;sBAJQ,OAAO;AAIrB,kCAAwE;IAC7EC,MAAM;AACR,EAAE;AAKK,MAAMC,oCAAoC,CAACC;IAChDA,MAAMF,IAAI,CAACG,SAAS,OAAGL,UAAAA,EAAKC,0BAA0BC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAChF,OAAOD;AACT,EAAE"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
get messageBarTitleClassNames () {
|
|
13
|
-
return messageBarTitleClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useMessageBarTitleStyles_unstable () {
|
|
16
|
-
return useMessageBarTitleStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _MessageBarTitlemodulecss = /*#__PURE__*/ _interop_require_default._(require("./MessageBarTitle.module.css"));
|
|
22
|
-
const messageBarTitleClassNames = {
|
|
23
|
-
root: 'fui-MessageBarTitle'
|
|
24
|
-
};
|
|
25
|
-
const useMessageBarTitleStyles_unstable = (state)=>{
|
|
26
|
-
state.root.className = (0, _clsx.clsx)(messageBarTitleClassNames.root, _MessageBarTitlemodulecss.default.root, state.root.className);
|
|
27
|
-
return state;
|
|
28
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarTitle/useMessageBarTitleStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarTitleSlots, MessageBarTitleState } from './MessageBarTitle.types';\nimport styles from './MessageBarTitle.module.css';\n\nexport const messageBarTitleClassNames: SlotClassNames<MessageBarTitleSlots> = {\n root: 'fui-MessageBarTitle',\n};\n\n/**\n * Apply styling to the MessageBarTitle slots based on the state\n */\nexport const useMessageBarTitleStyles_unstable = (state: MessageBarTitleState): MessageBarTitleState => {\n state.root.className = clsx(messageBarTitleClassNames.root, styles.root, state.root.className);\n\n return state;\n};\n"],"names":["clsx","styles","messageBarTitleClassNames","root","useMessageBarTitleStyles_unstable","state","className"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;mFAGT,+BAA+B;AAE3C,kCAAwE;IAC7EC,MAAM;AACR,EAAE;AAKK,MAAMC,oCAAoC,CAACC;IAChDA,MAAMF,IAAI,CAACG,SAAS,OAAGN,UAAAA,EAAKE,0BAA0BC,IAAI,EAAEF,iCAAAA,CAAOE,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAE7F,OAAOD;AACT,EAAE"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
get messageBarTitleClassNames () {
|
|
13
|
-
return messageBarTitleClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useMessageBarTitleStyles_unstable () {
|
|
16
|
-
return useMessageBarTitleStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _MessageBarTitlemodulecss = /*#__PURE__*/ _interop_require_default._(require("./MessageBarTitle.module.css"));
|
|
22
|
-
const messageBarTitleClassNames = {
|
|
23
|
-
root: 'fui-MessageBarTitle'
|
|
24
|
-
};
|
|
25
|
-
const useMessageBarTitleStyles_unstable = (state)=>{
|
|
26
|
-
state.root.className = (0, _clsx.clsx)(messageBarTitleClassNames.root, _MessageBarTitlemodulecss.default.root, state.root.className);
|
|
27
|
-
return state;
|
|
28
|
-
};
|
package/lib-commonjs/components/MessageBarTitle/useMessageBarTitleStyles.styles.raw.css.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MessageBarTitle/useMessageBarTitleStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { MessageBarTitleSlots, MessageBarTitleState } from './MessageBarTitle.types';\nimport styles from './MessageBarTitle.module.css';\n\nexport const messageBarTitleClassNames: SlotClassNames<MessageBarTitleSlots> = {\n root: 'fui-MessageBarTitle',\n};\n\n/**\n * Apply styling to the MessageBarTitle slots based on the state\n */\nexport const useMessageBarTitleStyles_unstable = (state: MessageBarTitleState): MessageBarTitleState => {\n state.root.className = clsx(messageBarTitleClassNames.root, styles.root, state.root.className);\n\n return state;\n};\n"],"names":["clsx","styles","messageBarTitleClassNames","root","useMessageBarTitleStyles_unstable","state","className"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;mFAGT,+BAA+B;AAE3C,kCAAwE;IAC7EC,MAAM;AACR,EAAE;AAKK,MAAMC,oCAAoC,CAACC;IAChDA,MAAMF,IAAI,CAACG,SAAS,OAAGN,UAAAA,EAAKE,0BAA0BC,IAAI,EAAEF,iCAAAA,CAAOE,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAE7F,OAAOD;AACT,EAAE"}
|