@kopexa/theme 2.0.0 → 13.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.
- package/dist/{chunk-NFOF75HQ.mjs → chunk-2N3PG3TK.mjs} +1 -1
- package/dist/chunk-2NA54PNL.mjs +43 -0
- package/dist/{chunk-7O57EDVS.mjs → chunk-63C4SFQK.mjs} +20 -10
- package/dist/{chunk-5DOB3IBE.mjs → chunk-6IZPAS4O.mjs} +5 -0
- package/dist/{chunk-GA6UOB2D.mjs → chunk-7POAXCN2.mjs} +1 -1
- package/dist/{chunk-XAHAVJUM.mjs → chunk-A3F4CV54.mjs} +8 -1
- package/dist/{chunk-M3GQ563Q.mjs → chunk-ARLLAC5V.mjs} +1 -1
- package/dist/{chunk-Z7D56R5U.mjs → chunk-CWAFYX5G.mjs} +2 -2
- package/dist/{chunk-IHITEH7V.mjs → chunk-IX46TOS3.mjs} +1 -1
- package/dist/{chunk-IHW4FWFB.mjs → chunk-K3EVZATS.mjs} +1 -1
- package/dist/chunk-M4TXKRUU.mjs +7 -0
- package/dist/{chunk-URGRCBNW.mjs → chunk-NNKYGAZC.mjs} +1 -1
- package/dist/chunk-NUEQ5FLX.mjs +50 -0
- package/dist/{chunk-HHOMDBMZ.mjs → chunk-SYYY32OX.mjs} +1 -1
- package/dist/{chunk-DI54XTS5.mjs → chunk-TQVRNEIH.mjs} +1 -1
- package/dist/chunk-URVHE3OS.mjs +119 -0
- package/dist/{chunk-XRKUQMGU.mjs → chunk-UTCVHVWF.mjs} +1 -1
- package/dist/{chunk-YH6TDPK7.mjs → chunk-VDMXPFII.mjs} +1 -1
- package/dist/chunk-WQ446TVH.mjs +39 -0
- package/dist/components/autocomplete.js +5 -0
- package/dist/components/autocomplete.mjs +3 -3
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/button.mjs +2 -2
- package/dist/components/callout.d.mts +18 -0
- package/dist/components/callout.d.ts +18 -0
- package/dist/components/callout.js +8 -1
- package/dist/components/callout.mjs +1 -1
- package/dist/components/card.d.mts +27 -0
- package/dist/components/card.d.ts +27 -0
- package/dist/components/card.js +20 -10
- package/dist/components/card.mjs +1 -1
- package/dist/components/combobox.d.mts +142 -0
- package/dist/components/combobox.d.ts +142 -0
- package/dist/components/combobox.js +228 -0
- package/dist/components/combobox.mjs +8 -0
- package/dist/components/command.d.mts +3 -3
- package/dist/components/command.d.ts +3 -3
- package/dist/components/control-extension.d.mts +5 -0
- package/dist/components/control-extension.d.ts +5 -0
- package/dist/components/control-extension.js +31 -0
- package/dist/components/control-extension.mjs +6 -0
- package/dist/components/editor-basic.d.mts +21 -4
- package/dist/components/editor-basic.d.ts +21 -4
- package/dist/components/editor-basic.js +21 -5
- package/dist/components/editor-basic.mjs +1 -1
- package/dist/components/hover-card.mjs +2 -2
- package/dist/components/index.d.mts +4 -1
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +321 -104
- package/dist/components/index.mjs +54 -42
- package/dist/components/input.js +5 -0
- package/dist/components/input.mjs +2 -2
- package/dist/components/integration-card.d.mts +3 -3
- package/dist/components/integration-card.d.ts +3 -3
- package/dist/components/popover.mjs +2 -2
- package/dist/components/select.js +5 -0
- package/dist/components/select.mjs +2 -2
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.mjs +1 -1
- package/dist/components/skeleton-avatar.mjs +3 -3
- package/dist/components/slash-dropdown-menu.mjs +2 -2
- package/dist/components/switch.d.mts +62 -0
- package/dist/components/switch.d.ts +62 -0
- package/dist/components/switch.js +63 -0
- package/dist/components/switch.mjs +6 -0
- package/dist/components/textarea.js +5 -0
- package/dist/components/textarea.mjs +2 -2
- package/dist/components/toolbar.d.mts +57 -0
- package/dist/components/toolbar.d.ts +57 -0
- package/dist/components/toolbar.js +24 -3
- package/dist/components/toolbar.mjs +1 -1
- package/dist/editor.css +62 -7
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +321 -104
- package/dist/index.mjs +54 -42
- package/dist/utils/classes.d.mts +5 -0
- package/dist/utils/classes.d.ts +5 -0
- package/dist/utils/classes.js +5 -0
- package/dist/utils/classes.mjs +1 -1
- package/package.json +6 -6
- package/dist/chunk-BWB7MWRC.mjs +0 -22
- package/dist/chunk-GRPMKEI2.mjs +0 -34
- /package/dist/{chunk-UWWO4AVU.mjs → chunk-XMLRBNOG.mjs} +0 -0
|
@@ -3,7 +3,26 @@ import { VariantProps } from 'tailwind-variants';
|
|
|
3
3
|
|
|
4
4
|
declare const toolbar: tailwind_variants.TVReturnType<{
|
|
5
5
|
color: {
|
|
6
|
+
default: {
|
|
7
|
+
root: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
sticky: {
|
|
11
|
+
true: {
|
|
12
|
+
root: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
border: {
|
|
6
16
|
default: string;
|
|
17
|
+
none: string;
|
|
18
|
+
};
|
|
19
|
+
radius: {
|
|
20
|
+
none: {
|
|
21
|
+
root: string;
|
|
22
|
+
};
|
|
23
|
+
md: {
|
|
24
|
+
root: string;
|
|
25
|
+
};
|
|
7
26
|
};
|
|
8
27
|
}, {
|
|
9
28
|
root: string;
|
|
@@ -12,7 +31,26 @@ declare const toolbar: tailwind_variants.TVReturnType<{
|
|
|
12
31
|
group: string;
|
|
13
32
|
}, undefined, {
|
|
14
33
|
color: {
|
|
34
|
+
default: {
|
|
35
|
+
root: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
sticky: {
|
|
39
|
+
true: {
|
|
40
|
+
root: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
border: {
|
|
15
44
|
default: string;
|
|
45
|
+
none: string;
|
|
46
|
+
};
|
|
47
|
+
radius: {
|
|
48
|
+
none: {
|
|
49
|
+
root: string;
|
|
50
|
+
};
|
|
51
|
+
md: {
|
|
52
|
+
root: string;
|
|
53
|
+
};
|
|
16
54
|
};
|
|
17
55
|
}, {
|
|
18
56
|
root: string;
|
|
@@ -21,7 +59,26 @@ declare const toolbar: tailwind_variants.TVReturnType<{
|
|
|
21
59
|
group: string;
|
|
22
60
|
}, tailwind_variants.TVReturnType<{
|
|
23
61
|
color: {
|
|
62
|
+
default: {
|
|
63
|
+
root: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
sticky: {
|
|
67
|
+
true: {
|
|
68
|
+
root: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
border: {
|
|
24
72
|
default: string;
|
|
73
|
+
none: string;
|
|
74
|
+
};
|
|
75
|
+
radius: {
|
|
76
|
+
none: {
|
|
77
|
+
root: string;
|
|
78
|
+
};
|
|
79
|
+
md: {
|
|
80
|
+
root: string;
|
|
81
|
+
};
|
|
25
82
|
};
|
|
26
83
|
}, {
|
|
27
84
|
root: string;
|
|
@@ -26,18 +26,39 @@ module.exports = __toCommonJS(toolbar_exports);
|
|
|
26
26
|
var import_tailwind_variants = require("tailwind-variants");
|
|
27
27
|
var toolbar = (0, import_tailwind_variants.tv)({
|
|
28
28
|
slots: {
|
|
29
|
-
root: "flex items-center gap-2.5
|
|
29
|
+
root: "flex items-center gap-2.5 p-1",
|
|
30
30
|
button: "shrink-0",
|
|
31
31
|
separator: "bg-border h-6 w-px shrink-0",
|
|
32
32
|
group: "flex items-center gap-1"
|
|
33
33
|
},
|
|
34
34
|
variants: {
|
|
35
35
|
color: {
|
|
36
|
-
default:
|
|
36
|
+
default: {
|
|
37
|
+
root: "bg-popover"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
sticky: {
|
|
41
|
+
true: {
|
|
42
|
+
root: "sticky top-0 z-10"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
border: {
|
|
46
|
+
default: "outline-border shadow-xs outline",
|
|
47
|
+
none: ""
|
|
48
|
+
},
|
|
49
|
+
radius: {
|
|
50
|
+
none: {
|
|
51
|
+
root: "rounded-none"
|
|
52
|
+
},
|
|
53
|
+
md: {
|
|
54
|
+
root: "rounded-md"
|
|
55
|
+
}
|
|
37
56
|
}
|
|
38
57
|
},
|
|
39
58
|
defaultVariants: {
|
|
40
|
-
|
|
59
|
+
border: "default",
|
|
60
|
+
color: "default",
|
|
61
|
+
radius: "md"
|
|
41
62
|
}
|
|
42
63
|
});
|
|
43
64
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/editor.css
CHANGED
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
--tt-inline-code-bg-color: var(--color-default-100);
|
|
25
25
|
--tt-inline-code-text-color: var(--color-default-700);
|
|
26
26
|
--tt-inline-code-border-color: var(--color-default-200);
|
|
27
|
-
--tt-codeblock-bg: var(--color-default-
|
|
28
|
-
--tt-codeblock-text: var(--color-default-
|
|
27
|
+
--tt-codeblock-bg: var(--color-default-950);
|
|
28
|
+
--tt-codeblock-text: var(--color-default-200);
|
|
29
29
|
--tt-codeblock-border: var(--color-default-200);
|
|
30
30
|
|
|
31
31
|
--tt-color-highlight-gray: var(--color-default-500);
|
|
@@ -266,25 +266,25 @@
|
|
|
266
266
|
h1 {
|
|
267
267
|
font-size: 1.5em;
|
|
268
268
|
font-weight: 700;
|
|
269
|
-
margin-top:
|
|
269
|
+
margin-top: 2em;
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
h2 {
|
|
273
273
|
font-size: 1.25em;
|
|
274
274
|
font-weight: 700;
|
|
275
|
-
margin-top:
|
|
275
|
+
margin-top: 1.5em;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
h3 {
|
|
279
279
|
font-size: 1.125em;
|
|
280
280
|
font-weight: 600;
|
|
281
|
-
margin-top:
|
|
281
|
+
margin-top: 1em;
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
h4 {
|
|
285
285
|
font-size: 1em;
|
|
286
286
|
font-weight: 600;
|
|
287
|
-
margin-top:
|
|
287
|
+
margin-top: 1em;
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
|
|
@@ -517,13 +517,68 @@
|
|
|
517
517
|
font-size: 1rem;
|
|
518
518
|
border-radius: 6px/0.375rem;
|
|
519
519
|
|
|
520
|
+
white-space: pre;
|
|
521
|
+
|
|
520
522
|
code {
|
|
521
523
|
background-color: transparent;
|
|
522
524
|
border: none;
|
|
523
525
|
border-radius: 0;
|
|
524
526
|
-webkit-text-fill-color: inherit;
|
|
525
527
|
color: inherit;
|
|
526
|
-
|
|
528
|
+
white-space: inherit;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/* Code styling */
|
|
532
|
+
.hljs-comment,
|
|
533
|
+
.hljs-quote {
|
|
534
|
+
color: #616161;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.hljs-variable,
|
|
538
|
+
.hljs-template-variable,
|
|
539
|
+
.hljs-attribute,
|
|
540
|
+
.hljs-tag,
|
|
541
|
+
.hljs-regexp,
|
|
542
|
+
.hljs-link,
|
|
543
|
+
.hljs-name,
|
|
544
|
+
.hljs-selector-id,
|
|
545
|
+
.hljs-selector-class {
|
|
546
|
+
color: #f98181;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.hljs-number,
|
|
550
|
+
.hljs-meta,
|
|
551
|
+
.hljs-built_in,
|
|
552
|
+
.hljs-builtin-name,
|
|
553
|
+
.hljs-literal,
|
|
554
|
+
.hljs-type,
|
|
555
|
+
.hljs-params {
|
|
556
|
+
color: #fbbc88;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.hljs-string,
|
|
560
|
+
.hljs-symbol,
|
|
561
|
+
.hljs-bullet {
|
|
562
|
+
color: #b9f18d;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.hljs-title,
|
|
566
|
+
.hljs-section {
|
|
567
|
+
color: #faf594;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.hljs-keyword,
|
|
571
|
+
.hljs-selector-tag {
|
|
572
|
+
color: #70cff8;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.hljs-emphasis {
|
|
576
|
+
font-style: italic;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.hljs-strong {
|
|
580
|
+
font-weight: 700;
|
|
581
|
+
}
|
|
527
582
|
}
|
|
528
583
|
}
|
|
529
584
|
|
package/dist/index.d.mts
CHANGED
|
@@ -13,13 +13,15 @@ export { CheckboxVariantProps, checkbox } from './components/checkbox.mjs';
|
|
|
13
13
|
export { ChipSlots, ChipVariantProps, chip } from './components/chip.mjs';
|
|
14
14
|
export { CodeVariantProps, code } from './components/code.mjs';
|
|
15
15
|
export { colorHighlightButton } from './components/color-highlight-button.mjs';
|
|
16
|
+
export { ComboboxVariantProps, combobox } from './components/combobox.mjs';
|
|
16
17
|
export { CommandVariants, command } from './components/command.mjs';
|
|
18
|
+
export { controlExtension } from './components/control-extension.mjs';
|
|
17
19
|
export { DataGridVariants, datagrid } from './components/data-grid.mjs';
|
|
18
20
|
export { DataTableVariants, dataTable } from './components/data-table.mjs';
|
|
19
21
|
export { DialogSlots, DialogVariantProps, dialog } from './components/dialog.mjs';
|
|
20
22
|
export { DrawerVariantProps, drawer } from './components/drawer.mjs';
|
|
21
23
|
export { DropdownMenuVariantProps, dropdownMenu } from './components/dropdown-menu.mjs';
|
|
22
|
-
export { editorBasic } from './components/editor-basic.mjs';
|
|
24
|
+
export { EditorBasicVariants, editorBasic } from './components/editor-basic.mjs';
|
|
23
25
|
export { editorSpinner } from './components/editor-spinner.mjs';
|
|
24
26
|
export { frameworkRow } from './components/framework-row.mjs';
|
|
25
27
|
export { HeadingVariantProps, heading } from './components/heading.mjs';
|
|
@@ -49,6 +51,7 @@ export { slashDropdownMenu } from './components/slash-dropdown-menu.mjs';
|
|
|
49
51
|
export { SpinnerVariants, spinner } from './components/spinner.mjs';
|
|
50
52
|
export { SplitPageLayoutVariantProps, splitPageLayout } from './components/split-page-layout.mjs';
|
|
51
53
|
export { StandardChipVariants, standardChip } from './components/standard-chip.mjs';
|
|
54
|
+
export { SwitchSlots, SwitchVariantProps, switchVariants } from './components/switch.mjs';
|
|
52
55
|
export { TabNavSlots, TabNavVariantProps, tabNav } from './components/tab-nav.mjs';
|
|
53
56
|
export { TableSlots, TableVariantProps, table } from './components/table.mjs';
|
|
54
57
|
export { TabsVariantProps, tabs } from './components/tabs.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -13,13 +13,15 @@ export { CheckboxVariantProps, checkbox } from './components/checkbox.js';
|
|
|
13
13
|
export { ChipSlots, ChipVariantProps, chip } from './components/chip.js';
|
|
14
14
|
export { CodeVariantProps, code } from './components/code.js';
|
|
15
15
|
export { colorHighlightButton } from './components/color-highlight-button.js';
|
|
16
|
+
export { ComboboxVariantProps, combobox } from './components/combobox.js';
|
|
16
17
|
export { CommandVariants, command } from './components/command.js';
|
|
18
|
+
export { controlExtension } from './components/control-extension.js';
|
|
17
19
|
export { DataGridVariants, datagrid } from './components/data-grid.js';
|
|
18
20
|
export { DataTableVariants, dataTable } from './components/data-table.js';
|
|
19
21
|
export { DialogSlots, DialogVariantProps, dialog } from './components/dialog.js';
|
|
20
22
|
export { DrawerVariantProps, drawer } from './components/drawer.js';
|
|
21
23
|
export { DropdownMenuVariantProps, dropdownMenu } from './components/dropdown-menu.js';
|
|
22
|
-
export { editorBasic } from './components/editor-basic.js';
|
|
24
|
+
export { EditorBasicVariants, editorBasic } from './components/editor-basic.js';
|
|
23
25
|
export { editorSpinner } from './components/editor-spinner.js';
|
|
24
26
|
export { frameworkRow } from './components/framework-row.js';
|
|
25
27
|
export { HeadingVariantProps, heading } from './components/heading.js';
|
|
@@ -49,6 +51,7 @@ export { slashDropdownMenu } from './components/slash-dropdown-menu.js';
|
|
|
49
51
|
export { SpinnerVariants, spinner } from './components/spinner.js';
|
|
50
52
|
export { SplitPageLayoutVariantProps, splitPageLayout } from './components/split-page-layout.js';
|
|
51
53
|
export { StandardChipVariants, standardChip } from './components/standard-chip.js';
|
|
54
|
+
export { SwitchSlots, SwitchVariantProps, switchVariants } from './components/switch.js';
|
|
52
55
|
export { TabNavSlots, TabNavVariantProps, tabNav } from './components/tab-nav.js';
|
|
53
56
|
export { TableSlots, TableVariantProps, table } from './components/table.js';
|
|
54
57
|
export { TabsVariantProps, tabs } from './components/tabs.js';
|