@kopexa/theme 17.11.3 → 17.12.0

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.
@@ -24,7 +24,9 @@ var editorBasic = tv({
24
24
  "h-auto min-h-0",
25
25
  "[&_.tiptap.ProseMirror]:py-4",
26
26
  "[&_.tiptap.ProseMirror]:px-6",
27
- "[&_.tiptap.ProseMirror]:min-h-0"
27
+ "[&_.tiptap.ProseMirror]:min-h-0",
28
+ // Callout node spacing
29
+ "[&_[data-type='callout']]:mt-5"
28
30
  ],
29
31
  toolbarGroup: "flex items-center gap-0.5"
30
32
  },
@@ -6,8 +6,14 @@ import {
6
6
  import { tv } from "tailwind-variants";
7
7
  var slashDropdownMenu = tv({
8
8
  slots: {
9
- card: [...popoverContentClasses, "p-0", "flex flex-col outline-none"],
10
- body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full bg-popover"],
9
+ card: [
10
+ ...popoverContentClasses,
11
+ "p-0",
12
+ "flex flex-col outline-none overflow-hidden"
13
+ ],
14
+ body: [
15
+ "p-1.5 flex-auto grow shrink overflow-y-auto w-full bg-popover rounded-md"
16
+ ],
11
17
  cardItemGroup: [
12
18
  "relative flex align-middle min-w-max",
13
19
  "flex-col justify-center"
@@ -48,7 +48,9 @@ var editorBasic = (0, import_tailwind_variants.tv)({
48
48
  "h-auto min-h-0",
49
49
  "[&_.tiptap.ProseMirror]:py-4",
50
50
  "[&_.tiptap.ProseMirror]:px-6",
51
- "[&_.tiptap.ProseMirror]:min-h-0"
51
+ "[&_.tiptap.ProseMirror]:min-h-0",
52
+ // Callout node spacing
53
+ "[&_[data-type='callout']]:mt-5"
52
54
  ],
53
55
  toolbarGroup: "flex items-center gap-0.5"
54
56
  },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  editorBasic
3
- } from "../chunk-Q72M565Q.mjs";
3
+ } from "../chunk-6DUVIKEU.mjs";
4
4
  export {
5
5
  editorBasic
6
6
  };
@@ -2354,7 +2354,9 @@ var editorBasic = (0, import_tailwind_variants26.tv)({
2354
2354
  "h-auto min-h-0",
2355
2355
  "[&_.tiptap.ProseMirror]:py-4",
2356
2356
  "[&_.tiptap.ProseMirror]:px-6",
2357
- "[&_.tiptap.ProseMirror]:min-h-0"
2357
+ "[&_.tiptap.ProseMirror]:min-h-0",
2358
+ // Callout node spacing
2359
+ "[&_[data-type='callout']]:mt-5"
2358
2360
  ],
2359
2361
  toolbarGroup: "flex items-center gap-0.5"
2360
2362
  },
@@ -3876,8 +3878,14 @@ var skeletonAvatar = (0, import_tailwind_variants57.tv)({
3876
3878
  var import_tailwind_variants58 = require("tailwind-variants");
3877
3879
  var slashDropdownMenu = (0, import_tailwind_variants58.tv)({
3878
3880
  slots: {
3879
- card: [...popoverContentClasses, "p-0", "flex flex-col outline-none"],
3880
- body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full bg-popover"],
3881
+ card: [
3882
+ ...popoverContentClasses,
3883
+ "p-0",
3884
+ "flex flex-col outline-none overflow-hidden"
3885
+ ],
3886
+ body: [
3887
+ "p-1.5 flex-auto grow shrink overflow-y-auto w-full bg-popover rounded-md"
3888
+ ],
3881
3889
  cardItemGroup: [
3882
3890
  "relative flex align-middle min-w-max",
3883
3891
  "flex-col justify-center"
@@ -36,7 +36,7 @@ import {
36
36
  } from "../chunk-VNQEJU4P.mjs";
37
37
  import {
38
38
  slashDropdownMenu
39
- } from "../chunk-LIKA7I7Y.mjs";
39
+ } from "../chunk-U4BRPFG2.mjs";
40
40
  import {
41
41
  spinner
42
42
  } from "../chunk-4UDOCFU5.mjs";
@@ -120,7 +120,7 @@ import {
120
120
  } from "../chunk-3PCDCW7G.mjs";
121
121
  import {
122
122
  editorBasic
123
- } from "../chunk-Q72M565Q.mjs";
123
+ } from "../chunk-6DUVIKEU.mjs";
124
124
  import {
125
125
  editorSpinner
126
126
  } from "../chunk-TVC4THD6.mjs";
@@ -34,8 +34,14 @@ var popoverContentClasses = [
34
34
  // src/components/slash-dropdown-menu.ts
35
35
  var slashDropdownMenu = (0, import_tailwind_variants.tv)({
36
36
  slots: {
37
- card: [...popoverContentClasses, "p-0", "flex flex-col outline-none"],
38
- body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full bg-popover"],
37
+ card: [
38
+ ...popoverContentClasses,
39
+ "p-0",
40
+ "flex flex-col outline-none overflow-hidden"
41
+ ],
42
+ body: [
43
+ "p-1.5 flex-auto grow shrink overflow-y-auto w-full bg-popover rounded-md"
44
+ ],
39
45
  cardItemGroup: [
40
46
  "relative flex align-middle min-w-max",
41
47
  "flex-col justify-center"
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  slashDropdownMenu
3
- } from "../chunk-LIKA7I7Y.mjs";
3
+ } from "../chunk-U4BRPFG2.mjs";
4
4
  import "../chunk-6IZPAS4O.mjs";
5
5
  export {
6
6
  slashDropdownMenu
package/dist/index.js CHANGED
@@ -2354,7 +2354,9 @@ var editorBasic = (0, import_tailwind_variants26.tv)({
2354
2354
  "h-auto min-h-0",
2355
2355
  "[&_.tiptap.ProseMirror]:py-4",
2356
2356
  "[&_.tiptap.ProseMirror]:px-6",
2357
- "[&_.tiptap.ProseMirror]:min-h-0"
2357
+ "[&_.tiptap.ProseMirror]:min-h-0",
2358
+ // Callout node spacing
2359
+ "[&_[data-type='callout']]:mt-5"
2358
2360
  ],
2359
2361
  toolbarGroup: "flex items-center gap-0.5"
2360
2362
  },
@@ -3876,8 +3878,14 @@ var skeletonAvatar = (0, import_tailwind_variants57.tv)({
3876
3878
  var import_tailwind_variants58 = require("tailwind-variants");
3877
3879
  var slashDropdownMenu = (0, import_tailwind_variants58.tv)({
3878
3880
  slots: {
3879
- card: [...popoverContentClasses, "p-0", "flex flex-col outline-none"],
3880
- body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full bg-popover"],
3881
+ card: [
3882
+ ...popoverContentClasses,
3883
+ "p-0",
3884
+ "flex flex-col outline-none overflow-hidden"
3885
+ ],
3886
+ body: [
3887
+ "p-1.5 flex-auto grow shrink overflow-y-auto w-full bg-popover rounded-md"
3888
+ ],
3881
3889
  cardItemGroup: [
3882
3890
  "relative flex align-middle min-w-max",
3883
3891
  "flex-col justify-center"
package/dist/index.mjs CHANGED
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-VNQEJU4P.mjs";
38
38
  import {
39
39
  slashDropdownMenu
40
- } from "./chunk-LIKA7I7Y.mjs";
40
+ } from "./chunk-U4BRPFG2.mjs";
41
41
  import {
42
42
  spinner
43
43
  } from "./chunk-4UDOCFU5.mjs";
@@ -121,7 +121,7 @@ import {
121
121
  } from "./chunk-3PCDCW7G.mjs";
122
122
  import {
123
123
  editorBasic
124
- } from "./chunk-Q72M565Q.mjs";
124
+ } from "./chunk-6DUVIKEU.mjs";
125
125
  import {
126
126
  editorSpinner
127
127
  } from "./chunk-TVC4THD6.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/theme",
3
- "version": "17.11.3",
3
+ "version": "17.12.0",
4
4
  "description": "The default theme for Kopexa components",
5
5
  "keywords": [
6
6
  "theme",
@@ -66,7 +66,7 @@
66
66
  "tailwind-merge": "3.4.0",
67
67
  "tailwind-variants": "^3.2.2",
68
68
  "tw-animate-css": "^1.4.0",
69
- "@kopexa/shared-utils": "17.0.22"
69
+ "@kopexa/shared-utils": "17.0.24"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "tailwindcss": ">=4.0.0"