@outs-tand-ing/ui 0.0.2 → 0.0.6

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.
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ size?: 'xs' | 'sm' | 'md' | 'lg';
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ //# sourceMappingURL=BrandLogo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BrandLogo.vue.d.ts","sourceRoot":"","sources":["../../src/components/BrandLogo.vue"],"names":[],"mappings":"AAYA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CACjC,CAAC;AA6BF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export { default as PinkBox } from './components/PinkBox.vue';
2
+ export { default as BrandLogo } from './components/BrandLogo.vue';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,0BAA0B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,4BAA4B,CAAA"}
package/dist/index.js CHANGED
@@ -1,30 +1,53 @@
1
- import { defineComponent as s, openBlock as _, createElementBlock as i, toDisplayString as c } from "vue";
2
- const p = /* @__PURE__ */ s({
1
+ import { defineComponent as r, openBlock as _, createElementBlock as i, toDisplayString as p, normalizeClass as u } from "vue";
2
+ const l = /* @__PURE__ */ r({
3
3
  __name: "PinkBox",
4
4
  props: {
5
5
  label: { type: String, required: !1 }
6
6
  },
7
- setup(t, { expose: o }) {
8
- o();
7
+ setup(n, { expose: t }) {
8
+ t();
9
9
  const e = {};
10
10
  return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
11
11
  }
12
- }), a = (t, o) => {
13
- const e = t.__vccOpts || t;
14
- for (const [n, r] of o)
15
- e[n] = r;
12
+ }), a = (n, t) => {
13
+ const e = n.__vccOpts || n;
14
+ for (const [s, o] of t)
15
+ e[s] = o;
16
16
  return e;
17
- }, l = { class: "bg-pink-500 text-white rounded-lg p-4 font-medium" };
18
- function u(t, o, e, n, r, d) {
17
+ }, d = { class: "bg-pink-500 text-white rounded-lg p-4 font-medium" };
18
+ function f(n, t, e, s, o, c) {
19
19
  return _(), i(
20
20
  "div",
21
- l,
22
- c(e.label ?? "PinkBox"),
21
+ d,
22
+ p(e.label ?? "PinkBox"),
23
23
  1
24
24
  /* TEXT */
25
25
  );
26
26
  }
27
- const m = /* @__PURE__ */ a(p, [["render", u], ["__file", "/Users/kemal/Desktop/Kite/_Code/outs/ui/src/components/PinkBox.vue"]]);
27
+ const g = /* @__PURE__ */ a(l, [["render", f], ["__file", "/Users/kemal/Desktop/Kite/_Code/outs/ui/src/components/PinkBox.vue"]]), m = /* @__PURE__ */ r({
28
+ __name: "BrandLogo",
29
+ props: {
30
+ size: { type: String, required: !1 }
31
+ },
32
+ setup(n, { expose: t }) {
33
+ t();
34
+ const e = {};
35
+ return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
36
+ }
37
+ });
38
+ function x(n, t, e, s, o, c) {
39
+ return _(), i(
40
+ "span",
41
+ {
42
+ class: u(["font-posterama", { "text-base": e.size === "xs", "text-xl": e.size === "sm", "text-3xl": !e.size || e.size === "md", "text-5xl": e.size === "lg" }])
43
+ },
44
+ "OUTSTANDING",
45
+ 2
46
+ /* CLASS */
47
+ );
48
+ }
49
+ const B = /* @__PURE__ */ a(m, [["render", x], ["__file", "/Users/kemal/Desktop/Kite/_Code/outs/ui/src/components/BrandLogo.vue"]]);
28
50
  export {
29
- m as PinkBox
51
+ B as BrandLogo,
52
+ g as PinkBox
30
53
  };
package/package.json CHANGED
@@ -1,15 +1,19 @@
1
1
  {
2
2
  "name": "@outs-tand-ing/ui",
3
- "version": "0.0.2",
3
+ "version": "0.0.6",
4
+ "description": "Shared Vue components, icons, and design tokens for Outs",
4
5
  "type": "module",
5
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "*.css"
8
+ ],
6
9
  "main": "./dist/index.js",
7
10
  "types": "./dist/index.d.ts",
8
11
  "exports": {
9
12
  ".": {
10
13
  "types": "./dist/index.d.ts",
11
14
  "import": "./dist/index.js"
12
- }
15
+ },
16
+ "./typography.css": "./src/assets/typography.css"
13
17
  },
14
18
  "files": [
15
19
  "dist",
@@ -0,0 +1,47 @@
1
+ @font-face {
2
+ font-family: 'Posterama';
3
+ src: url('./fonts/Posterama_1984_W04_Black.ttf') format('truetype');
4
+ font-weight: 900;
5
+ font-style: normal;
6
+ font-display: swap;
7
+ }
8
+
9
+ .text-trim {
10
+ text-box: trim-both cap alphabetic;
11
+ }
12
+
13
+ @utility text-trim-start {
14
+ text-box: trim-start cap alphabetic;
15
+ }
16
+
17
+ @utility text-trim-end {
18
+ text-box: trim-end cap alphabetic;
19
+ }
20
+
21
+ @layer base {
22
+ h1,
23
+ h2,
24
+ h3,
25
+ h4,
26
+ h5,
27
+ h6 {
28
+ font-family: var(--font-heading);
29
+ color: var(--color-text-primary);
30
+ font-weight: 900;
31
+ line-height: 1.1;
32
+ letter-spacing: -0.02em;
33
+ transition: color 200ms ease, font-family 200ms ease;
34
+ }
35
+
36
+ h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
37
+
38
+ h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
39
+
40
+ h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); letter-spacing: -0.01em; }
41
+
42
+ h4 { font-size: 1.25rem; letter-spacing: 0; font-weight: 700; }
43
+
44
+ h5 { font-size: 1rem; letter-spacing: 0; font-weight: 700; }
45
+
46
+ h6 { font-size: 0.875rem; letter-spacing: 0; font-weight: 600; color: var(--color-text-secondary); }
47
+ }
@@ -0,0 +1,9 @@
1
+ <template>
2
+ <span class="font-posterama" :class="{ 'text-base': size === 'xs', 'text-xl': size === 'sm', 'text-3xl': !size || size === 'md', 'text-5xl': size === 'lg' }">OUTSTANDING</span>
3
+ </template>
4
+
5
+ <script setup lang="ts">
6
+ defineProps<{
7
+ size?: 'xs' | 'sm' | 'md' | 'lg'
8
+ }>()
9
+ </script>
package/src/index.ts CHANGED
@@ -1 +1,2 @@
1
1
  export { default as PinkBox } from './components/PinkBox.vue'
2
+ export { default as BrandLogo } from './components/BrandLogo.vue'