@septkit/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.
package/dist/config.css CHANGED
@@ -38,3 +38,38 @@
38
38
 
39
39
  --border-color: var(--color-base-content);
40
40
  }
41
+
42
+ :root {
43
+ --color-ocean-gray-00: #ffffff;
44
+ --color-ocean-gray-25: #fafbfb;
45
+ --color-ocean-gray-50: #f5f6f7;
46
+ --color-ocean-gray-75: #eaeeef;
47
+ --color-ocean-gray-100: #e1e4e6;
48
+ --color-ocean-gray-150: #c6ced1;
49
+ --color-ocean-gray-200: #bac1c4;
50
+ --color-ocean-gray-250: #9fadb2;
51
+ --color-ocean-gray-300: #889499;
52
+ --color-ocean-gray-350: #72858c;
53
+ --color-ocean-gray-400: #617177;
54
+ --color-ocean-gray-450: #3f555e;
55
+ --color-ocean-gray-500: #394d55;
56
+ --color-ocean-gray-550: #34464d;
57
+ --color-ocean-gray-600: #2e3e44;
58
+ --color-ocean-gray-650: #27353b;
59
+ --color-ocean-gray-700: #222e33;
60
+ --color-ocean-gray-750: #1f272b;
61
+ --color-ocean-gray-800: #171f22;
62
+ --color-ocean-gray-850: #11171a;
63
+ --color-ocean-gray-900: #0b0f11;
64
+
65
+ --color-chart-1: #f7931e;
66
+ --color-chart-2: #40535b;
67
+ --color-chart-3: #2798aa;
68
+ --color-chart-4: #6da89c;
69
+ --color-chart-5: #a4cadd;
70
+ --color-chart-6: #97b42d;
71
+ --color-chart-7: #ffcb05;
72
+ --color-chart-8: #ee652e;
73
+ --color-chart-9: #528694;
74
+ --color-chart-10: #a10f3b;
75
+ }
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, useTemplateRef as k, ref as _, computed as t, createElementBlock as l, openBlock as a, createElementVNode as z, withDirectives as C, normalizeClass as O, withModifiers as S, renderSlot as r, unref as B } from "vue";
1
+ import { defineComponent as h, useTemplateRef as k, ref as _, computed as o, createElementBlock as l, openBlock as a, createElementVNode as z, withDirectives as C, normalizeClass as O, withModifiers as S, renderSlot as r, unref as B } from "vue";
2
2
  import { VOnClickOutside as D } from "../external/.pnpm/@vueuse_components@13.5.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/components/index.js";
3
3
  const x = ["open"], q = {
4
4
  "data-testid": "dropdown-menu",
@@ -16,7 +16,7 @@ const x = ["open"], q = {
16
16
  },
17
17
  emits: ["open", "close"],
18
18
  setup(c, { expose: u, emit: p }) {
19
- const n = c, i = p, d = k("details-ref"), e = _(!1), b = t(
19
+ const n = c, i = p, d = k("details-ref"), e = _(!1), b = o(
20
20
  () => ({
21
21
  neutral: "btn-neutral",
22
22
  primary: "btn-primary",
@@ -28,7 +28,7 @@ const x = ["open"], q = {
28
28
  error: "btn-error",
29
29
  undefined: ""
30
30
  })[n.color ?? "undefined"]
31
- ), f = t(
31
+ ), f = o(
32
32
  () => ({
33
33
  outline: "btn-outline",
34
34
  dash: "btn-dash",
@@ -37,7 +37,7 @@ const x = ["open"], q = {
37
37
  link: "btn-link",
38
38
  undefined: ""
39
39
  })[n.variant ?? "undefined"]
40
- ), m = t(
40
+ ), m = o(
41
41
  () => ({
42
42
  xs: "btn-xs",
43
43
  sm: "btn-sm",
@@ -46,7 +46,7 @@ const x = ["open"], q = {
46
46
  xl: "btn-xl",
47
47
  undefined: ""
48
48
  })[n.size ?? "undefined"]
49
- ), v = t(
49
+ ), v = o(
50
50
  () => ({
51
51
  wide: "btn-wide",
52
52
  block: "btn-block",
@@ -62,7 +62,7 @@ const x = ["open"], q = {
62
62
  e.value = !1, i("close");
63
63
  }
64
64
  function g() {
65
- console.debug({ level: "debug", msg: "opening dropdown" }), e.value = !0, i("open");
65
+ e.value = !0, i("open");
66
66
  }
67
67
  function y() {
68
68
  e.value ? s() : g();
@@ -73,7 +73,7 @@ const x = ["open"], q = {
73
73
  /** Reactive boolean of the dropdown state */
74
74
  isOpen: e,
75
75
  id: n.id
76
- }), (o, E) => (a(), l("details", {
76
+ }), (t, E) => (a(), l("details", {
77
77
  "data-testid": "dropdown-wrapper",
78
78
  ref: "details-ref",
79
79
  class: "dropdown",
@@ -88,13 +88,13 @@ const x = ["open"], q = {
88
88
  f.value,
89
89
  m.value,
90
90
  v.value,
91
- { "btn-active": o.active, "btn-disabled": o.disabled }
91
+ { "btn-active": t.active, "btn-disabled": t.disabled }
92
92
  ]])
93
93
  }, [
94
- r(o.$slots, "label")
94
+ r(t.$slots, "label")
95
95
  ], 2),
96
96
  C((a(), l("ul", q, [
97
- r(o.$slots, "items")
97
+ r(t.$slots, "items")
98
98
  ])), [
99
99
  [
100
100
  B(D),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@septkit/ui",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "source": "lib/index.ts",
6
6
  "scripts": {