@fluentui/web-components 3.0.0-alpha.27 → 3.0.0-alpha.29
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 +20 -2
- package/README.md +4 -0
- package/dist/dts/helpers.tests.d.ts +8 -0
- package/dist/dts/utils/apply-mixins.d.ts +11 -0
- package/dist/esm/badge/badge.js +3 -1
- package/dist/esm/badge/badge.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.js +3 -1
- package/dist/esm/counter-badge/counter-badge.js.map +1 -1
- package/dist/esm/helpers.tests.js +29 -0
- package/dist/esm/helpers.tests.js.map +1 -0
- package/dist/esm/utils/apply-mixins.js +26 -0
- package/dist/esm/utils/apply-mixins.js.map +1 -0
- package/dist/storybook/108.78b731e00015540915a8.manager.bundle.js +1 -0
- package/dist/storybook/108.b31ec3a1.iframe.bundle.js +1 -0
- package/dist/storybook/316.bc4aabd3.iframe.bundle.js +2 -0
- package/dist/storybook/316.bc4aabd3.iframe.bundle.js.LICENSE.txt +17 -0
- package/dist/storybook/391.ad71b32f.iframe.bundle.js +462 -0
- package/dist/storybook/391.ad71b32f.iframe.bundle.js.LICENSE.txt +46 -0
- package/dist/storybook/391.ad71b32f.iframe.bundle.js.map +1 -0
- package/dist/storybook/401.7edec720.iframe.bundle.js +2 -0
- package/dist/storybook/401.7edec720.iframe.bundle.js.LICENSE.txt +12 -0
- package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js +2 -0
- package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js.LICENSE.txt +12 -0
- package/dist/storybook/491.77b24750.iframe.bundle.js +1 -0
- package/dist/storybook/709.22096ad4.iframe.bundle.js +2 -0
- package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +8 -0
- package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +2 -0
- package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +8 -0
- package/dist/storybook/721.46fa9f53.iframe.bundle.js +2 -0
- package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +31 -0
- package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +2 -0
- package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +31 -0
- package/dist/storybook/761.21909e5ef44f985ae0d4.manager.bundle.js +2 -0
- package/dist/storybook/761.21909e5ef44f985ae0d4.manager.bundle.js.LICENSE.txt +94 -0
- package/dist/storybook/858.da40ed98.iframe.bundle.js +1 -0
- package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +1 -0
- package/dist/storybook/950.674e7934b4a26a022608.manager.bundle.js +1 -0
- package/dist/storybook/954.630c5748.iframe.bundle.js +1 -0
- package/dist/storybook/954.7f985e2fdf9f15a7748b.manager.bundle.js +1 -0
- package/dist/storybook/SegoeUI-VF.ttf +0 -0
- package/dist/storybook/favicon.ico +0 -0
- package/dist/storybook/favicon.png +0 -0
- package/dist/storybook/iframe.html +364 -0
- package/dist/storybook/index.html +165 -0
- package/dist/storybook/main.18c2c615e57574af12cd.manager.bundle.js +1 -0
- package/dist/storybook/main.b5c2945a.iframe.bundle.js +1 -0
- package/dist/storybook/project.json +1 -0
- package/dist/storybook/runtime~main.5d918fe7.iframe.bundle.js +1 -0
- package/dist/storybook/runtime~main.8db883e762072830487f.manager.bundle.js +1 -0
- package/dist/storybook/shell.css +83 -0
- package/dist/storybook/theme-switch.ts +13 -0
- package/dist/web-components.js +96 -28
- package/dist/web-components.min.js +179 -179
- package/package.json +36 -38
- package/playwright.config.ts +25 -0
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/web-components",
|
|
3
3
|
"description": "A library of Fluent Web Components",
|
|
4
|
-
"
|
|
5
|
-
"version": "3.0.0-alpha.27",
|
|
4
|
+
"version": "3.0.0-alpha.29",
|
|
6
5
|
"author": {
|
|
7
6
|
"name": "Microsoft",
|
|
8
7
|
"url": "https://discord.gg/FcSNfg4"
|
|
@@ -133,6 +132,35 @@
|
|
|
133
132
|
"default": "./dist/esm/toggle-button/define.js"
|
|
134
133
|
}
|
|
135
134
|
},
|
|
135
|
+
"sideEffects": [
|
|
136
|
+
"./dist/esm/accordion/define.js",
|
|
137
|
+
"./dist/esm/accordion-item/define.js",
|
|
138
|
+
"./dist/esm/anchor-button/define.js",
|
|
139
|
+
"./dist/esm/avatar/define.js",
|
|
140
|
+
"./dist/esm/badge/define.js",
|
|
141
|
+
"./dist/esm/button/define.js",
|
|
142
|
+
"./dist/esm/checkbox/define.js",
|
|
143
|
+
"./dist/esm/compound-button/define.js",
|
|
144
|
+
"./dist/esm/counter-badge/define.js",
|
|
145
|
+
"./dist/esm/divider/define.js",
|
|
146
|
+
"./dist/esm/image/define.js",
|
|
147
|
+
"./dist/esm/label/define.js",
|
|
148
|
+
"./dist/esm/menu-list/define.js",
|
|
149
|
+
"./dist/esm/menu-button/define.js",
|
|
150
|
+
"./dist/esm/menu-item/define.js",
|
|
151
|
+
"./dist/esm/progress-bar/define.js",
|
|
152
|
+
"./dist/esm/radio/define.js",
|
|
153
|
+
"./dist/esm/radio-group/define.js",
|
|
154
|
+
"./dist/esm/slider/define.js",
|
|
155
|
+
"./dist/esm/spinner/define.js",
|
|
156
|
+
"./dist/esm/switch/define.js",
|
|
157
|
+
"./dist/esm/tab/define.js",
|
|
158
|
+
"./dist/esm/tabs/define.js",
|
|
159
|
+
"./dist/esm/tab-panel/define.js",
|
|
160
|
+
"./dist/esm/text/define.js",
|
|
161
|
+
"./dist/esm/text-input/define.js",
|
|
162
|
+
"./dist/esm/toggle-button/define.js"
|
|
163
|
+
],
|
|
136
164
|
"scripts": {
|
|
137
165
|
"tsc": "tsc",
|
|
138
166
|
"api-extractor": "api-extractor",
|
|
@@ -148,49 +176,19 @@
|
|
|
148
176
|
"start": "yarn start-storybook -p 6006 --docs --no-manager-cache",
|
|
149
177
|
"start-storybook": "node node_modules/@storybook/html/bin/index",
|
|
150
178
|
"build-storybook": "node node_modules/@storybook/html/bin/build -o ./dist/storybook --docs",
|
|
151
|
-
"
|
|
152
|
-
"test
|
|
153
|
-
"test
|
|
154
|
-
"test-chrome": "karma start karma.conf.cjs --browsers=ChromeHeadlessOpt --single-run --coverage",
|
|
155
|
-
"test-chrome:verbose": "karma start karma.conf.cjs --no-fail-on-empty-test-suite --browsers=ChromeHeadlessOpt --single-run --coverage --reporter=mocha",
|
|
156
|
-
"test-chrome:watch": "karma start karma.conf.cjs --browsers=ChromeHeadlessOpt --coverage --watch-extensions js",
|
|
157
|
-
"test-chrome:debugger": "karma start karma.conf.cjs --browsers=ChromeDebugging",
|
|
158
|
-
"test-chrome:verbose:watch": "karma start karma.conf.cjs --browsers=ChromeHeadlessOpt --coverage --watch-extensions js --reporter=mocha ",
|
|
159
|
-
"test-chrome:verbose:debugger": "karma start karma.conf.cjs --browsers=ChromeDebugging --reporter=mocha",
|
|
160
|
-
"test-firefox": "karma start karma.conf.cjs --browsers=FirefoxHeadless --single-run --coverage",
|
|
161
|
-
"test-firefox:verbose": "karma start karma.conf.cjs --browsers=FirefoxHeadless --single-run --coverage --reporter=mocha"
|
|
179
|
+
"pretest": "yarn build-storybook --quiet",
|
|
180
|
+
"test": "npx playwright test",
|
|
181
|
+
"test:dev": "playwright test"
|
|
162
182
|
},
|
|
163
183
|
"devDependencies": {
|
|
164
|
-
"@storybook/html": "6.5.15",
|
|
165
|
-
"@types/chai": "4.3.3",
|
|
166
|
-
"@types/chai-spies": "1.0.3",
|
|
167
|
-
"@types/karma": "6.3.3",
|
|
168
|
-
"@types/mocha": "7.0.2",
|
|
169
|
-
"chai": "4.3.6",
|
|
170
|
-
"chai-spies": "1.0.0",
|
|
171
|
-
"esm": "3.2.25",
|
|
172
|
-
"ignore-loader": "0.1.2",
|
|
173
|
-
"istanbul": "0.4.5",
|
|
174
|
-
"istanbul-instrumenter-loader": "3.0.1",
|
|
175
|
-
"jsdom-global": "3.0.2",
|
|
176
|
-
"karma": "6.4.0",
|
|
177
|
-
"karma-chrome-launcher": "3.1.1",
|
|
178
|
-
"karma-coverage": "2.2.0",
|
|
179
|
-
"karma-coverage-istanbul-reporter": "3.0.3",
|
|
180
|
-
"karma-firefox-launcher": "^1.3.0",
|
|
181
|
-
"karma-mocha": "2.0.1",
|
|
182
|
-
"karma-mocha-reporter": "2.2.5",
|
|
183
|
-
"karma-source-map-support": "1.4.0",
|
|
184
|
-
"karma-sourcemap-loader": "0.3.8",
|
|
185
|
-
"karma-webpack": "5.0.0",
|
|
186
|
-
"mocha": "7.2.0",
|
|
187
184
|
"@microsoft/api-extractor": "7.31.2",
|
|
185
|
+
"@storybook/html": "6.5.15",
|
|
188
186
|
"rimraf": "^3.0.2",
|
|
189
187
|
"typescript": "4.7.4"
|
|
190
188
|
},
|
|
191
189
|
"dependencies": {
|
|
192
|
-
"@microsoft/fast-element": "
|
|
193
|
-
"@microsoft/fast-foundation": "
|
|
190
|
+
"@microsoft/fast-element": "2.0.0-beta.25",
|
|
191
|
+
"@microsoft/fast-foundation": "3.0.0-alpha.29",
|
|
194
192
|
"@microsoft/fast-web-utilities": "^6.0.0",
|
|
195
193
|
"@fluentui/tokens": "1.0.0-alpha.2",
|
|
196
194
|
"tslib": "^2.1.0"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { PlaywrightTestConfig } from '@playwright/test';
|
|
2
|
+
|
|
3
|
+
const config: PlaywrightTestConfig = {
|
|
4
|
+
projects: [{ name: 'chromium' }, { name: 'firefox' }, { name: 'webkit' }],
|
|
5
|
+
reporter: 'list',
|
|
6
|
+
testMatch: /.*\.spec\.ts$/,
|
|
7
|
+
retries: 3,
|
|
8
|
+
fullyParallel: process.env.CI ? false : true,
|
|
9
|
+
timeout: process.env.CI ? 10000 : 30000,
|
|
10
|
+
use: {
|
|
11
|
+
baseURL: 'http://localhost:6006/iframe.html',
|
|
12
|
+
viewport: {
|
|
13
|
+
height: 1280,
|
|
14
|
+
width: 720,
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
webServer: {
|
|
18
|
+
// double-quotes are required for Windows
|
|
19
|
+
command: `node -e "import('express').then(({ default: e }) => e().use(e.static('./dist/storybook')).listen(6006))"`,
|
|
20
|
+
port: 6006,
|
|
21
|
+
reuseExistingServer: process.env.CI ? false : true,
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export default config;
|