@vuepress/plugin-redirect 2.0.0-rc.43 → 2.0.0-rc.45

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.
@@ -1,57 +1 @@
1
- .redirect-modal-fade-enter-active,
2
- .redirect-modal-fade-leave-active {
3
- transition: opacity 0.5s;
4
- }
5
-
6
- .redirect-modal-fade-enter,
7
- .redirect-modal-fade-leave-to {
8
- opacity: 0;
9
- }
10
-
11
- .redirect-modal-mask {
12
- position: fixed;
13
- inset: 0;
14
- z-index: var(--redirect-z-index);
15
- display: flex;
16
- align-items: center;
17
- justify-content: center;
18
- backdrop-filter: blur(10px);
19
- }
20
- @media print {
21
- .redirect-modal-mask {
22
- display: none;
23
- }
24
- }
25
-
26
- .redirect-modal-wrapper {
27
- position: relative;
28
- z-index: 1500;
29
- overflow: hidden;
30
- max-width: 80vw;
31
- padding: 1rem 2rem;
32
- border-radius: 8px;
33
- background: var(--redirect-c-bg);
34
- box-shadow: 0 2px 6px 0 var(--redirect-c-shadow);
35
- }
36
-
37
- .redirect-modal-action {
38
- display: block;
39
- width: 100%;
40
- margin: 1rem 0;
41
- padding: 0.5rem 0.75rem;
42
- border: none;
43
- border-radius: 8px;
44
- background-color: var(--redirect-c-control);
45
- color: inherit;
46
- cursor: pointer;
47
- }
48
- .redirect-modal-action:hover {
49
- background-color: var(--redirect-c-control-hover);
50
- }
51
- .redirect-modal-action.primary {
52
- background-color: var(--redirect-c-accent-bg);
53
- color: var(--redirect-c-accent-text);
54
- }
55
- .redirect-modal-action.primary:hover {
56
- background-color: var(--redirect-c-accent-hover);
57
- }
1
+ .redirect-modal-fade-enter-active,.redirect-modal-fade-leave-active{transition:opacity .5s}.redirect-modal-fade-enter,.redirect-modal-fade-leave-to{opacity:0}.redirect-modal-mask{position:fixed;inset:0;z-index:var(--redirect-z-index);display:flex;align-items:center;justify-content:center;backdrop-filter:blur(10px)}@media print{.redirect-modal-mask{display:none}}.redirect-modal-wrapper{position:relative;z-index:1500;overflow:hidden;max-width:80vw;padding:1rem 2rem;border-radius:8px;background:var(--redirect-c-bg);box-shadow:0 2px 6px 0 var(--redirect-c-shadow)}.redirect-modal-action{display:block;width:100%;margin:1rem 0;padding:.5rem .75rem;border:none;border-radius:8px;background-color:var(--redirect-c-control);color:inherit;cursor:pointer}.redirect-modal-action:hover{background-color:var(--redirect-c-control-hover)}.redirect-modal-action.primary{background-color:var(--redirect-c-accent-bg);color:var(--redirect-c-accent-text)}.redirect-modal-action.primary:hover{background-color:var(--redirect-c-accent-hover)}/*# sourceMappingURL=redirect-modal.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../../src/client/styles/redirect-modal.scss"],"names":[],"mappings":"AAAA,oEAEE,uBAGF,yDAEE,UAGF,qBACE,eACA,QACA,gCAEA,aACA,mBACA,uBAEA,2BAEA,aAXF,qBAYI,cAIJ,wBACE,kBACA,aAEA,gBAEA,eACA,kBACA,kBAEA,gCACA,gDAGF,uBACE,cAEA,WACA,cACA,qBACA,YACA,kBAEA,2CACA,cAEA,eAEA,6BACE,iDAGF,+BACE,6CACA,oCAEA,qCACE","file":"redirect-modal.css","sourcesContent":[".redirect-modal-fade-enter-active,\n.redirect-modal-fade-leave-active {\n transition: opacity 0.5s;\n}\n\n.redirect-modal-fade-enter,\n.redirect-modal-fade-leave-to {\n opacity: 0;\n}\n\n.redirect-modal-mask {\n position: fixed;\n inset: 0;\n z-index: var(--redirect-z-index);\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n backdrop-filter: blur(10px);\n\n @media print {\n display: none;\n }\n}\n\n.redirect-modal-wrapper {\n position: relative;\n z-index: 1500;\n\n overflow: hidden;\n\n max-width: 80vw;\n padding: 1rem 2rem;\n border-radius: 8px;\n\n background: var(--redirect-c-bg);\n box-shadow: 0 2px 6px 0 var(--redirect-c-shadow);\n}\n\n.redirect-modal-action {\n display: block;\n\n width: 100%;\n margin: 1rem 0;\n padding: 0.5rem 0.75rem;\n border: none;\n border-radius: 8px;\n\n background-color: var(--redirect-c-control);\n color: inherit;\n\n cursor: pointer;\n\n &:hover {\n background-color: var(--redirect-c-control-hover);\n }\n\n &.primary {\n background-color: var(--redirect-c-accent-bg);\n color: var(--redirect-c-accent-text);\n\n &:hover {\n background-color: var(--redirect-c-accent-hover);\n }\n }\n}\n"]}
@@ -1,11 +1 @@
1
- :root {
2
- --redirect-z-index: 1499;
3
- --redirect-c-bg: var(--vp-c-bg-elv);
4
- --redirect-c-text: var(--vp-c-text);
5
- --redirect-c-accent-bg: var(--vp-c-accent-bg);
6
- --redirect-c-accent-hover: var(--vp-c-accent-hover);
7
- --redirect-c-accent-text: var(--vp-c-accent-text);
8
- --redirect-c-control: var(--vp-c-control);
9
- --redirect-c-control-hover: var(--vp-c-control-hover);
10
- --redirect-c-shadow: var(--vp-c-shadow);
11
- }
1
+ :root{--redirect-z-index: 1499;--redirect-c-bg: var(--vp-c-bg-elv);--redirect-c-text: var(--vp-c-text);--redirect-c-accent-bg: var(--vp-c-accent-bg);--redirect-c-accent-hover: var(--vp-c-accent-hover);--redirect-c-accent-text: var(--vp-c-accent-text);--redirect-c-control: var(--vp-c-control);--redirect-c-control-hover: var(--vp-c-control-hover);--redirect-c-shadow: var(--vp-c-shadow)}/*# sourceMappingURL=vars.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../../src/client/styles/vars.css"],"names":[],"mappings":"AAAA,MACE,yBACA,oCACA,oCACA,8CACA,oDACA,kDACA,0CACA,sDACA","file":"vars.css","sourcesContent":[":root {\n --redirect-z-index: 1499;\n --redirect-c-bg: var(--vp-c-bg-elv);\n --redirect-c-text: var(--vp-c-text);\n --redirect-c-accent-bg: var(--vp-c-accent-bg);\n --redirect-c-accent-hover: var(--vp-c-accent-hover);\n --redirect-c-accent-text: var(--vp-c-accent-text);\n --redirect-c-control: var(--vp-c-control);\n --redirect-c-control-hover: var(--vp-c-control-hover);\n --redirect-c-shadow: var(--vp-c-shadow);\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/plugin-redirect",
3
- "version": "2.0.0-rc.43",
3
+ "version": "2.0.0-rc.45",
4
4
  "description": "VuePress plugin - redirect",
5
5
  "keywords": [
6
6
  "vuepress-plugin",
@@ -37,10 +37,10 @@
37
37
  "lib"
38
38
  ],
39
39
  "dependencies": {
40
- "@vuepress/helper": "2.0.0-rc.43",
41
- "@vueuse/core": "^11.0.3",
40
+ "@vuepress/helper": "2.0.0-rc.45",
41
+ "@vueuse/core": "^11.1.0",
42
42
  "cac": "^6.7.14",
43
- "vue": "^3.5.4"
43
+ "vue": "^3.5.6"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "vuepress": "2.0.0-rc.15"
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "7c75a58f6aed788e2ee40e2b2f0451a76ec20a23"
51
+ "gitHead": "a59c8252483e4549f1d78e12d23e867651303e93"
52
52
  }