@kopexa/theme 1.7.7 → 2.0.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.
Files changed (139) hide show
  1. package/dist/{chunk-EXBKQDH5.mjs → chunk-3PCDCW7G.mjs} +1 -1
  2. package/dist/{chunk-UEMJVVVF.mjs → chunk-5DOB3IBE.mjs} +14 -1
  3. package/dist/{chunk-SHHD2WUZ.mjs → chunk-7VZZASRG.mjs} +1 -1
  4. package/dist/chunk-BETLBSSF.mjs +23 -0
  5. package/dist/chunk-BWB7MWRC.mjs +22 -0
  6. package/dist/chunk-CPERWXKN.mjs +21 -0
  7. package/dist/chunk-DI54XTS5.mjs +56 -0
  8. package/dist/chunk-GRPMKEI2.mjs +34 -0
  9. package/dist/{chunk-ZL6FAOXE.mjs → chunk-HHOMDBMZ.mjs} +1 -1
  10. package/dist/chunk-HWEYNK3O.mjs +25 -0
  11. package/dist/{chunk-U32YEQZ5.mjs → chunk-IHITEH7V.mjs} +15 -9
  12. package/dist/chunk-IHW4FWFB.mjs +71 -0
  13. package/dist/{chunk-TJDRYBGW.mjs → chunk-JXQPOORM.mjs} +15 -9
  14. package/dist/{chunk-MWG2OZMD.mjs → chunk-LAJQAXSV.mjs} +7 -9
  15. package/dist/{chunk-VCLXE57S.mjs → chunk-LM7MKBHT.mjs} +7 -1
  16. package/dist/chunk-LMCM4CW2.mjs +22 -0
  17. package/dist/chunk-M3GQ563Q.mjs +33 -0
  18. package/dist/chunk-NFOF75HQ.mjs +106 -0
  19. package/dist/{chunk-JHKTRIIA.mjs → chunk-RQYYDG26.mjs} +4 -2
  20. package/dist/chunk-SPQE7K66.mjs +18 -0
  21. package/dist/chunk-TVC4THD6.mjs +16 -0
  22. package/dist/chunk-URGRCBNW.mjs +27 -0
  23. package/dist/chunk-VSVGOX3P.mjs +48 -0
  24. package/dist/chunk-XGUDXC5P.mjs +26 -0
  25. package/dist/{chunk-755GJHKQ.mjs → chunk-XRKUQMGU.mjs} +1 -1
  26. package/dist/{chunk-JQ74U2S3.mjs → chunk-YH6TDPK7.mjs} +4 -4
  27. package/dist/chunk-Z7D56R5U.mjs +70 -0
  28. package/dist/components/alert-dialog.d.mts +9 -9
  29. package/dist/components/alert-dialog.d.ts +9 -9
  30. package/dist/components/alert-dialog.js +11 -2
  31. package/dist/components/alert-dialog.mjs +1 -1
  32. package/dist/components/autocomplete.d.mts +73 -0
  33. package/dist/components/autocomplete.d.ts +73 -0
  34. package/dist/components/autocomplete.js +173 -0
  35. package/dist/components/autocomplete.mjs +8 -0
  36. package/dist/components/avatar.mjs +2 -2
  37. package/dist/components/button.d.mts +15 -0
  38. package/dist/components/button.d.ts +15 -0
  39. package/dist/components/button.js +12 -6
  40. package/dist/components/button.mjs +2 -2
  41. package/dist/components/chip.d.mts +3 -0
  42. package/dist/components/chip.d.ts +3 -0
  43. package/dist/components/chip.js +4 -2
  44. package/dist/components/chip.mjs +1 -1
  45. package/dist/components/color-highlight-button.d.mts +36 -0
  46. package/dist/components/color-highlight-button.d.ts +36 -0
  47. package/dist/components/color-highlight-button.js +45 -0
  48. package/dist/components/color-highlight-button.mjs +6 -0
  49. package/dist/components/command.d.mts +9 -9
  50. package/dist/components/command.d.ts +9 -9
  51. package/dist/components/dialog.js +7 -9
  52. package/dist/components/dialog.mjs +1 -1
  53. package/dist/components/drawer.d.mts +3 -3
  54. package/dist/components/drawer.d.ts +3 -3
  55. package/dist/components/drawer.js +21 -17
  56. package/dist/components/drawer.mjs +2 -2
  57. package/dist/components/dropdown-menu.js +1 -1
  58. package/dist/components/dropdown-menu.mjs +1 -1
  59. package/dist/components/editor-basic.d.mts +44 -0
  60. package/dist/components/editor-basic.d.ts +44 -0
  61. package/dist/components/editor-basic.js +58 -0
  62. package/dist/components/editor-basic.mjs +6 -0
  63. package/dist/components/editor-spinner.d.mts +60 -0
  64. package/dist/components/editor-spinner.d.ts +60 -0
  65. package/dist/components/editor-spinner.js +40 -0
  66. package/dist/components/editor-spinner.mjs +6 -0
  67. package/dist/components/hover-card.mjs +2 -2
  68. package/dist/components/index.d.mts +13 -0
  69. package/dist/components/index.d.ts +13 -0
  70. package/dist/components/index.js +678 -198
  71. package/dist/components/index.mjs +93 -41
  72. package/dist/components/input-group.d.mts +5 -0
  73. package/dist/components/input-group.d.ts +5 -0
  74. package/dist/components/input-group.js +49 -0
  75. package/dist/components/input-group.mjs +6 -0
  76. package/dist/components/input-wrapper.d.mts +25 -0
  77. package/dist/components/input-wrapper.d.ts +25 -0
  78. package/dist/components/input-wrapper.js +72 -0
  79. package/dist/components/input-wrapper.mjs +6 -0
  80. package/dist/components/input.d.mts +30 -129
  81. package/dist/components/input.d.ts +30 -129
  82. package/dist/components/input.js +58 -71
  83. package/dist/components/input.mjs +2 -2
  84. package/dist/components/kbd.d.mts +35 -0
  85. package/dist/components/kbd.d.ts +35 -0
  86. package/dist/components/kbd.js +47 -0
  87. package/dist/components/kbd.mjs +6 -0
  88. package/dist/components/label.d.mts +22 -0
  89. package/dist/components/label.d.ts +22 -0
  90. package/dist/components/label.js +46 -0
  91. package/dist/components/label.mjs +6 -0
  92. package/dist/components/popover.d.mts +79 -14
  93. package/dist/components/popover.d.ts +79 -14
  94. package/dist/components/popover.js +41 -4
  95. package/dist/components/popover.mjs +2 -2
  96. package/dist/components/scroll-area.d.mts +50 -0
  97. package/dist/components/scroll-area.d.ts +50 -0
  98. package/dist/components/scroll-area.js +42 -0
  99. package/dist/components/scroll-area.mjs +6 -0
  100. package/dist/components/select.d.mts +76 -0
  101. package/dist/components/select.d.ts +76 -0
  102. package/dist/components/select.js +145 -0
  103. package/dist/components/select.mjs +7 -0
  104. package/dist/components/separator.d.mts +2 -2
  105. package/dist/components/separator.d.ts +2 -2
  106. package/dist/components/separator.js +7 -1
  107. package/dist/components/separator.mjs +1 -1
  108. package/dist/components/skeleton-avatar.mjs +3 -3
  109. package/dist/components/slash-dropdown-menu.d.mts +54 -0
  110. package/dist/components/slash-dropdown-menu.d.ts +54 -0
  111. package/dist/components/slash-dropdown-menu.js +55 -0
  112. package/dist/components/slash-dropdown-menu.mjs +7 -0
  113. package/dist/components/standard-chip.d.mts +4 -0
  114. package/dist/components/standard-chip.d.ts +4 -0
  115. package/dist/components/standard-chip.js +4 -2
  116. package/dist/components/standard-chip.mjs +2 -2
  117. package/dist/components/textarea.d.mts +25 -0
  118. package/dist/components/textarea.d.ts +25 -0
  119. package/dist/components/textarea.js +72 -0
  120. package/dist/components/textarea.mjs +7 -0
  121. package/dist/components/toolbar.d.mts +34 -0
  122. package/dist/components/toolbar.d.ts +34 -0
  123. package/dist/components/toolbar.js +46 -0
  124. package/dist/components/toolbar.mjs +6 -0
  125. package/dist/editor.css +784 -0
  126. package/dist/index.css +28 -1
  127. package/dist/index.d.mts +13 -0
  128. package/dist/index.d.ts +13 -0
  129. package/dist/index.js +678 -198
  130. package/dist/index.mjs +93 -41
  131. package/dist/utils/classes.d.mts +13 -1
  132. package/dist/utils/classes.d.ts +13 -1
  133. package/dist/utils/classes.js +14 -0
  134. package/dist/utils/classes.mjs +3 -1
  135. package/package.json +24 -18
  136. package/dist/chunk-CPEP2RO4.mjs +0 -17
  137. package/dist/chunk-IKJHZT2S.mjs +0 -19
  138. package/dist/chunk-UMSU2ZEG.mjs +0 -96
  139. /package/dist/{chunk-3ZVSVLZD.mjs → chunk-UWWO4AVU.mjs} +0 -0
