@fluentui/react-infolabel 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 +11 -11
- package/README.md +0 -13
- package/package.json +10 -13
- package/lib/components/InfoButton/InfoButton.module.css +0 -136
- package/lib/components/InfoButton/useInfoButtonStyles.styles.css.js +0 -14
- package/lib/components/InfoButton/useInfoButtonStyles.styles.css.js.map +0 -1
- package/lib/components/InfoButton/useInfoButtonStyles.styles.raw.css.js +0 -14
- package/lib/components/InfoButton/useInfoButtonStyles.styles.raw.css.js.map +0 -1
- package/lib/components/InfoLabel/InfoLabel.module.css +0 -18
- package/lib/components/InfoLabel/useInfoLabelStyles.styles.css.js +0 -15
- package/lib/components/InfoLabel/useInfoLabelStyles.styles.css.js.map +0 -1
- package/lib/components/InfoLabel/useInfoLabelStyles.styles.raw.css.js +0 -15
- package/lib/components/InfoLabel/useInfoLabelStyles.styles.raw.css.js.map +0 -1
- package/lib-commonjs/components/InfoButton/InfoButton.module.css +0 -136
- package/lib-commonjs/components/InfoButton/useInfoButtonStyles.styles.css.cjs +0 -33
- package/lib-commonjs/components/InfoButton/useInfoButtonStyles.styles.css.cjs.map +0 -1
- package/lib-commonjs/components/InfoButton/useInfoButtonStyles.styles.raw.css.cjs +0 -33
- package/lib-commonjs/components/InfoButton/useInfoButtonStyles.styles.raw.css.cjs.map +0 -1
- package/lib-commonjs/components/InfoLabel/InfoLabel.module.css +0 -18
- package/lib-commonjs/components/InfoLabel/useInfoLabelStyles.styles.css.cjs +0 -34
- package/lib-commonjs/components/InfoLabel/useInfoLabelStyles.styles.css.cjs.map +0 -1
- package/lib-commonjs/components/InfoLabel/useInfoLabelStyles.styles.raw.css.cjs +0 -34
- package/lib-commonjs/components/InfoLabel/useInfoLabelStyles.styles.raw.css.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-infolabel
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Tue, 03 Nov 2026 14:18:26 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-infolabel_v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Tue, 03 Nov 2026 14:18:26 GMT
|
|
10
10
|
|
|
11
11
|
### Changes
|
|
12
12
|
|
|
13
|
-
- Release 9.75.
|
|
14
|
-
- Bump @fluentui/react-jsx-runtime to v9.75.
|
|
15
|
-
- Bump @fluentui/react-label to v9.75.
|
|
16
|
-
- Bump @fluentui/react-popover to v9.75.
|
|
17
|
-
- Bump @fluentui/react-shared-contexts to v9.75.
|
|
18
|
-
- Bump @fluentui/react-tabster to v9.75.
|
|
19
|
-
- Bump @fluentui/react-theme to v9.75.
|
|
20
|
-
- Bump @fluentui/react-utilities to v9.75.
|
|
13
|
+
- 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)
|
|
14
|
+
- 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)
|
|
15
|
+
- Bump @fluentui/react-label to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
- Bump @fluentui/react-popover to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
17
|
+
- 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)
|
|
18
|
+
- Bump @fluentui/react-tabster to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
19
|
+
- Bump @fluentui/react-theme to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
20
|
+
- Bump @fluentui/react-utilities to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
21
|
|
|
22
22
|
## [9.4.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-infolabel_v9.4.28)
|
|
23
23
|
|
package/README.md
CHANGED
|
@@ -11,16 +11,3 @@ const InfoLabelExample = () => {
|
|
|
11
11
|
return <InfoLabel info="Sample information">Sample label</InfoLabel>;
|
|
12
12
|
};
|
|
13
13
|
```
|
|
14
|
-
|
|
15
|
-
## Opt-in CSS Modules styles
|
|
16
|
-
|
|
17
|
-
The `use*Styles.styles.css` modules beside the existing Griffel hooks provide opt-in,
|
|
18
|
-
layered CSS alternatives with the same exports. Configure the bundler to replace
|
|
19
|
-
`.styles` with `.styles.css.ts` for source imports and `.styles.js` with
|
|
20
|
-
`.styles.css.js` for built imports. Load CSS Modules as default class-name maps and
|
|
21
|
-
retain the package CSS assets. Default component imports still use Griffel.
|
|
22
|
-
Composed components require their own style alternatives; this does not remove
|
|
23
|
-
all reachable Griffel dependencies. Browser, forced-colors, RTL, and visual-regression
|
|
24
|
-
parity must be validated before switching defaults.
|
|
25
|
-
|
|
26
|
-
Select the `Label` and `InfoButton` alternatives together with `InfoLabel`. `InfoButton` styles its portaled info surface independently, but the composed `Popover` still needs its own alternative. Use headless icons with their CSS defaults in the `fluentui` layer.
|
package/package.json
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-infolabel",
|
|
3
|
-
"version": "9.75.
|
|
3
|
+
"version": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
4
4
|
"description": "InfoLabel component for Fluent UI v9",
|
|
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"
|
|
@@ -15,16 +13,15 @@
|
|
|
15
13
|
"license": "MIT",
|
|
16
14
|
"dependencies": {
|
|
17
15
|
"@fluentui/react-icons": "^2.0.245",
|
|
18
|
-
"@fluentui/react-jsx-runtime": "9.75.
|
|
19
|
-
"@fluentui/react-label": "9.75.
|
|
20
|
-
"@fluentui/react-popover": "9.75.
|
|
21
|
-
"@fluentui/react-shared-contexts": "9.75.
|
|
22
|
-
"@fluentui/react-tabster": "9.75.
|
|
23
|
-
"@fluentui/react-theme": "9.75.
|
|
24
|
-
"@fluentui/react-utilities": "9.75.
|
|
16
|
+
"@fluentui/react-jsx-runtime": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
17
|
+
"@fluentui/react-label": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
18
|
+
"@fluentui/react-popover": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
19
|
+
"@fluentui/react-shared-contexts": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
20
|
+
"@fluentui/react-tabster": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
21
|
+
"@fluentui/react-theme": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
22
|
+
"@fluentui/react-utilities": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
25
23
|
"@griffel/react": "^1.5.32",
|
|
26
|
-
"@swc/helpers": "^0.5.1"
|
|
27
|
-
"clsx": "^2.1.1"
|
|
24
|
+
"@swc/helpers": "^0.5.1"
|
|
28
25
|
},
|
|
29
26
|
"peerDependencies": {
|
|
30
27
|
"@types/react": ">=16.14.0 <20.0.0",
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
@import url('@fluentui/react-icons/headless/styles.css') layer(fluentui);
|
|
2
|
-
|
|
3
|
-
@layer fluentui {
|
|
4
|
-
.root {
|
|
5
|
-
align-items: center;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
text-decoration-line: none;
|
|
10
|
-
vertical-align: middle;
|
|
11
|
-
position: relative;
|
|
12
|
-
background-color: var(--colorTransparentBackground);
|
|
13
|
-
color: var(--colorNeutralForeground2);
|
|
14
|
-
border-top-style: none;
|
|
15
|
-
border-inline-end-style: none;
|
|
16
|
-
border-bottom-style: none;
|
|
17
|
-
border-inline-start-style: none;
|
|
18
|
-
border-radius: var(--borderRadiusMedium);
|
|
19
|
-
margin: 0;
|
|
20
|
-
padding: var(--spacingVerticalXS) var(--spacingHorizontalXS);
|
|
21
|
-
& :global(.fui-Icon-filled) {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
& :global(.fui-Icon-regular) {
|
|
26
|
-
display: inline-flex;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
background-color: var(--colorTransparentBackgroundHover);
|
|
31
|
-
color: var(--colorNeutralForeground2BrandHover);
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
& :global(.fui-Icon-filled) {
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
& :global(.fui-Icon-regular) {
|
|
38
|
-
display: none;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:hover:active {
|
|
43
|
-
background-color: var(--colorTransparentBackgroundPressed);
|
|
44
|
-
color: var(--colorNeutralForeground2BrandPressed);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.root {
|
|
49
|
-
@media (forced-colors: active) {
|
|
50
|
-
color: CanvasText;
|
|
51
|
-
&:hover,
|
|
52
|
-
&:hover:active {
|
|
53
|
-
forced-color-adjust: none;
|
|
54
|
-
background-color: Highlight;
|
|
55
|
-
color: Canvas;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.root:where(.open) {
|
|
61
|
-
background-color: var(--colorTransparentBackgroundSelected);
|
|
62
|
-
color: var(--colorNeutralForeground2BrandSelected);
|
|
63
|
-
& :global(.fui-Icon-filled) {
|
|
64
|
-
display: inline-flex;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
& :global(.fui-Icon-regular) {
|
|
68
|
-
display: none;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@media (forced-colors: active) {
|
|
72
|
-
background-color: Highlight;
|
|
73
|
-
color: Canvas;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.root:where(.large) {
|
|
78
|
-
padding: var(--spacingVerticalXXS) var(--spacingVerticalXXS);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.root {
|
|
82
|
-
&:focus {
|
|
83
|
-
outline-style: none;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&:focus-visible {
|
|
87
|
-
outline-style: none;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&[data-fui-focus-visible] {
|
|
91
|
-
border-top-color: transparent;
|
|
92
|
-
border-right-color: transparent;
|
|
93
|
-
border-bottom-color: transparent;
|
|
94
|
-
border-left-color: transparent;
|
|
95
|
-
&::after {
|
|
96
|
-
content: '';
|
|
97
|
-
position: absolute;
|
|
98
|
-
pointer-events: none;
|
|
99
|
-
z-index: 1;
|
|
100
|
-
border: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
101
|
-
border-radius: var(--borderRadiusMedium);
|
|
102
|
-
top: calc(var(--strokeWidthThick) * -1);
|
|
103
|
-
inset-inline-end: calc(var(--strokeWidthThick) * -1);
|
|
104
|
-
bottom: calc(var(--strokeWidthThick) * -1);
|
|
105
|
-
inset-inline-start: calc(var(--strokeWidthThick) * -1);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@media (forced-colors: active) {
|
|
109
|
-
&::after {
|
|
110
|
-
border-top-color: Highlight;
|
|
111
|
-
border-right-color: Highlight;
|
|
112
|
-
border-bottom-color: Highlight;
|
|
113
|
-
border-left-color: Highlight;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.info {
|
|
120
|
-
max-width: calc(var(--spacingHorizontalXXXL) * 8 + var(--spacingHorizontalS));
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.info:where(.small, .medium) {
|
|
124
|
-
font-family: var(--fontFamilyBase);
|
|
125
|
-
font-size: var(--fontSizeBase200);
|
|
126
|
-
font-weight: var(--fontWeightRegular);
|
|
127
|
-
line-height: var(--lineHeightBase200);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.info:where(.large) {
|
|
131
|
-
font-family: var(--fontFamilyBase);
|
|
132
|
-
font-size: var(--fontSizeBase300);
|
|
133
|
-
font-weight: var(--fontWeightRegular);
|
|
134
|
-
line-height: var(--lineHeightBase300);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./InfoButton.module.css";
|
|
3
|
-
export const infoButtonClassNames = {
|
|
4
|
-
root: 'fui-InfoButton',
|
|
5
|
-
// this className won't be used, but it's needed to satisfy the type checker
|
|
6
|
-
popover: 'fui-InfoButton__popover',
|
|
7
|
-
info: 'fui-InfoButton__info'
|
|
8
|
-
};
|
|
9
|
-
export const useInfoButtonStyles_unstable = (state)=>{
|
|
10
|
-
state.root.className = clsx(infoButtonClassNames.root, styles.root, styles[state.size], state.popover.open && styles.open, state.root.className);
|
|
11
|
-
// The surface is portaled, so it must carry its own size class.
|
|
12
|
-
state.info.className = clsx(infoButtonClassNames.info, styles.info, styles[state.size], state.info.className);
|
|
13
|
-
return state;
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/InfoButton/useInfoButtonStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { InfoButtonSlots, InfoButtonState } from './InfoButton.types';\nimport styles from './InfoButton.module.css';\n\nexport const infoButtonClassNames: SlotClassNames<InfoButtonSlots> = {\n root: 'fui-InfoButton',\n // this className won't be used, but it's needed to satisfy the type checker\n popover: 'fui-InfoButton__popover',\n info: 'fui-InfoButton__info',\n};\n\nexport const useInfoButtonStyles_unstable = (state: InfoButtonState): InfoButtonState => {\n state.root.className = clsx(\n infoButtonClassNames.root,\n styles.root,\n styles[state.size],\n state.popover.open && styles.open,\n state.root.className,\n );\n // The surface is portaled, so it must carry its own size class.\n state.info.className = clsx(infoButtonClassNames.info, styles.info, styles[state.size], state.info.className);\n\n return state;\n};\n"],"names":["clsx","styles","infoButtonClassNames","root","popover","info","useInfoButtonStyles_unstable","state","className","size","open"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,uBAAwD;IACnEC,MAAM;IACN,4EAA4E;IAC5EC,SAAS;IACTC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,GAAGR,KACrBE,qBAAqBC,IAAI,EACzBF,OAAOE,IAAI,EACXF,MAAM,CAACM,MAAME,IAAI,CAAC,EAClBF,MAAMH,OAAO,CAACM,IAAI,IAAIT,OAAOS,IAAI,EACjCH,MAAMJ,IAAI,CAACK,SAAS;IAEtB,gEAAgE;IAChED,MAAMF,IAAI,CAACG,SAAS,GAAGR,KAAKE,qBAAqBG,IAAI,EAAEJ,OAAOI,IAAI,EAAEJ,MAAM,CAACM,MAAME,IAAI,CAAC,EAAEF,MAAMF,IAAI,CAACG,SAAS;IAE5G,OAAOD;AACT,EAAE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./InfoButton.module.css";
|
|
3
|
-
export const infoButtonClassNames = {
|
|
4
|
-
root: 'fui-InfoButton',
|
|
5
|
-
// this className won't be used, but it's needed to satisfy the type checker
|
|
6
|
-
popover: 'fui-InfoButton__popover',
|
|
7
|
-
info: 'fui-InfoButton__info'
|
|
8
|
-
};
|
|
9
|
-
export const useInfoButtonStyles_unstable = (state)=>{
|
|
10
|
-
state.root.className = clsx(infoButtonClassNames.root, styles.root, styles[state.size], state.popover.open && styles.open, state.root.className);
|
|
11
|
-
// The surface is portaled, so it must carry its own size class.
|
|
12
|
-
state.info.className = clsx(infoButtonClassNames.info, styles.info, styles[state.size], state.info.className);
|
|
13
|
-
return state;
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/InfoButton/useInfoButtonStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { InfoButtonSlots, InfoButtonState } from './InfoButton.types';\nimport styles from './InfoButton.module.css';\n\nexport const infoButtonClassNames: SlotClassNames<InfoButtonSlots> = {\n root: 'fui-InfoButton',\n // this className won't be used, but it's needed to satisfy the type checker\n popover: 'fui-InfoButton__popover',\n info: 'fui-InfoButton__info',\n};\n\nexport const useInfoButtonStyles_unstable = (state: InfoButtonState): InfoButtonState => {\n state.root.className = clsx(\n infoButtonClassNames.root,\n styles.root,\n styles[state.size],\n state.popover.open && styles.open,\n state.root.className,\n );\n // The surface is portaled, so it must carry its own size class.\n state.info.className = clsx(infoButtonClassNames.info, styles.info, styles[state.size], state.info.className);\n\n return state;\n};\n"],"names":["clsx","styles","infoButtonClassNames","root","popover","info","useInfoButtonStyles_unstable","state","className","size","open"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,uBAAwD;IACnEC,MAAM;IACN,4EAA4E;IAC5EC,SAAS;IACTC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,GAAGR,KACrBE,qBAAqBC,IAAI,EACzBF,OAAOE,IAAI,EACXF,MAAM,CAACM,MAAME,IAAI,CAAC,EAClBF,MAAMH,OAAO,CAACM,IAAI,IAAIT,OAAOS,IAAI,EACjCH,MAAMJ,IAAI,CAACK,SAAS;IAEtB,gEAAgE;IAChED,MAAMF,IAAI,CAACG,SAAS,GAAGR,KAAKE,qBAAqBG,IAAI,EAAEJ,OAAOI,IAAI,EAAEJ,MAAM,CAACM,MAAME,IAAI,CAAC,EAAEF,MAAMF,IAAI,CAACG,SAAS;IAE5G,OAAOD;AACT,EAAE"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@layer fluentui {
|
|
2
|
-
.label {
|
|
3
|
-
vertical-align: top;
|
|
4
|
-
cursor: inherit;
|
|
5
|
-
color: inherit;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.infoButton {
|
|
9
|
-
vertical-align: top;
|
|
10
|
-
margin-top: calc(0px - var(--spacingVerticalXXS));
|
|
11
|
-
margin-bottom: calc(0px - var(--spacingVerticalXXS));
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:where(.large) > .infoButton {
|
|
15
|
-
margin-top: calc(var(--spacingVerticalXXS) / -2);
|
|
16
|
-
margin-bottom: calc(var(--spacingVerticalXXS) / -2);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./InfoLabel.module.css";
|
|
3
|
-
export const infoLabelClassNames = {
|
|
4
|
-
root: 'fui-InfoLabel',
|
|
5
|
-
label: 'fui-InfoLabel__label',
|
|
6
|
-
infoButton: 'fui-InfoLabel__infoButton'
|
|
7
|
-
};
|
|
8
|
-
export const useInfoLabelStyles_unstable = (state)=>{
|
|
9
|
-
state.root.className = clsx(infoLabelClassNames.root, state.size === 'large' && styles.large, state.root.className);
|
|
10
|
-
state.label.className = clsx(infoLabelClassNames.label, styles.label, state.label.className);
|
|
11
|
-
if (state.infoButton) {
|
|
12
|
-
state.infoButton.className = clsx(infoLabelClassNames.infoButton, styles.infoButton, state.infoButton.className);
|
|
13
|
-
}
|
|
14
|
-
return state;
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/InfoLabel/useInfoLabelStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { InfoLabelSlots, InfoLabelState } from './InfoLabel.types';\nimport styles from './InfoLabel.module.css';\n\nexport const infoLabelClassNames: SlotClassNames<InfoLabelSlots> = {\n root: 'fui-InfoLabel',\n label: 'fui-InfoLabel__label',\n infoButton: 'fui-InfoLabel__infoButton',\n};\n\nexport const useInfoLabelStyles_unstable = (state: InfoLabelState): InfoLabelState => {\n state.root.className = clsx(infoLabelClassNames.root, state.size === 'large' && styles.large, state.root.className);\n state.label.className = clsx(infoLabelClassNames.label, styles.label, state.label.className);\n if (state.infoButton) {\n state.infoButton.className = clsx(infoLabelClassNames.infoButton, styles.infoButton, state.infoButton.className);\n }\n\n return state;\n};\n"],"names":["clsx","styles","infoLabelClassNames","root","label","infoButton","useInfoLabelStyles_unstable","state","className","size","large"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,yBAAyB;AAE5C,OAAO,MAAMC,sBAAsD;IACjEC,MAAM;IACNC,OAAO;IACPC,YAAY;AACd,EAAE;AAEF,OAAO,MAAMC,8BAA8B,CAACC;IAC1CA,MAAMJ,IAAI,CAACK,SAAS,GAAGR,KAAKE,oBAAoBC,IAAI,EAAEI,MAAME,IAAI,KAAK,WAAWR,OAAOS,KAAK,EAAEH,MAAMJ,IAAI,CAACK,SAAS;IAClHD,MAAMH,KAAK,CAACI,SAAS,GAAGR,KAAKE,oBAAoBE,KAAK,EAAEH,OAAOG,KAAK,EAAEG,MAAMH,KAAK,CAACI,SAAS;IAC3F,IAAID,MAAMF,UAAU,EAAE;QACpBE,MAAMF,UAAU,CAACG,SAAS,GAAGR,KAAKE,oBAAoBG,UAAU,EAAEJ,OAAOI,UAAU,EAAEE,MAAMF,UAAU,CAACG,SAAS;IACjH;IAEA,OAAOD;AACT,EAAE"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import styles from "./InfoLabel.module.css";
|
|
3
|
-
export const infoLabelClassNames = {
|
|
4
|
-
root: 'fui-InfoLabel',
|
|
5
|
-
label: 'fui-InfoLabel__label',
|
|
6
|
-
infoButton: 'fui-InfoLabel__infoButton'
|
|
7
|
-
};
|
|
8
|
-
export const useInfoLabelStyles_unstable = (state)=>{
|
|
9
|
-
state.root.className = clsx(infoLabelClassNames.root, state.size === 'large' && styles.large, state.root.className);
|
|
10
|
-
state.label.className = clsx(infoLabelClassNames.label, styles.label, state.label.className);
|
|
11
|
-
if (state.infoButton) {
|
|
12
|
-
state.infoButton.className = clsx(infoLabelClassNames.infoButton, styles.infoButton, state.infoButton.className);
|
|
13
|
-
}
|
|
14
|
-
return state;
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/InfoLabel/useInfoLabelStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { InfoLabelSlots, InfoLabelState } from './InfoLabel.types';\nimport styles from './InfoLabel.module.css';\n\nexport const infoLabelClassNames: SlotClassNames<InfoLabelSlots> = {\n root: 'fui-InfoLabel',\n label: 'fui-InfoLabel__label',\n infoButton: 'fui-InfoLabel__infoButton',\n};\n\nexport const useInfoLabelStyles_unstable = (state: InfoLabelState): InfoLabelState => {\n state.root.className = clsx(infoLabelClassNames.root, state.size === 'large' && styles.large, state.root.className);\n state.label.className = clsx(infoLabelClassNames.label, styles.label, state.label.className);\n if (state.infoButton) {\n state.infoButton.className = clsx(infoLabelClassNames.infoButton, styles.infoButton, state.infoButton.className);\n }\n\n return state;\n};\n"],"names":["clsx","styles","infoLabelClassNames","root","label","infoButton","useInfoLabelStyles_unstable","state","className","size","large"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,yBAAyB;AAE5C,OAAO,MAAMC,sBAAsD;IACjEC,MAAM;IACNC,OAAO;IACPC,YAAY;AACd,EAAE;AAEF,OAAO,MAAMC,8BAA8B,CAACC;IAC1CA,MAAMJ,IAAI,CAACK,SAAS,GAAGR,KAAKE,oBAAoBC,IAAI,EAAEI,MAAME,IAAI,KAAK,WAAWR,OAAOS,KAAK,EAAEH,MAAMJ,IAAI,CAACK,SAAS;IAClHD,MAAMH,KAAK,CAACI,SAAS,GAAGR,KAAKE,oBAAoBE,KAAK,EAAEH,OAAOG,KAAK,EAAEG,MAAMH,KAAK,CAACI,SAAS;IAC3F,IAAID,MAAMF,UAAU,EAAE;QACpBE,MAAMF,UAAU,CAACG,SAAS,GAAGR,KAAKE,oBAAoBG,UAAU,EAAEJ,OAAOI,UAAU,EAAEE,MAAMF,UAAU,CAACG,SAAS;IACjH;IAEA,OAAOD;AACT,EAAE"}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
@import url('@fluentui/react-icons/headless/styles.css') layer(fluentui);
|
|
2
|
-
|
|
3
|
-
@layer fluentui {
|
|
4
|
-
.root {
|
|
5
|
-
align-items: center;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
text-decoration-line: none;
|
|
10
|
-
vertical-align: middle;
|
|
11
|
-
position: relative;
|
|
12
|
-
background-color: var(--colorTransparentBackground);
|
|
13
|
-
color: var(--colorNeutralForeground2);
|
|
14
|
-
border-top-style: none;
|
|
15
|
-
border-inline-end-style: none;
|
|
16
|
-
border-bottom-style: none;
|
|
17
|
-
border-inline-start-style: none;
|
|
18
|
-
border-radius: var(--borderRadiusMedium);
|
|
19
|
-
margin: 0;
|
|
20
|
-
padding: var(--spacingVerticalXS) var(--spacingHorizontalXS);
|
|
21
|
-
& :global(.fui-Icon-filled) {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
& :global(.fui-Icon-regular) {
|
|
26
|
-
display: inline-flex;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
background-color: var(--colorTransparentBackgroundHover);
|
|
31
|
-
color: var(--colorNeutralForeground2BrandHover);
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
& :global(.fui-Icon-filled) {
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
& :global(.fui-Icon-regular) {
|
|
38
|
-
display: none;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:hover:active {
|
|
43
|
-
background-color: var(--colorTransparentBackgroundPressed);
|
|
44
|
-
color: var(--colorNeutralForeground2BrandPressed);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.root {
|
|
49
|
-
@media (forced-colors: active) {
|
|
50
|
-
color: CanvasText;
|
|
51
|
-
&:hover,
|
|
52
|
-
&:hover:active {
|
|
53
|
-
forced-color-adjust: none;
|
|
54
|
-
background-color: Highlight;
|
|
55
|
-
color: Canvas;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.root:where(.open) {
|
|
61
|
-
background-color: var(--colorTransparentBackgroundSelected);
|
|
62
|
-
color: var(--colorNeutralForeground2BrandSelected);
|
|
63
|
-
& :global(.fui-Icon-filled) {
|
|
64
|
-
display: inline-flex;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
& :global(.fui-Icon-regular) {
|
|
68
|
-
display: none;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@media (forced-colors: active) {
|
|
72
|
-
background-color: Highlight;
|
|
73
|
-
color: Canvas;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.root:where(.large) {
|
|
78
|
-
padding: var(--spacingVerticalXXS) var(--spacingVerticalXXS);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.root {
|
|
82
|
-
&:focus {
|
|
83
|
-
outline-style: none;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&:focus-visible {
|
|
87
|
-
outline-style: none;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&[data-fui-focus-visible] {
|
|
91
|
-
border-top-color: transparent;
|
|
92
|
-
border-right-color: transparent;
|
|
93
|
-
border-bottom-color: transparent;
|
|
94
|
-
border-left-color: transparent;
|
|
95
|
-
&::after {
|
|
96
|
-
content: '';
|
|
97
|
-
position: absolute;
|
|
98
|
-
pointer-events: none;
|
|
99
|
-
z-index: 1;
|
|
100
|
-
border: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
101
|
-
border-radius: var(--borderRadiusMedium);
|
|
102
|
-
top: calc(var(--strokeWidthThick) * -1);
|
|
103
|
-
inset-inline-end: calc(var(--strokeWidthThick) * -1);
|
|
104
|
-
bottom: calc(var(--strokeWidthThick) * -1);
|
|
105
|
-
inset-inline-start: calc(var(--strokeWidthThick) * -1);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@media (forced-colors: active) {
|
|
109
|
-
&::after {
|
|
110
|
-
border-top-color: Highlight;
|
|
111
|
-
border-right-color: Highlight;
|
|
112
|
-
border-bottom-color: Highlight;
|
|
113
|
-
border-left-color: Highlight;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.info {
|
|
120
|
-
max-width: calc(var(--spacingHorizontalXXXL) * 8 + var(--spacingHorizontalS));
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.info:where(.small, .medium) {
|
|
124
|
-
font-family: var(--fontFamilyBase);
|
|
125
|
-
font-size: var(--fontSizeBase200);
|
|
126
|
-
font-weight: var(--fontWeightRegular);
|
|
127
|
-
line-height: var(--lineHeightBase200);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.info:where(.large) {
|
|
131
|
-
font-family: var(--fontFamilyBase);
|
|
132
|
-
font-size: var(--fontSizeBase300);
|
|
133
|
-
font-weight: var(--fontWeightRegular);
|
|
134
|
-
line-height: var(--lineHeightBase300);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
@@ -1,33 +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 infoButtonClassNames () {
|
|
13
|
-
return infoButtonClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useInfoButtonStyles_unstable () {
|
|
16
|
-
return useInfoButtonStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _InfoButtonmodulecss = /*#__PURE__*/ _interop_require_default._(require("./InfoButton.module.css"));
|
|
22
|
-
const infoButtonClassNames = {
|
|
23
|
-
root: 'fui-InfoButton',
|
|
24
|
-
// this className won't be used, but it's needed to satisfy the type checker
|
|
25
|
-
popover: 'fui-InfoButton__popover',
|
|
26
|
-
info: 'fui-InfoButton__info'
|
|
27
|
-
};
|
|
28
|
-
const useInfoButtonStyles_unstable = (state)=>{
|
|
29
|
-
state.root.className = (0, _clsx.clsx)(infoButtonClassNames.root, _InfoButtonmodulecss.default.root, _InfoButtonmodulecss.default[state.size], state.popover.open && _InfoButtonmodulecss.default.open, state.root.className);
|
|
30
|
-
// The surface is portaled, so it must carry its own size class.
|
|
31
|
-
state.info.className = (0, _clsx.clsx)(infoButtonClassNames.info, _InfoButtonmodulecss.default.info, _InfoButtonmodulecss.default[state.size], state.info.className);
|
|
32
|
-
return state;
|
|
33
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/InfoButton/useInfoButtonStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { InfoButtonSlots, InfoButtonState } from './InfoButton.types';\nimport styles from './InfoButton.module.css';\n\nexport const infoButtonClassNames: SlotClassNames<InfoButtonSlots> = {\n root: 'fui-InfoButton',\n // this className won't be used, but it's needed to satisfy the type checker\n popover: 'fui-InfoButton__popover',\n info: 'fui-InfoButton__info',\n};\n\nexport const useInfoButtonStyles_unstable = (state: InfoButtonState): InfoButtonState => {\n state.root.className = clsx(\n infoButtonClassNames.root,\n styles.root,\n styles[state.size],\n state.popover.open && styles.open,\n state.root.className,\n );\n // The surface is portaled, so it must carry its own size class.\n state.info.className = clsx(infoButtonClassNames.info, styles.info, styles[state.size], state.info.className);\n\n return state;\n};\n"],"names":["clsx","styles","infoButtonClassNames","root","popover","info","useInfoButtonStyles_unstable","state","className","size","open"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;8EAGT,0BAA0B;AAEtC,6BAA8D;IACnEC,MAAM;IACN,4EAA4E;IAC5EC,SAAS;IACTC,MAAM;AACR,EAAE;AAEK,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,OAAGR,UAAAA,EACrBE,qBAAqBC,IAAI,EACzBF,4BAAAA,CAAOE,IAAI,EACXF,4BAAM,CAACM,MAAME,IAAI,CAAC,EAClBF,MAAMH,OAAO,CAACM,IAAI,IAAIT,4BAAAA,CAAOS,IAAI,EACjCH,MAAMJ,IAAI,CAACK,SAAS;IAEtB,gEAAgE;IAChED,MAAMF,IAAI,CAACG,SAAS,GAAGR,cAAAA,EAAKE,qBAAqBG,IAAI,EAAEJ,4BAAAA,CAAOI,IAAI,EAAEJ,4BAAM,CAACM,MAAME,IAAI,CAAC,EAAEF,MAAMF,IAAI,CAACG,SAAS;IAE5G,OAAOD;AACT,EAAE"}
|
|
@@ -1,33 +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 infoButtonClassNames () {
|
|
13
|
-
return infoButtonClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useInfoButtonStyles_unstable () {
|
|
16
|
-
return useInfoButtonStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _InfoButtonmodulecss = /*#__PURE__*/ _interop_require_default._(require("./InfoButton.module.css"));
|
|
22
|
-
const infoButtonClassNames = {
|
|
23
|
-
root: 'fui-InfoButton',
|
|
24
|
-
// this className won't be used, but it's needed to satisfy the type checker
|
|
25
|
-
popover: 'fui-InfoButton__popover',
|
|
26
|
-
info: 'fui-InfoButton__info'
|
|
27
|
-
};
|
|
28
|
-
const useInfoButtonStyles_unstable = (state)=>{
|
|
29
|
-
state.root.className = (0, _clsx.clsx)(infoButtonClassNames.root, _InfoButtonmodulecss.default.root, _InfoButtonmodulecss.default[state.size], state.popover.open && _InfoButtonmodulecss.default.open, state.root.className);
|
|
30
|
-
// The surface is portaled, so it must carry its own size class.
|
|
31
|
-
state.info.className = (0, _clsx.clsx)(infoButtonClassNames.info, _InfoButtonmodulecss.default.info, _InfoButtonmodulecss.default[state.size], state.info.className);
|
|
32
|
-
return state;
|
|
33
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/InfoButton/useInfoButtonStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { InfoButtonSlots, InfoButtonState } from './InfoButton.types';\nimport styles from './InfoButton.module.css';\n\nexport const infoButtonClassNames: SlotClassNames<InfoButtonSlots> = {\n root: 'fui-InfoButton',\n // this className won't be used, but it's needed to satisfy the type checker\n popover: 'fui-InfoButton__popover',\n info: 'fui-InfoButton__info',\n};\n\nexport const useInfoButtonStyles_unstable = (state: InfoButtonState): InfoButtonState => {\n state.root.className = clsx(\n infoButtonClassNames.root,\n styles.root,\n styles[state.size],\n state.popover.open && styles.open,\n state.root.className,\n );\n // The surface is portaled, so it must carry its own size class.\n state.info.className = clsx(infoButtonClassNames.info, styles.info, styles[state.size], state.info.className);\n\n return state;\n};\n"],"names":["clsx","styles","infoButtonClassNames","root","popover","info","useInfoButtonStyles_unstable","state","className","size","open"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;8EAGT,0BAA0B;AAEtC,6BAA8D;IACnEC,MAAM;IACN,4EAA4E;IAC5EC,SAAS;IACTC,MAAM;AACR,EAAE;AAEK,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,OAAGR,UAAAA,EACrBE,qBAAqBC,IAAI,EACzBF,4BAAAA,CAAOE,IAAI,EACXF,4BAAM,CAACM,MAAME,IAAI,CAAC,EAClBF,MAAMH,OAAO,CAACM,IAAI,IAAIT,4BAAAA,CAAOS,IAAI,EACjCH,MAAMJ,IAAI,CAACK,SAAS;IAEtB,gEAAgE;IAChED,MAAMF,IAAI,CAACG,SAAS,GAAGR,cAAAA,EAAKE,qBAAqBG,IAAI,EAAEJ,4BAAAA,CAAOI,IAAI,EAAEJ,4BAAM,CAACM,MAAME,IAAI,CAAC,EAAEF,MAAMF,IAAI,CAACG,SAAS;IAE5G,OAAOD;AACT,EAAE"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@layer fluentui {
|
|
2
|
-
.label {
|
|
3
|
-
vertical-align: top;
|
|
4
|
-
cursor: inherit;
|
|
5
|
-
color: inherit;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.infoButton {
|
|
9
|
-
vertical-align: top;
|
|
10
|
-
margin-top: calc(0px - var(--spacingVerticalXXS));
|
|
11
|
-
margin-bottom: calc(0px - var(--spacingVerticalXXS));
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:where(.large) > .infoButton {
|
|
15
|
-
margin-top: calc(var(--spacingVerticalXXS) / -2);
|
|
16
|
-
margin-bottom: calc(var(--spacingVerticalXXS) / -2);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,34 +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 infoLabelClassNames () {
|
|
13
|
-
return infoLabelClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useInfoLabelStyles_unstable () {
|
|
16
|
-
return useInfoLabelStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _InfoLabelmodulecss = /*#__PURE__*/ _interop_require_default._(require("./InfoLabel.module.css"));
|
|
22
|
-
const infoLabelClassNames = {
|
|
23
|
-
root: 'fui-InfoLabel',
|
|
24
|
-
label: 'fui-InfoLabel__label',
|
|
25
|
-
infoButton: 'fui-InfoLabel__infoButton'
|
|
26
|
-
};
|
|
27
|
-
const useInfoLabelStyles_unstable = (state)=>{
|
|
28
|
-
state.root.className = (0, _clsx.clsx)(infoLabelClassNames.root, state.size === 'large' && _InfoLabelmodulecss.default.large, state.root.className);
|
|
29
|
-
state.label.className = (0, _clsx.clsx)(infoLabelClassNames.label, _InfoLabelmodulecss.default.label, state.label.className);
|
|
30
|
-
if (state.infoButton) {
|
|
31
|
-
state.infoButton.className = (0, _clsx.clsx)(infoLabelClassNames.infoButton, _InfoLabelmodulecss.default.infoButton, state.infoButton.className);
|
|
32
|
-
}
|
|
33
|
-
return state;
|
|
34
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/InfoLabel/useInfoLabelStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { InfoLabelSlots, InfoLabelState } from './InfoLabel.types';\nimport styles from './InfoLabel.module.css';\n\nexport const infoLabelClassNames: SlotClassNames<InfoLabelSlots> = {\n root: 'fui-InfoLabel',\n label: 'fui-InfoLabel__label',\n infoButton: 'fui-InfoLabel__infoButton',\n};\n\nexport const useInfoLabelStyles_unstable = (state: InfoLabelState): InfoLabelState => {\n state.root.className = clsx(infoLabelClassNames.root, state.size === 'large' && styles.large, state.root.className);\n state.label.className = clsx(infoLabelClassNames.label, styles.label, state.label.className);\n if (state.infoButton) {\n state.infoButton.className = clsx(infoLabelClassNames.infoButton, styles.infoButton, state.infoButton.className);\n }\n\n return state;\n};\n"],"names":["clsx","styles","infoLabelClassNames","root","label","infoButton","useInfoLabelStyles_unstable","state","className","size","large"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;6EAGT,yBAAyB;AAErC,4BAA4D;IACjEC,MAAM;IACNC,OAAO;IACPC,YAAY;AACd,EAAE;AAEK,MAAMC,8BAA8B,CAACC;IAC1CA,MAAMJ,IAAI,CAACK,SAAS,OAAGR,UAAAA,EAAKE,oBAAoBC,IAAI,EAAEI,MAAME,IAAI,KAAK,WAAWR,2BAAAA,CAAOS,KAAK,EAAEH,MAAMJ,IAAI,CAACK,SAAS;IAClHD,MAAMH,KAAK,CAACI,SAAS,GAAGR,cAAAA,EAAKE,oBAAoBE,KAAK,EAAEH,2BAAAA,CAAOG,KAAK,EAAEG,MAAMH,KAAK,CAACI,SAAS;IAC3F,IAAID,MAAMF,UAAU,EAAE;QACpBE,MAAMF,UAAU,CAACG,SAAS,OAAGR,UAAAA,EAAKE,oBAAoBG,UAAU,EAAEJ,2BAAAA,CAAOI,UAAU,EAAEE,MAAMF,UAAU,CAACG,SAAS;IACjH;IAEA,OAAOD;AACT,EAAE"}
|
|
@@ -1,34 +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 infoLabelClassNames () {
|
|
13
|
-
return infoLabelClassNames;
|
|
14
|
-
},
|
|
15
|
-
get useInfoLabelStyles_unstable () {
|
|
16
|
-
return useInfoLabelStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
-
const _clsx = require("clsx");
|
|
21
|
-
const _InfoLabelmodulecss = /*#__PURE__*/ _interop_require_default._(require("./InfoLabel.module.css"));
|
|
22
|
-
const infoLabelClassNames = {
|
|
23
|
-
root: 'fui-InfoLabel',
|
|
24
|
-
label: 'fui-InfoLabel__label',
|
|
25
|
-
infoButton: 'fui-InfoLabel__infoButton'
|
|
26
|
-
};
|
|
27
|
-
const useInfoLabelStyles_unstable = (state)=>{
|
|
28
|
-
state.root.className = (0, _clsx.clsx)(infoLabelClassNames.root, state.size === 'large' && _InfoLabelmodulecss.default.large, state.root.className);
|
|
29
|
-
state.label.className = (0, _clsx.clsx)(infoLabelClassNames.label, _InfoLabelmodulecss.default.label, state.label.className);
|
|
30
|
-
if (state.infoButton) {
|
|
31
|
-
state.infoButton.className = (0, _clsx.clsx)(infoLabelClassNames.infoButton, _InfoLabelmodulecss.default.infoButton, state.infoButton.className);
|
|
32
|
-
}
|
|
33
|
-
return state;
|
|
34
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/InfoLabel/useInfoLabelStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { InfoLabelSlots, InfoLabelState } from './InfoLabel.types';\nimport styles from './InfoLabel.module.css';\n\nexport const infoLabelClassNames: SlotClassNames<InfoLabelSlots> = {\n root: 'fui-InfoLabel',\n label: 'fui-InfoLabel__label',\n infoButton: 'fui-InfoLabel__infoButton',\n};\n\nexport const useInfoLabelStyles_unstable = (state: InfoLabelState): InfoLabelState => {\n state.root.className = clsx(infoLabelClassNames.root, state.size === 'large' && styles.large, state.root.className);\n state.label.className = clsx(infoLabelClassNames.label, styles.label, state.label.className);\n if (state.infoButton) {\n state.infoButton.className = clsx(infoLabelClassNames.infoButton, styles.infoButton, state.infoButton.className);\n }\n\n return state;\n};\n"],"names":["clsx","styles","infoLabelClassNames","root","label","infoButton","useInfoLabelStyles_unstable","state","className","size","large"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;6EAGT,yBAAyB;AAErC,4BAA4D;IACjEC,MAAM;IACNC,OAAO;IACPC,YAAY;AACd,EAAE;AAEK,MAAMC,8BAA8B,CAACC;IAC1CA,MAAMJ,IAAI,CAACK,SAAS,OAAGR,UAAAA,EAAKE,oBAAoBC,IAAI,EAAEI,MAAME,IAAI,KAAK,WAAWR,2BAAAA,CAAOS,KAAK,EAAEH,MAAMJ,IAAI,CAACK,SAAS;IAClHD,MAAMH,KAAK,CAACI,SAAS,GAAGR,cAAAA,EAAKE,oBAAoBE,KAAK,EAAEH,2BAAAA,CAAOG,KAAK,EAAEG,MAAMH,KAAK,CAACI,SAAS;IAC3F,IAAID,MAAMF,UAAU,EAAE;QACpBE,MAAMF,UAAU,CAACG,SAAS,OAAGR,UAAAA,EAAKE,oBAAoBG,UAAU,EAAEJ,2BAAAA,CAAOI,UAAU,EAAEE,MAAMF,UAAU,CAACG,SAAS;IACjH;IAEA,OAAOD;AACT,EAAE"}
|