@jotyping/jo-designsystem 0.1.4-alpha → 0.1.6-alpha
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/components/button/jd-button.scss.js +2 -2
- package/dist/components/flash/jd-flash.scss.js +2 -2
- package/dist/components/footer/jd-footer.scss.js +2 -2
- package/dist/components/header/jd-header.scss.js +2 -2
- package/dist/components/heading/jd-heading.scss.js +2 -2
- package/dist/components/icon-button/jd-icon-button.scss.js +2 -2
- package/dist/components/image-link/jd-image-link.scss.js +2 -2
- package/dist/components/link/jd-link.scss.js +2 -2
- package/dist/components/modal/jd-modal.scss.js +2 -2
- package/dist/components/tag/jd-tag.scss.js +2 -2
- package/dist/index.js +25 -24
- package/dist/index.js.map +1 -1
- package/dist/styles/font-Cc_vQIAn.css +1 -0
- package/dist/styles/variables--eXl5OQO.css +1 -0
- package/package.json +1 -1
- package/public/fonts/satoshi-black.ttf +0 -0
- package/public/fonts/satoshi-bold.ttf +0 -0
- package/public/fonts/satoshi-italic.ttf +0 -0
- package/public/fonts/satoshi-regular.ttf +0 -0
- package/src/index.ts +1 -0
- package/src/styles/_fonts.scss +1 -34
- package/src/styles/font.css +27 -0
- package/vite.config.ts +5 -3
- package/dist/styles/jo-designsystem-BOaAiTCj.css +0 -1
- package/src/assets/fonts/satoshi-medium.ttf +0 -0
- /package/{src/assets → dist}/fonts/satoshi-black.ttf +0 -0
- /package/{src/assets → dist}/fonts/satoshi-bold.ttf +0 -0
- /package/{src/assets → dist}/fonts/satoshi-italic.ttf +0 -0
- /package/{src/assets → dist}/fonts/satoshi-regular.ttf +0 -0
package/dist/index.js
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { JdButton as d } from "./components/button/jd-button.js";
|
|
4
|
+
import { JdFlash as p } from "./components/flash/jd-flash.js";
|
|
5
|
+
import { JdFooter as x } from "./components/footer/jd-footer.js";
|
|
6
|
+
import { JdHeader as a } from "./components/header/jd-header.js";
|
|
7
|
+
import { JdHeading as i } from "./components/heading/jd-heading.js";
|
|
8
|
+
import { JdIcon as I } from "./components/icon/jd-icon.js";
|
|
9
|
+
import { JdIconButton as k } from "./components/icon-button/jd-icon-button.js";
|
|
10
|
+
import { JdImageLink as u } from "./components/image-link/jd-image-link.js";
|
|
11
|
+
import { JdLink as F } from "./components/link/jd-link.js";
|
|
12
|
+
import { JdModal as L } from "./components/modal/jd-modal.js";
|
|
13
|
+
import { JdNavigation as s } from "./components/navigation/jd-navigation.js";
|
|
14
|
+
import { JdTag as M } from "./components/tag/jd-tag.js";
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
16
|
+
d as JdButton,
|
|
17
|
+
p as JdFlash,
|
|
18
|
+
x as JdFooter,
|
|
19
|
+
a as JdHeader,
|
|
20
|
+
i as JdHeading,
|
|
21
|
+
I as JdIcon,
|
|
22
|
+
k as JdIconButton,
|
|
23
|
+
u as JdImageLink,
|
|
24
|
+
F as JdLink,
|
|
25
|
+
L as JdModal,
|
|
26
|
+
s as JdNavigation,
|
|
27
|
+
M as JdTag
|
|
27
28
|
};
|
|
28
29
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-family:Satoshi_Regular;src:local("Satoshi_Regular"),url(/fonts/satoshi-regular.ttf) format("truetype")}@font-face{font-family:Satoshi_Bold;src:local("Satoshi_Bold"),url(/fonts/satoshi-bold.ttf) format("truetype")}@font-face{font-family:Satoshi_Black;src:local("Satoshi_Black"),url(/fonts/satoshi-black.ttf) format("truetype")}@font-face{font-family:Satoshi_Italic;src:local("Satoshi_Italic"),url(/fonts/satoshi-italic.ttf) format("truetype")}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-family:Satoshi_Regular;src:local("Satoshi_Regular"),url(/fonts/satoshi-regular.ttf) format("truetype")}@font-face{font-family:Satoshi_Bold;src:local("Satoshi_Bold"),url(/fonts/satoshi-bold.ttf) format("truetype")}@font-face{font-family:Satoshi_Black;src:local("Satoshi_Black"),url(/fonts/satoshi-black.ttf) format("truetype")}@font-face{font-family:Satoshi_Italic;src:local("Satoshi_Italic"),url(/fonts/satoshi-italic.ttf) format("truetype")}body,html{font-family:Satoshi_Black,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;padding:0;box-sizing:border-box}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/index.ts
CHANGED
package/src/styles/_fonts.scss
CHANGED
|
@@ -1,37 +1,4 @@
|
|
|
1
|
-
@font
|
|
2
|
-
font-family: "Satoshi_Bold";
|
|
3
|
-
src:
|
|
4
|
-
local("Satoshi_Bold"),
|
|
5
|
-
url(../assets/fonts/satoshi-bold.ttf) format("truetype");
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@font-face {
|
|
9
|
-
font-family: "Satoshi_Black";
|
|
10
|
-
src:
|
|
11
|
-
local("Satoshi_Black"),
|
|
12
|
-
url(../assets/fonts/satoshi-black.ttf) format("truetype");
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@font-face {
|
|
16
|
-
font-family: "Satoshi_Medium";
|
|
17
|
-
src:
|
|
18
|
-
local("Satoshi_Medium"),
|
|
19
|
-
url(../assets/fonts/satoshi-medium.ttf) format("truetype");
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@font-face {
|
|
23
|
-
font-family: "Satoshi_Regular";
|
|
24
|
-
src:
|
|
25
|
-
local("Satoshi_Regular"),
|
|
26
|
-
url(../assets/fonts/satoshi-regular.ttf) format("truetype");
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@font-face {
|
|
30
|
-
font-family: "Satoshi_Italic";
|
|
31
|
-
src:
|
|
32
|
-
local("Satoshi_Italic"),
|
|
33
|
-
url(../assets/fonts/satoshi-italic.ttf) format("truetype");
|
|
34
|
-
}
|
|
1
|
+
@import "font.css";
|
|
35
2
|
|
|
36
3
|
/* --- FONT FAMILIES --- */
|
|
37
4
|
$font-regular: "Satoshi_Regular", sans-serif;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "Satoshi_Regular";
|
|
3
|
+
src:
|
|
4
|
+
local("Satoshi_Regular"),
|
|
5
|
+
url(/fonts/satoshi-regular.ttf) format("truetype");
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@font-face {
|
|
9
|
+
font-family: "Satoshi_Bold";
|
|
10
|
+
src:
|
|
11
|
+
local("Satoshi_Bold"),
|
|
12
|
+
url(/fonts/satoshi-bold.ttf) format("truetype");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: "Satoshi_Black";
|
|
17
|
+
src:
|
|
18
|
+
local("Satoshi_Black"),
|
|
19
|
+
url(/fonts/satoshi-black.ttf) format("truetype");
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: "Satoshi_Italic";
|
|
24
|
+
src:
|
|
25
|
+
local("Satoshi_Italic"),
|
|
26
|
+
url(/fonts/satoshi-italic.ttf) format("truetype");
|
|
27
|
+
}
|
package/vite.config.ts
CHANGED
|
@@ -8,7 +8,9 @@ export default defineConfig({
|
|
|
8
8
|
},
|
|
9
9
|
},
|
|
10
10
|
build: {
|
|
11
|
-
|
|
11
|
+
assetsInlineLimit: 0,
|
|
12
|
+
emptyOutDir: true,
|
|
13
|
+
cssCodeSplit: true,
|
|
12
14
|
sourcemap: true,
|
|
13
15
|
lib: {
|
|
14
16
|
entry: path.resolve(__dirname, "src/index.ts"),
|
|
@@ -21,10 +23,10 @@ export default defineConfig({
|
|
|
21
23
|
entryFileNames: "[name].js",
|
|
22
24
|
assetFileNames: (assetInfo) => {
|
|
23
25
|
if (assetInfo.name?.endsWith(".css")) {
|
|
24
|
-
return "
|
|
26
|
+
return "[name]-[hash][extname]";
|
|
25
27
|
}
|
|
26
28
|
if (/\.(woff2?|ttf|otf)$/.test(assetInfo.name ?? "")) {
|
|
27
|
-
return "
|
|
29
|
+
return "fonts/[name]-[hash][extname]";
|
|
28
30
|
}
|
|
29
31
|
return "assets/[name]-[hash][extname]";
|
|
30
32
|
},
|