Skip to content
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
24f85f2
React Components V9: List - initial commit
george-cz Sep 1, 2023
33ba3aa
list wip, selection works
george-cz Sep 19, 2023
9652c2b
remove selection logic, update overflowin example
george-cz Oct 13, 2023
d3ecd34
extend docs, rename
george-cz Oct 13, 2023
d317d07
improve the whole story, especially virtualized list
george-cz Oct 16, 2023
4a2926b
update virtualized actionable desc
george-cz Oct 16, 2023
4377de3
Replace button slot with ListItemButton component
george-cz Oct 31, 2023
ecd54a3
remove focusable prop, update docs
george-cz Oct 31, 2023
e7ff8e8
fix storeis
george-cz Oct 31, 2023
cd87545
example list multiple actions
george-cz Oct 31, 2023
980fba1
Revert "remove selection logic, update overflowin example"
george-cz Nov 1, 2023
942b2c8
internal selection state handling
george-cz Nov 1, 2023
6deefb5
continue work on selection
george-cz Nov 1, 2023
6635c23
actually render li, rename
george-cz Nov 2, 2023
9ff61fa
controlled wip
george-cz Nov 2, 2023
75b9f75
checkmark, defaultSelected
george-cz Nov 3, 2023
9d5478b
docs
george-cz Nov 3, 2023
2eb24a8
tokens
george-cz Nov 3, 2023
eabf9ac
A lot of optimizations
george-cz Nov 6, 2023
0334feb
Merge remote-tracking branch 'upstream' into jirivyhnalek/selectable_…
george-cz Nov 6, 2023
af7aee1
Merge remote-tracking branch 'upstream' into jirivyhnalek/selectable_…
george-cz Nov 6, 2023
829dd73
changelog
george-cz Nov 6, 2023
bb03846
yarnlock
george-cz Nov 6, 2023
aea3ccc
bump outdated deps
george-cz Nov 6, 2023
78c75c5
api
george-cz Nov 6, 2023
91d3fbf
kick off spec, add MIGRATION.md
george-cz Nov 7, 2023
4f5d7db
Merge remote-tracking branch 'upstream/master' into jirivyhnalek/sele…
george-cz Nov 8, 2023
7b79c8c
revert change in react/utilities/index.ts
george-cz Nov 9, 2023
6116734
unused import
george-cz Nov 9, 2023
dcba5bb
remove unused file
george-cz Nov 9, 2023
bec92dd
Merge remote-tracking branch 'upstream/master' into jirivyhnalek/sele…
george-cz Nov 9, 2023
8f4b783
Replace ListLayout enum with a string literal
george-cz Nov 20, 2023
bf54418
Replace IList with ListComponentRef
george-cz Nov 20, 2023
a51d048
remove todos, replace styles with resetStyles
george-cz Nov 20, 2023
782fe5b
remove more todos
george-cz Nov 20, 2023
d9743e2
dont spread selection props unless selection is enabled
george-cz Nov 20, 2023
6fd6224
fix unnecessary ul/li in exmample
george-cz Nov 20, 2023
e9379f2
remove dl,dt,dd
george-cz Nov 20, 2023
d492c92
fix story
george-cz Nov 20, 2023
6e86bed
remove external data provders for names and countries
george-cz Nov 20, 2023
77ea0ef
remove decorator
george-cz Nov 21, 2023
937d61a
update selection logic, controlled/uncontrolled
george-cz Nov 21, 2023
14fb255
remove useListFeatures
george-cz Nov 21, 2023
dca63e7
get rid of getListPros and getListItemProps
george-cz Nov 21, 2023
2a4fa8c
Add validation for proper use of elements
george-cz Nov 22, 2023
a6006ec
remove customArrowNavigationOptions, let the user have full responsib…
george-cz Nov 22, 2023
e9e7298
remove item registration/deregistration logic
george-cz Nov 22, 2023
dcbb0af
remove unused items
george-cz Nov 22, 2023
942e611
Merge remote-tracking branch 'upstream/master' into jirivyhnalek/sele…
george-cz Nov 22, 2023
fa315de
remove unused items, fix compiler
george-cz Nov 22, 2023
e3bcb1d
bump dep versions to latest
george-cz Nov 22, 2023
b320476
tsconfig.base update
george-cz Nov 22, 2023
35f7ca4
Merge remote-tracking branch 'upstream/master' into jirivyhnalek/sele…
george-cz Nov 22, 2023
5964704
remove gitkeep
george-cz Nov 22, 2023
a9a459c
bad merge
george-cz Nov 22, 2023
48ff239
fix story
george-cz Nov 22, 2023
c860acc
Redesign completely the ListItemButton component, fix tests
george-cz Nov 27, 2023
a6151fc
API fix
george-cz Nov 27, 2023
0413fa4
remove outdated story
george-cz Nov 27, 2023
d5780de
fix tsc
george-cz Nov 27, 2023
00e777f
update stories to be memoized
george-cz Nov 27, 2023
cb1aae6
selection stories
george-cz Nov 27, 2023
2232eb8
Merge branch 'master' into jirivyhnalek/selectable_list
george-cz Nov 27, 2023
b73ef78
Update .github/CODEOWNERS
george-cz Nov 27, 2023
ee81b17
selectable determines mouse cursor instead of onClick
george-cz Nov 28, 2023
e33c2f4
PR feedback
george-cz Nov 28, 2023
d8c9c25
pr feedback from Shift, round 1
george-cz Nov 29, 2023
38841fb
pr feedback
george-cz Nov 29, 2023
0825b5f
api
george-cz Nov 29, 2023
c49ca57
big progress on complex lists
george-cz Feb 6, 2024
34be3d1
update stories
george-cz Feb 6, 2024
e88dbab
build stories for list
george-cz Feb 7, 2024
9c5af8c
Merge remote-tracking branch 'upstream/master' into jirivyhnalek/sele…
george-cz Feb 12, 2024
9e8e491
icons package
george-cz Feb 12, 2024
cb2cf8b
List a11y document
george-cz Feb 12, 2024
bcb72b4
remove duplicate dep
george-cz Feb 12, 2024
36e98ca
update deps
george-cz Feb 12, 2024
39234d0
fix build
george-cz Feb 12, 2024
52ad1a5
typo
george-cz Feb 12, 2024
16aebd6
remove unused stories, fix ssr test build
george-cz Feb 12, 2024
da29fc5
fix build
george-cz Feb 13, 2024
165ac90
api, change
george-cz Feb 13, 2024
0ad45ea
unprivate list
george-cz Feb 13, 2024
a6b633d
change - list unprivate
george-cz Feb 13, 2024
18c366e
update document, fix examples, add one more example
george-cz Feb 14, 2024
e652225
remove unused stories
george-cz Feb 14, 2024
d579247
spacebar toggles, but enter has different action, cleanup commented code
george-cz Feb 15, 2024
fb07223
dont toggle selection by pressing enter
george-cz Feb 15, 2024
7196216
remove focusableItems prop, remove horizontal/grid layout
george-cz Feb 16, 2024
91dfadb
Merge remote-tracking branch 'upstream/master' into jirivyhnalek/sele…
george-cz Feb 16, 2024
aaf055c
fix broken tab that should move to next focusable from the list item
george-cz Feb 19, 2024
9db5af1
update all stories and docs
george-cz Feb 19, 2024
c7576ea
Remove ListItemButton completely
george-cz Feb 19, 2024
e4c494e
fix label for single action list
george-cz Feb 20, 2024
5d193a7
Merge remote-tracking branch 'upstream/master' into jirivyhnalek/sele…
george-cz Feb 20, 2024
2e75a91
cleaned up examples, used more descriptive alerts
george-cz Feb 21, 2024
41cba52
toggle item on Enter if default hasn't been prevented
george-cz Feb 21, 2024
e0c875d
update the activeElement story to change selection n focus
george-cz Feb 21, 2024
0f111f9
use tabster custom events to navigate to next/prev item
george-cz Feb 22, 2024
35a10ac
remove unused destruct
george-cz Feb 22, 2024
d2051dd
this should not be here
george-cz Feb 23, 2024
6cd03b4
update research doc
george-cz Feb 27, 2024
cfd38f7
unit tests for List
george-cz Feb 27, 2024
586b919
add cypress tests to validate keyboard nav
george-cz Feb 27, 2024
e2381d7
remove selectable prop, as it is redundant
george-cz Feb 28, 2024
d0d4611
replace custom focus logic with tabster events
george-cz Feb 28, 2024
91b697b
add more tests
george-cz Feb 28, 2024
c8416bf
add tests for custom aria roles
george-cz Feb 28, 2024
4250a33
test snapshots of selectable/multiselectable
george-cz Feb 29, 2024
78bf29b
fix one story
george-cz Mar 4, 2024
b0a81ca
automatically defer proper aria roles
george-cz Mar 4, 2024
a4adc8d
only pass onClick if it actually does something
george-cz Mar 5, 2024
18bc954
Merge remote-tracking branch 'upstream/master' into jirivyhnalek/sele…
george-cz Mar 5, 2024
2b6623c
bump list deps to latest
george-cz Mar 5, 2024
df210bd
update changelog for removed ListItemButton
george-cz Mar 5, 2024
92f0c28
Remove export from react-components
george-cz Mar 6, 2024
79c1ba5
remove obsolete change record
george-cz Mar 6, 2024
73930df
remove suggestion to user aria-roledescription
george-cz Mar 6, 2024
1cadc6c
Merge remote-tracking branch 'upstream/master' into jirivyhnalek/sele…
george-cz Mar 18, 2024
503c379
bump deps
george-cz Mar 18, 2024
5e80112
yarn.lock
george-cz Mar 18, 2024
a5e67e9
fix bad merge
george-cz Mar 18, 2024
5c68e10
Merge branch 'master' into jirivyhnalek/selectable_list
george-cz Mar 19, 2024
6c4364d
PR feedback round 1
george-cz Mar 19, 2024
5040ace
update stories - do not promote use of style prop
george-cz Mar 19, 2024
a52855f
feedback from Ling: round 1
george-cz Mar 19, 2024
890ba51
revert breaking change
george-cz Mar 20, 2024
08483bd
Add navigable prop to List instead of relying on eventHandlers
george-cz Mar 20, 2024
4be0c79
rely on navigable instead of hasCustomClick
george-cz Mar 20, 2024
f78f898
rework active element example to less resemble tab interface
george-cz Mar 20, 2024
03647f9
add navigationMode prop and infer roles from it
george-cz Mar 22, 2024
bc76824
update warnings
george-cz Mar 22, 2024
1872a0f
update tests
george-cz Mar 22, 2024
c9f26d3
all validations happen in List for all ListItems
george-cz Mar 22, 2024
17538ac
reverts
george-cz Mar 22, 2024
7d892c7
update desc and best practices
george-cz Mar 25, 2024
9ca0171
update docs and warnings
george-cz Mar 25, 2024
433cacc
enable event propagation when custom onClick is passed
george-cz Mar 25, 2024
9b5922c
remove obsolete change record
george-cz Mar 25, 2024
ce5cb8e
use onAction instead of onClick
george-cz Mar 26, 2024
e13eaab
migration doc update
george-cz Mar 26, 2024
fd2a63a
api
george-cz Mar 26, 2024
80929f8
unused import in test
george-cz Mar 26, 2024
85e62b9
Update packages/react-components/react-list-preview/src/components/Li…
george-cz Mar 27, 2024
1ad70a4
refactor onKeyDown based on suggestions
george-cz Mar 27, 2024
56d9936
remove useListSelection, update stories as discussed
george-cz Mar 27, 2024
1f55f47
Merge branch 'master' into jirivyhnalek/selectable_list
george-cz Mar 27, 2024
0e5465c
prepare for a separate release
george-cz Mar 28, 2024
8a74d65
update stories
george-cz Mar 28, 2024
ccb10f1
Bernardos feedback
george-cz Mar 28, 2024
4cd3e7f
Merge branch 'master' into jirivyhnalek/selectable_list
george-cz Mar 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ packages/react-components/react-search-preview @microsoft/cxe-red
packages/react-components/react-colorpicker-compat @microsoft/cxe-red @sopranopillow
Comment thread
george-cz marked this conversation as resolved.
packages/react-components/react-nav-preview @microsoft/cxe-red @mltejera
packages/react-components/react-motion-preview @microsoft/cxe-prg @marcosmoura
packages/react-components/react-list-preview @microsoft/teams-prg
Comment thread
george-cz marked this conversation as resolved.
Outdated
packages/react-components/react-message-bar @microsoft/teams-prg
packages/react-components/react-timepicker-compat-preview @microsoft/teams-prg
packages/react-components/react-rating-preview @microsoft/cxe-red @tomi-msft
Expand Down
7 changes: 7 additions & 0 deletions packages/react-components/react-components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export {
useIsSSR,
useMergedRefs,
useScrollbarWidth,
useSelection,
} from '@fluentui/react-utilities';
export type {
ComponentProps,
Expand All @@ -129,6 +130,12 @@ export type {
SlotClassNames,
SlotPropsRecord,
SlotRenderFunction,
OnSelectionChangeCallback,
OnSelectionChangeData,
SelectionHookParams,
SelectionItemId,
SelectionMethods,
SelectionMode,
} from '@fluentui/react-utilities';

// Components
Expand Down
4 changes: 4 additions & 0 deletions packages/react-components/react-list-preview/.babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
4 changes: 4 additions & 0 deletions packages/react-components/react-list-preview/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": ["plugin:@fluentui/eslint-plugin/react"],
"root": true
}
38 changes: 38 additions & 0 deletions packages/react-components/react-list-preview/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.storybook/
Comment thread
george-cz marked this conversation as resolved.
Outdated
.vscode/
bundle-size/
config/
coverage/
docs/
etc/
node_modules/
src/
stories/
dist/types/
temp/
__fixtures__
__mocks__
__tests__

