sprintify-ui 0.12.7 → 0.12.9

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.
@@ -26209,8 +26209,8 @@ const qI = ["onClick"], UI = ["onClick"], KI = { class: "px-1 py-1 h-full flex i
26209
26209
  },
26210
26210
  setup(n) {
26211
26211
  const t = n, e = S(() => {
26212
- const o = ["text-left flex w-full"];
26213
- return t.collapsed || o.push("rounded-md"), t.active ? t.dark ? o.push("bg-slate-700 text-white") : o.push("bg-slate-100 text-primary-700") : t.dark ? o.push("hover:bg-slate-800 hover:text-white text-slate-300") : o.push("hover:bg-slate-50 hover:text-slate-900 text-slate-800"), t.size == "xs" && o.push("text-[13px] px-2.5 py-1 font-medium"), t.size == "sm" && o.push("text-sm px-3 py-1.5 font-medium"), t.size == "md" && o.push("text-base px-3 py-2 font-medium"), o;
26212
+ const o = ["text-left flex w-full navbar-side-item-content"];
26213
+ return t.collapsed || o.push("rounded-md"), t.active ? t.dark ? o.push("bg-slate-700 text-white active") : o.push("bg-slate-100 text-primary-700 active") : t.dark ? o.push("hover:bg-slate-800 hover:text-white text-slate-300") : o.push("hover:bg-slate-50 hover:text-slate-900 text-slate-800"), t.size == "xs" && o.push("text-[13px] px-2.5 py-1 font-medium"), t.size == "sm" && o.push("text-sm px-3 py-1.5 font-medium"), t.size == "md" && o.push("text-base px-3 py-2 font-medium"), o;
26214
26214
  }), r = S(() => {
26215
26215
  const o = ["shrink-0 leading-none inline-block"];
26216
26216
  return t.active ? o.push("opacity-100") : o.push("opacity-70 group-hover:opacity-100"), t.size == "xs" && o.push("w-3.5 h-3.5"), t.size == "sm" && o.push("w-4 h-4"), t.size == "md" && o.push("w-5 h-5"), t.collapsed || o.push("mr-2"), o;
@@ -26393,13 +26393,13 @@ const qI = ["onClick"], UI = ["onClick"], KI = { class: "px-1 py-1 h-full flex i
26393
26393
  type: Boolean
26394
26394
  }
26395
26395
  }
26396
- }), e3 = { class: "md:col-span-1" }, t3 = { class: "text-base font-semibold leading-6 text-slate-900" }, n3 = {
26396
+ }), e3 = { class: "md:col-span-1" }, t3 = { class: "text-base font-semibold leading-6 text-slate-900 base-panel-title" }, n3 = {
26397
26397
  key: 0,
26398
- class: "mt-1 text-sm leading-normal opacity-50"
26398
+ class: "mt-1 text-sm leading-normal opacity-50 base-panel-description"
26399
26399
  }, r3 = { class: "mt-5 md:col-span-2 md:mt-0" };
26400
26400
  function o3(n, t, e, r, o, i) {
26401
26401
  return k(), $("div", {
26402
- class: j(["md:grid md:grid-cols-3 md:gap-8", [n.bordered ? "mb-8 pb-8 border-b border-slate-300" : ""]])
26402
+ class: j(["base-panel md:grid md:grid-cols-3 md:gap-8", [n.bordered ? "mb-8 pb-8 border-b border-slate-300" : ""]])
26403
26403
  }, [
26404
26404
  A("div", e3, [
26405
26405
  A("h3", t3, ie(n.title), 1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.12.7",
3
+ "version": "0.12.9",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "generate-llm-txt": "node scripts/generate-llm-txt.js",
@@ -62,7 +62,7 @@ const props = defineProps({
62
62
  });
63
63
 
64
64
  const classes = computed(() => {
65
- const classList = ['text-left flex w-full'];
65
+ const classList = ['text-left flex w-full navbar-side-item-content'];
66
66
 
67
67
  if (!props.collapsed) {
68
68
  classList.push('rounded-md');
@@ -70,9 +70,9 @@ const classes = computed(() => {
70
70
 
71
71
  if (props.active) {
72
72
  if (props.dark) {
73
- classList.push('bg-slate-700 text-white');
73
+ classList.push('bg-slate-700 text-white active');
74
74
  } else {
75
- classList.push('bg-slate-100 text-primary-700');
75
+ classList.push('bg-slate-100 text-primary-700 active');
76
76
  }
77
77
  } else {
78
78
  if (props.dark) {
@@ -1,15 +1,15 @@
1
1
  <template>
2
2
  <div
3
- class="md:grid md:grid-cols-3 md:gap-8"
3
+ class="base-panel md:grid md:grid-cols-3 md:gap-8"
4
4
  :class="[bordered ? 'mb-8 pb-8 border-b border-slate-300' : '']"
5
5
  >
6
6
  <div class="md:col-span-1">
7
- <h3 class="text-base font-semibold leading-6 text-slate-900">
7
+ <h3 class="text-base font-semibold leading-6 text-slate-900 base-panel-title">
8
8
  {{ title }}
9
9
  </h3>
10
10
  <p
11
11
  v-if="description"
12
- class="mt-1 text-sm leading-normal opacity-50"
12
+ class="mt-1 text-sm leading-normal opacity-50 base-panel-description"
13
13
  >
14
14
  {{ description }}
15
15
  </p>