@outs-tand-ing/ui 0.2.17 → 0.2.20
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/AccessWrapper.vue.d.ts.map +1 -1
- package/dist/index.js +9 -13
- package/package.json +5 -3
- package/src/components/AccessWrapper.vue +2 -14
- package/src/seasons/fifawc26/style.css +12 -0
- package/src/seasons/season24/style.css +12 -0
- package/src/seasons/season25/style.css +12 -0
- package/src/seasons/season26/style.css +12 -0
- package/src/seasons/season27/style.css +12 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessWrapper.vue.d.ts","sourceRoot":"","sources":["../../src/components/AccessWrapper.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccessWrapper.vue.d.ts","sourceRoot":"","sources":["../../src/components/AccessWrapper.vue"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAIlD,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;AA4GF,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -290,32 +290,28 @@ var R = /* @__PURE__ */ S(O, [
|
|
|
290
290
|
},
|
|
291
291
|
setup(e, { expose: t }) {
|
|
292
292
|
t();
|
|
293
|
-
let n = h(null)
|
|
293
|
+
let n = h(null);
|
|
294
294
|
f(() => {
|
|
295
|
-
if (
|
|
295
|
+
if (n.value) {
|
|
296
296
|
let e = n.value.offsetHeight;
|
|
297
297
|
document.documentElement.style.setProperty("--access-footer-h", `${e}px`);
|
|
298
298
|
}
|
|
299
|
-
}), p(() => {
|
|
300
|
-
window.removeEventListener("scroll", i), window.removeEventListener("resize", i);
|
|
301
299
|
});
|
|
302
|
-
let
|
|
300
|
+
let r = {
|
|
303
301
|
footerRef: n,
|
|
304
|
-
canScroll: r,
|
|
305
|
-
update: i,
|
|
306
302
|
BrandLogo: w,
|
|
307
303
|
SVGShape: R
|
|
308
304
|
};
|
|
309
|
-
return Object.defineProperty(
|
|
305
|
+
return Object.defineProperty(r, "__isScriptSetup", {
|
|
310
306
|
enumerable: !1,
|
|
311
307
|
value: !0
|
|
312
|
-
}),
|
|
308
|
+
}), r;
|
|
313
309
|
}
|
|
314
310
|
}), B = { class: "min-h-screen bg-gray-50 flex flex-col" }, V = { class: "sticky top-0 z-10 pt-[var(--access-pt)] pb-4 flex flex-col items-center gap-4" }, H = { href: "/" }, U = { class: "flex-1 flex items-center justify-center pb-[var(--access-footer-h)]" }, W = {
|
|
315
311
|
ref: "footerRef",
|
|
316
312
|
class: "fixed bottom-0 left-0 right-0 z-10"
|
|
317
313
|
}, G = { class: "bg-gray-50" };
|
|
318
|
-
function K(e, t, s, c, l,
|
|
314
|
+
function K(e, t, s, c, l, u) {
|
|
319
315
|
return m(), i("div", B, [
|
|
320
316
|
a("div", V, [
|
|
321
317
|
a("a", H, [o(c.BrandLogo, { class: "text-gray-900" })]),
|
|
@@ -329,10 +325,10 @@ function K(e, t, s, c, l, d) {
|
|
|
329
325
|
_(e.$slots, "header")
|
|
330
326
|
]),
|
|
331
327
|
a("div", U, [_(e.$slots, "default")]),
|
|
332
|
-
a("div", W, [a("div", {
|
|
333
|
-
class:
|
|
328
|
+
a("div", W, [t[0] ||= a("div", {
|
|
329
|
+
class: "pointer-events-none h-10",
|
|
334
330
|
style: { background: "linear-gradient(to top, var(--color-surface, #f9fafb), transparent)" }
|
|
335
|
-
}, null,
|
|
331
|
+
}, null, -1), a("div", G, [_(e.$slots, "footer")])], 512)
|
|
336
332
|
]);
|
|
337
333
|
}
|
|
338
334
|
var q = /* @__PURE__ */ S(z, [["render", K], ["__file", "/Users/kemal/Desktop/Kite/_Code/outs/ui/src/components/AccessWrapper.vue"]]), J = /* @__PURE__ */ s({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outs-tand-ing/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.20",
|
|
4
4
|
"description": "Shared Vue components, icons, and design tokens for Outs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -61,7 +61,8 @@
|
|
|
61
61
|
"release": "bun scripts/release.ts",
|
|
62
62
|
"release:patch": "bun scripts/release.ts patch",
|
|
63
63
|
"release:minor": "bun scripts/release.ts minor",
|
|
64
|
-
"release:major": "bun scripts/release.ts major"
|
|
64
|
+
"release:major": "bun scripts/release.ts major",
|
|
65
|
+
"palette": "bun scripts/generate-palette.ts"
|
|
65
66
|
},
|
|
66
67
|
"peerDependencies": {
|
|
67
68
|
"vue": "^3.5.0"
|
|
@@ -70,9 +71,10 @@
|
|
|
70
71
|
"@vitejs/plugin-vue": "^6.0.5",
|
|
71
72
|
"eslint": "^10.2.0",
|
|
72
73
|
"eslint-plugin-vue": "^10.8.0",
|
|
74
|
+
"sharp": "^0.34.5",
|
|
73
75
|
"typescript": "^6.0.2",
|
|
74
76
|
"typescript-eslint": "^8.58.0",
|
|
75
|
-
"vite": "^8.0.
|
|
77
|
+
"vite": "^8.0.5",
|
|
76
78
|
"vue": "^3.5.32",
|
|
77
79
|
"vue-tsc": "^3.2.6"
|
|
78
80
|
}
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
</div>
|
|
11
11
|
<div ref="footerRef" class="fixed bottom-0 left-0 right-0 z-10">
|
|
12
12
|
<div
|
|
13
|
-
class="pointer-events-none h-10
|
|
14
|
-
:class="canScroll ? 'opacity-100' : 'opacity-0'"
|
|
13
|
+
class="pointer-events-none h-10"
|
|
15
14
|
:style="{ background: 'linear-gradient(to top, var(--color-surface, #f9fafb), transparent)' }"
|
|
16
15
|
/>
|
|
17
16
|
<div class="bg-gray-50">
|
|
@@ -22,7 +21,7 @@
|
|
|
22
21
|
</template>
|
|
23
22
|
|
|
24
23
|
<script setup lang="ts">
|
|
25
|
-
import { ref, onMounted
|
|
24
|
+
import { ref, onMounted } from 'vue'
|
|
26
25
|
import type { LogoData } from '../utils/svg-parse'
|
|
27
26
|
import BrandLogo from './BrandLogo.vue'
|
|
28
27
|
import SVGShape from './SVGShape.vue'
|
|
@@ -33,22 +32,11 @@ defineProps<{
|
|
|
33
32
|
}>()
|
|
34
33
|
|
|
35
34
|
const footerRef = ref<HTMLElement | null>(null)
|
|
36
|
-
const canScroll = ref(true)
|
|
37
|
-
|
|
38
|
-
const update = () => (canScroll.value = document.documentElement.scrollHeight > window.innerHeight + 2)
|
|
39
35
|
|
|
40
36
|
onMounted(() => {
|
|
41
|
-
update()
|
|
42
|
-
window.addEventListener('scroll', update, { passive: true })
|
|
43
|
-
window.addEventListener('resize', update, { passive: true })
|
|
44
37
|
if (footerRef.value) {
|
|
45
38
|
const h = footerRef.value.offsetHeight
|
|
46
39
|
document.documentElement.style.setProperty('--access-footer-h', `${h}px`)
|
|
47
40
|
}
|
|
48
41
|
})
|
|
49
|
-
|
|
50
|
-
onUnmounted(() => {
|
|
51
|
-
window.removeEventListener('scroll', update)
|
|
52
|
-
window.removeEventListener('resize', update)
|
|
53
|
-
})
|
|
54
42
|
</script>
|
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
--color-border: #c8ceda;
|
|
11
11
|
--color-border-strong: #a5afc2;
|
|
12
12
|
--logo-stroke-color: var(--color-season);
|
|
13
|
+
/* tile-palette:start */
|
|
14
|
+
--palette4-1: #fc0718;
|
|
15
|
+
--palette4-2: #fcbb03;
|
|
16
|
+
--palette4-3: #01613a;
|
|
17
|
+
--palette4-4: #031792;
|
|
18
|
+
--palette6-1: #fc0718;
|
|
19
|
+
--palette6-2: #fc270c;
|
|
20
|
+
--palette6-3: #fd8c02;
|
|
21
|
+
--palette6-4: #fcbb03;
|
|
22
|
+
--palette6-5: #01613a;
|
|
23
|
+
--palette6-6: #031792;
|
|
24
|
+
/* tile-palette:end */
|
|
13
25
|
}
|
|
14
26
|
|
|
15
27
|
:root[data-season='wc26'][data-theme='dark'] {
|
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
--color-border: #ddd0f5;
|
|
11
11
|
--color-border-strong: #c4b0e8;
|
|
12
12
|
--logo-stroke-color: var(--color-season);
|
|
13
|
+
/* tile-palette:start */
|
|
14
|
+
--palette4-1: #de2d60;
|
|
15
|
+
--palette4-2: #14ddb7;
|
|
16
|
+
--palette4-3: #4c2ba2;
|
|
17
|
+
--palette4-4: #a9117a;
|
|
18
|
+
--palette6-1: #de2d60;
|
|
19
|
+
--palette6-2: #14ddb7;
|
|
20
|
+
--palette6-3: #18c5bc;
|
|
21
|
+
--palette6-4: #4c2ba2;
|
|
22
|
+
--palette6-5: #a9117a;
|
|
23
|
+
--palette6-6: #c31b6d;
|
|
24
|
+
/* tile-palette:end */
|
|
13
25
|
}
|
|
14
26
|
|
|
15
27
|
:root[data-season='24'][data-theme='dark'] {
|
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
--color-border: #f5d5c8;
|
|
11
11
|
--color-border-strong: #ecb8a5;
|
|
12
12
|
--logo-stroke-color: var(--color-season);
|
|
13
|
+
/* tile-palette:start */
|
|
14
|
+
--palette4-1: #f8423c;
|
|
15
|
+
--palette4-2: #fd7012;
|
|
16
|
+
--palette4-3: #fc9f0a;
|
|
17
|
+
--palette4-4: #fad413;
|
|
18
|
+
--palette6-1: #f8423c;
|
|
19
|
+
--palette6-2: #fb5023;
|
|
20
|
+
--palette6-3: #fd7012;
|
|
21
|
+
--palette6-4: #fc9f0a;
|
|
22
|
+
--palette6-5: #fcb10e;
|
|
23
|
+
--palette6-6: #fad413;
|
|
24
|
+
/* tile-palette:end */
|
|
13
25
|
}
|
|
14
26
|
|
|
15
27
|
:root[data-season='25'][data-theme='dark'] {
|
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
--color-border: #c8ceda;
|
|
11
11
|
--color-border-strong: #a5afc2;
|
|
12
12
|
--logo-stroke-color: var(--color-season);
|
|
13
|
+
/* tile-palette:start */
|
|
14
|
+
--palette4-1: #73eacf;
|
|
15
|
+
--palette4-2: #aba4fb;
|
|
16
|
+
--palette4-3: #a498fb;
|
|
17
|
+
--palette4-4: #9e8efa;
|
|
18
|
+
--palette6-1: #73eacf;
|
|
19
|
+
--palette6-2: #8cedd8;
|
|
20
|
+
--palette6-3: #c1cafa;
|
|
21
|
+
--palette6-4: #aba4fb;
|
|
22
|
+
--palette6-5: #a498fb;
|
|
23
|
+
--palette6-6: #9e8efa;
|
|
24
|
+
/* tile-palette:end */
|
|
13
25
|
}
|
|
14
26
|
|
|
15
27
|
:root[data-season='26'][data-theme='dark'] {
|
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
--color-border: #e2d6a4;
|
|
11
11
|
--color-border-strong: #c5b078;
|
|
12
12
|
--logo-stroke-color: var(--color-season);
|
|
13
|
+
/* tile-palette:start */
|
|
14
|
+
--palette4-1: #03c260;
|
|
15
|
+
--palette4-2: #06fbb6;
|
|
16
|
+
--palette4-3: #06395f;
|
|
17
|
+
--palette4-4: #1e0190;
|
|
18
|
+
--palette6-1: #03c260;
|
|
19
|
+
--palette6-2: #04ef88;
|
|
20
|
+
--palette6-3: #06fbb6;
|
|
21
|
+
--palette6-4: #06395f;
|
|
22
|
+
--palette6-5: #1e0190;
|
|
23
|
+
--palette6-6: #4600c5;
|
|
24
|
+
/* tile-palette:end */
|
|
13
25
|
}
|
|
14
26
|
|
|
15
27
|
:root[data-season='27'][data-theme='dark'] {
|