*.api.json
*.log
*.spec.*
*.cy.*
*.test.*
*.yml

# config files
*config.*
*rc.*
.editorconfig
.eslint*
.git*
.prettierignore
.swcrc
project.json

# exclude gitignore patterns explicitly
!lib
!lib-commonjs
!lib-amd
!dist/*.d.ts
14 changes: 14 additions & 0 deletions packages/react-components/react-list-preview/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const rootMain = require('../../../../.storybook/main');

module.exports = /** @type {Omit<import('../../../../.storybook/main'), 'typescript'|'babel'>} */ ({
...rootMain,
stories: [...rootMain.stories, '../stories/**/*.stories.mdx', '../stories/**/index.stories.@(ts|tsx)'],
addons: [...rootMain.addons],
webpackFinal: (config, options) => {
const localConfig = { ...rootMain.webpackFinal(config, options) };

// add your own webpack tweaks if needed

return localConfig;
},
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import * as rootPreview from '../../../../.storybook/preview';

/** @type {typeof rootPreview.decorators} */
export const decorators = [...rootPreview.decorators];

/** @type {typeof rootPreview.parameters} */
export const parameters = { ...rootPreview.parameters };
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "",
"allowJs": true,
"checkJs": true,
"types": ["static-assets", "environment", "storybook__addons"]
},
"include": ["../stories/**/*.stories.ts", "../stories/**/*.stories.tsx", "*.js"]
}
30 changes: 30 additions & 0 deletions packages/react-components/react-list-preview/.swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "https://json.schemastore.org/swcrc",
"exclude": [
"/testing",
"/**/*.cy.ts",
"/**/*.cy.tsx",
"/**/*.spec.ts",
"/**/*.spec.tsx",
"/**/*.test.ts",
"/**/*.test.tsx"
],
"jsc": {
"parser": {
"syntax": "typescript",
"tsx": true,
"decorators": false,
"dynamicImport": false
},
"externalHelpers": true,
"transform": {
"react": {
"runtime": "classic",
"useSpread": true
}
},
"target": "es2019"
},
"minify": false,
"sourceMaps": true
}
15 changes: 15 additions & 0 deletions packages/react-components/react-list-preview/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@fluentui/react-list-preview

