Summary: 398 instances, 294 unique Text Count color: palette.white, // @TODO: Fluent color palette? 1 // FIXME not all presence icon sizes are available 27 // TODO: All animation constants should go to theme or globals? 1 // TODO: To fix as part of https://github.com/microsoft/fluentui/issues/19522 1 // TODO: There seems to be a disparity between this type and IPageSectionProps as used in Page.tsx. 1 // TODO: This is where we'd handle special drop logic and json tree updates 1 // TODO: determine status according to perf numbers 2 // TODO: create hooks for id to avoid disbaling esling for accessing the value of refs 1 outline: 0, // TODO: check if this is correct 1 // TODO: this cast may be hiding some potential issues with styling and name 2 // TODO: update with latest values from design 1 // TODO: This is only here for testing createComponent and should be removed before promoting to production 1 topic: url, // @TODO: Remove topic when data is stale. 1 // @TODO - typing the footers as an array of DialogFooter is difficult because 1 // TODO: `overflow: 'hidden'` on the root does not pay well with `position: absolute` 1 // TODO: Known TypeScript issue is widening return type checks when using function type declarations. 1 // TODO: Move this component to composition with required onRenderItem to remove 1 // TODO: align flamegrill terminology with CSF (story vs. scenario) 1 }) as unknown) as MenuDividerSubscribedValue; // TODO: we should improve typings for the useContextSelectors 1 // TODO: isPictureLoaded was controlled, does it need to be? it's not exposed through component props... 1 // TODO: Uncomment once stories can be referred to in a dependency. 1 // @TODO: convert PlatformPicker to css-in-js and get rid of this method. 1 // TODO: create mutually exclusive type for component & render, but only if it's a readable error for users. 1 // TODO add appropriate slots, for example: 4 // TODO: Test last word of callback name against list of valid verbs 1 // TODO: proper error reporting 1 // TODO: Using React Fragments increases React (unstable_runWithPriority) render consumption from 4% to 26%. 1 }) as unknown) as ToolbarItemSubscribedValue; // TODO: we should improve typings for the useContextSelectors 2 // TODO: all DOM post-effects should be applied at componentDidMount & componentDidUpdated stages. 1 // TODO: do we want to split theme for better tree shaking? (MUI) 1 // TODO If the DragDropHelper was passed via props, this will dispose it, which is incorrect behavior. 1 popup: Popup, // TODO: compose Popup to ToolbarItemPopup once it has compose functionality 1 // TODO need to test with a variety of things, maybe one that serves as a passthrough 1 // TODO: Use a proper semantic color for this 1 FIXME: this is a temporary workaround - moving stories from react-examples 1 // TODO: remove 1 // TODO: evaluate whether anything should be changed here based on warning: 2 // TODO: cleanup after refactor of pickers to composition pattern and remove SASS support. 1 // TODO: https://github.com/microsoft/fluentui/issues/19618 1 * TODO (Fabric 8?) - switch to just calling onChange (this is a breaking change for any tests, 1 {/** TODO add table of contents */} 1 // TODO: These components will also have to be modified not to generate rendered output if their props don't call for it 1 // TODO: check that should be in clean up for Emotion 1 elementType?: any /* TODO should be `keyof React.ReactHTML`, tracking with https://github.com/Microsoft/TypeScript/issues/30050 */; 1 // @TODO: investigate using history to save a re-render. 1 // TODO: option 1) higher value layouts could use start={Layout.create(start)} to ensure Areas are layout root 1 // TODO: handle dropping before/after the target as well as "into" the target's children 1 // TODO: remove once public-docsite homepage.htm is updated 1 // TODO Questionable: unsupported by autoprefixer, one-off vendors 1 // TODO: could default to displaying list of scenarios if param is not provided. 1 export const toolbarRadioGroupClassName = 'ui-toolbars'; // FIXME: required by getComponentInfo/isConformant. But this is group inside a toolbar not a group of toolbars 1 // @TODO: Like with GetStarted page, IconsPage makes a require call 1 * TODO: add merge functions to "dir" merge, 1 // TODO: support iteration/kind/story via commandline as in other perf-test script 1 // TODO: in Fabric 7.0 lowercase the 'Compact' for consistency across other components. 1 // TODO: use a real merge. or move this merge into webpack.config.ts and use webpackMerge there. 1 // TODO add appropriate props/defaults 4 // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.inputBackgroundCheckedHovered 3 // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.bodyTextChecked 1 // TODO: This is intentional, but may be buggy. Should be fixed later 1 // TODO: TPlatforms generic should be forwarded to otherSections. Requires resolving TODO in Page.tsx. 1 // TODO (Fabric 8?) - switch to calling only onChange. See notes in TextField._onInputChange. 1 // TODO Add things shared between props and state here 4 * TODO: Currently version is not being checked. Implement this fully or remove. 1 // TODO: Is exporting Foundation still necessary with the updated API's? 1 paddingLeft: '4px', // TODO: Once spacing tokens are added, change this to Horizontal XS 1 // TODO: use iterations from story object 1 // TODO: remove anys after TS 3 upgrade 2 // TODO: re-enable when upgrading ts-node to version which supports this 1 // TODO: Icon component was removed 1 // TODO We may need to elevate classNames from into ? 1 // TODO: move types to shared location 1 // TODO: This shouldn't be a concern of createComponent.. factoryOptions should just be forwarded. 2 // TODO: remove the deprecated parts in a future major release. 1 // TODO: Tweak this as currently it's more of an approximation. 1 // TODO: also lint config files? 1 // TODO should hidden Popovers be supported ? 1 // TODO: Constrain TProps more clearly (notably also exclude Functions) once this TS PR is merged: 1 // TODO (Fabric 8?): defaultSelectedKey/selectedKey allow numbers but IChoiceGroupOption doesn't. 1 fontSize: 128, // @TODO: Mock uses 64 1 // TODO: clarify with designers what foreground color should be with brand background, 1 // TODO: Explore alternate way of applying padding on parent Card 1 // TODO: fix once button has full styling support 1 // TODO: perf-text prefix naming required? 1 // TODO: this probably needs to be dynamically generated so it doesn't break every time we 1 // TODO: prod app uses 17.5px here, it should be 16px per the design guide! 2 // TODO: will toArray clobber existing keys? 1 // TODO: if stories/scenarios are added in this package, make sure build catches type errors 1 }) as unknown) as MenuItemSubscribedValue; // TODO: we should improve typings for the useContextSelectors 2 // TODO: All contents of this file should be moved to each respective component after slots utilities are promoted. 1 // TODO // https://github.com/microsoft/fluentui/issues/19522 1 // TODO: consider whether dependency on removeItems should be added 1 const params = new URLSearchParams(hashParts.pop()); // FIXME: no IE 11 support 2 // TODO Add class names to slots, for example: 5 .pipe(remember('example-menu')) // FIXME: with watch this unnecessarily processes index files for all examples 1 // TODO: fix me after https://github.com/microsoft/fluentui/issues/21229 1 // TODO get the element to scroll into view properly regardless of direction. 4 // FIXME: use variables for colors! 1 // TODO: use proper tokens instead of "rgba(0,120,212,0.3)" 1 * TODO -- Can we limit the damage a dev can potentially do given a malformed transform? 1 // @ts-ignore -- FIXME: strictBindCallApply error - https://github.com/microsoft/fluentui/issues/17331 1 topic: target.title || target.innerText, // @TODO: Remove topic when data is stale. 2 // @TODO: Fix this in fabric ui core, or add prop to Panel to have user specify z-index 1 // TODO: make this configurable via perf flags 2 // FIXME: these types are copy&paste from @fluentui/docs to avoid circular dependency 2 // TODO: I'm not sure the best way to fix this, and the TS watch issue is making it harder to iterate and try fixes. 1 // TODO: Find a way to cleanup global styles 1 // @ts-ignore -- FIXME: strictBindCallApply error - https://github.com/microsoft/fluentui/issues/17331 1 // TODO: replace with real exports 6 // TODO FloatingSuggestions should not be responsible for getting the 1 // TODO: take the drag item into consideration to prevent dragging an item into the same group 1 // TODO replace these spacing constants with theme values once they're on the theme 1 // TODO: improve parser to support function params and return values 1 // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.inputBorder 1 // @TODO apply to the content container 1 // FIXME leaking Node timeout type 1 // TODO: From here down probably does not belong in client config. 1 * TODO: The --background-luminance will need to be derived from JavaScript. For now 1 // TODO: Ideally these would eventually be removed. 1 // TODO: When dropping components into Flex, React prefixes the fiber key with ".$" 1 platform: platform === 'default' ? 'None' : platform, // @TODO: Remove platform when data is stale. 4 // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.smallInputBorder 2 // TODO: do we want field props? should fields be part of IComponent and used here? 2 // TODO: displayName will also be covered by createComponent argument. 1 // TODO: use refs 1 // TODO: Works in Chrome, but not working in IE 3 // TODO: determine if fallthrough was intentional 1 // TODO: why do we need to pass size twice? 1 // TODO: This should be replaced with a useEvent hook 1 font-size: 16px; // @TODO replace with fluent variable 1 {/* TODO Add additional slots in the appropriate place */} 1 target[k] = source[k]; // TODO: do deep clone for arrays? We currently do not have any deep arrays in variables 1 // TODO figure out a way to only do this check once 1 styles?: ComponentSlotStyle; // TODO: see if we can improve it 1 // TODO: figure out a better place (e.g a shared typing package) for this interface. 1 // TODO: Button global class name usage should be converted to a styles function once 1 // TODO (fui repo merge): scripts should not have relative imports of things inside packages 1 // TODO: As ElementType is wrapped with FocusZone which doesn't ref forwarding we have to use Ref 1 // FIXME: what if I am viewing tree from URL? 1 // TODO throw warnings in development safely 1 // TODO: Fluent reporting is outside of this script so this code will probably be moved entirely on perf-test consolidation. 2 // TODO: The design spec maps to Neutral Stroke 1 that is equivalent to gre[440] 1 // TODO Better way to narrow types ? 1 // TODO: This seems to increase React (unstable_runWithPriority) render consumption from 4% to 72%! 1 // TODO: Make this generic 1 // TODO: test what happens while editing 1 // TODO: "any" is used here to get around "is using xxx but cannot be named" TS error. Should be able to remove 1 // TODO: this is missing deps on getSetRefCallback and onSelectDate (and depending on the entire 1 // TODO: There is something weird going on here with children embedded in props vs. rest args. 1 // TODO: Remove cast if possible. This cast is needed because TS errors on the intrinsic portion of ReactType. 1 // TODO: worth memoizing once more tabster options are used 1 // TODO: switch to strict controlled pattern instead 2 // TODO: eval functions here or in config? check perf differences! other considerations? 1 ? // TODO don't do this horrible hack to get around `styled` typing problems. 1 FluentComponent.propTypes = propTypes; // TODO: generate prop types 1 // TODO: remove anys after TS 3 upgrade and full button styling support 2 # TODO set schedule once the pipeline is validated after a few manual releases 1 // TODO: Fluent reporting is outside of this script so this code will probably be moved entirely on perf-test consolidation. 1 // TODO: These constants should be replaced with design tokens 1 // TODO: after updating the semanticColor slots all this need to be reevaluated. 1 // TODO: remove any after TS 3 upgrade 2 * TODO: consider overflowItem margin 1 [PersonaSize.size28]: 28, // TODO: deprecated (not in the design specs) 1 // TODO: remove anys 1 // TODO need to add versions of tokens.alias.shadow.shadow8, etc. that work with filter 1 export const toolbarMenuRadioGroupWrapperClassName = 'ui-toolbars'; // FIXME: required by getComponentInfo/isConformant. But this is group inside a toolbar not a group of toolbars 1 // TODO: other args? 1 // TODO: Should be rework to handle options.enabled and contentRef updates 2 // TODO: follow typing similar to: 1 // TODO: make sure decorator impl doesn't affect perf. 1 // TODO: check false positive potential regression reports in fluent ui repo and fix 1 * TODO: check and fix all margin combination 1 [PersonaSize.size10]: 10, // TODO: deprecated (not in the design specs) 1 // TODO: React generates warnings because it doesn't detect hidden member _store that is set in createElement. 1 // TODO: These are named in design specs but not hoisted to global/alias yet. 1 selectedComponentInfo: ComponentInfo; // FIXME: should be computed in render? 1 // TODO: move this file to Accordion 1 // FIXME: This object is created every render, causing a cascade of useCallback/useEffect re-runs. 1 // TODO: handle redirects 1 // TODO Add default styles for the root element 1 * TODO: min width 100 should be changed to const value and should be consistent with the 1 // TODO: can this get typing somehow? can't be imported since file is only available after build 1 // FIXME: hardcoded theme 2 // TODO: We can't do CI, measure baseline or do regression analysis until master & PR files are deployed and publicly accessible. 2 // TODO: typing exposed this error, ask Mark what it should be? 1 // TODO: Remove this workaround once we have proper icon from designer 1 // TODO: neutral background inverted missing from superset and theme 1 // FIXME: temporary hacky implementation! reuse DebugRect 1 // TODO: move to react-docsite-components once Site moves 1 // TODO: remove 1 // TODO: support "nonce" 1 // TODO: need to resolve typing / generic issues passing through memoizeFunction. for now, cast to 'unknown' 1 // TODO: This is a bug in PersonaPresence that needs to be fixed. 'presence' prop comment mentions that it 1 // TODO: Even though this styles function is the same for all regions, it has to be provided whenever the scheme 2 // TODO: remove in a future major release as it's deprecated. 3 /* TODO: create mouse drag selection capability */ 1 // TODO: FUR integration issues 1 // TODO: MarqueeSelectionBase defaultProps are not lining up with IMarqueeSelectionProps, so we have to be explicit 1 // TODO: story formats should use/coexist with storybook's: 1 // TODO: Deprecated size and needs to be removed in a future major release. 3 // TODO: consider merging implementation with theme-proto, which only stores a reference / scheme name to theme 1 // TODO: after updating the semanticColors slots mapping the following 2 tokens need to be 1 export const toolbarMenuRadioGroupClassName = 'ui-toolbars'; // FIXME: required by getComponentInfo/isConformant. But this is group inside a toolbar not a group of toolbars 1 * TODO (adjective-object) remove IPersonaprops before the next major version bump 1 // TODO: is there a reason this can't be: 1 // TODO: having TS infer types here seems to cause infinite loop. 1 // TODO Add additional slots in the appropriate place 4 // TODO: this cast to any is hiding a relationship issue between the first two args 1 // TODO: prod app uses 17.5px here, it should be 16px per the design guide! 2 // TODO: this should be a lookup on TProps property instead of being TProps directly, which is probably 1 // TODO: All contents of this file should be moved to each respective component as they are converted to use slots. 1 // TODO use some kind of children registration to reduce dependency on DOM roles 1 // TODO: why is this cast needed? TS seems to think there is a (TToken | Function) union from somewhere. 2 * TODO: since the dropping of descendants API due to performance issues, 1 export const ATPSignal: Signal = MalwareDetectedSignal; // TODO Delete on next major version. 1 // TODO: Fluent reporting is outside of this script so this code will probably be moved entirely on perf-test consolidation. 1

