vipassana-design-standards 1.1.3 → 1.2.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/README.md +15 -6
- package/dist/css/bootstrap5-theme.css +4 -11
- package/dist/css/bootstrap5-theme.css.map +1 -1
- package/dist/css/bootstrap5-theme.min.css +1 -1
- package/dist/css/bootstrap5-theme.rtl.css +4 -11
- package/dist/css/bootstrap5-theme.rtl.min.css +1 -1
- package/dist/js/helpers.js +3 -3
- package/dist/js/react-helpers.js +3 -3
- package/dist/js/react-helpers.jsx +3 -3
- package/package.json +1 -1
- package/src/stylesheets/custom-bootstrap.scss +5 -0
- package/src/stylesheets/layout/vds-layout.scss +1 -14
package/dist/js/helpers.js
CHANGED
|
@@ -24,7 +24,7 @@ function vdsAssetUrl(path, localhost = false) {
|
|
|
24
24
|
// For localhost dev, just run vscode liveserver
|
|
25
25
|
if (localhost) return `http://localhost:5500/dist/${path}`
|
|
26
26
|
|
|
27
|
-
return `https://design-standards
|
|
27
|
+
return `https://https://cdn.jsdelivr.net/npm/vipassana-design-standards/dist/1.2.0/${path}`
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
function stylesheetLinkTag(url) {
|
|
@@ -32,7 +32,7 @@ function stylesheetLinkTag(url) {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export function vdsFaviconTag() {
|
|
35
|
-
return `<link rel="shortcut icon" type="image/x-icon" href="https://design-standards
|
|
35
|
+
return `<link rel="shortcut icon" type="image/x-icon" href="https://https://cdn.jsdelivr.net/npm/vipassana-design-standards/dist/favicon.png">`
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
export function vdsBootstrapThemeCssTag(locale, localhost = false) {
|
|
@@ -108,7 +108,7 @@ export function vdsLogo({
|
|
|
108
108
|
data-reverse="${trans.reverse}"
|
|
109
109
|
title="${title}"
|
|
110
110
|
style="font-size: ${size}px">
|
|
111
|
-
<img class="logo-wheel" src="https://design-standards
|
|
111
|
+
<img class="logo-wheel" src="https://https://cdn.jsdelivr.net/npm/vipassana-design-standards/dist/dhamma-wheel.svg" alt="${fullText}" />
|
|
112
112
|
<div class="logo-text">
|
|
113
113
|
<h1 class="logo-title">
|
|
114
114
|
<span data-start-with="${trans.vipassana_meditation.charAt(0).toLowerCase()}">
|
package/dist/js/react-helpers.js
CHANGED
|
@@ -36,7 +36,7 @@ function vdsAssetUrl(path) {
|
|
|
36
36
|
var localhost = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
37
37
|
// For localhost dev, just run vscode liveserver
|
|
38
38
|
if (localhost) return "http://localhost:5500/dist/".concat(path);
|
|
39
|
-
return "https://design-standards
|
|
39
|
+
return "https://https://cdn.jsdelivr.net/npm/vipassana-design-standards/dist/1.2.0/".concat(path);
|
|
40
40
|
}
|
|
41
41
|
function StylesheetLinkTag(_ref) {
|
|
42
42
|
var url = _ref.url;
|
|
@@ -50,7 +50,7 @@ function VdsFaviconTag() {
|
|
|
50
50
|
return /*#__PURE__*/_react["default"].createElement("link", {
|
|
51
51
|
rel: "shortcut icon",
|
|
52
52
|
type: "image/x-icon",
|
|
53
|
-
href: "https://design-standards
|
|
53
|
+
href: "https://https://cdn.jsdelivr.net/npm/vipassana-design-standards/dist/favicon.png"
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
function VdsBootstrapThemeCssTag(_ref2) {
|
|
@@ -114,7 +114,7 @@ function VdsLogo(_ref4) {
|
|
|
114
114
|
}
|
|
115
115
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
116
116
|
className: "logo-wheel",
|
|
117
|
-
src: "https://design-standards
|
|
117
|
+
src: "https://https://cdn.jsdelivr.net/npm/vipassana-design-standards/dist/dhamma-wheel.svg",
|
|
118
118
|
alt: fullText
|
|
119
119
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
120
120
|
className: "logo-text"
|
|
@@ -25,7 +25,7 @@ function vdsAssetUrl(path, localhost = false) {
|
|
|
25
25
|
// For localhost dev, just run vscode liveserver
|
|
26
26
|
if (localhost) return `http://localhost:5500/dist/${path}`
|
|
27
27
|
|
|
28
|
-
return `https://design-standards
|
|
28
|
+
return `https://https://cdn.jsdelivr.net/npm/vipassana-design-standards/dist/1.2.0/${path}`
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
function StylesheetLinkTag({ url }) {
|
|
@@ -37,7 +37,7 @@ export function VdsFaviconTag() {
|
|
|
37
37
|
<link
|
|
38
38
|
rel="shortcut icon"
|
|
39
39
|
type="image/x-icon"
|
|
40
|
-
href="https://design-standards
|
|
40
|
+
href="https://https://cdn.jsdelivr.net/npm/vipassana-design-standards/dist/favicon.png"
|
|
41
41
|
/>
|
|
42
42
|
)
|
|
43
43
|
}
|
|
@@ -115,7 +115,7 @@ export function VdsLogo({
|
|
|
115
115
|
>
|
|
116
116
|
<img
|
|
117
117
|
className="logo-wheel"
|
|
118
|
-
src="https://design-standards
|
|
118
|
+
src="https://https://cdn.jsdelivr.net/npm/vipassana-design-standards/dist/dhamma-wheel.svg"
|
|
119
119
|
alt={fullText}
|
|
120
120
|
/>
|
|
121
121
|
<div className="logo-text">
|
package/package.json
CHANGED
|
@@ -35,7 +35,7 @@ body {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
// The container so
|
|
38
|
+
// The container so every part of the page have same content-width
|
|
39
39
|
.vds-container {
|
|
40
40
|
width: 100%;
|
|
41
41
|
max-width: var(--page-max-width);
|
|
@@ -43,19 +43,6 @@ body {
|
|
|
43
43
|
margin-right: auto;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
// wait for vue to be loaded to display it
|
|
47
|
-
.vue-container {
|
|
48
|
-
--page-content-opacity: 0;
|
|
49
|
-
&.mounted {
|
|
50
|
-
--page-content-opacity: 1;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.vds-page-real-content {
|
|
54
|
-
transition: opacity 0.3s;
|
|
55
|
-
opacity: var(--page-content-opacity);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
46
|
// Sticky footer
|
|
60
47
|
.vds-header-and-content {
|
|
61
48
|
position: relative;
|