@fluentui/react-components 9.46.7 → 9.47.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 +97 -2
- package/dist/index.d.ts +93 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib-commonjs/index.js +1751 -1693
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/unstable/index.js +229 -229
- package/lib-commonjs/unstable/index.js.map +1 -1
- package/package.json +53 -53
- package/lib/Concepts/Icons/ReactIconGrid.js +0 -106
- package/lib/Concepts/Icons/ReactIconGrid.js.map +0 -1
- package/lib-commonjs/Concepts/Icons/ReactIconGrid.js +0 -116
- package/lib-commonjs/Concepts/Icons/ReactIconGrid.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.js"],"sourcesContent":["// =====================================================================================================\n// ⚠️ IMPORTANT:\n// =====================================================================================================\n// - `/unstable` api is DEPRECATED\n// - adding new API exports to this file is FORBIDDEN ( except `react-virtualizer` )\n// - modifying any existing exports in this file is FORBIDDEN\n// - use/consume `*-preview` packages directly for preview/unstable Fluent UI core controls early access\n// =====================================================================================================\n/* eslint-disable deprecation/deprecation */ export { Alert, alertClassNames, renderAlert_unstable, useAlertStyles_unstable, useAlert_unstable } from '@fluentui/react-alert';\nexport { InfoButton, infoButtonClassNames, useInfoButton_unstable, useInfoButtonStyles_unstable, renderInfoButton_unstable, InfoLabel, infoLabelClassNames, renderInfoLabel_unstable, useInfoLabel_unstable, useInfoLabelStyles_unstable } from '@fluentui/react-infobutton';\n/* eslint-enable deprecation/deprecation */ export { Virtualizer, virtualizerClassNames, useVirtualizer_unstable, renderVirtualizer_unstable, useVirtualizerStyles_unstable, useIntersectionObserver, useStaticVirtualizerMeasure, useDynamicVirtualizerMeasure, useResizeObserverRef_unstable, VirtualizerContextProvider, useVirtualizerContext_unstable, VirtualizerScrollView, virtualizerScrollViewClassNames, useVirtualizerScrollView_unstable, renderVirtualizerScrollView_unstable, useVirtualizerScrollViewStyles_unstable, VirtualizerScrollViewDynamic, virtualizerScrollViewDynamicClassNames, useVirtualizerScrollViewDynamic_unstable, renderVirtualizerScrollViewDynamic_unstable, useVirtualizerScrollViewDynamicStyles_unstable, scrollToItemDynamic, scrollToItemStatic } from '@fluentui/react-virtualizer';\nexport { /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ Tree, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ TreeItem, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ FlatTree, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ TreeProvider, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ TreeItemLayout, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ TreeItemProvider, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ TreeItemPersonaLayout, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeContext_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeContextValues_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemContext_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemContextValues_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useFlatTreeContextValues_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTree_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItem_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemLayout_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemPersonaLayout_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ renderTree_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ renderTreeItem_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ renderTreeItemPersonaLayout_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ renderTreeItemLayout_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeStyles_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemStyles_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemPersonaLayoutStyles_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemLayoutStyles_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ treeItemPersonaLayoutClassNames, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ treeItemLevelToken, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ treeItemLayoutClassNames, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ treeItemClassNames, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ treeClassNames, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ flatTreeClassNames, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useFlatTree_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useHeadlessFlatTree_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useFlatTreeStyles_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ renderFlatTree_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ flattenTree_unstable } from '@fluentui/react-tree';\nexport { /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ Drawer, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawer_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawer_unstable, /** @deprecated Use `OverlayDrawer` from @fluentui/react-components instead */ OverlayDrawer as DrawerOverlay, /** @deprecated Use `OverlayDrawerClassNames` from @fluentui/react-components instead */ overlayDrawerClassNames as DrawerOverlayClassNames, /** @deprecated Use `renderOverlayDrawer_unstable` from @fluentui/react-components instead */ renderOverlayDrawer_unstable as renderDrawerOverlay_unstable, /** @deprecated Use `useOverlayDrawerStyles_unstable` from @fluentui/react-components instead */ useOverlayDrawerStyles_unstable as useDrawerOverlayStyles_unstable, /** @deprecated Use `useOverlayDrawer_unstable` from @fluentui/react-components instead */ useOverlayDrawer_unstable as useDrawerOverlay_unstable, /** @deprecated Use `InlineDrawer` from @fluentui/react-components instead */ InlineDrawer as DrawerInline, /** @deprecated Use `InlineDrawerClassNames` from @fluentui/react-components instead */ inlineDrawerClassNames as DrawerInlineClassNames, /** @deprecated Use `renderInlineDrawer_unstable` from @fluentui/react-components instead */ renderInlineDrawer_unstable as renderDrawerInline_unstable, /** @deprecated Use `useInlineDrawerStyles_unstable` from @fluentui/react-components instead */ useInlineDrawerStyles_unstable as useDrawerInlineStyles_unstable, /** @deprecated Use `useInlineDrawer_unstable` from @fluentui/react-components instead */ useInlineDrawer_unstable as useDrawerInline_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ OverlayDrawer, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ overlayDrawerClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderOverlayDrawer_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useOverlayDrawerStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useOverlayDrawer_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ InlineDrawer, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ inlineDrawerClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderInlineDrawer_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useInlineDrawerStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useInlineDrawer_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ DrawerBody, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ drawerBodyClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawerBody_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerBodyStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerBody_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ DrawerHeader, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ drawerHeaderClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawerHeader_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeaderStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeader_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ DrawerHeaderTitle, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ drawerHeaderTitleClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawerHeaderTitle_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeaderTitleStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeaderTitle_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ DrawerHeaderNavigation, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ drawerHeaderNavigationClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawerHeaderNavigation_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeaderNavigationStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeaderNavigation_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ DrawerFooter, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ drawerFooterClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawerFooter_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerFooterStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerFooter_unstable } from '@fluentui/react-drawer';\n"],"names":["Alert","alertClassNames","renderAlert_unstable","useAlertStyles_unstable","useAlert_unstable","InfoButton","infoButtonClassNames","useInfoButton_unstable","useInfoButtonStyles_unstable","renderInfoButton_unstable","InfoLabel","infoLabelClassNames","renderInfoLabel_unstable","useInfoLabel_unstable","useInfoLabelStyles_unstable","Virtualizer","virtualizerClassNames","useVirtualizer_unstable","renderVirtualizer_unstable","useVirtualizerStyles_unstable","useIntersectionObserver","useStaticVirtualizerMeasure","useDynamicVirtualizerMeasure","useResizeObserverRef_unstable","VirtualizerContextProvider","useVirtualizerContext_unstable","VirtualizerScrollView","virtualizerScrollViewClassNames","useVirtualizerScrollView_unstable","renderVirtualizerScrollView_unstable","useVirtualizerScrollViewStyles_unstable","VirtualizerScrollViewDynamic","virtualizerScrollViewDynamicClassNames","useVirtualizerScrollViewDynamic_unstable","renderVirtualizerScrollViewDynamic_unstable","useVirtualizerScrollViewDynamicStyles_unstable","scrollToItemDynamic","scrollToItemStatic","Tree","TreeItem","FlatTree","TreeProvider","TreeItemLayout","TreeItemProvider","TreeItemPersonaLayout","useTreeContext_unstable","useTreeContextValues_unstable","useTreeItemContext_unstable","useTreeItemContextValues_unstable","useFlatTreeContextValues_unstable","useTree_unstable","useTreeItem_unstable","useTreeItemLayout_unstable","useTreeItemPersonaLayout_unstable","renderTree_unstable","renderTreeItem_unstable","renderTreeItemPersonaLayout_unstable","renderTreeItemLayout_unstable","useTreeStyles_unstable","useTreeItemStyles_unstable","useTreeItemPersonaLayoutStyles_unstable","useTreeItemLayoutStyles_unstable","treeItemPersonaLayoutClassNames","treeItemLevelToken","treeItemLayoutClassNames","treeItemClassNames","treeClassNames","flatTreeClassNames","useFlatTree_unstable","useHeadlessFlatTree_unstable","useFlatTreeStyles_unstable","renderFlatTree_unstable","flattenTree_unstable","Drawer","renderDrawer_unstable","useDrawer_unstable","DrawerOverlay","OverlayDrawer","DrawerOverlayClassNames","overlayDrawerClassNames","renderDrawerOverlay_unstable","renderOverlayDrawer_unstable","useDrawerOverlayStyles_unstable","useOverlayDrawerStyles_unstable","useDrawerOverlay_unstable","useOverlayDrawer_unstable","DrawerInline","InlineDrawer","DrawerInlineClassNames","inlineDrawerClassNames","renderDrawerInline_unstable","renderInlineDrawer_unstable","useDrawerInlineStyles_unstable","useInlineDrawerStyles_unstable","useDrawerInline_unstable","useInlineDrawer_unstable","DrawerBody","drawerBodyClassNames","renderDrawerBody_unstable","useDrawerBodyStyles_unstable","useDrawerBody_unstable","DrawerHeader","drawerHeaderClassNames","renderDrawerHeader_unstable","useDrawerHeaderStyles_unstable","useDrawerHeader_unstable","DrawerHeaderTitle","drawerHeaderTitleClassNames","renderDrawerHeaderTitle_unstable","useDrawerHeaderTitleStyles_unstable","useDrawerHeaderTitle_unstable","DrawerHeaderNavigation","drawerHeaderNavigationClassNames","renderDrawerHeaderNavigation_unstable","useDrawerHeaderNavigationStyles_unstable","useDrawerHeaderNavigation_unstable","DrawerFooter","drawerFooterClassNames","renderDrawerFooter_unstable","useDrawerFooterStyles_unstable","useDrawerFooter_unstable"],"mappings":"AAAA,wGAAwG;AACxG,mDAAmD;AACnD,wGAAwG;AACxG,kCAAkC;AAClC,oFAAoF;AACpF,6DAA6D;AAC7D,wGAAwG;AACxG,wGAAwG;AACxG,0CAA0C;;;;;;;;;;;IAAYA,KAAK;eAALA,iBAAK;;IAAEC,eAAe;eAAfA,2BAAe;;IAAEC,oBAAoB;eAApBA,gCAAoB;;IAAEC,uBAAuB;eAAvBA,mCAAuB;;IAAEC,iBAAiB;eAAjBA,6BAAiB;;IACrIC,UAAU;eAAVA,2BAAU;;IAAEC,oBAAoB;eAApBA,qCAAoB;;IAAEC,sBAAsB;eAAtBA,uCAAsB;;IAAEC,4BAA4B;eAA5BA,6CAA4B;;IAAEC,yBAAyB;eAAzBA,0CAAyB;;IAAEC,SAAS;eAATA,0BAAS;;IAAEC,mBAAm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AoB;;IAAE,2FAA2F,GAAGC,yBAAyB;eAAzBA,sCAAyB;;IAAE,2FAA2F,GAAGC,4BAA4B;eAA5BA,yCAA4B;;IAAE,2FAA2F,GAAGC,sBAAsB;eAAtBA,mCAAsB;;IAAE,2FAA2F,GAAGC,YAAY;eAAZA,yBAAY;;IAAE,2FAA2F,GAAGC,sBAAsB;eAAtBA,mCAAsB;;IAAE,2FAA2F,GAAGC,2BAA2B;eAA3BA,wCAA2B;;IAAE,2FAA2F,GAAGC,8BAA8B;eAA9BA,2CAA8B;;IAAE,2FAA2F,GAAGC,wBAAwB;eAAxBA,qCAAwB;;IAAE,2FAA2F,GAAGC,iBAAiB;eAAjBA,8BAAiB;;IAAE,2FAA2F,GAAGC,2BAA2B;eAA3BA,wCAA2B;;IAAE,2FAA2F,GAAGC,gCAAgC;eAAhCA,6CAAgC;;IAAE,2FAA2F,GAAGC,mCAAmC;eAAnCA,gDAAmC;;IAAE,2FAA2F,GAAGC,6BAA6B;eAA7BA,0CAA6B;;IAAE,2FAA2F,GAAGC,sBAAsB;eAAtBA,mCAAsB;;IAAE,2FAA2F,GAAGC,gCAAgC;eAAhCA,6CAAgC;;IAAE,2FAA2F,GAAGC,qCAAqC;eAArCA,kDAAqC;;IAAE,2FAA2F,GAAGC,wCAAwC;eAAxCA,qDAAwC;;IAAE,2FAA2F,GAAGC,kCAAkC;eAAlCA,+CAAkC;;IAAE,2FAA2F,GAAGC,YAAY;eAAZA,yBAAY;;IAAE,2FAA2F,GAAGC,sBAAsB;eAAtBA,mCAAsB;;IAAE,2FAA2F,GAAGC,2BAA2B;eAA3BA,wCAA2B;;IAAE,2FAA2F,GAAGC,8BAA8B;eAA9BA,2CAA8B;;IAAE,2FAA2F,GAAGC,wBAAwB;eAAxBA,qCAAwB;;;4BAJ1tL;iCAC0F;kCACkhB;2BAC4vG;6BAC03D"}
|
|
1
|
+
{"version":3,"sources":["index.js"],"sourcesContent":["// =====================================================================================================\n// ⚠️ IMPORTANT:\n// =====================================================================================================\n// - `/unstable` api is DEPRECATED\n// - adding new API exports to this file is FORBIDDEN ( except `react-virtualizer` )\n// - modifying any existing exports in this file is FORBIDDEN\n// - use/consume `*-preview` packages directly for preview/unstable Fluent UI core controls early access\n// =====================================================================================================\n/* eslint-disable deprecation/deprecation */ export { Alert, alertClassNames, renderAlert_unstable, useAlertStyles_unstable, useAlert_unstable } from '@fluentui/react-alert';\nexport { InfoButton, infoButtonClassNames, useInfoButton_unstable, useInfoButtonStyles_unstable, renderInfoButton_unstable, InfoLabel, infoLabelClassNames, renderInfoLabel_unstable, useInfoLabel_unstable, useInfoLabelStyles_unstable } from '@fluentui/react-infobutton';\n/* eslint-enable deprecation/deprecation */ export { Virtualizer, virtualizerClassNames, useVirtualizer_unstable, renderVirtualizer_unstable, useVirtualizerStyles_unstable, useIntersectionObserver, useStaticVirtualizerMeasure, useDynamicVirtualizerMeasure, useResizeObserverRef_unstable, VirtualizerContextProvider, useVirtualizerContext_unstable, VirtualizerScrollView, virtualizerScrollViewClassNames, useVirtualizerScrollView_unstable, renderVirtualizerScrollView_unstable, useVirtualizerScrollViewStyles_unstable, VirtualizerScrollViewDynamic, virtualizerScrollViewDynamicClassNames, useVirtualizerScrollViewDynamic_unstable, renderVirtualizerScrollViewDynamic_unstable, useVirtualizerScrollViewDynamicStyles_unstable, scrollToItemDynamic, scrollToItemStatic } from '@fluentui/react-virtualizer';\nexport { /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ Tree, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ TreeItem, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ FlatTree, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ TreeProvider, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ TreeItemLayout, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ TreeItemProvider, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ TreeItemPersonaLayout, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeContext_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeContextValues_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemContext_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemContextValues_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useFlatTreeContextValues_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTree_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItem_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemLayout_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemPersonaLayout_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ renderTree_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ renderTreeItem_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ renderTreeItemPersonaLayout_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ renderTreeItemLayout_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeStyles_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemStyles_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemPersonaLayoutStyles_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useTreeItemLayoutStyles_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ treeItemPersonaLayoutClassNames, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ treeItemLevelToken, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ treeItemLayoutClassNames, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ treeItemClassNames, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ treeClassNames, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ flatTreeClassNames, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useFlatTree_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useHeadlessFlatTree_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ useFlatTreeStyles_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ renderFlatTree_unstable, /** @deprecated Tree is currently stable. Import from @fluentui/react-components instead */ flattenTree_unstable } from '@fluentui/react-tree';\nexport { /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ Drawer, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawer_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawer_unstable, /** @deprecated Use `OverlayDrawer` from @fluentui/react-components instead */ OverlayDrawer as DrawerOverlay, /** @deprecated Use `OverlayDrawerClassNames` from @fluentui/react-components instead */ overlayDrawerClassNames as DrawerOverlayClassNames, /** @deprecated Use `renderOverlayDrawer_unstable` from @fluentui/react-components instead */ renderOverlayDrawer_unstable as renderDrawerOverlay_unstable, /** @deprecated Use `useOverlayDrawerStyles_unstable` from @fluentui/react-components instead */ useOverlayDrawerStyles_unstable as useDrawerOverlayStyles_unstable, /** @deprecated Use `useOverlayDrawer_unstable` from @fluentui/react-components instead */ useOverlayDrawer_unstable as useDrawerOverlay_unstable, /** @deprecated Use `InlineDrawer` from @fluentui/react-components instead */ InlineDrawer as DrawerInline, /** @deprecated Use `InlineDrawerClassNames` from @fluentui/react-components instead */ inlineDrawerClassNames as DrawerInlineClassNames, /** @deprecated Use `renderInlineDrawer_unstable` from @fluentui/react-components instead */ renderInlineDrawer_unstable as renderDrawerInline_unstable, /** @deprecated Use `useInlineDrawerStyles_unstable` from @fluentui/react-components instead */ useInlineDrawerStyles_unstable as useDrawerInlineStyles_unstable, /** @deprecated Use `useInlineDrawer_unstable` from @fluentui/react-components instead */ useInlineDrawer_unstable as useDrawerInline_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ OverlayDrawer, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ overlayDrawerClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderOverlayDrawer_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useOverlayDrawerStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useOverlayDrawer_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ InlineDrawer, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ inlineDrawerClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderInlineDrawer_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useInlineDrawerStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useInlineDrawer_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ DrawerBody, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ drawerBodyClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawerBody_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerBodyStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerBody_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ DrawerHeader, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ drawerHeaderClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawerHeader_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeaderStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeader_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ DrawerHeaderTitle, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ drawerHeaderTitleClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawerHeaderTitle_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeaderTitleStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeaderTitle_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ DrawerHeaderNavigation, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ drawerHeaderNavigationClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawerHeaderNavigation_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeaderNavigationStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerHeaderNavigation_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ DrawerFooter, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ drawerFooterClassNames, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ renderDrawerFooter_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerFooterStyles_unstable, /** @deprecated Drawer is currently stable. Import from @fluentui/react-components instead */ useDrawerFooter_unstable } from '@fluentui/react-drawer';\n"],"names":["Alert","Drawer","DrawerBody","DrawerFooter","DrawerHeader","DrawerHeaderNavigation","DrawerHeaderTitle","DrawerInline","InlineDrawer","DrawerInlineClassNames","inlineDrawerClassNames","DrawerOverlay","OverlayDrawer","DrawerOverlayClassNames","overlayDrawerClassNames","FlatTree","InfoButton","InfoLabel","Tree","TreeItem","TreeItemLayout","TreeItemPersonaLayout","TreeItemProvider","TreeProvider","Virtualizer","VirtualizerContextProvider","VirtualizerScrollView","VirtualizerScrollViewDynamic","alertClassNames","drawerBodyClassNames","drawerFooterClassNames","drawerHeaderClassNames","drawerHeaderNavigationClassNames","drawerHeaderTitleClassNames","flatTreeClassNames","flattenTree_unstable","infoButtonClassNames","infoLabelClassNames","renderAlert_unstable","renderDrawerBody_unstable","renderDrawerFooter_unstable","renderDrawerHeaderNavigation_unstable","renderDrawerHeaderTitle_unstable","renderDrawerHeader_unstable","renderDrawerInline_unstable","renderInlineDrawer_unstable","renderDrawerOverlay_unstable","renderOverlayDrawer_unstable","renderDrawer_unstable","renderFlatTree_unstable","renderInfoButton_unstable","renderInfoLabel_unstable","renderTreeItemLayout_unstable","renderTreeItemPersonaLayout_unstable","renderTreeItem_unstable","renderTree_unstable","renderVirtualizerScrollViewDynamic_unstable","renderVirtualizerScrollView_unstable","renderVirtualizer_unstable","scrollToItemDynamic","scrollToItemStatic","treeClassNames","treeItemClassNames","treeItemLayoutClassNames","treeItemLevelToken","treeItemPersonaLayoutClassNames","useAlertStyles_unstable","useAlert_unstable","useDrawerBodyStyles_unstable","useDrawerBody_unstable","useDrawerFooterStyles_unstable","useDrawerFooter_unstable","useDrawerHeaderNavigationStyles_unstable","useDrawerHeaderNavigation_unstable","useDrawerHeaderStyles_unstable","useDrawerHeaderTitleStyles_unstable","useDrawerHeaderTitle_unstable","useDrawerHeader_unstable","useDrawerInlineStyles_unstable","useInlineDrawerStyles_unstable","useDrawerInline_unstable","useInlineDrawer_unstable","useDrawerOverlayStyles_unstable","useOverlayDrawerStyles_unstable","useDrawerOverlay_unstable","useOverlayDrawer_unstable","useDrawer_unstable","useDynamicVirtualizerMeasure","useFlatTreeContextValues_unstable","useFlatTreeStyles_unstable","useFlatTree_unstable","useHeadlessFlatTree_unstable","useInfoButtonStyles_unstable","useInfoButton_unstable","useInfoLabelStyles_unstable","useInfoLabel_unstable","useIntersectionObserver","useResizeObserverRef_unstable","useStaticVirtualizerMeasure","useTreeContextValues_unstable","useTreeContext_unstable","useTreeItemContextValues_unstable","useTreeItemContext_unstable","useTreeItemLayoutStyles_unstable","useTreeItemLayout_unstable","useTreeItemPersonaLayoutStyles_unstable","useTreeItemPersonaLayout_unstable","useTreeItemStyles_unstable","useTreeItem_unstable","useTreeStyles_unstable","useTree_unstable","useVirtualizerContext_unstable","useVirtualizerScrollViewDynamicStyles_unstable","useVirtualizerScrollViewDynamic_unstable","useVirtualizerScrollViewStyles_unstable","useVirtualizerScrollView_unstable","useVirtualizerStyles_unstable","useVirtualizer_unstable","virtualizerClassNames","virtualizerScrollViewClassNames","virtualizerScrollViewDynamicClassNames"],"mappings":"AAAA,wGAAwG;AACxG,mDAAmD;AACnD,wGAAwG;AACxG,kCAAkC;AAClC,oFAAoF;AACpF,6DAA6D;AAC7D,wGAAwG;AACxG,wGAAwG;AACxG,0CAA0C;;;;;;;;;;;IAAYA,KAAK;eAALA,iBAAK;;IAI4CC,MAAM;eAANA,mBAAM;;IAAqyF,2FAA2F,GAAGC,UAAU;eAAVA,uBAAU;;IAAqyE,2FAA2F,GAAGC,YAAY;eAAZA,yBAAY;;IAA96D,2FAA2F,GAAGC,YAAY;eAAZA,yBAAY;;IAAqlC,2FAA2F,GAAGC,sBAAsB;eAAtBA,mCAAsB;;IAAhuB,2FAA2F,GAAGC,iBAAiB;eAAjBA,8BAAiB;;IAAzhGC,YAAY;eAA1G,2EAA2E,GAAGC,yBAAY;;IAAoIC,sBAAsB;eAAxI,qFAAqF,GAAGC,mCAAsB;;IAA10BC,aAAa;eAA7G,4EAA4E,GAAGC,0BAAa;;IAAuIC,uBAAuB;eAA3I,sFAAsF,GAAGC,oCAAuB;;IADpW,yFAAyF,GAAGC,QAAQ;eAARA,mBAAQ;;IAF5SC,UAAU;eAAVA,2BAAU;;IAAyGC,SAAS;eAATA,0BAAS;;IAG0rE,2FAA2F,GAAGT,YAAY;eAAZA,yBAAY;;IAAlsB,2FAA2F,GAAGI,aAAa;eAAbA,0BAAa;;IAD7uDM,IAAI;eAAJA,eAAI;;IAAE,yFAAyF,GAAGC,QAAQ;eAARA,mBAAQ;;IAAkN,yFAAyF,GAAGC,cAAc;eAAdA,yBAAc;;IAAgH,yFAAyF,GAAGC,qBAAqB;eAArBA,gCAAqB;;IAA/N,yFAAyF,GAAGC,gBAAgB;eAAhBA,2BAAgB;;IAAlU,yFAAyF,GAAGC,YAAY;eAAZA,uBAAY;;IAD1W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0BAA0B;eAA1BA,qCAA0B;;IAAg1B,yFAAyF,GAAGC,uCAAuC;eAAvCA,kDAAuC;;IAAj9B,yFAAyF,GAAGC,iCAAiC;eAAjCA,4CAAiC;;IAAylB,yFAAyF,GAAGC,0BAA0B;eAA1BA,qCAA0B;;IAAtjC,yFAAyF,GAAGC,oBAAoB;eAApBA,+BAAoB;;IAA4tB,yFAAyF,GAAGC,sBAAsB;eAAtBA,iCAAsB;;IAA5iC,yFAAyF,GAAGC,gBAAgB;eAAhBA,2BAAgB;;IADroCC,8BAA8B;eAA9BA,gDAA8B;;IAAyUC,8CAA8C;eAA9CA,gEAA8C;;IAArIC,wCAAwC;eAAxCA,0DAAwC;;IAAvJC,uCAAuC;eAAvCA,yDAAuC;;IAAhHC,iCAAiC;eAAjCA,mDAAiC;;IAAvSC,6BAA6B;eAA7BA,+CAA6B;;IAAlFC,uBAAuB;eAAvBA,yCAAuB;;IAA9CC,qBAAqB;eAArBA,uCAAqB;;IAA4RC,+BAA+B;eAA/BA,iDAA+B;;IAAkJC,sCAAsC;eAAtCA,wDAAsC;;;4BAFpb;iCAC0F;kCACkhB;2BAC4vG;6BAC03D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-components",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.47.0",
|
|
4
4
|
"description": "Suite package for converged React components",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -32,65 +32,65 @@
|
|
|
32
32
|
"@fluentui/scripts-tasks": "*"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@fluentui/react-accordion": "^9.3.
|
|
36
|
-
"@fluentui/react-alert": "9.0.0-beta.
|
|
37
|
-
"@fluentui/react-avatar": "^9.6.
|
|
38
|
-
"@fluentui/react-badge": "^9.2.
|
|
39
|
-
"@fluentui/react-button": "^9.3.
|
|
40
|
-
"@fluentui/react-card": "^9.0.
|
|
41
|
-
"@fluentui/react-checkbox": "^9.2.
|
|
42
|
-
"@fluentui/react-combobox": "^9.9.
|
|
43
|
-
"@fluentui/react-dialog": "^9.9.
|
|
44
|
-
"@fluentui/react-divider": "^9.2.
|
|
45
|
-
"@fluentui/react-drawer": "^9.1.
|
|
46
|
-
"@fluentui/react-field": "^9.1.
|
|
47
|
-
"@fluentui/react-image": "^9.1.
|
|
48
|
-
"@fluentui/react-infobutton": "9.0.0-beta.
|
|
49
|
-
"@fluentui/react-infolabel": "^9.0.
|
|
50
|
-
"@fluentui/react-input": "^9.4.
|
|
51
|
-
"@fluentui/react-label": "^9.1.
|
|
52
|
-
"@fluentui/react-link": "^9.2.
|
|
53
|
-
"@fluentui/react-menu": "^9.13.
|
|
54
|
-
"@fluentui/react-overflow": "^9.1.
|
|
55
|
-
"@fluentui/react-persona": "^9.2.
|
|
56
|
-
"@fluentui/react-portal": "^9.4.
|
|
57
|
-
"@fluentui/react-popover": "^9.
|
|
58
|
-
"@fluentui/react-positioning": "^9.
|
|
59
|
-
"@fluentui/react-progress": "^9.1.
|
|
60
|
-
"@fluentui/react-provider": "^9.13.
|
|
61
|
-
"@fluentui/react-radio": "^9.2.
|
|
62
|
-
"@fluentui/react-select": "^9.1.
|
|
63
|
-
"@fluentui/react-shared-contexts": "^9.
|
|
64
|
-
"@fluentui/react-skeleton": "^9.0.
|
|
65
|
-
"@fluentui/react-slider": "^9.1.
|
|
66
|
-
"@fluentui/react-spinbutton": "^9.2.
|
|
67
|
-
"@fluentui/react-spinner": "^9.
|
|
68
|
-
"@fluentui/react-switch": "^9.1.
|
|
69
|
-
"@fluentui/react-table": "^9.11.
|
|
70
|
-
"@fluentui/react-tabs": "^9.4.
|
|
71
|
-
"@fluentui/react-tabster": "^9.19.
|
|
72
|
-
"@fluentui/react-tags": "^9.1.
|
|
73
|
-
"@fluentui/react-textarea": "^9.3.
|
|
74
|
-
"@fluentui/react-theme": "^9.1.
|
|
75
|
-
"@fluentui/react-toast": "^9.3.
|
|
76
|
-
"@fluentui/react-toolbar": "^9.1.
|
|
77
|
-
"@fluentui/react-tooltip": "^9.4.
|
|
78
|
-
"@fluentui/react-utilities": "^9.18.
|
|
79
|
-
"@fluentui/react-text": "^9.4.
|
|
80
|
-
"@fluentui/react-virtualizer": "9.0.0-alpha.
|
|
81
|
-
"@fluentui/react-tree": "^9.4.
|
|
35
|
+
"@fluentui/react-accordion": "^9.3.45",
|
|
36
|
+
"@fluentui/react-alert": "9.0.0-beta.113",
|
|
37
|
+
"@fluentui/react-avatar": "^9.6.18",
|
|
38
|
+
"@fluentui/react-badge": "^9.2.28",
|
|
39
|
+
"@fluentui/react-button": "^9.3.72",
|
|
40
|
+
"@fluentui/react-card": "^9.0.71",
|
|
41
|
+
"@fluentui/react-checkbox": "^9.2.16",
|
|
42
|
+
"@fluentui/react-combobox": "^9.9.2",
|
|
43
|
+
"@fluentui/react-dialog": "^9.9.14",
|
|
44
|
+
"@fluentui/react-divider": "^9.2.64",
|
|
45
|
+
"@fluentui/react-drawer": "^9.1.8",
|
|
46
|
+
"@fluentui/react-field": "^9.1.57",
|
|
47
|
+
"@fluentui/react-image": "^9.1.61",
|
|
48
|
+
"@fluentui/react-infobutton": "9.0.0-beta.97",
|
|
49
|
+
"@fluentui/react-infolabel": "^9.0.25",
|
|
50
|
+
"@fluentui/react-input": "^9.4.67",
|
|
51
|
+
"@fluentui/react-label": "^9.1.65",
|
|
52
|
+
"@fluentui/react-link": "^9.2.14",
|
|
53
|
+
"@fluentui/react-menu": "^9.13.3",
|
|
54
|
+
"@fluentui/react-overflow": "^9.1.14",
|
|
55
|
+
"@fluentui/react-persona": "^9.2.77",
|
|
56
|
+
"@fluentui/react-portal": "^9.4.17",
|
|
57
|
+
"@fluentui/react-popover": "^9.9.1",
|
|
58
|
+
"@fluentui/react-positioning": "^9.14.1",
|
|
59
|
+
"@fluentui/react-progress": "^9.1.67",
|
|
60
|
+
"@fluentui/react-provider": "^9.13.15",
|
|
61
|
+
"@fluentui/react-radio": "^9.2.11",
|
|
62
|
+
"@fluentui/react-select": "^9.1.67",
|
|
63
|
+
"@fluentui/react-shared-contexts": "^9.15.1",
|
|
64
|
+
"@fluentui/react-skeleton": "^9.0.55",
|
|
65
|
+
"@fluentui/react-slider": "^9.1.73",
|
|
66
|
+
"@fluentui/react-spinbutton": "^9.2.67",
|
|
67
|
+
"@fluentui/react-spinner": "^9.4.1",
|
|
68
|
+
"@fluentui/react-switch": "^9.1.73",
|
|
69
|
+
"@fluentui/react-table": "^9.11.14",
|
|
70
|
+
"@fluentui/react-tabs": "^9.4.13",
|
|
71
|
+
"@fluentui/react-tabster": "^9.19.4",
|
|
72
|
+
"@fluentui/react-tags": "^9.1.2",
|
|
73
|
+
"@fluentui/react-textarea": "^9.3.67",
|
|
74
|
+
"@fluentui/react-theme": "^9.1.18",
|
|
75
|
+
"@fluentui/react-toast": "^9.3.34",
|
|
76
|
+
"@fluentui/react-toolbar": "^9.1.74",
|
|
77
|
+
"@fluentui/react-tooltip": "^9.4.20",
|
|
78
|
+
"@fluentui/react-utilities": "^9.18.4",
|
|
79
|
+
"@fluentui/react-text": "^9.4.13",
|
|
80
|
+
"@fluentui/react-virtualizer": "9.0.0-alpha.72",
|
|
81
|
+
"@fluentui/react-tree": "^9.4.34",
|
|
82
82
|
"@griffel/react": "^1.5.14",
|
|
83
83
|
"@swc/helpers": "^0.5.1",
|
|
84
|
-
"@fluentui/react-message-bar": "^9.0.
|
|
85
|
-
"@fluentui/react-breadcrumb": "^9.0.
|
|
86
|
-
"@fluentui/react-aria": "^9.
|
|
84
|
+
"@fluentui/react-message-bar": "^9.0.23",
|
|
85
|
+
"@fluentui/react-breadcrumb": "^9.0.18",
|
|
86
|
+
"@fluentui/react-aria": "^9.10.1",
|
|
87
|
+
"@fluentui/react-rating": "9.0.0"
|
|
87
88
|
},
|
|
88
89
|
"peerDependencies": {
|
|
89
90
|
"@types/react": ">=16.14.0 <19.0.0",
|
|
90
91
|
"@types/react-dom": ">=16.9.0 <19.0.0",
|
|
91
92
|
"react": ">=16.14.0 <19.0.0",
|
|
92
|
-
"react-dom": ">=16.14.0 <19.0.0"
|
|
93
|
-
"scheduler": "^0.19.0 || ^0.20.0"
|
|
93
|
+
"react-dom": ">=16.14.0 <19.0.0"
|
|
94
94
|
},
|
|
95
95
|
"beachball": {
|
|
96
96
|
"disallowedChangeTypes": [
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
3
|
-
import * as ReactIcons from '@fluentui/react-icons';
|
|
4
|
-
import { Input } from '@fluentui/react-input';
|
|
5
|
-
import { makeStyles, shorthands } from '@griffel/react';
|
|
6
|
-
// eslint-disable-next-line @griffel/styles-file
|
|
7
|
-
const useStyles = makeStyles({
|
|
8
|
-
grid: {
|
|
9
|
-
display: 'grid',
|
|
10
|
-
gridTemplateColumns: 'auto auto auto auto',
|
|
11
|
-
gridGap: '10px',
|
|
12
|
-
backgroundColor: '#F7F7F7',
|
|
13
|
-
'> div': {
|
|
14
|
-
alignItems: 'center',
|
|
15
|
-
backgroundColor: '#FFFFFF',
|
|
16
|
-
display: 'flex',
|
|
17
|
-
flexDirection: 'column',
|
|
18
|
-
justifyContent: 'space-around',
|
|
19
|
-
...shorthands.padding('8px'),
|
|
20
|
-
...shorthands.overflow('hidden'),
|
|
21
|
-
'> code': {
|
|
22
|
-
fontSize: '8px',
|
|
23
|
-
display: 'inline-block',
|
|
24
|
-
height: 'auto',
|
|
25
|
-
...shorthands.padding('0px 8px')
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
searchBox: {
|
|
30
|
-
backgroundColor: '#F7F7F7',
|
|
31
|
-
maxWidth: '320px',
|
|
32
|
-
marginBottom: '10px'
|
|
33
|
-
},
|
|
34
|
-
radio: {
|
|
35
|
-
backgroundColor: '#F7F7F7',
|
|
36
|
-
fontSize: '11px'
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
const reactIcons = Object.keys(ReactIcons)// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
40
|
-
.map((iconName)=>ReactIcons[iconName]).filter((icon)=>!!icon && !!icon.displayName);
|
|
41
|
-
const ReactIconGrid = ()=>{
|
|
42
|
-
const [search, setSearch] = React.useState('');
|
|
43
|
-
const [size, setSize] = React.useState(24);
|
|
44
|
-
const styles = useStyles();
|
|
45
|
-
const _onSearchQueryChanged = (ev)=>{
|
|
46
|
-
setSearch(ev ? ev.currentTarget.value : '');
|
|
47
|
-
};
|
|
48
|
-
const _filterBySize = (ev)=>{
|
|
49
|
-
const newSize = ev ? ev.currentTarget.value : '';
|
|
50
|
-
if (newSize === 'All') {
|
|
51
|
-
setSize('');
|
|
52
|
-
} else if (newSize === 'Unsized') {
|
|
53
|
-
setSize('Unsized');
|
|
54
|
-
} else {
|
|
55
|
-
setSize(newSize);
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
const _renderIcon = (Icon)=>{
|
|
59
|
-
return /*#__PURE__*/ React.createElement("div", {
|
|
60
|
-
key: Icon.displayName,
|
|
61
|
-
"aria-label": Icon.displayName
|
|
62
|
-
}, /*#__PURE__*/ React.createElement(Icon, null), /*#__PURE__*/ React.createElement("br", null), /*#__PURE__*/ React.createElement("code", null, Icon.displayName));
|
|
63
|
-
};
|
|
64
|
-
const filteredIcons = React.useMemo(()=>reactIcons.filter((icon)=>{
|
|
65
|
-
var _icon_displayName, _icon_displayName1;
|
|
66
|
-
if (size === 'Unsized') {
|
|
67
|
-
var _icon_displayName2;
|
|
68
|
-
return icon.displayName && !/\d/.test(icon.displayName.toLowerCase()) && ((_icon_displayName2 = icon.displayName) === null || _icon_displayName2 === void 0 ? void 0 : _icon_displayName2.toLowerCase().indexOf(search.toLowerCase())) !== -1;
|
|
69
|
-
}
|
|
70
|
-
return ((_icon_displayName = icon.displayName) === null || _icon_displayName === void 0 ? void 0 : _icon_displayName.toLowerCase().indexOf(search.toLowerCase())) !== -1 && ((_icon_displayName1 = icon.displayName) === null || _icon_displayName1 === void 0 ? void 0 : _icon_displayName1.indexOf(String(size))) !== -1;
|
|
71
|
-
}), [
|
|
72
|
-
search,
|
|
73
|
-
size
|
|
74
|
-
]);
|
|
75
|
-
return /*#__PURE__*/ React.createElement("div", null, /*#__PURE__*/ React.createElement(Input, {
|
|
76
|
-
type: "search",
|
|
77
|
-
placeholder: "Search icons",
|
|
78
|
-
value: search,
|
|
79
|
-
"aria-label": "search",
|
|
80
|
-
// eslint-disable-next-line react/jsx-no-bind
|
|
81
|
-
onChange: _onSearchQueryChanged,
|
|
82
|
-
className: styles.searchBox
|
|
83
|
-
}), [
|
|
84
|
-
16,
|
|
85
|
-
20,
|
|
86
|
-
24,
|
|
87
|
-
28,
|
|
88
|
-
32,
|
|
89
|
-
48,
|
|
90
|
-
'Unsized',
|
|
91
|
-
'All'
|
|
92
|
-
].map((option)=>/*#__PURE__*/ React.createElement(React.Fragment, null, /*#__PURE__*/ React.createElement("input", {
|
|
93
|
-
id: `option-${option}`,
|
|
94
|
-
defaultChecked: option === 24,
|
|
95
|
-
type: "radio",
|
|
96
|
-
value: option,
|
|
97
|
-
name: "size",
|
|
98
|
-
onChange: _filterBySize
|
|
99
|
-
}), /*#__PURE__*/ React.createElement("label", {
|
|
100
|
-
htmlFor: `option-${option}`,
|
|
101
|
-
className: styles.radio
|
|
102
|
-
}, option))), /*#__PURE__*/ React.createElement("div", {
|
|
103
|
-
className: styles.grid
|
|
104
|
-
}, filteredIcons.map(_renderIcon)));
|
|
105
|
-
};
|
|
106
|
-
export default ReactIconGrid;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["ReactIconGrid.tsx"],"sourcesContent":["import * as React from 'react';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { FluentIconsProps } from '@fluentui/react-icons';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as ReactIcons from '@fluentui/react-icons';\nimport { Input } from '@fluentui/react-input';\nimport { makeStyles, shorthands } from '@griffel/react';\n\n// eslint-disable-next-line @griffel/styles-file\nconst useStyles = makeStyles({\n grid: {\n display: 'grid',\n gridTemplateColumns: 'auto auto auto auto',\n gridGap: '10px',\n backgroundColor: '#F7F7F7',\n\n '> div': {\n alignItems: 'center',\n backgroundColor: '#FFFFFF',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-around',\n ...shorthands.padding('8px'),\n ...shorthands.overflow('hidden'),\n\n '> code': {\n fontSize: '8px',\n display: 'inline-block',\n height: 'auto',\n ...shorthands.padding('0px 8px'),\n },\n },\n },\n\n searchBox: {\n backgroundColor: '#F7F7F7',\n maxWidth: '320px',\n marginBottom: '10px',\n },\n\n radio: {\n backgroundColor: '#F7F7F7',\n fontSize: '11px',\n },\n});\n\nconst reactIcons: React.FC<ReactIcons.FluentIconsProps>[] = Object.keys(ReactIcons)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .map(iconName => (ReactIcons as any)[iconName])\n .filter(icon => !!icon && !!icon.displayName);\n\nconst ReactIconGrid = () => {\n const [search, setSearch] = React.useState('');\n const [size, setSize] = React.useState<string | number>(24);\n const styles = useStyles();\n\n const _onSearchQueryChanged = (ev?: React.FormEvent<HTMLInputElement>) => {\n setSearch(ev ? ev.currentTarget.value : '');\n };\n\n const _filterBySize = (ev?: React.FormEvent<HTMLElement | HTMLInputElement>) => {\n const newSize = ev ? (ev.currentTarget as HTMLInputElement).value : '';\n if (newSize === 'All') {\n setSize('');\n } else if (newSize === 'Unsized') {\n setSize('Unsized');\n } else {\n setSize(newSize);\n }\n };\n\n const _renderIcon = (Icon: React.FC<FluentIconsProps>): JSX.Element => {\n return (\n <div key={Icon.displayName} aria-label={Icon.displayName}>\n <Icon />\n <br />\n <code>{Icon.displayName}</code>\n </div>\n );\n };\n\n const filteredIcons = React.useMemo(\n () =>\n reactIcons.filter(icon => {\n if (size === 'Unsized') {\n return (\n icon.displayName! &&\n !/\\d/.test(icon.displayName.toLowerCase()) &&\n icon.displayName?.toLowerCase().indexOf(search.toLowerCase()) !== -1\n );\n }\n\n return (\n icon.displayName?.toLowerCase().indexOf(search.toLowerCase()) !== -1 &&\n icon.displayName?.indexOf(String(size)) !== -1\n );\n }),\n [search, size],\n );\n\n return (\n <div>\n <Input\n type=\"search\"\n placeholder=\"Search icons\"\n value={search}\n aria-label=\"search\"\n // eslint-disable-next-line react/jsx-no-bind\n onChange={_onSearchQueryChanged}\n className={styles.searchBox}\n />\n {[16, 20, 24, 28, 32, 48, 'Unsized', 'All'].map(option => (\n <>\n <input\n id={`option-${option}`}\n defaultChecked={option === 24}\n type=\"radio\"\n value={option}\n name=\"size\"\n onChange={_filterBySize}\n />\n <label htmlFor={`option-${option}`} className={styles.radio}>\n {option}\n </label>\n </>\n ))}\n <div className={styles.grid}>{filteredIcons.map(_renderIcon)}</div>\n </div>\n );\n};\n\nexport default ReactIconGrid;\n"],"names":["React","ReactIcons","Input","makeStyles","shorthands","useStyles","grid","display","gridTemplateColumns","gridGap","backgroundColor","alignItems","flexDirection","justifyContent","padding","overflow","fontSize","height","searchBox","maxWidth","marginBottom","radio","reactIcons","Object","keys","map","iconName","filter","icon","displayName","ReactIconGrid","search","setSearch","useState","size","setSize","styles","_onSearchQueryChanged","ev","currentTarget","value","_filterBySize","newSize","_renderIcon","Icon","div","key","aria-label","br","code","filteredIcons","useMemo","test","toLowerCase","indexOf","String","type","placeholder","onChange","className","option","input","id","defaultChecked","name","label","htmlFor"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAG/B,6DAA6D;AAC7D,YAAYC,gBAAgB,wBAAwB;AACpD,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,UAAU,EAAEC,UAAU,QAAQ,iBAAiB;AAExD,gDAAgD;AAChD,MAAMC,YAAYF,WAAW;IAC3BG,MAAM;QACJC,SAAS;QACTC,qBAAqB;QACrBC,SAAS;QACTC,iBAAiB;QAEjB,SAAS;YACPC,YAAY;YACZD,i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
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "default", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return _default;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
12
|
-
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
13
|
-
const _reacticons = /*#__PURE__*/ _interop_require_wildcard._(require("@fluentui/react-icons"));
|
|
14
|
-
const _reactinput = require("@fluentui/react-input");
|
|
15
|
-
const _react1 = require("@griffel/react");
|
|
16
|
-
// eslint-disable-next-line @griffel/styles-file
|
|
17
|
-
const useStyles = (0, _react1.makeStyles)({
|
|
18
|
-
grid: {
|
|
19
|
-
display: 'grid',
|
|
20
|
-
gridTemplateColumns: 'auto auto auto auto',
|
|
21
|
-
gridGap: '10px',
|
|
22
|
-
backgroundColor: '#F7F7F7',
|
|
23
|
-
'> div': {
|
|
24
|
-
alignItems: 'center',
|
|
25
|
-
backgroundColor: '#FFFFFF',
|
|
26
|
-
display: 'flex',
|
|
27
|
-
flexDirection: 'column',
|
|
28
|
-
justifyContent: 'space-around',
|
|
29
|
-
..._react1.shorthands.padding('8px'),
|
|
30
|
-
..._react1.shorthands.overflow('hidden'),
|
|
31
|
-
'> code': {
|
|
32
|
-
fontSize: '8px',
|
|
33
|
-
display: 'inline-block',
|
|
34
|
-
height: 'auto',
|
|
35
|
-
..._react1.shorthands.padding('0px 8px')
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
searchBox: {
|
|
40
|
-
backgroundColor: '#F7F7F7',
|
|
41
|
-
maxWidth: '320px',
|
|
42
|
-
marginBottom: '10px'
|
|
43
|
-
},
|
|
44
|
-
radio: {
|
|
45
|
-
backgroundColor: '#F7F7F7',
|
|
46
|
-
fontSize: '11px'
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
const reactIcons = Object.keys(_reacticons) // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
50
|
-
.map((iconName)=>_reacticons[iconName]).filter((icon)=>!!icon && !!icon.displayName);
|
|
51
|
-
const ReactIconGrid = ()=>{
|
|
52
|
-
const [search, setSearch] = _react.useState('');
|
|
53
|
-
const [size, setSize] = _react.useState(24);
|
|
54
|
-
const styles = useStyles();
|
|
55
|
-
const _onSearchQueryChanged = (ev)=>{
|
|
56
|
-
setSearch(ev ? ev.currentTarget.value : '');
|
|
57
|
-
};
|
|
58
|
-
const _filterBySize = (ev)=>{
|
|
59
|
-
const newSize = ev ? ev.currentTarget.value : '';
|
|
60
|
-
if (newSize === 'All') {
|
|
61
|
-
setSize('');
|
|
62
|
-
} else if (newSize === 'Unsized') {
|
|
63
|
-
setSize('Unsized');
|
|
64
|
-
} else {
|
|
65
|
-
setSize(newSize);
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
const _renderIcon = (Icon)=>{
|
|
69
|
-
return /*#__PURE__*/ _react.createElement("div", {
|
|
70
|
-
key: Icon.displayName,
|
|
71
|
-
"aria-label": Icon.displayName
|
|
72
|
-
}, /*#__PURE__*/ _react.createElement(Icon, null), /*#__PURE__*/ _react.createElement("br", null), /*#__PURE__*/ _react.createElement("code", null, Icon.displayName));
|
|
73
|
-
};
|
|
74
|
-
const filteredIcons = _react.useMemo(()=>reactIcons.filter((icon)=>{
|
|
75
|
-
var _icon_displayName, _icon_displayName1;
|
|
76
|
-
if (size === 'Unsized') {
|
|
77
|
-
var _icon_displayName2;
|
|
78
|
-
return icon.displayName && !/\d/.test(icon.displayName.toLowerCase()) && ((_icon_displayName2 = icon.displayName) === null || _icon_displayName2 === void 0 ? void 0 : _icon_displayName2.toLowerCase().indexOf(search.toLowerCase())) !== -1;
|
|
79
|
-
}
|
|
80
|
-
return ((_icon_displayName = icon.displayName) === null || _icon_displayName === void 0 ? void 0 : _icon_displayName.toLowerCase().indexOf(search.toLowerCase())) !== -1 && ((_icon_displayName1 = icon.displayName) === null || _icon_displayName1 === void 0 ? void 0 : _icon_displayName1.indexOf(String(size))) !== -1;
|
|
81
|
-
}), [
|
|
82
|
-
search,
|
|
83
|
-
size
|
|
84
|
-
]);
|
|
85
|
-
return /*#__PURE__*/ _react.createElement("div", null, /*#__PURE__*/ _react.createElement(_reactinput.Input, {
|
|
86
|
-
type: "search",
|
|
87
|
-
placeholder: "Search icons",
|
|
88
|
-
value: search,
|
|
89
|
-
"aria-label": "search",
|
|
90
|
-
// eslint-disable-next-line react/jsx-no-bind
|
|
91
|
-
onChange: _onSearchQueryChanged,
|
|
92
|
-
className: styles.searchBox
|
|
93
|
-
}), [
|
|
94
|
-
16,
|
|
95
|
-
20,
|
|
96
|
-
24,
|
|
97
|
-
28,
|
|
98
|
-
32,
|
|
99
|
-
48,
|
|
100
|
-
'Unsized',
|
|
101
|
-
'All'
|
|
102
|
-
].map((option)=>/*#__PURE__*/ _react.createElement(_react.Fragment, null, /*#__PURE__*/ _react.createElement("input", {
|
|
103
|
-
id: `option-${option}`,
|
|
104
|
-
defaultChecked: option === 24,
|
|
105
|
-
type: "radio",
|
|
106
|
-
value: option,
|
|
107
|
-
name: "size",
|
|
108
|
-
onChange: _filterBySize
|
|
109
|
-
}), /*#__PURE__*/ _react.createElement("label", {
|
|
110
|
-
htmlFor: `option-${option}`,
|
|
111
|
-
className: styles.radio
|
|
112
|
-
}, option))), /*#__PURE__*/ _react.createElement("div", {
|
|
113
|
-
className: styles.grid
|
|
114
|
-
}, filteredIcons.map(_renderIcon)));
|
|
115
|
-
};
|
|
116
|
-
const _default = ReactIconGrid;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["ReactIconGrid.js"],"sourcesContent":["import * as React from 'react';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as ReactIcons from '@fluentui/react-icons';\nimport { Input } from '@fluentui/react-input';\nimport { makeStyles, shorthands } from '@griffel/react';\n// eslint-disable-next-line @griffel/styles-file\nconst useStyles = makeStyles({\n grid: {\n display: 'grid',\n gridTemplateColumns: 'auto auto auto auto',\n gridGap: '10px',\n backgroundColor: '#F7F7F7',\n '> div': {\n alignItems: 'center',\n backgroundColor: '#FFFFFF',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-around',\n ...shorthands.padding('8px'),\n ...shorthands.overflow('hidden'),\n '> code': {\n fontSize: '8px',\n display: 'inline-block',\n height: 'auto',\n ...shorthands.padding('0px 8px')\n }\n }\n },\n searchBox: {\n backgroundColor: '#F7F7F7',\n maxWidth: '320px',\n marginBottom: '10px'\n },\n radio: {\n backgroundColor: '#F7F7F7',\n fontSize: '11px'\n }\n});\nconst reactIcons = Object.keys(ReactIcons)// eslint-disable-next-line @typescript-eslint/no-explicit-any\n.map((iconName)=>ReactIcons[iconName]).filter((icon)=>!!icon && !!icon.displayName);\nconst ReactIconGrid = ()=>{\n const [search, setSearch] = React.useState('');\n const [size, setSize] = React.useState(24);\n const styles = useStyles();\n const _onSearchQueryChanged = (ev)=>{\n setSearch(ev ? ev.currentTarget.value : '');\n };\n const _filterBySize = (ev)=>{\n const newSize = ev ? ev.currentTarget.value : '';\n if (newSize === 'All') {\n setSize('');\n } else if (newSize === 'Unsized') {\n setSize('Unsized');\n } else {\n setSize(newSize);\n }\n };\n const _renderIcon = (Icon)=>{\n return /*#__PURE__*/ React.createElement(\"div\", {\n key: Icon.displayName,\n \"aria-label\": Icon.displayName\n }, /*#__PURE__*/ React.createElement(Icon, null), /*#__PURE__*/ React.createElement(\"br\", null), /*#__PURE__*/ React.createElement(\"code\", null, Icon.displayName));\n };\n const filteredIcons = React.useMemo(()=>reactIcons.filter((icon)=>{\n var _icon_displayName, _icon_displayName1;\n if (size === 'Unsized') {\n var _icon_displayName2;\n return icon.displayName && !/\\d/.test(icon.displayName.toLowerCase()) && ((_icon_displayName2 = icon.displayName) === null || _icon_displayName2 === void 0 ? void 0 : _icon_displayName2.toLowerCase().indexOf(search.toLowerCase())) !== -1;\n }\n return ((_icon_displayName = icon.displayName) === null || _icon_displayName === void 0 ? void 0 : _icon_displayName.toLowerCase().indexOf(search.toLowerCase())) !== -1 && ((_icon_displayName1 = icon.displayName) === null || _icon_displayName1 === void 0 ? void 0 : _icon_displayName1.indexOf(String(size))) !== -1;\n }), [\n search,\n size\n ]);\n return /*#__PURE__*/ React.createElement(\"div\", null, /*#__PURE__*/ React.createElement(Input, {\n type: \"search\",\n placeholder: \"Search icons\",\n value: search,\n \"aria-label\": \"search\",\n // eslint-disable-next-line react/jsx-no-bind\n onChange: _onSearchQueryChanged,\n className: styles.searchBox\n }), [\n 16,\n 20,\n 24,\n 28,\n 32,\n 48,\n 'Unsized',\n 'All'\n ].map((option)=>/*#__PURE__*/ React.createElement(React.Fragment, null, /*#__PURE__*/ React.createElement(\"input\", {\n id: `option-${option}`,\n defaultChecked: option === 24,\n type: \"radio\",\n value: option,\n name: \"size\",\n onChange: _filterBySize\n }), /*#__PURE__*/ React.createElement(\"label\", {\n htmlFor: `option-${option}`,\n className: styles.radio\n }, option))), /*#__PURE__*/ React.createElement(\"div\", {\n className: styles.grid\n }, filteredIcons.map(_renderIcon)));\n};\nexport default ReactIconGrid;\n"],"names":["useStyles","makeStyles","grid","display","gridTemplateColumns","gridGap","backgroundColor","alignItems","flexDirection","justifyContent","shorthands","padding","overflow","fontSize","height","searchBox","maxWidth","marginBottom","radio","reactIcons","Object","keys","ReactIcons","map","iconName","filter","icon","displayName","ReactIconGrid","search","setSearch","React","useState","size","setSize","styles","_onSearchQueryChanged","ev","currentTarget","value","_filterBySize","newSize","_renderIcon","Icon","createElement","key","filteredIcons","useMemo","_icon_displayName","_icon_displayName1","_icon_displayName2","test","toLowerCase","indexOf","String","Input","type","placeholder","onChange","className","option","Fragment","id","defaultChecked","name","htmlFor"],"mappings":";;;;+BAyGA;;;eAAA;;;;iEAzGuB;sEAEK;4BACN;wBACiB;AACvC,gDAAgD;AAChD,MAAMA,YAAYC,IAAAA,kBAAU,EAAC;IACzBC,MAAM;QACFC,SAAS;QACTC,qBAAqB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