Copyright (c) Microsoft Corporation

All rights reserved.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED _AS IS_, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license
5 changes: 5 additions & 0 deletions packages/react-components/react-list-preview/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# @fluentui/react-list-preview

**React List components for [Fluent UI React](https://react.fluentui.dev/)**

These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"extends": "@fluentui/scripts-api-extractor/api-extractor.common.v-next.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/** Jest test setup file. */
63 changes: 63 additions & 0 deletions packages/react-components/react-list-preview/docs/Spec.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# @fluentui/react-list-preview Spec
Comment thread
george-cz marked this conversation as resolved.

## Background

_Description and use cases of this component_

## Prior Art

_Include background research done for this component_

- _Link to Open UI research_
- _Link to comparison of v7 and v0_
- _Link to GitHub epic issue for the converged component_

## Sample Code

_Provide some representative example code that uses the proposed API for the component_

## Variants

_Describe visual or functional variants of this control, if applicable. For example, a slider could have a 2D variant._

## API

_List the **Props** and **Slots** proposed for the component. Ideally this would just be a link to the component's `.types.ts` file_

## Structure

- _**Public**_
- _**Internal**_
- _**DOM** - how the component will be rendered as HTML elements_

## Migration

_Describe what will need to be done to upgrade from the existing implementations:_

- _Migration from v8_
- _Migration from v0_

## Behaviors

_Explain how the component will behave in use, including:_

- _Component States_
- _Interaction_
- _Keyboard_
- _Cursor_
- _Touch_
- _Screen readers_

## Accessibility

Base accessibility information is included in the design document. After the spec is filled and review, outcomes from it need to be communicated to design and incorporated in the design document.

- Decide whether to use **native element** or folow **ARIA** and provide reasons
- Identify the **[ARIA](https://www.w3.org/TR/wai-aria-practices-1.2/) pattern** and, if the component is listed there, follow its specification as possible.
- Identify accessibility **variants**, the `role` ([ARIA roles](https://www.w3.org/TR/wai-aria-1.1/#role_definitions)) of the component, its `slots` and `aria-*` props.
- Describe the **keyboard navigation**: Tab Oder and Arrow Key Navigation. Describe any other keyboard **shortcuts** used
- Specify texts for **state change announcements** - [ARIA live regions
](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions) (number of available items in dropdown, error messages, confirmations, ...)
- Identify UI parts that appear on **hover or focus** and specify keyboard and screen reader interaction with them
- List cases when **focus** needs to be **trapped** in sections of the UI (for dialogs and popups or for hierarchical navigation)
- List cases when **focus** needs to be **moved programatically** (if parts of the UI are appearing/disappearing or other cases)
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
## API Report File for "@fluentui/react-list-preview"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import type { ComponentProps } from '@fluentui/react-utilities';
import type { ComponentState } from '@fluentui/react-utilities';
import type { ForwardRefComponent } from '@fluentui/react-utilities';
import * as React_2 from 'react';
import type { Slot } from '@fluentui/react-utilities';
import type { SlotClassNames } from '@fluentui/react-utilities';

// @public
export const List: ForwardRefComponent<ListProps>;

// @public (undocumented)
export const listClassNames: SlotClassNames<ListSlots>;

// @public
export const ListItem: ForwardRefComponent<ListItemProps>;

// @public (undocumented)
export const listItemClassNames: SlotClassNames<ListItemSlots>;

// @public
export type ListItemProps = ComponentProps<ListItemSlots> & {};

// @public (undocumented)
export type ListItemSlots = {
root: Slot<'div'>;
};

// @public
export type ListItemState = ComponentState<ListItemSlots>;

// @public
export type ListProps = ComponentProps<ListSlots> & {};

// @public (undocumented)
export type ListSlots = {
root: Slot<'div'>;
};

// @public
export type ListState = ComponentState<ListSlots>;

// @public
export const renderList_unstable: (state: ListState) => JSX.Element;

// @public
export const renderListItem_unstable: (state: ListItemState) => JSX.Element;

// @public
export const useList_unstable: (props: ListProps, ref: React_2.Ref<HTMLElement>) => ListState;

// @public
export const useListItem_unstable: (props: ListItemProps, ref: React_2.Ref<HTMLElement>) => ListItemState;

// @public
export const useListItemStyles_unstable: (state: ListItemState) => ListItemState;

// @public
export const useListStyles_unstable: (state: ListState) => ListState;

// (No @packageDocumentation comment for this package)

```
21 changes: 21 additions & 0 deletions packages/react-components/react-list-preview/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// @ts-check

/**
* @type {import('@jest/types').Config.InitialOptions}
*/
module.exports = {
displayName: 'react-list-preview',
preset: '../../../jest.preset.js',
transform: {
'^.+\\.tsx?$': [
'ts-jest',
{
tsconfig: '<rootDir>/tsconfig.spec.json',
isolatedModules: true,
},
],
},
coverageDirectory: './coverage',
setupFilesAfterEnv: ['./config/tests.js'],
snapshotSerializers: ['@griffel/jest-serializer'],
};
5 changes: 5 additions & 0 deletions packages/react-components/react-list-preview/just.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { preset, task } from '@fluentui/scripts-tasks';

preset();

task('build', 'build:react-components').cached?.();
66 changes: 66 additions & 0 deletions packages/react-components/react-list-preview/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"name": "@fluentui/react-list-preview",
"version": "0.0.0",
"private": true,
"description": "New fluentui react package",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
"typings": "./dist/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/microsoft/fluentui"
},
"license": "MIT",
"scripts": {
"build": "just-scripts build",
"clean": "just-scripts clean",
"generate-api": "just-scripts generate-api",
"lint": "just-scripts lint",
"start": "yarn storybook",
"storybook": "start-storybook",
"test": "jest --passWithNoTests",
"test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"",
"type-check": "tsc -b tsconfig.json"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
"@fluentui/react-conformance-griffel": "*",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
"@fluentui/react-button": "^9.3.34",
"@fluentui/react-checkbox": "^9.1.35",
"@fluentui/react-context-selector": "^9.1.31",
"@fluentui/react-icons": "^2.0.207",
"@fluentui/react-jsx-runtime": "^9.0.3",
"@fluentui/react-tabster": "^9.12.5",
"@fluentui/react-theme": "^9.1.11",
"@fluentui/react-utilities": "^9.13.0",
"@griffel/react": "^1.5.14",
"@swc/helpers": "^0.5.1"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
"@types/react-dom": ">=16.8.0 <19.0.0",
"react": ">=16.8.0 <19.0.0",
"react-dom": ">=16.8.0 <19.0.0"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
"./package.json": "./package.json"
},
"beachball": {
"disallowedChangeTypes": [
"major",
"prerelease"
]
}
}
Loading