@@ -0,0 +1,34 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const toolbar: tailwind_variants.TVReturnType<{
5
+ color: {
6
+ default: string;
7
+ };
8
+ }, {
9
+ root: string;
10
+ button: string;
11
+ separator: string;
12
+ group: string;
13
+ }, undefined, {
14
+ color: {
15
+ default: string;
16
+ };
17
+ }, {
18
+ root: string;
19
+ button: string;
20
+ separator: string;
21
+ group: string;
22
+ }, tailwind_variants.TVReturnType<{
23
+ color: {
24
+ default: string;
25
+ };
26
+ }, {
27
+ root: string;
28
+ button: string;
29
+ separator: string;
30
+ group: string;
31
+ }, undefined, unknown, unknown, undefined>>;
32
+ type ToolbarVariantProps = VariantProps<typeof toolbar>;
33
+
34
+ export { type ToolbarVariantProps, toolbar };
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/toolbar.ts
21
+ var toolbar_exports = {};
22
+ __export(toolbar_exports, {
23
+ toolbar: () => toolbar
24
+ });
25
+ module.exports = __toCommonJS(toolbar_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var toolbar = (0, import_tailwind_variants.tv)({
28
+ slots: {
29
+ root: "flex items-center gap-2.5 rounded-md p-1",
30
+ button: "shrink-0",
31
+ separator: "bg-border h-6 w-px shrink-0",
32
+ group: "flex items-center gap-1"
33
+ },
34
+ variants: {
35
+ color: {
36
+ default: "bg-popover outline-border shadow-xs outline"
37
+ }
38
+ },
39
+ defaultVariants: {
40
+ color: "default"
41
+ }
42
+ });
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ toolbar
46
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ toolbar
3
+ } from "../chunk-BWB7MWRC.mjs";
4
+ export {
5
+ toolbar
6
+ };