@outs-tand-ing/ui 0.0.4 → 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.
@@ -1,5 +1,5 @@
1
1
  type __VLS_Props = {
2
- size?: 'sm' | 'md' | 'lg';
2
+ size?: 'xs' | 'sm' | 'md' | 'lg';
3
3
  };
4
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
5
  declare const _default: typeof __VLS_export;
@@ -1 +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,CAAA;CAC1B,CAAC;AA6BF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
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.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as s, openBlock as _, createElementBlock as i, toDisplayString as p, normalizeClass as u } from "vue";
2
- const l = /* @__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 }
@@ -11,11 +11,11 @@ const l = /* @__PURE__ */ s({
11
11
  }
12
12
  }), a = (n, t) => {
13
13
  const e = n.__vccOpts || n;
14
- for (const [o, r] of t)
15
- e[o] = r;
14
+ for (const [s, o] of t)
15
+ e[s] = o;
16
16
  return e;
17
17
  }, d = { class: "bg-pink-500 text-white rounded-lg p-4 font-medium" };
18
- function f(n, t, e, o, r, c) {
18
+ function f(n, t, e, s, o, c) {
19
19
  return _(), i(
20
20
  "div",
21
21
  d,
@@ -24,7 +24,7 @@ function f(n, t, e, o, r, c) {
24
24
  /* TEXT */
25
25
  );
26
26
  }
27
- const g = /* @__PURE__ */ a(l, [["render", f], ["__file", "/Users/kemal/Desktop/Kite/_Code/outs/ui/src/components/PinkBox.vue"]]), m = /* @__PURE__ */ s({
27
+ const g = /* @__PURE__ */ a(l, [["render", f], ["__file", "/Users/kemal/Desktop/Kite/_Code/outs/ui/src/components/PinkBox.vue"]]), m = /* @__PURE__ */ r({
28
28
  __name: "BrandLogo",
29
29
  props: {
30
30
  size: { type: String, required: !1 }
@@ -35,11 +35,11 @@ const g = /* @__PURE__ */ a(l, [["render", f], ["__file", "/Users/kemal/Desktop/
35
35
  return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
36
36
  }
37
37
  });
38
- function x(n, t, e, o, r, c) {
38
+ function x(n, t, e, s, o, c) {
39
39
  return _(), i(
40
40
  "span",
41
41
  {
42
- class: u(["font-posterama text-gray-900", { "text-xl": e.size === "sm", "text-3xl": !e.size || e.size === "md", "text-5xl": e.size === "lg" }])
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
43
  },
44
44
  "OUTSTANDING",
45
45
  2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outs-tand-ing/ui",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "Shared Vue components, icons, and design tokens for Outs",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -5,3 +5,43 @@
5
5
  font-style: normal;
6
6
  font-display: swap;
7
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
+ }
@@ -1,9 +1,9 @@
1
1
  <template>
2
- <span class="font-posterama text-gray-900" :class="{ 'text-xl': size === 'sm', 'text-3xl': !size || size === 'md', 'text-5xl': size === 'lg' }">OUTSTANDING</span>
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
3
  </template>
4
4
 
5
5
  <script setup lang="ts">
6
6
  defineProps<{
7
- size?: 'sm' | 'md' | 'lg'
7
+ size?: 'xs' | 'sm' | 'md' | 'lg'
8
8
  }>()
9
9
  </script>