kanto-ds 1.3.0 → 1.4.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/README.md +3 -3
- package/dist/chunks/{defaults-DKzFsNbv.js → defaults-BwgjMcww.js} +27 -26
- package/dist/chunks/{defaults-DKzFsNbv.js.map → defaults-BwgjMcww.js.map} +1 -1
- package/dist/chunks/{index-fzPIgxe2.js → index-DSSLJirw.js} +17 -12
- package/dist/chunks/index-DSSLJirw.js.map +1 -0
- package/dist/chunks/{kt-element-mdd5cXZX.js → kt-element-E-tfJpGQ.js} +2 -2
- package/dist/chunks/{kt-element-mdd5cXZX.js.map → kt-element-E-tfJpGQ.js.map} +1 -1
- package/dist/components/core/kt-avatar/kt-avatar.js +2 -2
- package/dist/components/core/kt-badge/kt-badge.js +2 -2
- package/dist/components/core/kt-button/kt-button.js +1 -1
- package/dist/components/core/kt-card/kt-card.js +1 -1
- package/dist/components/core/kt-code/kt-code.js +2 -2
- package/dist/components/core/kt-icon/kt-icon.js +2 -2
- package/dist/components/core/kt-kbd/kt-kbd.js +1 -1
- package/dist/components/core/kt-split-button/kt-split-button.js +2 -2
- package/dist/components/data/kt-chart/kt-chart.js +51 -51
- package/dist/components/data/kt-chart/kt-chart.js.map +1 -1
- package/dist/components/data/kt-meter/kt-meter.js +1 -1
- package/dist/components/data/kt-pagination/kt-pagination.js +2 -2
- package/dist/components/data/kt-stat/kt-stat.js +1 -1
- package/dist/components/data/kt-table/kt-table.js +2 -2
- package/dist/components/data/kt-timeline/kt-timeline.js +1 -1
- package/dist/components/feedback/kt-alert/kt-alert.js +2 -2
- package/dist/components/feedback/kt-empty-state/kt-empty-state.js +1 -1
- package/dist/components/feedback/kt-progress-bar/kt-progress-bar.js +1 -1
- package/dist/components/feedback/kt-skeleton/kt-skeleton.js +1 -1
- package/dist/components/feedback/kt-toast/kt-toast.js +2 -2
- package/dist/components/feedback/kt-toast-container/kt-toast-container.js +1 -1
- package/dist/components/feedback/kt-tooltip/kt-tooltip.js +1 -1
- package/dist/components/forms/kt-checkbox/kt-checkbox.d.ts +66 -0
- package/dist/components/forms/kt-checkbox/kt-checkbox.js +198 -0
- package/dist/components/forms/kt-checkbox/kt-checkbox.js.map +1 -0
- package/dist/components/forms/kt-drag-drop/kt-drag-drop.js +2 -2
- package/dist/components/forms/kt-form/kt-form.js +11 -10
- package/dist/components/forms/kt-form/kt-form.js.map +1 -1
- package/dist/components/forms/kt-input/kt-input.js +2 -2
- package/dist/components/forms/kt-input-menu/kt-input-menu.js +2 -2
- package/dist/components/forms/kt-label-input/kt-label-input.js +1 -1
- package/dist/components/forms/kt-radio-group/kt-radio-group.d.ts +103 -0
- package/dist/components/forms/kt-radio-group/kt-radio-group.js +265 -0
- package/dist/components/forms/kt-radio-group/kt-radio-group.js.map +1 -0
- package/dist/components/forms/kt-select/kt-select.js +2 -2
- package/dist/components/forms/kt-textarea/kt-textarea.js +2 -2
- package/dist/components/forms/kt-toggle/kt-toggle.js +1 -1
- package/dist/components/navigation/kt-breadcrumb/kt-breadcrumb.js +2 -2
- package/dist/components/navigation/kt-header/kt-header.js +2 -2
- package/dist/components/navigation/kt-page-header/kt-page-header.js +1 -1
- package/dist/components/navigation/kt-segmented-control/kt-segmented-control.js +2 -2
- package/dist/components/navigation/kt-sub-menu-navigation/kt-sub-menu-navigation.js +2 -2
- package/dist/components/navigation/kt-tabs/kt-tabs.js +1 -1
- package/dist/components/navigation/kt-toggle-button/kt-toggle-button.js +1 -1
- package/dist/components/navigation/kt-toggle-button-group/kt-toggle-button-group.js +12 -6
- package/dist/components/navigation/kt-toggle-button-group/kt-toggle-button-group.js.map +1 -1
- package/dist/components/overlays/kt-collapsible/kt-collapsible.js +1 -1
- package/dist/components/overlays/kt-confirm-dialog/kt-confirm-dialog.js +2 -2
- package/dist/components/overlays/kt-dropdown/kt-dropdown.js +2 -2
- package/dist/components/overlays/kt-modal/kt-modal.js +2 -2
- package/dist/components/overlays/kt-side-panel/kt-side-panel.js +2 -2
- package/dist/custom-elements.json +1740 -941
- package/dist/icons/defaults.d.ts +1 -0
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +95 -90
- package/dist/index.js.map +1 -1
- package/dist/internal/strings.d.ts +10 -0
- package/dist/react/index.d.ts +13 -0
- package/dist/react/index.js +176 -157
- package/dist/react/index.js.map +1 -1
- package/dist/react/jsx.d.ts +12 -1
- package/dist/strings/index.js +1 -1
- package/dist/tokens/base.css +3 -0
- package/dist/vscode.css-custom-data.json +12 -0
- package/dist/vscode.html-custom-data.json +85 -0
- package/dist/vue/index.d.ts +6 -0
- package/dist/vue/index.js +9 -7
- package/dist/vue/index.js.map +1 -1
- package/dist/web-types.json +225 -1
- package/package.json +9 -1
- package/dist/chunks/index-fzPIgxe2.js.map +0 -1
package/dist/icons/defaults.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export declare const defaultIcons: {
|
|
|
17
17
|
Info: import("lucide").IconNode;
|
|
18
18
|
LoaderCircle: import("lucide").IconNode;
|
|
19
19
|
Menu: import("lucide").IconNode;
|
|
20
|
+
Minus: import("lucide").IconNode;
|
|
20
21
|
Search: import("lucide").IconNode;
|
|
21
22
|
Trash2: import("lucide").IconNode;
|
|
22
23
|
TriangleAlert: import("lucide").IconNode;
|
package/dist/icons/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -19,12 +19,16 @@ export type { KtCardImagePosition } from './components/core/kt-card/kt-card.js';
|
|
|
19
19
|
export { KtCode } from './components/core/kt-code/kt-code.js';
|
|
20
20
|
export { KtIcon } from './components/core/kt-icon/kt-icon.js';
|
|
21
21
|
export { KtKbd } from './components/core/kt-kbd/kt-kbd.js';
|
|
22
|
+
export { KtCheckbox } from './components/forms/kt-checkbox/kt-checkbox.js';
|
|
23
|
+
export type { KtCheckboxSize } from './components/forms/kt-checkbox/kt-checkbox.js';
|
|
22
24
|
export { KtDragDrop } from './components/forms/kt-drag-drop/kt-drag-drop.js';
|
|
23
25
|
export { KtForm } from './components/forms/kt-form/kt-form.js';
|
|
24
26
|
export { KtInput } from './components/forms/kt-input/kt-input.js';
|
|
25
27
|
export type { KtInputSize } from './components/forms/kt-input/kt-input.js';
|
|
26
28
|
export { KtInputMenu } from './components/forms/kt-input-menu/kt-input-menu.js';
|
|
27
29
|
export { KtLabelInput } from './components/forms/kt-label-input/kt-label-input.js';
|
|
30
|
+
export { KtRadio, KtRadioGroup } from './components/forms/kt-radio-group/kt-radio-group.js';
|
|
31
|
+
export type { KtRadioGroupOrientation } from './components/forms/kt-radio-group/kt-radio-group.js';
|
|
28
32
|
export { KtSelect } from './components/forms/kt-select/kt-select.js';
|
|
29
33
|
export type { KtSelectSize } from './components/forms/kt-select/kt-select.js';
|
|
30
34
|
export { KtTextarea } from './components/forms/kt-textarea/kt-textarea.js';
|
package/dist/index.js
CHANGED
|
@@ -1,103 +1,108 @@
|
|
|
1
|
-
import { KtAvatar as
|
|
2
|
-
import { KtBadge as
|
|
1
|
+
import { KtAvatar as r } from "./components/core/kt-avatar/kt-avatar.js";
|
|
2
|
+
import { KtBadge as p } from "./components/core/kt-badge/kt-badge.js";
|
|
3
3
|
import { KtButton as f } from "./components/core/kt-button/kt-button.js";
|
|
4
4
|
import { KtSplitButton as K } from "./components/core/kt-split-button/kt-split-button.js";
|
|
5
5
|
import { KtCard as n } from "./components/core/kt-card/kt-card.js";
|
|
6
|
-
import { KtCode as
|
|
6
|
+
import { KtCode as i } from "./components/core/kt-code/kt-code.js";
|
|
7
7
|
import { KtIcon as l } from "./components/core/kt-icon/kt-icon.js";
|
|
8
8
|
import { KtKbd as u } from "./components/core/kt-kbd/kt-kbd.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
9
|
+
import { KtCheckbox as T } from "./components/forms/kt-checkbox/kt-checkbox.js";
|
|
10
|
+
import { KtDragDrop as I } from "./components/forms/kt-drag-drop/kt-drag-drop.js";
|
|
11
|
+
import { KtForm as C } from "./components/forms/kt-form/kt-form.js";
|
|
12
|
+
import { KtInput as D } from "./components/forms/kt-input/kt-input.js";
|
|
13
|
+
import { KtInputMenu as P } from "./components/forms/kt-input-menu/kt-input-menu.js";
|
|
14
|
+
import { KtLabelInput as h } from "./components/forms/kt-label-input/kt-label-input.js";
|
|
15
|
+
import { KtRadio as v, KtRadioGroup as A } from "./components/forms/kt-radio-group/kt-radio-group.js";
|
|
16
|
+
import { KtSelect as H } from "./components/forms/kt-select/kt-select.js";
|
|
17
|
+
import { KtTextarea as w } from "./components/forms/kt-textarea/kt-textarea.js";
|
|
18
|
+
import { KtToggle as F } from "./components/forms/kt-toggle/kt-toggle.js";
|
|
19
|
+
import { KtBreadcrumb as N } from "./components/navigation/kt-breadcrumb/kt-breadcrumb.js";
|
|
20
|
+
import { KtPageHeader as q } from "./components/navigation/kt-page-header/kt-page-header.js";
|
|
21
|
+
import { KtSegmentedControl as J } from "./components/navigation/kt-segmented-control/kt-segmented-control.js";
|
|
22
|
+
import { KtSubMenuNavigation as Q } from "./components/navigation/kt-sub-menu-navigation/kt-sub-menu-navigation.js";
|
|
23
|
+
import { KtTabs as V } from "./components/navigation/kt-tabs/kt-tabs.js";
|
|
24
|
+
import { KtHeader as X } from "./components/navigation/kt-header/kt-header.js";
|
|
25
|
+
import { KtToggleButton as Z } from "./components/navigation/kt-toggle-button/kt-toggle-button.js";
|
|
26
|
+
import { KtToggleButtonGroup as $ } from "./components/navigation/kt-toggle-button-group/kt-toggle-button-group.js";
|
|
27
|
+
import { KtAlert as ot } from "./components/feedback/kt-alert/kt-alert.js";
|
|
28
|
+
import { KtEmptyState as et } from "./components/feedback/kt-empty-state/kt-empty-state.js";
|
|
29
|
+
import { KtProgressBar as mt } from "./components/feedback/kt-progress-bar/kt-progress-bar.js";
|
|
30
|
+
import { KtSkeleton as xt } from "./components/feedback/kt-skeleton/kt-skeleton.js";
|
|
31
|
+
import { KtToast as at } from "./components/feedback/kt-toast/kt-toast.js";
|
|
32
|
+
import { KtToastContainer as st } from "./components/feedback/kt-toast-container/kt-toast-container.js";
|
|
33
|
+
import { t as gt } from "./chunks/toaster-PmdKSV5x.js";
|
|
34
|
+
import { KtTooltip as dt } from "./components/feedback/kt-tooltip/kt-tooltip.js";
|
|
35
|
+
import { KtCollapsible as St } from "./components/overlays/kt-collapsible/kt-collapsible.js";
|
|
36
|
+
import { KtConfirmDialog as bt } from "./components/overlays/kt-confirm-dialog/kt-confirm-dialog.js";
|
|
37
|
+
import { KtDropdown as ct } from "./components/overlays/kt-dropdown/kt-dropdown.js";
|
|
38
|
+
import { KtModal as Bt } from "./components/overlays/kt-modal/kt-modal.js";
|
|
39
|
+
import { KtSidePanel as Mt } from "./components/overlays/kt-side-panel/kt-side-panel.js";
|
|
40
|
+
import { KtChart as Et } from "./components/data/kt-chart/kt-chart.js";
|
|
41
|
+
import { KtMeter as kt } from "./components/data/kt-meter/kt-meter.js";
|
|
42
|
+
import { KtPagination as At } from "./components/data/kt-pagination/kt-pagination.js";
|
|
43
|
+
import { KtStat as Ht } from "./components/data/kt-stat/kt-stat.js";
|
|
44
|
+
import { KtTable as wt } from "./components/data/kt-table/kt-table.js";
|
|
45
|
+
import { KtTimeline as Ft, KtTimelineItem as Lt } from "./components/data/kt-timeline/kt-timeline.js";
|
|
46
|
+
import { g as jt, r as qt, a as zt, b as Jt } from "./chunks/defaults-BwgjMcww.js";
|
|
47
|
+
import { d as Qt, s as Ut, r as Vt, a as Wt } from "./chunks/index-DSSLJirw.js";
|
|
48
|
+
import { K as Yt, d as Zt } from "./chunks/kt-element-E-tfJpGQ.js";
|
|
47
49
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
ot as KtAlert,
|
|
51
|
+
r as KtAvatar,
|
|
52
|
+
p as KtBadge,
|
|
53
|
+
N as KtBreadcrumb,
|
|
52
54
|
f as KtButton,
|
|
53
55
|
n as KtCard,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
Et as KtChart,
|
|
57
|
+
T as KtCheckbox,
|
|
58
|
+
i as KtCode,
|
|
59
|
+
St as KtCollapsible,
|
|
60
|
+
bt as KtConfirmDialog,
|
|
61
|
+
I as KtDragDrop,
|
|
62
|
+
ct as KtDropdown,
|
|
63
|
+
Yt as KtElement,
|
|
64
|
+
et as KtEmptyState,
|
|
65
|
+
C as KtForm,
|
|
66
|
+
X as KtHeader,
|
|
64
67
|
l as KtIcon,
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
D as KtInput,
|
|
69
|
+
P as KtInputMenu,
|
|
67
70
|
u as KtKbd,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
71
|
+
h as KtLabelInput,
|
|
72
|
+
kt as KtMeter,
|
|
73
|
+
Bt as KtModal,
|
|
74
|
+
q as KtPageHeader,
|
|
75
|
+
At as KtPagination,
|
|
76
|
+
mt as KtProgressBar,
|
|
77
|
+
v as KtRadio,
|
|
78
|
+
A as KtRadioGroup,
|
|
79
|
+
J as KtSegmentedControl,
|
|
80
|
+
H as KtSelect,
|
|
81
|
+
Mt as KtSidePanel,
|
|
82
|
+
xt as KtSkeleton,
|
|
78
83
|
K as KtSplitButton,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
84
|
+
Ht as KtStat,
|
|
85
|
+
Q as KtSubMenuNavigation,
|
|
86
|
+
wt as KtTable,
|
|
87
|
+
V as KtTabs,
|
|
88
|
+
w as KtTextarea,
|
|
89
|
+
Ft as KtTimeline,
|
|
90
|
+
Lt as KtTimelineItem,
|
|
91
|
+
at as KtToast,
|
|
92
|
+
st as KtToastContainer,
|
|
93
|
+
F as KtToggle,
|
|
94
|
+
Z as KtToggleButton,
|
|
95
|
+
$ as KtToggleButtonGroup,
|
|
96
|
+
dt as KtTooltip,
|
|
97
|
+
Qt as defaultStrings,
|
|
98
|
+
Zt as defineElement,
|
|
99
|
+
jt as getIcon,
|
|
100
|
+
Ut as getStrings,
|
|
101
|
+
qt as registerIcon,
|
|
102
|
+
zt as registerIcons,
|
|
103
|
+
Jt as registeredIcons,
|
|
104
|
+
Vt as resetStrings,
|
|
105
|
+
Wt as setStrings,
|
|
106
|
+
gt as toaster
|
|
102
107
|
};
|
|
103
108
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -56,6 +56,8 @@ export interface KtStrings {
|
|
|
56
56
|
required: string;
|
|
57
57
|
selectOption: string;
|
|
58
58
|
selectFile: string;
|
|
59
|
+
/** A required checkbox left unchecked. */
|
|
60
|
+
checkRequired: string;
|
|
59
61
|
openMenu: string;
|
|
60
62
|
closeMenu: string;
|
|
61
63
|
breadcrumb: string;
|
|
@@ -65,6 +67,10 @@ export interface KtStrings {
|
|
|
65
67
|
next: string;
|
|
66
68
|
pageOf: (page: number, total: number) => string;
|
|
67
69
|
moreActions: string;
|
|
70
|
+
/** A button or choice group with no label of its own. */
|
|
71
|
+
options: string;
|
|
72
|
+
/** A `kt-form` section with no heading. */
|
|
73
|
+
formSection: string;
|
|
68
74
|
selectRow: string;
|
|
69
75
|
selectAll: string;
|
|
70
76
|
total: string;
|
|
@@ -73,6 +79,10 @@ export interface KtStrings {
|
|
|
73
79
|
chartPoint: string;
|
|
74
80
|
chartSlice: string;
|
|
75
81
|
chartShare: string;
|
|
82
|
+
/** Caption of a chart's data table when the chart has no label. */
|
|
83
|
+
chartData: string;
|
|
84
|
+
/** Value column of a single-series chart's data table when the series has no name. */
|
|
85
|
+
chartValue: string;
|
|
76
86
|
confirmHeading: string;
|
|
77
87
|
confirm: string;
|
|
78
88
|
cancel: string;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -7,11 +7,13 @@ import { KtCard as KtCardElement } from '../components/core/kt-card/kt-card.js';
|
|
|
7
7
|
import { KtCode as KtCodeElement } from '../components/core/kt-code/kt-code.js';
|
|
8
8
|
import { KtIcon as KtIconElement } from '../components/core/kt-icon/kt-icon.js';
|
|
9
9
|
import { KtKbd as KtKbdElement } from '../components/core/kt-kbd/kt-kbd.js';
|
|
10
|
+
import { KtCheckbox as KtCheckboxElement } from '../components/forms/kt-checkbox/kt-checkbox.js';
|
|
10
11
|
import { KtDragDrop as KtDragDropElement } from '../components/forms/kt-drag-drop/kt-drag-drop.js';
|
|
11
12
|
import { KtForm as KtFormElement } from '../components/forms/kt-form/kt-form.js';
|
|
12
13
|
import { KtInput as KtInputElement } from '../components/forms/kt-input/kt-input.js';
|
|
13
14
|
import { KtInputMenu as KtInputMenuElement } from '../components/forms/kt-input-menu/kt-input-menu.js';
|
|
14
15
|
import { KtLabelInput as KtLabelInputElement } from '../components/forms/kt-label-input/kt-label-input.js';
|
|
16
|
+
import { KtRadio as KtRadioElement, KtRadioGroup as KtRadioGroupElement } from '../components/forms/kt-radio-group/kt-radio-group.js';
|
|
15
17
|
import { KtSelect as KtSelectElement } from '../components/forms/kt-select/kt-select.js';
|
|
16
18
|
import { KtTextarea as KtTextareaElement } from '../components/forms/kt-textarea/kt-textarea.js';
|
|
17
19
|
import { KtToggle as KtToggleElement } from '../components/forms/kt-toggle/kt-toggle.js';
|
|
@@ -94,6 +96,17 @@ export declare const KtToggle: import("@lit/react").ReactWebComponent<KtToggleEl
|
|
|
94
96
|
checked: boolean;
|
|
95
97
|
}>;
|
|
96
98
|
}>;
|
|
99
|
+
export declare const KtCheckbox: import("@lit/react").ReactWebComponent<KtCheckboxElement, {
|
|
100
|
+
onKtChange: Kt<{
|
|
101
|
+
checked: boolean;
|
|
102
|
+
}>;
|
|
103
|
+
}>;
|
|
104
|
+
export declare const KtRadioGroup: import("@lit/react").ReactWebComponent<KtRadioGroupElement, {
|
|
105
|
+
onKtChange: Kt<{
|
|
106
|
+
value: string | null;
|
|
107
|
+
}>;
|
|
108
|
+
}>;
|
|
109
|
+
export declare const KtRadio: import("@lit/react").ReactWebComponent<KtRadioElement, {}>;
|
|
97
110
|
export declare const KtSelect: import("@lit/react").ReactWebComponent<KtSelectElement, {
|
|
98
111
|
onKtChange: Kt<{
|
|
99
112
|
value: string | number | null;
|