TODO: Add styling and state control so that only one item is expanded at a time

1 // TODO: remove once public-docsite homepage.htm is updated 1 // TODO remove when `expandButtonAriaLabel` is removed. This is not an ideal concatenation for localization. 1 // TODO: Audit perf. impact of and potentially remove memoizeFunction. 1 // TODO: replace with IDropdownStyles after TS 3 upgrade 1 // TODO: should also allow user webpack config in DigestConfig that overwrites anything here. 1 // TODO: call require.context output and enumerate here? how can it be called within bundle? 1 // TODO consider moving this to a separate module along with some more color functions from OUFR/utilities. 1 // @ts-ignore -- FIXME: strictBindCallApply error - https://github.com/microsoft/fluentui/issues/17331 1 // TODO: improve parser for 1 // TODO: I think this component should be templated to forward the TPlatform type to props. 1 // TODO: remove once public-docsite homepage.htm is updated 1 // TODO: We can't do CI, measure baseline or do regression analysis until master & PR files are deployed and publicly accessible. 1 // TODO: client should know it failed 1 // TODO add each slot's element type or component 2 // TODO: Consider `getOrGenerateIdFromShorthand()` as hook and make it SSR safe 1 // TODO: tie this array to ICustomizationProps, such that each array element is keyof ICustomizationProps 2 platform: platformKey, // @TODO: Remove platform when data is stale. 1 // TODO: 5 // TODO: should we centrally define DefaultFields? (not exported from styling) 2 // TODO: is there any way to do this without an extra render? 1 // TODO: add iterations column (and maybe ticks per iteration) 1 setModal?(isModal: boolean): void; // TODO make non-optional on next breaking change 1 // TODO: consolidate with newer version of fluent perf-test 1 // TODO: Theme typings that have no sense 1 // TODO: when an area is another Layout, do not wrap them in an extra div 1 // TODO: is this file of any use? remove if not. 1 // TODO add slot types here if needed (div is the default) 2 // TODO: Validate if we should use a token instead + the unit of said token 1 // TODO: sort 1 // TODO Add default styles for the root element 4 // TODO: #5875 added logic to trigger validation in componentWillReceiveProps and other places. 1 // TODO: prevent invalid drops, prob before they happen (ie isValidDrop() ) 1 // TODO: neutralForegroundInverted change to NeutralForegroundOnBrand once it's added 1 // TODO: createFactory should no longer have to be explicitly called with component options containing defaultProp. 1 // TODO: not generated by ThemeGeneratorPage: 1 const icons = useIconSubset(); // TODO: handle fontFace and styles 1 // TODO: how should this be integrated with the default 'build' task? 1 // TODO: Resolve inline styles. 1 // @TODO rename to reflect the name of this class 1 // TODO: should we pass toolbarMenuItem to the user callback so he can decide if he wants to close the menu? 1 // TODO: This is required for space clicking with useARIAButton 1 # TODO update release notes script for v9 1 // TODO: fix event type if we release another major version 1 // TODO: convert this example to use extendComponent 1 [PersonaSize.size16]: 16, // TODO: deprecated (not in the design specs) 1 // @TODO: investigate using real page name. 1 // TODO: should this be mutating? does React mutate children subprop with createElement? 1 coin?: IStyle; // TODO: Check if this works after Jason his PR 1 // TODO: global class name usage should be converted to a styles function once Button supports JS styling 3 shouldFocus?: boolean; // TODO: RFC #306 1 topic: getSiteArea(siteDefinition.pages), // @TODO: Remove topic when data is stale. 2 // TODO add additional classes for different states and/or slots 5 {/* TODO: Load it in more React way */} 1 // TODO (Fabric 8?) - Switch to calling only onChange. This switch is pretty disruptive for 1 // TODO: consider removing 1 // TODO: Explore alternate way of applying padding 1 // TODO: add background gradient styles (see Page.module.scss) 1 // TODO: replace by getComputedStyle('padding') 1 // TODO Add animation support for drag/drop events. 1 // TODO: Are there some cases where children should NOT be spread? Also, spreading reraises perf question. 1 // FIXME: tokens.strokeWidthThick causes some weird bugs 1 // FIXME: breaks for 1 // FIXME: we should not need getDerivedStateFromProps 1 // TODO: fix once button has full styling support 1 // TODO: this allows mutating `target`, OK? 1 // TODO: this should be the interface once we're on TS 2.9.2 but otherwise causes errors in 2.8.4 2 opt, // FIXME the optional is workaround for showing `Dialog` props when selected from component tree 1 // TODO: add story typing reflecting this structure. 1 // TODO: can do this now that we have story information 1 // TODO: We can't do CI, measure baseline or do regression analysis until master & PR files are deployed and publicly accessible. 1 // TODO: This is required for space clicking with useARIAButton 1 // TODO: all DOM post-effects should be applied at componentDidMount & componentDidUpdated stages. 1 // @TODO - need to change this to a panel whenever the breakpoint is under medium (verify the spec) 1 // TODO: Have Markus verify... className props was required, but I'm not sure if it should be. 1 // TODO: add config and output dir settings like buildStorybookTask 1 const mouseIsToTheLeft = y >= boundingRect.top && y <= boundingRect.bottom && x < boundingRect.left; // TODO: HUH! What about RTL? 1 // TODO: this should be extracted to another package 1