@react-spectrum/theme-default 3.5.23 → 3.6.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/dist/import.mjs +2 -26
- package/dist/main.js +2 -26
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -26
- package/dist/module.js.map +1 -1
- package/dist/types/src/index.d.ts +1 -0
- package/package.json +14 -25
- package/src/index.ts +1 -15
- package/dist/theme-default.6c535ac4.css +0 -616
- package/dist/theme-default.6c535ac4.css.map +0 -1
- package/dist/theme-default.93dd58f2.css +0 -387
- package/dist/theme-default.93dd58f2.css.map +0 -1
- package/dist/theme-default.a8db3107.css +0 -342
- package/dist/theme-default.a8db3107.css.map +0 -1
- package/dist/theme-default.af816b25.css +0 -387
- package/dist/theme-default.af816b25.css.map +0 -1
- package/dist/theme-default.d52e4ea9.css +0 -298
- package/dist/theme-default.d52e4ea9.css.map +0 -1
- package/dist/types.d.ts +0 -4
- package/dist/types.d.ts.map +0 -1
- package/dist/vars_spectrum-darkest_css.main.js +0 -11
- package/dist/vars_spectrum-darkest_css.main.js.map +0 -1
- package/dist/vars_spectrum-darkest_css.mjs +0 -13
- package/dist/vars_spectrum-darkest_css.module.js +0 -13
- package/dist/vars_spectrum-darkest_css.module.js.map +0 -1
- package/dist/vars_spectrum-global_css.main.js +0 -29
- package/dist/vars_spectrum-global_css.main.js.map +0 -1
- package/dist/vars_spectrum-global_css.mjs +0 -31
- package/dist/vars_spectrum-global_css.module.js +0 -31
- package/dist/vars_spectrum-global_css.module.js.map +0 -1
- package/dist/vars_spectrum-large_css.main.js +0 -11
- package/dist/vars_spectrum-large_css.main.js.map +0 -1
- package/dist/vars_spectrum-large_css.mjs +0 -13
- package/dist/vars_spectrum-large_css.module.js +0 -13
- package/dist/vars_spectrum-large_css.module.js.map +0 -1
- package/dist/vars_spectrum-light_css.main.js +0 -11
- package/dist/vars_spectrum-light_css.main.js.map +0 -1
- package/dist/vars_spectrum-light_css.mjs +0 -13
- package/dist/vars_spectrum-light_css.module.js +0 -13
- package/dist/vars_spectrum-light_css.module.js.map +0 -1
- package/dist/vars_spectrum-medium_css.main.js +0 -11
- package/dist/vars_spectrum-medium_css.main.js.map +0 -1
- package/dist/vars_spectrum-medium_css.mjs +0 -13
- package/dist/vars_spectrum-medium_css.module.js +0 -13
- package/dist/vars_spectrum-medium_css.module.js.map +0 -1
package/dist/import.mjs
CHANGED
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import $lIJZP$vars_spectrumdarkest_cssmodulejs from "./vars_spectrum-darkest_css.mjs";
|
|
3
|
-
import "./theme-default.6c535ac4.css";
|
|
4
|
-
import $lIJZP$vars_spectrumglobal_cssmodulejs from "./vars_spectrum-global_css.mjs";
|
|
5
|
-
import "./theme-default.93dd58f2.css";
|
|
6
|
-
import $lIJZP$vars_spectrumlarge_cssmodulejs from "./vars_spectrum-large_css.mjs";
|
|
7
|
-
import "./theme-default.d52e4ea9.css";
|
|
8
|
-
import $lIJZP$vars_spectrumlight_cssmodulejs from "./vars_spectrum-light_css.mjs";
|
|
9
|
-
import "./theme-default.af816b25.css";
|
|
10
|
-
import $lIJZP$vars_spectrummedium_cssmodulejs from "./vars_spectrum-medium_css.mjs";
|
|
1
|
+
import {defaultTheme as $bf644fa841b66a0c$re_export$theme} from "@adobe/react-spectrum/defaultTheme";
|
|
11
2
|
|
|
12
|
-
|
|
13
|
-
function $parcel$interopDefault(a) {
|
|
14
|
-
return a && a.__esModule ? a.default : a;
|
|
15
|
-
}
|
|
16
3
|
/*
|
|
17
4
|
* Copyright 2020 Adobe. All rights reserved.
|
|
18
5
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -27,16 +14,5 @@ function $parcel$interopDefault(a) {
|
|
|
27
14
|
|
|
28
15
|
|
|
29
16
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
let $bf24a13e98395dd3$export$bca14c5b3b88a9c9 = {
|
|
33
|
-
global: ($parcel$interopDefault($lIJZP$vars_spectrumglobal_cssmodulejs)),
|
|
34
|
-
light: ($parcel$interopDefault($lIJZP$vars_spectrumlight_cssmodulejs)),
|
|
35
|
-
dark: (0, ($parcel$interopDefault($lIJZP$vars_spectrumdarkest_cssmodulejs))),
|
|
36
|
-
medium: ($parcel$interopDefault($lIJZP$vars_spectrummedium_cssmodulejs)),
|
|
37
|
-
large: ($parcel$interopDefault($lIJZP$vars_spectrumlarge_cssmodulejs))
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
export {$bf24a13e98395dd3$export$bca14c5b3b88a9c9 as theme};
|
|
17
|
+
export {$bf644fa841b66a0c$re_export$theme as theme};
|
|
42
18
|
//# sourceMappingURL=module.js.map
|
package/dist/main.js
CHANGED
|
@@ -1,24 +1,11 @@
|
|
|
1
|
-
require("
|
|
2
|
-
var $5fc600550714d659$exports = require("./vars_spectrum-darkest_css.main.js");
|
|
3
|
-
require("./theme-default.6c535ac4.css");
|
|
4
|
-
var $33116a1ac1f127f3$exports = require("./vars_spectrum-global_css.main.js");
|
|
5
|
-
require("./theme-default.93dd58f2.css");
|
|
6
|
-
var $ed6c61a7b1f80a21$exports = require("./vars_spectrum-large_css.main.js");
|
|
7
|
-
require("./theme-default.d52e4ea9.css");
|
|
8
|
-
var $f98c14b7e54291a5$exports = require("./vars_spectrum-light_css.main.js");
|
|
9
|
-
require("./theme-default.af816b25.css");
|
|
10
|
-
var $7ada9fcc793cf5cf$exports = require("./vars_spectrum-medium_css.main.js");
|
|
1
|
+
var $fxWd1$adobereactspectrumdefaultTheme = require("@adobe/react-spectrum/defaultTheme");
|
|
11
2
|
|
|
12
3
|
|
|
13
|
-
function $parcel$interopDefault(a) {
|
|
14
|
-
return a && a.__esModule ? a.default : a;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
4
|
function $parcel$export(e, n, v, s) {
|
|
18
5
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
19
6
|
}
|
|
20
7
|
|
|
21
|
-
$parcel$export(module.exports, "theme", ()
|
|
8
|
+
$parcel$export(module.exports, "theme", function () { return $fxWd1$adobereactspectrumdefaultTheme.defaultTheme; });
|
|
22
9
|
/*
|
|
23
10
|
* Copyright 2020 Adobe. All rights reserved.
|
|
24
11
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -33,15 +20,4 @@ $parcel$export(module.exports, "theme", () => $03c7aa72d4763188$export$bca14c5b3
|
|
|
33
20
|
|
|
34
21
|
|
|
35
22
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
let $03c7aa72d4763188$export$bca14c5b3b88a9c9 = {
|
|
39
|
-
global: ($parcel$interopDefault($33116a1ac1f127f3$exports)),
|
|
40
|
-
light: ($parcel$interopDefault($f98c14b7e54291a5$exports)),
|
|
41
|
-
dark: (0, ($parcel$interopDefault($5fc600550714d659$exports))),
|
|
42
|
-
medium: ($parcel$interopDefault($7ada9fcc793cf5cf$exports)),
|
|
43
|
-
large: ($parcel$interopDefault($ed6c61a7b1f80a21$exports))
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
|
|
47
23
|
//# sourceMappingURL=main.js.map
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/theme-default/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\nexport {defaultTheme as theme} from '@adobe/react-spectrum/defaultTheme';\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import $lIJZP$vars_spectrumdarkest_cssmodulejs from "./vars_spectrum-darkest_css.module.js";
|
|
3
|
-
import "./theme-default.6c535ac4.css";
|
|
4
|
-
import $lIJZP$vars_spectrumglobal_cssmodulejs from "./vars_spectrum-global_css.module.js";
|
|
5
|
-
import "./theme-default.93dd58f2.css";
|
|
6
|
-
import $lIJZP$vars_spectrumlarge_cssmodulejs from "./vars_spectrum-large_css.module.js";
|
|
7
|
-
import "./theme-default.d52e4ea9.css";
|
|
8
|
-
import $lIJZP$vars_spectrumlight_cssmodulejs from "./vars_spectrum-light_css.module.js";
|
|
9
|
-
import "./theme-default.af816b25.css";
|
|
10
|
-
import $lIJZP$vars_spectrummedium_cssmodulejs from "./vars_spectrum-medium_css.module.js";
|
|
1
|
+
import {defaultTheme as $bf644fa841b66a0c$re_export$theme} from "@adobe/react-spectrum/defaultTheme";
|
|
11
2
|
|
|
12
|
-
|
|
13
|
-
function $parcel$interopDefault(a) {
|
|
14
|
-
return a && a.__esModule ? a.default : a;
|
|
15
|
-
}
|
|
16
3
|
/*
|
|
17
4
|
* Copyright 2020 Adobe. All rights reserved.
|
|
18
5
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -27,16 +14,5 @@ function $parcel$interopDefault(a) {
|
|
|
27
14
|
|
|
28
15
|
|
|
29
16
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
let $bf24a13e98395dd3$export$bca14c5b3b88a9c9 = {
|
|
33
|
-
global: ($parcel$interopDefault($lIJZP$vars_spectrumglobal_cssmodulejs)),
|
|
34
|
-
light: ($parcel$interopDefault($lIJZP$vars_spectrumlight_cssmodulejs)),
|
|
35
|
-
dark: (0, ($parcel$interopDefault($lIJZP$vars_spectrumdarkest_cssmodulejs))),
|
|
36
|
-
medium: ($parcel$interopDefault($lIJZP$vars_spectrummedium_cssmodulejs)),
|
|
37
|
-
large: ($parcel$interopDefault($lIJZP$vars_spectrumlarge_cssmodulejs))
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
export {$bf24a13e98395dd3$export$bca14c5b3b88a9c9 as theme};
|
|
17
|
+
export {$bf644fa841b66a0c$re_export$theme as theme};
|
|
42
18
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":";;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/theme-default/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\nexport {defaultTheme as theme} from '@adobe/react-spectrum/defaultTheme';\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { defaultTheme as theme } from '@adobe/react-spectrum/defaultTheme';
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/theme-default",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"module": "dist/module.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
"./dist/types.d.ts",
|
|
12
|
-
"./
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
9
|
+
".": {
|
|
10
|
+
"source": "./src/index.ts",
|
|
11
|
+
"types": "./dist/types/src/index.d.ts",
|
|
12
|
+
"import": "./dist/import.mjs",
|
|
13
|
+
"require": "./dist/main.js"
|
|
14
|
+
},
|
|
15
|
+
"./package.json": "./package.json"
|
|
16
16
|
},
|
|
17
|
-
"types": "dist/types.d.ts",
|
|
17
|
+
"types": "dist/types/src/index.d.ts",
|
|
18
18
|
"source": "src/index.ts",
|
|
19
19
|
"files": [
|
|
20
20
|
"dist",
|
|
@@ -24,33 +24,22 @@
|
|
|
24
24
|
"*.css"
|
|
25
25
|
],
|
|
26
26
|
"targets": {
|
|
27
|
-
"
|
|
28
|
-
"includeNodeModules": [
|
|
29
|
-
"@adobe/spectrum-css-temp"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"module": {
|
|
33
|
-
"includeNodeModules": [
|
|
34
|
-
"@adobe/spectrum-css-temp"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
27
|
+
"types": false
|
|
37
28
|
},
|
|
38
29
|
"repository": {
|
|
39
30
|
"type": "git",
|
|
40
31
|
"url": "https://github.com/adobe/react-spectrum"
|
|
41
32
|
},
|
|
42
33
|
"dependencies": {
|
|
43
|
-
"@react-
|
|
34
|
+
"@adobe/react-spectrum": "3.47.0",
|
|
44
35
|
"@swc/helpers": "^0.5.0"
|
|
45
36
|
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@adobe/spectrum-css-temp": "3.0.0-alpha.1"
|
|
48
|
-
},
|
|
49
37
|
"publishConfig": {
|
|
50
38
|
"access": "public"
|
|
51
39
|
},
|
|
52
40
|
"peerDependencies": {
|
|
53
|
-
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
|
|
41
|
+
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
|
|
42
|
+
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
|
|
54
43
|
},
|
|
55
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "a6999bdf494a2e9c0381a5881908328bdd22ddae"
|
|
56
45
|
}
|
package/src/index.ts
CHANGED
|
@@ -11,18 +11,4 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/// <reference types="css-module-types" />
|
|
14
|
-
|
|
15
|
-
import darkest from '@adobe/spectrum-css-temp/vars/spectrum-darkest.css';
|
|
16
|
-
import global from '@adobe/spectrum-css-temp/vars/spectrum-global.css';
|
|
17
|
-
import large from '@adobe/spectrum-css-temp/vars/spectrum-large.css';
|
|
18
|
-
import light from '@adobe/spectrum-css-temp/vars/spectrum-light.css';
|
|
19
|
-
import medium from '@adobe/spectrum-css-temp/vars/spectrum-medium.css';
|
|
20
|
-
import {Theme} from '@react-types/provider';
|
|
21
|
-
|
|
22
|
-
export let theme: Theme = {
|
|
23
|
-
global,
|
|
24
|
-
light,
|
|
25
|
-
dark: darkest,
|
|
26
|
-
medium,
|
|
27
|
-
large
|
|
28
|
-
};
|
|
14
|
+
export {defaultTheme as theme} from '@adobe/react-spectrum/defaultTheme';
|