@fluentui/react-infobutton 9.0.0-beta.21 → 9.0.0-beta.23
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/.swcrc +30 -0
- package/CHANGELOG.json +103 -1
- package/CHANGELOG.md +32 -2
- package/dist/index.d.ts +64 -0
- package/lib/InfoButton.js.map +1 -1
- package/lib/InfoLabel.js +2 -0
- package/lib/InfoLabel.js.map +1 -0
- package/lib/components/InfoButton/DefaultInfoButtonIcons.js.map +1 -1
- package/lib/components/InfoButton/InfoButton.js.map +1 -1
- package/lib/components/InfoButton/InfoButton.types.js.map +1 -1
- package/lib/components/InfoButton/index.js.map +1 -1
- package/lib/components/InfoButton/renderInfoButton.js +1 -7
- package/lib/components/InfoButton/renderInfoButton.js.map +1 -1
- package/lib/components/InfoButton/useInfoButton.js.map +1 -1
- package/lib/components/InfoButton/useInfoButtonStyles.js.map +1 -1
- package/lib/components/InfoLabel/InfoLabel.js +14 -0
- package/lib/components/InfoLabel/InfoLabel.js.map +1 -0
- package/lib/components/InfoLabel/InfoLabel.types.js +2 -0
- package/lib/components/InfoLabel/InfoLabel.types.js.map +1 -0
- package/lib/components/InfoLabel/index.js +6 -0
- package/lib/components/InfoLabel/index.js.map +1 -0
- package/lib/components/InfoLabel/renderInfoLabel.js +13 -0
- package/lib/components/InfoLabel/renderInfoLabel.js.map +1 -0
- package/lib/components/InfoLabel/useInfoLabel.js +66 -0
- package/lib/components/InfoLabel/useInfoLabel.js.map +1 -0
- package/lib/components/InfoLabel/useInfoLabelStyles.js +43 -0
- package/lib/components/InfoLabel/useInfoLabelStyles.js.map +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib-commonjs/InfoButton.js +5 -4
- package/lib-commonjs/InfoButton.js.map +1 -1
- package/lib-commonjs/InfoLabel.js +9 -0
- package/lib-commonjs/InfoLabel.js.map +1 -0
- package/lib-commonjs/components/InfoButton/DefaultInfoButtonIcons.js +17 -7
- package/lib-commonjs/components/InfoButton/DefaultInfoButtonIcons.js.map +1 -1
- package/lib-commonjs/components/InfoButton/InfoButton.js +16 -15
- package/lib-commonjs/components/InfoButton/InfoButton.js.map +1 -1
- package/lib-commonjs/components/InfoButton/InfoButton.types.js +3 -2
- package/lib-commonjs/components/InfoButton/InfoButton.types.js.map +1 -1
- package/lib-commonjs/components/InfoButton/index.js +9 -8
- package/lib-commonjs/components/InfoButton/index.js.map +1 -1
- package/lib-commonjs/components/InfoButton/renderInfoButton.js +14 -23
- package/lib-commonjs/components/InfoButton/renderInfoButton.js.map +1 -1
- package/lib-commonjs/components/InfoButton/useInfoButton.js +58 -67
- package/lib-commonjs/components/InfoButton/useInfoButton.js.map +1 -1
- package/lib-commonjs/components/InfoButton/useInfoButtonStyles.js +331 -149
- package/lib-commonjs/components/InfoButton/useInfoButtonStyles.js.map +1 -1
- package/lib-commonjs/components/InfoLabel/InfoLabel.js +21 -0
- package/lib-commonjs/components/InfoLabel/InfoLabel.js.map +1 -0
- package/lib-commonjs/components/InfoLabel/InfoLabel.types.js +7 -0
- package/lib-commonjs/components/InfoLabel/InfoLabel.types.js.map +1 -0
- package/lib-commonjs/components/InfoLabel/index.js +13 -0
- package/lib-commonjs/components/InfoLabel/index.js.map +1 -0
- package/lib-commonjs/components/InfoLabel/renderInfoLabel.js +17 -0
- package/lib-commonjs/components/InfoLabel/renderInfoLabel.js.map +1 -0
- package/lib-commonjs/components/InfoLabel/useInfoLabel.js +58 -0
- package/lib-commonjs/components/InfoLabel/useInfoLabel.js.map +1 -0
- package/lib-commonjs/components/InfoLabel/useInfoLabelStyles.js +64 -0
- package/lib-commonjs/components/InfoLabel/useInfoLabelStyles.js.map +1 -0
- package/lib-commonjs/index.js +22 -33
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +11 -9
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "renderInfoLabel_unstable", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: ()=>renderInfoLabel_unstable
|
|
8
|
+
});
|
|
9
|
+
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
|
10
|
+
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
|
11
|
+
const _reactUtilities = require("@fluentui/react-utilities");
|
|
12
|
+
const renderInfoLabel_unstable = (state)=>{
|
|
13
|
+
const { slots , slotProps } = (0, _reactUtilities.getSlots)(state);
|
|
14
|
+
return /*#__PURE__*/ _react.createElement(slots.root, slotProps.root, /*#__PURE__*/ _react.createElement(slots.label, slotProps.label), slots.infoButton && /*#__PURE__*/ _react.createElement(slots.infoButton, slotProps.infoButton));
|
|
15
|
+
}; //# sourceMappingURL=renderInfoLabel.js.map
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=renderInfoLabel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/components/InfoLabel/renderInfoLabel.js"],"sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of InfoLabel\n */\nexport const renderInfoLabel_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlots(state);\n return /*#__PURE__*/React.createElement(slots.root, slotProps.root, /*#__PURE__*/React.createElement(slots.label, slotProps.label), slots.infoButton && /*#__PURE__*/React.createElement(slots.infoButton, slotProps.infoButton));\n};\n//# sourceMappingURL=renderInfoLabel.js.map"],"names":["renderInfoLabel_unstable","state","slots","slotProps","getSlots","React","createElement","root","label","infoButton"],"mappings":";;;;+BAKaA;;aAAAA;;;6DALU;gCACE;AAIlB,MAAMA,2BAA2BC,CAAAA,QAAS;IAC/C,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,wBAAQ,EAACH;IACb,OAAO,WAAW,GAAEI,OAAMC,aAAa,CAACJ,MAAMK,IAAI,EAAEJ,UAAUI,IAAI,EAAE,WAAW,GAAEF,OAAMC,aAAa,CAACJ,MAAMM,KAAK,EAAEL,UAAUK,KAAK,GAAGN,MAAMO,UAAU,IAAI,WAAW,GAAEJ,OAAMC,aAAa,CAACJ,MAAMO,UAAU,EAAEN,UAAUM,UAAU;AACjO,GACA,2CAA2C"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "useInfoLabel_unstable", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: ()=>useInfoLabel_unstable
|
|
8
|
+
});
|
|
9
|
+
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
|
10
|
+
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
|
11
|
+
const _reactLabel = require("@fluentui/react-label");
|
|
12
|
+
const _reactUtilities = require("@fluentui/react-utilities");
|
|
13
|
+
const _infoButton = require("../InfoButton/InfoButton");
|
|
14
|
+
var _infoButton1, _arialabelledby;
|
|
15
|
+
const useInfoLabel_unstable = (props, ref)=>{
|
|
16
|
+
const { root: rootShorthand , label: labelShorthand , infoButton: infoButtonShorthand , size , info , className , style , ...labelProps } = props;
|
|
17
|
+
const root = (0, _reactUtilities.resolveShorthand)(rootShorthand, {
|
|
18
|
+
required: true,
|
|
19
|
+
defaultProps: {
|
|
20
|
+
className,
|
|
21
|
+
style
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
const label = (0, _reactUtilities.resolveShorthand)(labelShorthand, {
|
|
25
|
+
required: true,
|
|
26
|
+
defaultProps: {
|
|
27
|
+
id: (0, _reactUtilities.useId)('infolabel-'),
|
|
28
|
+
ref,
|
|
29
|
+
size,
|
|
30
|
+
...labelProps
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
const infoButton = (0, _reactUtilities.resolveShorthand)(infoButtonShorthand, {
|
|
34
|
+
required: !!info,
|
|
35
|
+
defaultProps: {
|
|
36
|
+
id: (0, _reactUtilities.useId)('infobutton-'),
|
|
37
|
+
content: info,
|
|
38
|
+
size
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
if (infoButton) {
|
|
42
|
+
var _;
|
|
43
|
+
(_ = (_infoButton1 = infoButton)[_arialabelledby = 'aria-labelledby']) !== null && _ !== void 0 ? _ : _infoButton1[_arialabelledby] = `${label.id} ${infoButton.id}`;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
size,
|
|
47
|
+
components: {
|
|
48
|
+
root: 'span',
|
|
49
|
+
label: _reactLabel.Label,
|
|
50
|
+
infoButton: _infoButton.InfoButton
|
|
51
|
+
},
|
|
52
|
+
root,
|
|
53
|
+
label,
|
|
54
|
+
infoButton
|
|
55
|
+
};
|
|
56
|
+
}; //# sourceMappingURL=useInfoLabel.js.map
|
|
57
|
+
|
|
58
|
+
//# sourceMappingURL=useInfoLabel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/components/InfoLabel/useInfoLabel.js"],"sourcesContent":["var _infoButton, _arialabelledby;\nimport * as React from 'react';\nimport { Label } from '@fluentui/react-label';\nimport { resolveShorthand, useId } from '@fluentui/react-utilities';\nimport { InfoButton } from '../InfoButton/InfoButton';\n/**\n * Create the state required to render InfoLabel.\n *\n * The returned state can be modified with hooks such as useInfoLabelStyles_unstable,\n * before being passed to renderInfoLabel_unstable.\n *\n * @param props - props from this instance of InfoLabel\n * @param ref - reference to label element of InfoLabel\n */\nexport const useInfoLabel_unstable = (props, ref) => {\n const {\n root: rootShorthand,\n label: labelShorthand,\n infoButton: infoButtonShorthand,\n size,\n info,\n className,\n style,\n ...labelProps\n } = props;\n const root = resolveShorthand(rootShorthand, {\n required: true,\n defaultProps: {\n className,\n style\n }\n });\n const label = resolveShorthand(labelShorthand, {\n required: true,\n defaultProps: {\n id: useId('infolabel-'),\n ref,\n size,\n ...labelProps\n }\n });\n const infoButton = resolveShorthand(infoButtonShorthand, {\n required: !!info,\n defaultProps: {\n id: useId('infobutton-'),\n content: info,\n size\n }\n });\n if (infoButton) {\n var _;\n (_ = (_infoButton = infoButton)[_arialabelledby = 'aria-labelledby']) !== null && _ !== void 0 ? _ : _infoButton[_arialabelledby] = `${label.id} ${infoButton.id}`;\n }\n return {\n size,\n components: {\n root: 'span',\n label: Label,\n infoButton: InfoButton\n },\n root,\n label,\n infoButton\n };\n};\n//# sourceMappingURL=useInfoLabel.js.map"],"names":["useInfoLabel_unstable","_infoButton","_arialabelledby","props","ref","root","rootShorthand","label","labelShorthand","infoButton","infoButtonShorthand","size","info","className","style","labelProps","resolveShorthand","required","defaultProps","id","useId","content","_","components","Label","InfoButton"],"mappings":";;;;+BAcaA;;aAAAA;;;6DAbU;4BACD;gCACkB;4BACb;AAJ3B,IAAIC,cAAaC;AAcV,MAAMF,wBAAwB,CAACG,OAAOC,MAAQ;IACnD,MAAM,EACJC,MAAMC,cAAa,EACnBC,OAAOC,eAAc,EACrBC,YAAYC,oBAAmB,EAC/BC,KAAI,EACJC,KAAI,EACJC,UAAS,EACTC,MAAK,EACL,GAAGC,YACJ,GAAGZ;IACJ,MAAME,OAAOW,IAAAA,gCAAgB,EAACV,eAAe;QAC3CW,UAAU,IAAI;QACdC,cAAc;YACZL;YACAC;QACF;IACF;IACA,MAAMP,QAAQS,IAAAA,gCAAgB,EAACR,gBAAgB;QAC7CS,UAAU,IAAI;QACdC,cAAc;YACZC,IAAIC,IAAAA,qBAAK,EAAC;YACVhB;YACAO;YACA,GAAGI,UAAU;QACf;IACF;IACA,MAAMN,aAAaO,IAAAA,gCAAgB,EAACN,qBAAqB;QACvDO,UAAU,CAAC,CAACL;QACZM,cAAc;YACZC,IAAIC,IAAAA,qBAAK,EAAC;YACVC,SAAST;YACTD;QACF;IACF;IACA,IAAIF,YAAY;QACd,IAAIa;QACHA,CAAAA,IAAI,AAACrB,CAAAA,eAAcQ,UAAS,CAAE,CAACP,kBAAkB,kBAAkB,AAAD,MAAO,IAAI,IAAIoB,MAAM,KAAK,IAAIA,IAAIrB,YAAW,CAACC,gBAAgB,GAAG,CAAC,EAAEK,MAAMY,EAAE,CAAC,CAAC,EAAEV,WAAWU,EAAE,CAAC,CAAC;IACpK,CAAC;IACD,OAAO;QACLR;QACAY,YAAY;YACVlB,MAAM;YACNE,OAAOiB,iBAAK;YACZf,YAAYgB,sBAAU;QACxB;QACApB;QACAE;QACAE;IACF;AACF,GACA,wCAAwC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
infoLabelClassNames: ()=>infoLabelClassNames,
|
|
13
|
+
useInfoLabelStyles_unstable: ()=>useInfoLabelStyles_unstable
|
|
14
|
+
});
|
|
15
|
+
const _react = require("@griffel/react");
|
|
16
|
+
const infoLabelClassNames = {
|
|
17
|
+
root: 'fui-InfoLabel',
|
|
18
|
+
label: 'fui-InfoLabel__label',
|
|
19
|
+
infoButton: 'fui-InfoLabel__infoButton'
|
|
20
|
+
};
|
|
21
|
+
const useLabelStyles = /*#__PURE__*/ (0, _react["__styles"])({
|
|
22
|
+
base: {
|
|
23
|
+
ha4doy: "f12kltsn",
|
|
24
|
+
Bceei9c: "fpo1scq",
|
|
25
|
+
sj55zd: "f1ym3bx4"
|
|
26
|
+
}
|
|
27
|
+
}, {
|
|
28
|
+
d: [
|
|
29
|
+
".f12kltsn{vertical-align:top;}",
|
|
30
|
+
".fpo1scq{cursor:inherit;}",
|
|
31
|
+
".f1ym3bx4{color:inherit;}"
|
|
32
|
+
]
|
|
33
|
+
});
|
|
34
|
+
const useInfoButtonStyles = /*#__PURE__*/ (0, _react["__styles"])({
|
|
35
|
+
base: {
|
|
36
|
+
ha4doy: "f12kltsn",
|
|
37
|
+
B6of3ja: "f1bmzb36",
|
|
38
|
+
jrapky: "f1nyzk09"
|
|
39
|
+
},
|
|
40
|
+
large: {
|
|
41
|
+
B6of3ja: "fkrn0sh",
|
|
42
|
+
jrapky: "fmxx68s"
|
|
43
|
+
}
|
|
44
|
+
}, {
|
|
45
|
+
d: [
|
|
46
|
+
".f12kltsn{vertical-align:top;}",
|
|
47
|
+
".f1bmzb36{margin-top:calc(0px - var(--spacingVerticalXXS));}",
|
|
48
|
+
".f1nyzk09{margin-bottom:calc(0px - var(--spacingVerticalXXS));}",
|
|
49
|
+
".fkrn0sh{margin-top:-1px;}",
|
|
50
|
+
".fmxx68s{margin-bottom:-1px;}"
|
|
51
|
+
]
|
|
52
|
+
});
|
|
53
|
+
const useInfoLabelStyles_unstable = (state)=>{
|
|
54
|
+
state.root.className = (0, _react.mergeClasses)(infoLabelClassNames.root, state.root.className);
|
|
55
|
+
const labelStyles = useLabelStyles();
|
|
56
|
+
state.label.className = (0, _react.mergeClasses)(infoLabelClassNames.label, labelStyles.base, state.label.className);
|
|
57
|
+
const infoButtonStyles = useInfoButtonStyles();
|
|
58
|
+
if (state.infoButton) {
|
|
59
|
+
state.infoButton.className = (0, _react.mergeClasses)(infoLabelClassNames.infoButton, infoButtonStyles.base, state.size === 'large' && infoButtonStyles.large, state.infoButton.className);
|
|
60
|
+
}
|
|
61
|
+
return state;
|
|
62
|
+
}; //# sourceMappingURL=useInfoLabelStyles.js.map
|
|
63
|
+
|
|
64
|
+
//# sourceMappingURL=useInfoLabelStyles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/components/InfoLabel/useInfoLabelStyles.js"],"sourcesContent":["import { tokens } from '@fluentui/react-theme';\nimport { __styles, mergeClasses } from '@griffel/react';\nexport const infoLabelClassNames = {\n root: 'fui-InfoLabel',\n label: 'fui-InfoLabel__label',\n infoButton: 'fui-InfoLabel__infoButton'\n};\nconst useLabelStyles = /*#__PURE__*/__styles({\n base: {\n ha4doy: \"f12kltsn\",\n Bceei9c: \"fpo1scq\",\n sj55zd: \"f1ym3bx4\"\n }\n}, {\n d: [\".f12kltsn{vertical-align:top;}\", \".fpo1scq{cursor:inherit;}\", \".f1ym3bx4{color:inherit;}\"]\n});\nconst useInfoButtonStyles = /*#__PURE__*/__styles({\n base: {\n ha4doy: \"f12kltsn\",\n B6of3ja: \"f1bmzb36\",\n jrapky: \"f1nyzk09\"\n },\n large: {\n B6of3ja: \"fkrn0sh\",\n jrapky: \"fmxx68s\"\n }\n}, {\n d: [\".f12kltsn{vertical-align:top;}\", \".f1bmzb36{margin-top:calc(0px - var(--spacingVerticalXXS));}\", \".f1nyzk09{margin-bottom:calc(0px - var(--spacingVerticalXXS));}\", \".fkrn0sh{margin-top:-1px;}\", \".fmxx68s{margin-bottom:-1px;}\"]\n});\n/**\n * Apply styling to the InfoLabel slots based on the state\n */\nexport const useInfoLabelStyles_unstable = state => {\n state.root.className = mergeClasses(infoLabelClassNames.root, state.root.className);\n const labelStyles = useLabelStyles();\n state.label.className = mergeClasses(infoLabelClassNames.label, labelStyles.base, state.label.className);\n const infoButtonStyles = useInfoButtonStyles();\n if (state.infoButton) {\n state.infoButton.className = mergeClasses(infoLabelClassNames.infoButton, infoButtonStyles.base, state.size === 'large' && infoButtonStyles.large, state.infoButton.className);\n }\n return state;\n};\n//# sourceMappingURL=useInfoLabelStyles.js.map"],"names":["infoLabelClassNames","useInfoLabelStyles_unstable","root","label","infoButton","useLabelStyles","__styles","base","ha4doy","Bceei9c","sj55zd","d","useInfoButtonStyles","B6of3ja","jrapky","large","state","className","mergeClasses","labelStyles","infoButtonStyles","size"],"mappings":";;;;;;;;;;;IAEaA,mBAAmB,MAAnBA;IA8BAC,2BAA2B,MAA3BA;;uBA/B0B;AAChC,MAAMD,sBAAsB;IACjCE,MAAM;IACNC,OAAO;IACPC,YAAY;AACd;AACA,MAAMC,iBAAiB,WAAW,GAAEC,IAAAA,kBAAQ,EAAC;IAC3CC,MAAM;QACJC,QAAQ;QACRC,SAAS;QACTC,QAAQ;IACV;AACF,GAAG;IACDC,GAAG;QAAC;QAAkC;QAA6B;KAA4B;AACjG;AACA,MAAMC,sBAAsB,WAAW,GAAEN,IAAAA,kBAAQ,EAAC;IAChDC,MAAM;QACJC,QAAQ;QACRK,SAAS;QACTC,QAAQ;IACV;IACAC,OAAO;QACLF,SAAS;QACTC,QAAQ;IACV;AACF,GAAG;IACDH,GAAG;QAAC;QAAkC;QAAgE;QAAmE;QAA8B;KAAgC;AACzO;AAIO,MAAMV,8BAA8Be,CAAAA,QAAS;IAClDA,MAAMd,IAAI,CAACe,SAAS,GAAGC,IAAAA,mBAAY,EAAClB,oBAAoBE,IAAI,EAAEc,MAAMd,IAAI,CAACe,SAAS;IAClF,MAAME,cAAcd;IACpBW,MAAMb,KAAK,CAACc,SAAS,GAAGC,IAAAA,mBAAY,EAAClB,oBAAoBG,KAAK,EAAEgB,YAAYZ,IAAI,EAAES,MAAMb,KAAK,CAACc,SAAS;IACvG,MAAMG,mBAAmBR;IACzB,IAAII,MAAMZ,UAAU,EAAE;QACpBY,MAAMZ,UAAU,CAACa,SAAS,GAAGC,IAAAA,mBAAY,EAAClB,oBAAoBI,UAAU,EAAEgB,iBAAiBb,IAAI,EAAES,MAAMK,IAAI,KAAK,WAAWD,iBAAiBL,KAAK,EAAEC,MAAMZ,UAAU,CAACa,SAAS;IAC/K,CAAC;IACD,OAAOD;AACT,GACA,8CAA8C"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -1,38 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
5
|
-
});
|
|
6
|
-
exports.useInfoButton_unstable = exports.useInfoButtonStyles_unstable = exports.renderInfoButton_unstable = exports.infoButtonClassNames = exports.InfoButton = void 0;
|
|
7
|
-
var InfoButton_1 = /*#__PURE__*/require("./InfoButton");
|
|
8
|
-
Object.defineProperty(exports, "InfoButton", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () {
|
|
11
|
-
return InfoButton_1.InfoButton;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "infoButtonClassNames", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return InfoButton_1.infoButtonClassNames;
|
|
18
|
-
}
|
|
3
|
+
value: true
|
|
19
4
|
});
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
InfoButton: ()=>_infoButton.InfoButton,
|
|
13
|
+
infoButtonClassNames: ()=>_infoButton.infoButtonClassNames,
|
|
14
|
+
renderInfoButton_unstable: ()=>_infoButton.renderInfoButton_unstable,
|
|
15
|
+
useInfoButtonStyles_unstable: ()=>_infoButton.useInfoButtonStyles_unstable,
|
|
16
|
+
useInfoButton_unstable: ()=>_infoButton.useInfoButton_unstable,
|
|
17
|
+
InfoLabel: ()=>_infoLabel.InfoLabel,
|
|
18
|
+
infoLabelClassNames: ()=>_infoLabel.infoLabelClassNames,
|
|
19
|
+
renderInfoLabel_unstable: ()=>_infoLabel.renderInfoLabel_unstable,
|
|
20
|
+
useInfoLabelStyles_unstable: ()=>_infoLabel.useInfoLabelStyles_unstable,
|
|
21
|
+
useInfoLabel_unstable: ()=>_infoLabel.useInfoLabel_unstable
|
|
37
22
|
});
|
|
23
|
+
const _infoButton = require("./InfoButton");
|
|
24
|
+
const _infoLabel = require("./InfoLabel");
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
26
|
+
|
|
38
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { InfoButton, infoButtonClassNames, renderInfoButton_unstable, useInfoButtonStyles_unstable, useInfoButton_unstable } from './InfoButton';\nexport { InfoLabel, infoLabelClassNames, renderInfoLabel_unstable, useInfoLabelStyles_unstable, useInfoLabel_unstable } from './InfoLabel';\n//# sourceMappingURL=index.js.map"],"names":["InfoButton","infoButtonClassNames","renderInfoButton_unstable","useInfoButtonStyles_unstable","useInfoButton_unstable","InfoLabel","infoLabelClassNames","renderInfoLabel_unstable","useInfoLabelStyles_unstable","useInfoLabel_unstable"],"mappings":";;;;;;;;;;;IAASA,UAAU,MAAVA,sBAAU;IAAEC,oBAAoB,MAApBA,gCAAoB;IAAEC,yBAAyB,MAAzBA,qCAAyB;IAAEC,4BAA4B,MAA5BA,wCAA4B;IAAEC,sBAAsB,MAAtBA,kCAAsB;IACjHC,SAAS,MAATA,oBAAS;IAAEC,mBAAmB,MAAnBA,8BAAmB;IAAEC,wBAAwB,MAAxBA,mCAAwB;IAAEC,2BAA2B,MAA3BA,sCAA2B;IAAEC,qBAAqB,MAArBA,gCAAqB;;4BADa;2BACL;CAC7H,iCAAiC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-infobutton",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.23",
|
|
4
4
|
"description": "React components for building web experiences",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"just": "just-scripts",
|
|
20
20
|
"lint": "just-scripts lint",
|
|
21
21
|
"test": "jest --passWithNoTests",
|
|
22
|
-
"generate-api": "
|
|
22
|
+
"generate-api": "just-scripts generate-api",
|
|
23
23
|
"type-check": "tsc -b tsconfig.json",
|
|
24
24
|
"storybook": "start-storybook",
|
|
25
25
|
"start": "yarn storybook"
|
|
@@ -27,18 +27,19 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@fluentui/eslint-plugin": "*",
|
|
29
29
|
"@fluentui/react-conformance": "*",
|
|
30
|
-
"@fluentui/react-conformance-griffel": "9.0.0-beta.
|
|
30
|
+
"@fluentui/react-conformance-griffel": "9.0.0-beta.20",
|
|
31
31
|
"@fluentui/scripts-api-extractor": "*",
|
|
32
32
|
"@fluentui/scripts-tasks": "*"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@fluentui/react-icons": "^2.0.
|
|
36
|
-
"@fluentui/react-
|
|
37
|
-
"@fluentui/react-
|
|
38
|
-
"@fluentui/react-
|
|
39
|
-
"@fluentui/react-
|
|
35
|
+
"@fluentui/react-icons": "^2.0.196",
|
|
36
|
+
"@fluentui/react-label": "^9.1.5",
|
|
37
|
+
"@fluentui/react-popover": "^9.5.5",
|
|
38
|
+
"@fluentui/react-tabster": "^9.6.1",
|
|
39
|
+
"@fluentui/react-theme": "^9.1.7",
|
|
40
|
+
"@fluentui/react-utilities": "^9.7.2",
|
|
40
41
|
"@griffel/react": "^1.5.2",
|
|
41
|
-
"
|
|
42
|
+
"@swc/helpers": "^0.4.14"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"@types/react": ">=16.8.0 <19.0.0",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"exports": {
|
|
57
58
|
".": {
|
|
58
59
|
"types": "./dist/index.d.ts",
|
|
60
|
+
"node": "./lib-commonjs/index.js",
|
|
59
61
|
"import": "./lib/index.js",
|
|
60
62
|
"require": "./lib-commonjs/index.js"
|
|
61
63
|
},
|