@fluentui/react-alert 9.0.0-beta.12 → 9.0.0-beta.121
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 +1337 -2
- package/README.md +5 -3
- package/dist/index.d.ts +11 -0
- package/lib/Alert.js +0 -1
- package/lib/Alert.js.map +1 -1
- package/lib/components/Alert/Alert.js +12 -8
- package/lib/components/Alert/Alert.js.map +1 -1
- package/lib/components/Alert/Alert.types.js +1 -2
- package/lib/components/Alert/Alert.types.js.map +1 -1
- package/lib/components/Alert/index.js +1 -2
- package/lib/components/Alert/index.js.map +1 -1
- package/lib/components/Alert/renderAlert.js +16 -13
- package/lib/components/Alert/renderAlert.js.map +1 -1
- package/lib/components/Alert/useAlert.js +64 -69
- package/lib/components/Alert/useAlert.js.map +1 -1
- package/lib/components/Alert/useAlertStyles.styles.js +139 -0
- package/lib/components/Alert/useAlertStyles.styles.js.map +1 -0
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Alert.js +3 -7
- package/lib-commonjs/Alert.js.map +1 -1
- package/lib-commonjs/components/Alert/Alert.js +22 -23
- package/lib-commonjs/components/Alert/Alert.js.map +1 -1
- package/lib-commonjs/components/Alert/Alert.types.js +1 -3
- package/lib-commonjs/components/Alert/Alert.types.js.map +1 -1
- package/lib-commonjs/components/Alert/index.js +7 -15
- package/lib-commonjs/components/Alert/index.js.map +1 -1
- package/lib-commonjs/components/Alert/renderAlert.js +20 -21
- package/lib-commonjs/components/Alert/renderAlert.js.map +1 -1
- package/lib-commonjs/components/Alert/useAlert.js +74 -92
- package/lib-commonjs/components/Alert/useAlert.js.map +1 -1
- package/lib-commonjs/components/Alert/useAlertStyles.styles.js +280 -0
- package/lib-commonjs/components/Alert/useAlertStyles.styles.js.map +1 -0
- package/lib-commonjs/index.js +25 -36
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +38 -20
- package/CHANGELOG.json +0 -537
- package/Migration.md +0 -0
- package/Spec.md +0 -97
- package/lib/components/Alert/useAlertStyles.js +0 -112
- package/lib/components/Alert/useAlertStyles.js.map +0 -1
- package/lib-commonjs/components/Alert/useAlertStyles.js +0 -123
- package/lib-commonjs/components/Alert/useAlertStyles.js.map +0 -1
package/lib-commonjs/index.js
CHANGED
|
@@ -1,40 +1,29 @@
|
|
|
1
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
1
2
|
"use strict";
|
|
2
|
-
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
4
|
+
value: true
|
|
5
5
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
function _export(target, all) {
|
|
7
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: all[name]
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
_export(exports, {
|
|
13
|
+
Alert: function() {
|
|
14
|
+
return _Alert.Alert;
|
|
15
|
+
},
|
|
16
|
+
alertClassNames: function() {
|
|
17
|
+
return _Alert.alertClassNames;
|
|
18
|
+
},
|
|
19
|
+
renderAlert_unstable: function() {
|
|
20
|
+
return _Alert.renderAlert_unstable;
|
|
21
|
+
},
|
|
22
|
+
useAlertStyles_unstable: function() {
|
|
23
|
+
return _Alert.useAlertStyles_unstable;
|
|
24
|
+
},
|
|
25
|
+
useAlert_unstable: function() {
|
|
26
|
+
return _Alert.useAlert_unstable;
|
|
27
|
+
}
|
|
15
28
|
});
|
|
16
|
-
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return Alert_1.alertClassNames;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
Object.defineProperty(exports, "renderAlert_unstable", {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function () {
|
|
25
|
-
return Alert_1.renderAlert_unstable;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, "useAlertStyles_unstable", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () {
|
|
31
|
-
return Alert_1.useAlertStyles_unstable;
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
Object.defineProperty(exports, "useAlert_unstable", {
|
|
35
|
-
enumerable: true,
|
|
36
|
-
get: function () {
|
|
37
|
-
return Alert_1.useAlert_unstable;
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
//# sourceMappingURL=index.js.map
|
|
29
|
+
const _Alert = require("./Alert");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.
|
|
1
|
+
{"version":3,"sources":["index.js"],"sourcesContent":["// eslint-disable-next-line deprecation/deprecation\nexport { Alert, alertClassNames, renderAlert_unstable, useAlertStyles_unstable, useAlert_unstable } from './Alert';\n"],"names":["Alert","alertClassNames","renderAlert_unstable","useAlertStyles_unstable","useAlert_unstable"],"mappings":"AAAA,mDAAmD;;;;;;;;;;;;IAC1CA,KAAK;eAALA,YAAK;;IAAEC,eAAe;eAAfA,sBAAe;;IAAEC,oBAAoB;eAApBA,2BAAoB;;IAAEC,uBAAuB;eAAvBA,8BAAuB;;IAAEC,iBAAiB;eAAjBA,wBAAiB;;;uBAAQ"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-alert",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.121",
|
|
4
4
|
"description": "An alert component to display brief messages",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
7
|
-
"typings": "dist/index.d.ts",
|
|
7
|
+
"typings": "./dist/index.d.ts",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -13,38 +13,41 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "just-scripts build",
|
|
16
|
-
"bundle-size": "
|
|
16
|
+
"bundle-size": "monosize measure",
|
|
17
17
|
"clean": "just-scripts clean",
|
|
18
18
|
"code-style": "just-scripts code-style",
|
|
19
19
|
"just": "just-scripts",
|
|
20
20
|
"lint": "just-scripts lint",
|
|
21
21
|
"start": "yarn storybook",
|
|
22
22
|
"test": "jest --passWithNoTests",
|
|
23
|
-
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
|
24
|
-
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-alert/src && yarn docs",
|
|
25
23
|
"storybook": "start-storybook",
|
|
26
|
-
"type-check": "tsc -b tsconfig.json"
|
|
24
|
+
"type-check": "tsc -b tsconfig.json",
|
|
25
|
+
"generate-api": "just-scripts generate-api",
|
|
26
|
+
"test-ssr": "test-ssr \"./stories/**/*.stories.tsx\""
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@fluentui/eslint-plugin": "*",
|
|
30
30
|
"@fluentui/react-conformance": "*",
|
|
31
|
-
"@fluentui/react-conformance-griffel": "
|
|
32
|
-
"@fluentui/scripts": "
|
|
31
|
+
"@fluentui/react-conformance-griffel": "*",
|
|
32
|
+
"@fluentui/scripts-api-extractor": "*",
|
|
33
|
+
"@fluentui/scripts-tasks": "*"
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
|
-
"@fluentui/react-avatar": "^9.
|
|
36
|
-
"@fluentui/react-button": "^9.
|
|
37
|
-
"@fluentui/react-icons": "^2.0.
|
|
38
|
-
"@fluentui/react-
|
|
39
|
-
"@fluentui/react-
|
|
40
|
-
"@
|
|
41
|
-
"
|
|
36
|
+
"@fluentui/react-avatar": "^9.6.26",
|
|
37
|
+
"@fluentui/react-button": "^9.3.80",
|
|
38
|
+
"@fluentui/react-icons": "^2.0.239",
|
|
39
|
+
"@fluentui/react-tabster": "^9.21.2",
|
|
40
|
+
"@fluentui/react-theme": "^9.1.19",
|
|
41
|
+
"@fluentui/react-utilities": "^9.18.8",
|
|
42
|
+
"@fluentui/react-jsx-runtime": "^9.0.37",
|
|
43
|
+
"@griffel/react": "^1.5.14",
|
|
44
|
+
"@swc/helpers": "^0.5.1"
|
|
42
45
|
},
|
|
43
46
|
"peerDependencies": {
|
|
44
|
-
"@types/react": ">=16.
|
|
45
|
-
"@types/react-dom": ">=16.
|
|
46
|
-
"react": ">=16.
|
|
47
|
-
"react-dom": ">=16.
|
|
47
|
+
"@types/react": ">=16.14.0 <19.0.0",
|
|
48
|
+
"@types/react-dom": ">=16.9.0 <19.0.0",
|
|
49
|
+
"react": ">=16.14.0 <19.0.0",
|
|
50
|
+
"react-dom": ">=16.14.0 <19.0.0"
|
|
48
51
|
},
|
|
49
52
|
"beachball": {
|
|
50
53
|
"disallowedChangeTypes": [
|
|
@@ -52,5 +55,20 @@
|
|
|
52
55
|
"minor",
|
|
53
56
|
"patch"
|
|
54
57
|
]
|
|
55
|
-
}
|
|
58
|
+
},
|
|
59
|
+
"exports": {
|
|
60
|
+
".": {
|
|
61
|
+
"types": "./dist/index.d.ts",
|
|
62
|
+
"node": "./lib-commonjs/index.js",
|
|
63
|
+
"import": "./lib/index.js",
|
|
64
|
+
"require": "./lib-commonjs/index.js"
|
|
65
|
+
},
|
|
66
|
+
"./package.json": "./package.json"
|
|
67
|
+
},
|
|
68
|
+
"files": [
|
|
69
|
+
"*.md",
|
|
70
|
+
"dist/*.d.ts",
|
|
71
|
+
"lib",
|
|
72
|
+
"lib-commonjs"
|
|
73
|
+
]
|
|
56
74
|
}
|