@panomc/sdk 1.0.0-dev.37 → 1.0.0-dev.39
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/core/favicon/apple-touch-icon.png +0 -0
- package/core/favicon/favicon-96x96.png +0 -0
- package/core/favicon/favicon.ico +0 -0
- package/core/favicon/favicon.svg +1 -0
- package/core/favicon/site.webmanifest +21 -0
- package/core/favicon/web-app-manifest-192x192.png +0 -0
- package/core/favicon/web-app-manifest-512x512.png +0 -0
- package/core/favicon_old/android-icon-144x144.png +0 -0
- package/core/favicon_old/android-icon-192x192.png +0 -0
- package/core/favicon_old/android-icon-36x36.png +0 -0
- package/core/favicon_old/android-icon-48x48.png +0 -0
- package/core/favicon_old/android-icon-72x72.png +0 -0
- package/core/favicon_old/android-icon-96x96.png +0 -0
- package/core/favicon_old/apple-icon-114x114.png +0 -0
- package/core/favicon_old/apple-icon-120x120.png +0 -0
- package/core/favicon_old/apple-icon-144x144.png +0 -0
- package/core/favicon_old/apple-icon-152x152.png +0 -0
- package/core/favicon_old/apple-icon-180x180.png +0 -0
- package/core/favicon_old/apple-icon-57x57.png +0 -0
- package/core/favicon_old/apple-icon-60x60.png +0 -0
- package/core/favicon_old/apple-icon-72x72.png +0 -0
- package/core/favicon_old/apple-icon-76x76.png +0 -0
- package/core/favicon_old/apple-icon-precomposed.png +0 -0
- package/core/favicon_old/apple-icon.png +0 -0
- package/core/favicon_old/browserconfig.xml +11 -0
- package/core/favicon_old/favicon-16x16.png +0 -0
- package/core/favicon_old/favicon-32x32.png +0 -0
- package/core/favicon_old/favicon-96x96.png +0 -0
- package/core/favicon_old/favicon.ico +0 -0
- package/core/favicon_old/manifest.json +41 -0
- package/core/favicon_old/ms-icon-144x144.png +0 -0
- package/core/favicon_old/ms-icon-150x150.png +0 -0
- package/core/favicon_old/ms-icon-310x310.png +0 -0
- package/core/favicon_old/ms-icon-70x70.png +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-300.eot +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-300.svg +483 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-300.ttf +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-300.woff +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-300.woff2 +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-500.eot +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-500.svg +486 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-500.ttf +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-500.woff +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-500.woff2 +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-700.eot +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-700.svg +484 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-700.ttf +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-700.woff +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-700.woff2 +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-regular.eot +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-regular.svg +486 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-regular.ttf +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-regular.woff +0 -0
- package/core/fonts/quicksand-v8-latin-ext_latin_vietnamese-regular.woff2 +0 -0
- package/core/js/NotificationManager.js +19 -0
- package/core/js/PluginAPI.js +29 -0
- package/core/js/PluginManager.js +789 -0
- package/core/js/RouteMatcher.js +134 -0
- package/core/js/api.util.js +248 -0
- package/core/js/tooltip.util.js +59 -0
- package/core/js/variables.js +63 -0
- package/core/js/version.util.js +100 -0
- package/core/scss/custom-bootstrap.scss +187 -0
- package/core/scss/fonts.scss +85 -0
- package/core/scss/main.scss +385 -0
- package/core/scss/themes.scss +97 -0
- package/package.json +12 -4
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// Pano UI Themes
|
|
2
|
+
|
|
3
|
+
[data-bs-theme='dark'] {
|
|
4
|
+
--bs-body-bg: #0a1931;
|
|
5
|
+
--bs-body-bg-rgb: #{to-rgb(#0a1931)};
|
|
6
|
+
|
|
7
|
+
--bs-secondary-bg: #112240;
|
|
8
|
+
--bs-secondary-bg-rgb: #{to-rgb(#112240)};
|
|
9
|
+
|
|
10
|
+
--bs-tertiary-bg: #162b4e;
|
|
11
|
+
--bs-tertiary-bg-rgb: #{to-rgb(#162b4e)};
|
|
12
|
+
|
|
13
|
+
--bs-emphasis-color: #{$white};
|
|
14
|
+
--bs-emphasis-color-rgb: #{to-rgb($white)};
|
|
15
|
+
|
|
16
|
+
--bs-secondary-color: rgba(204, 209, 217, 0.75);
|
|
17
|
+
--bs-tertiary-color: rgba(204, 209, 217, 0.5);
|
|
18
|
+
|
|
19
|
+
--bs-border-color: rgba(255, 255, 255, 0.1);
|
|
20
|
+
--bs-border-color-translucent: rgba(255, 255, 255, 0.15);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin define-theme($name, $primary, $secondary) {
|
|
24
|
+
[data-bs-theme='#{$name}'] {
|
|
25
|
+
@extend [data-bs-theme='dark'];
|
|
26
|
+
|
|
27
|
+
$body-bg: shade-color($primary, 90%) !default;
|
|
28
|
+
--bs-body-bg: #{$body-bg};
|
|
29
|
+
--bs-body-bg-rgb: #{to-rgb($body-bg)};
|
|
30
|
+
|
|
31
|
+
$secondary-bg: shade-color($primary, 85%) !default;
|
|
32
|
+
--bs-secondary-bg: #{$secondary-bg};
|
|
33
|
+
--bs-secondary-bg-rgb: #{to-rgb($secondary-bg)};
|
|
34
|
+
|
|
35
|
+
$tertiary-bg: shade-color($primary, 82%) !default;
|
|
36
|
+
--bs-tertiary-bg: #{$tertiary-bg};
|
|
37
|
+
--bs-tertiary-bg-rgb: #{to-rgb($tertiary-bg)};
|
|
38
|
+
|
|
39
|
+
--bs-primary: #{$primary};
|
|
40
|
+
--bs-primary-rgb: #{to-rgb($primary)};
|
|
41
|
+
|
|
42
|
+
--bs-secondary: #{$secondary};
|
|
43
|
+
--bs-secondary-rgb: #{to-rgb($secondary)};
|
|
44
|
+
|
|
45
|
+
// Links
|
|
46
|
+
--bs-link-color: #{$primary};
|
|
47
|
+
--bs-link-color-rgb: #{to-rgb($primary)};
|
|
48
|
+
|
|
49
|
+
// Hover dark tones
|
|
50
|
+
$primary-hover: shade-color($primary, 15%) !default;
|
|
51
|
+
$secondary-hover: shade-color($secondary, 15%) !default;
|
|
52
|
+
--bs-link-hover-color: #{$primary-hover};
|
|
53
|
+
--bs-link-hover-color-rgb: #{to-rgb($primary-hover)};
|
|
54
|
+
|
|
55
|
+
--bs-primary-text-emphasis: #{tint-color($primary, 40%)};
|
|
56
|
+
--bs-primary-bg-subtle: rgba($primary, 0.12);
|
|
57
|
+
--bs-primary-border-subtle: #{shade-color($primary, 25%)};
|
|
58
|
+
|
|
59
|
+
--bs-secondary-text-emphasis: #{tint-color($secondary, 40%)};
|
|
60
|
+
--bs-secondary-bg-subtle: rgba($secondary, 0.12);
|
|
61
|
+
--bs-secondary-border-subtle: #{shade-color($secondary, 25%)};
|
|
62
|
+
|
|
63
|
+
.btn-primary {
|
|
64
|
+
--bs-btn-color: #000;
|
|
65
|
+
--bs-btn-bg: #{$primary};
|
|
66
|
+
--bs-btn-border-color: #{$primary};
|
|
67
|
+
--bs-btn-hover-color: #000;
|
|
68
|
+
--bs-btn-hover-bg: #{$primary-hover};
|
|
69
|
+
--bs-btn-hover-border-color: #{$primary-hover};
|
|
70
|
+
--bs-btn-active-color: #000;
|
|
71
|
+
--bs-btn-active-bg: #{$primary};
|
|
72
|
+
--bs-btn-active-border-color: #{$primary};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.btn-secondary {
|
|
76
|
+
--bs-btn-color: #000;
|
|
77
|
+
--bs-btn-bg: #{$secondary};
|
|
78
|
+
--bs-btn-border-color: #{$secondary};
|
|
79
|
+
--bs-btn-hover-color: #000;
|
|
80
|
+
--bs-btn-hover-bg: #{$secondary-hover};
|
|
81
|
+
--bs-btn-hover-border-color: #{$secondary-hover};
|
|
82
|
+
--bs-btn-active-color: #000;
|
|
83
|
+
--bs-btn-active-bg: #{$secondary};
|
|
84
|
+
--bs-btn-active-border-color: #{$secondary};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.nav-pills {
|
|
88
|
+
--bs-nav-pills-link-active-bg: #{$primary};
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// Themes
|
|
94
|
+
@include define-theme('copper', #b87333, #44ffd2);
|
|
95
|
+
@include define-theme('emerald', #10b981, #60a5fa);
|
|
96
|
+
@include define-theme('midnight', #8b5cf6, #ec4899);
|
|
97
|
+
@include define-theme('crimson', #ef4444, #f59e0b);
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panomc/sdk",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.39",
|
|
4
4
|
"author": "PanoMC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/PanoMC/sdk"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"svelte": "5.55.4"
|
|
9
|
+
"svelte": "5.55.4",
|
|
10
|
+
"tippy.js": "^6.3.7",
|
|
11
|
+
"adm-zip": "^0.5.17"
|
|
10
12
|
},
|
|
11
13
|
"devDependencies": {
|
|
12
14
|
"svelte": "5.55.4"
|
|
@@ -63,10 +65,16 @@
|
|
|
63
65
|
"./svelte": {
|
|
64
66
|
"svelte": "./src/svelte.js",
|
|
65
67
|
"default": "./src/svelte.js"
|
|
66
|
-
}
|
|
68
|
+
},
|
|
69
|
+
"./core/*": {
|
|
70
|
+
"svelte": "./core/*",
|
|
71
|
+
"default": "./core/*"
|
|
72
|
+
},
|
|
73
|
+
"./package.json": "./package.json"
|
|
67
74
|
},
|
|
68
75
|
"files": [
|
|
69
|
-
"src"
|
|
76
|
+
"src",
|
|
77
|
+
"core"
|
|
70
78
|
],
|
|
71
79
|
"publishConfig": {
|
|
72
80
|
"access": "public"
|