@max-ts/svelte 1.0.8 → 1.1.1
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/_virtual/rolldown_runtime.js +18 -0
- package/dist/assets/{styles.css.ts.vanilla-BXoNzaj5.css → styles.css.ts.vanilla--2KRqxlh.css} +5 -0
- package/dist/assets/styles.css.ts.vanilla-B_0PcDN7.css +60 -0
- package/dist/assets/styles.css.ts.vanilla-Bjel8_Kw.css +55 -0
- package/dist/assets/styles.css.ts.vanilla-BwE12Ho-.css +48 -0
- package/dist/assets/styles.css.ts.vanilla-CAA2wPSI.css +44 -0
- package/dist/assets/styles.css.ts.vanilla-Cj0JBm6N.css +25 -0
- package/dist/assets/styles.css.ts.vanilla-D2NN324N.css +25 -0
- package/dist/assets/styles.css.ts.vanilla-DM_PUW76.css +12 -0
- package/dist/assets/styles.css.ts.vanilla-DmTiU6Ua.css +20 -0
- package/dist/assets/styles.css.ts.vanilla-Dnh1lH3w.css +85 -0
- package/dist/assets/styles.css.ts.vanilla-DqNzx9T_.css +125 -0
- package/dist/assets/{styles.css.ts.vanilla-CZGlsAbQ.css → styles.css.ts.vanilla-Dt8KZ_4Z.css} +8 -0
- package/dist/assets/styles.css.ts.vanilla-Dy8E8h1L.css +3 -0
- package/dist/assets/styles.css.ts.vanilla-EvTZBBDg.css +9 -0
- package/dist/assets/styles.css.ts.vanilla-vey50OEc.css +14 -0
- package/dist/components/Accordion/Content/Content.svelte.d.ts +1 -1
- package/dist/components/Accordion/index.d.ts +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/Badge/Badge.js +43 -0
- package/dist/components/Badge/Badge.svelte.d.ts +4 -0
- package/dist/components/Badge/index.d.ts +3 -0
- package/dist/components/Badge/styles.css.d.ts +8 -0
- package/dist/components/Badge/styles.css.js +18 -0
- package/dist/components/Badge/types.d.ts +6 -0
- package/dist/components/Button/Button.js +1 -0
- package/dist/components/Button/styles.css.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +40 -0
- package/dist/components/ButtonGroup/ButtonGroup.svelte.d.ts +4 -0
- package/dist/components/ButtonGroup/Separator/Separator.js +40 -0
- package/dist/components/ButtonGroup/Separator/Separator.svelte.d.ts +4 -0
- package/dist/components/ButtonGroup/Separator/index.d.ts +1 -0
- package/dist/components/ButtonGroup/Separator/styles.css.d.ts +5 -0
- package/dist/components/ButtonGroup/Separator/styles.css.js +9 -0
- package/dist/components/ButtonGroup/Text/Text.js +48 -0
- package/dist/components/ButtonGroup/Text/Text.svelte.d.ts +11 -0
- package/dist/components/ButtonGroup/Text/index.d.ts +1 -0
- package/dist/components/ButtonGroup/Text/styles.css.d.ts +5 -0
- package/dist/components/ButtonGroup/Text/styles.css.js +9 -0
- package/dist/components/ButtonGroup/index.d.ts +12 -0
- package/dist/components/ButtonGroup/index.js +13 -0
- package/dist/components/ButtonGroup/styles.css.d.ts +8 -0
- package/dist/components/ButtonGroup/styles.css.js +16 -0
- package/dist/components/ButtonGroup/types.d.ts +6 -0
- package/dist/components/Carousel/Carousel.js +91 -0
- package/dist/components/Carousel/Carousel.svelte.d.ts +4 -0
- package/dist/components/Carousel/Content/Content.js +54 -0
- package/dist/components/Carousel/Content/Content.svelte.d.ts +5 -0
- package/dist/components/Carousel/Content/index.d.ts +1 -0
- package/dist/components/Carousel/Content/styles.css.d.ts +9 -0
- package/dist/components/Carousel/Content/styles.css.js +17 -0
- package/dist/components/Carousel/Item/Item.js +41 -0
- package/dist/components/Carousel/Item/Item.svelte.d.ts +5 -0
- package/dist/components/Carousel/Item/index.d.ts +1 -0
- package/dist/components/Carousel/Item/styles.css.d.ts +7 -0
- package/dist/components/Carousel/Item/styles.css.js +16 -0
- package/dist/components/Carousel/Next/Next.js +69 -0
- package/dist/components/Carousel/Next/Next.svelte.d.ts +4 -0
- package/dist/components/Carousel/Next/index.d.ts +1 -0
- package/dist/components/Carousel/Next/styles.css.d.ts +7 -0
- package/dist/components/Carousel/Next/styles.css.js +16 -0
- package/dist/components/Carousel/Previous/Previous.js +69 -0
- package/dist/components/Carousel/Previous/Previous.svelte.d.ts +4 -0
- package/dist/components/Carousel/Previous/index.d.ts +1 -0
- package/dist/components/Carousel/Previous/styles.css.d.ts +7 -0
- package/dist/components/Carousel/Previous/styles.css.js +16 -0
- package/dist/components/Carousel/context.d.ts +3 -0
- package/dist/components/Carousel/context.js +15 -0
- package/dist/components/Carousel/index.d.ts +8 -0
- package/dist/components/Carousel/index.js +17 -0
- package/dist/components/Carousel/styles.css.d.ts +5 -0
- package/dist/components/Carousel/styles.css.js +8 -0
- package/dist/components/Carousel/types.d.ts +29 -0
- package/dist/components/ContentState/ContentState.js +2 -2
- package/dist/components/DataGrid/State/State.js +1 -1
- package/dist/components/DropdownMenu/SubTrigger/styles.css.js +1 -1
- package/dist/components/DropdownMenu/index.d.ts +2 -3
- package/dist/components/DropdownMenu/index.js +24 -1
- package/dist/components/DropdownMenu/types.d.ts +1 -2
- package/dist/components/Item/Actions/Actions.js +32 -0
- package/dist/components/Item/Actions/Actions.svelte.d.ts +5 -0
- package/dist/components/Item/Actions/index.d.ts +1 -0
- package/dist/components/Item/Content/Content.js +32 -0
- package/dist/components/Item/Content/Content.svelte.d.ts +5 -0
- package/dist/components/Item/Content/index.d.ts +1 -0
- package/dist/components/Item/Description/Description.js +32 -0
- package/dist/components/Item/Description/Description.svelte.d.ts +5 -0
- package/dist/components/Item/Description/index.d.ts +1 -0
- package/dist/components/Item/Footer/Footer.js +32 -0
- package/dist/components/Item/Footer/Footer.svelte.d.ts +5 -0
- package/dist/components/Item/Footer/index.d.ts +1 -0
- package/dist/components/Item/Group/Group.js +33 -0
- package/dist/components/Item/Group/Group.svelte.d.ts +5 -0
- package/dist/components/Item/Group/index.d.ts +1 -0
- package/dist/components/Item/Header/Header.js +32 -0
- package/dist/components/Item/Header/Header.svelte.d.ts +5 -0
- package/dist/components/Item/Header/index.d.ts +1 -0
- package/dist/components/Item/Item.js +58 -0
- package/dist/components/Item/Item.svelte.d.ts +4 -0
- package/dist/components/Item/Media/Media.js +38 -0
- package/dist/components/Item/Media/Media.svelte.d.ts +4 -0
- package/dist/components/Item/Media/index.d.ts +1 -0
- package/dist/components/Item/Separator/Separator.js +33 -0
- package/dist/components/Item/Separator/Separator.svelte.d.ts +4 -0
- package/dist/components/Item/Separator/index.d.ts +1 -0
- package/dist/components/Item/Title/Title.js +32 -0
- package/dist/components/Item/Title/Title.svelte.d.ts +5 -0
- package/dist/components/Item/Title/index.d.ts +1 -0
- package/dist/components/Item/index.d.ts +13 -0
- package/dist/components/Item/index.js +27 -0
- package/dist/components/Item/styles.css.d.ts +28 -0
- package/dist/components/Item/styles.css.js +36 -0
- package/dist/components/Item/types.d.ts +16 -0
- package/dist/components/Popover/Close/PopoverClose.js +49 -0
- package/dist/components/Popover/Close/PopoverClose.svelte.d.ts +4 -0
- package/dist/components/Popover/Close/index.d.ts +1 -0
- package/dist/components/Popover/Content/PopoverContent.js +64 -0
- package/dist/components/Popover/Content/PopoverContent.svelte.d.ts +4 -0
- package/dist/components/Popover/Content/index.d.ts +1 -0
- package/dist/components/Popover/Popover.js +39 -0
- package/dist/components/Popover/Popover.svelte.d.ts +3 -0
- package/dist/components/Popover/Portal/PopoverPortal.js +30 -0
- package/dist/components/Popover/Portal/PopoverPortal.svelte.d.ts +3 -0
- package/dist/components/Popover/Portal/index.d.ts +1 -0
- package/dist/components/Popover/Trigger/PopoverTrigger.js +49 -0
- package/dist/components/Popover/Trigger/PopoverTrigger.svelte.d.ts +4 -0
- package/dist/components/Popover/Trigger/index.d.ts +1 -0
- package/dist/components/Popover/index.d.ts +8 -0
- package/dist/components/Popover/index.js +17 -0
- package/dist/components/Popover/styles.css.d.ts +9 -0
- package/dist/components/Popover/styles.css.js +13 -0
- package/dist/components/Popover/types.d.ts +9 -0
- package/dist/components/RangeInput/RangeInput.js +174 -0
- package/dist/components/RangeInput/RangeInput.svelte.d.ts +4 -0
- package/dist/components/RangeInput/index.d.ts +2 -0
- package/dist/components/RangeInput/styles.css.d.ts +15 -0
- package/dist/components/RangeInput/styles.css.js +21 -0
- package/dist/components/RangeInput/types.d.ts +16 -0
- package/dist/components/Slider/Slider.js +96 -0
- package/dist/components/Slider/Slider.svelte.d.ts +4 -0
- package/dist/components/Slider/index.d.ts +2 -0
- package/dist/components/Slider/styles.css.d.ts +16 -0
- package/dist/components/Slider/styles.css.js +26 -0
- package/dist/components/Slider/types.d.ts +6 -0
- package/dist/components/Spinner/styles.css.js +1 -1
- package/dist/components/index.d.ts +9 -1
- package/dist/components/index.js +26 -34
- package/dist/stories/Accordion.stories.svelte.d.ts +7 -14
- package/dist/stories/Alert.stories.svelte.d.ts +1 -1
- package/dist/stories/Badge.stories.svelte.d.ts +19 -0
- package/dist/stories/ButtonGroup.stories.svelte.d.ts +19 -0
- package/dist/stories/Calendar.stories.svelte.d.ts +1 -1
- package/dist/stories/Card.stories.svelte.d.ts +1 -1
- package/dist/stories/Carousel.stories.svelte.d.ts +19 -0
- package/dist/stories/CircularProgress.stories.svelte.d.ts +1 -0
- package/dist/stories/DataGrid.stories.svelte.d.ts +1 -1
- package/dist/stories/DropdownMenu.stories.svelte.d.ts +1 -1
- package/dist/stories/Field.stories.svelte.d.ts +1 -1
- package/dist/stories/Input.stories.svelte.d.ts +7 -14
- package/dist/stories/Item.stories.svelte.d.ts +19 -0
- package/dist/stories/Label.stories.svelte.d.ts +1 -1
- package/dist/stories/Popover.stories.svelte.d.ts +19 -0
- package/dist/stories/RangeInput.stories.svelte.d.ts +19 -0
- package/dist/stories/Select.stories.svelte.d.ts +1 -1
- package/dist/stories/Slider.stories.svelte.d.ts +19 -0
- package/dist/stories/Tooltip.stories.svelte.d.ts +1 -1
- package/dist/stories/Typography.stories.svelte.d.ts +7 -14
- package/package.json +9 -6
- package/dist/components/Button/index.js +0 -4
- package/dist/components/Calendar/index.js +0 -3
- package/dist/components/Checkbox/index.js +0 -3
- package/dist/components/CircularProgress/index.js +0 -3
- package/dist/components/ContentState/index.js +0 -3
- package/dist/components/DataGrid/index.js +0 -3
- package/dist/components/DataGridSortHeader/index.js +0 -3
- package/dist/components/Input/index.js +0 -3
- package/dist/components/Label/index.js +0 -3
- package/dist/components/Placeholder/index.js +0 -3
- package/dist/components/Separator/index.js +0 -3
- package/dist/components/Spinner/index.js +0 -4
- package/dist/components/Tooltip/index.js +0 -3
- package/dist/components/Typography/index.js +0 -3
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import Typography from "../Typography/Typography.js";
|
|
2
|
+
import { calculateSize } from "../../utils.js";
|
|
3
|
+
import Slider from "../Slider/Slider.js";
|
|
4
|
+
import styles_css_default from "./styles.css.js";
|
|
5
|
+
import "svelte/internal/disclose-version";
|
|
6
|
+
import * as $ from "svelte/internal/client";
|
|
7
|
+
|
|
8
|
+
//#region src/components/RangeInput/RangeInput.svelte
|
|
9
|
+
var root = $.from_html(`<div><!> <!> <input type="text"/> <!> <input type="text"/> <!> <div><!></div></div>`);
|
|
10
|
+
function RangeInput($$anchor, $$props) {
|
|
11
|
+
$.push($$props, true);
|
|
12
|
+
let minValue = $.prop($$props, "minValue", 15), maxValue = $.prop($$props, "maxValue", 15), width = $.prop($$props, "width", 3, 150), label = $.prop($$props, "label", 3, ""), unit = $.prop($$props, "unit", 3, ""), size = $.prop($$props, "size", 3, "medium"), minInputRef = $.prop($$props, "minInputRef", 15, null), maxInputRef = $.prop($$props, "maxInputRef", 15, null), ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
|
|
13
|
+
"$$slots",
|
|
14
|
+
"$$events",
|
|
15
|
+
"$$legacy",
|
|
16
|
+
"min",
|
|
17
|
+
"max",
|
|
18
|
+
"minValue",
|
|
19
|
+
"maxValue",
|
|
20
|
+
"width",
|
|
21
|
+
"label",
|
|
22
|
+
"unit",
|
|
23
|
+
"size",
|
|
24
|
+
"class",
|
|
25
|
+
"isActive",
|
|
26
|
+
"minInputRef",
|
|
27
|
+
"maxInputRef",
|
|
28
|
+
"ref"
|
|
29
|
+
]);
|
|
30
|
+
$.user_pre_effect(() => {
|
|
31
|
+
if (minValue() === void 0) minValue($$props.min);
|
|
32
|
+
if (maxValue() === void 0) maxValue($$props.max);
|
|
33
|
+
});
|
|
34
|
+
function onValueChange(newValue) {
|
|
35
|
+
if (newValue[0] !== newValue[1]) {
|
|
36
|
+
minValue(newValue[0]);
|
|
37
|
+
maxValue(newValue[1]);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function handleInput(type, event) {
|
|
41
|
+
const val = event.target.value;
|
|
42
|
+
if (val === "") return;
|
|
43
|
+
const num = Number.parseFloat(val);
|
|
44
|
+
if (!Number.isNaN(num)) if (type === "min") minValue(num);
|
|
45
|
+
else maxValue(num);
|
|
46
|
+
}
|
|
47
|
+
function onKeyDown(event) {
|
|
48
|
+
if (event.key === "Enter") {
|
|
49
|
+
if (minValue() < $$props.min) minValue($$props.min);
|
|
50
|
+
if (maxValue() > $$props.max) maxValue($$props.max);
|
|
51
|
+
if (minValue() > maxValue()) {
|
|
52
|
+
const temp = minValue();
|
|
53
|
+
minValue(maxValue());
|
|
54
|
+
maxValue(temp);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
var div = root();
|
|
59
|
+
$.attribute_effect(div, ($0) => ({
|
|
60
|
+
class: [
|
|
61
|
+
styles_css_default.container,
|
|
62
|
+
styles_css_default.sizes[size()],
|
|
63
|
+
$$props.isActive ? styles_css_default.activeClass : "",
|
|
64
|
+
$$props.class
|
|
65
|
+
],
|
|
66
|
+
...restProps,
|
|
67
|
+
[$.STYLE]: $0
|
|
68
|
+
}), [() => ({ width: calculateSize(width()) })]);
|
|
69
|
+
var node = $.child(div);
|
|
70
|
+
Typography(node, {
|
|
71
|
+
get class() {
|
|
72
|
+
return styles_css_default.textClass;
|
|
73
|
+
},
|
|
74
|
+
color: "disabled",
|
|
75
|
+
variant: "body2",
|
|
76
|
+
children: ($$anchor$1, $$slotProps) => {
|
|
77
|
+
$.next();
|
|
78
|
+
var text = $.text();
|
|
79
|
+
$.template_effect(() => $.set_text(text, label()));
|
|
80
|
+
$.append($$anchor$1, text);
|
|
81
|
+
},
|
|
82
|
+
$$slots: { default: true }
|
|
83
|
+
});
|
|
84
|
+
var node_1 = $.sibling(node, 2);
|
|
85
|
+
Typography(node_1, {
|
|
86
|
+
get class() {
|
|
87
|
+
return styles_css_default.textClass;
|
|
88
|
+
},
|
|
89
|
+
color: "disabled",
|
|
90
|
+
variant: "body2",
|
|
91
|
+
children: ($$anchor$1, $$slotProps) => {
|
|
92
|
+
$.next();
|
|
93
|
+
var text_1 = $.text("от");
|
|
94
|
+
$.append($$anchor$1, text_1);
|
|
95
|
+
},
|
|
96
|
+
$$slots: { default: true }
|
|
97
|
+
});
|
|
98
|
+
var input = $.sibling(node_1, 2);
|
|
99
|
+
$.remove_input_defaults(input);
|
|
100
|
+
input.__input = (e) => handleInput("min", e);
|
|
101
|
+
input.__keydown = onKeyDown;
|
|
102
|
+
$.bind_this(input, ($$value) => minInputRef($$value), () => minInputRef());
|
|
103
|
+
var node_2 = $.sibling(input, 2);
|
|
104
|
+
Typography(node_2, {
|
|
105
|
+
get class() {
|
|
106
|
+
return styles_css_default.textClass;
|
|
107
|
+
},
|
|
108
|
+
color: "disabled",
|
|
109
|
+
variant: "body2",
|
|
110
|
+
children: ($$anchor$1, $$slotProps) => {
|
|
111
|
+
$.next();
|
|
112
|
+
var text_2 = $.text("до");
|
|
113
|
+
$.append($$anchor$1, text_2);
|
|
114
|
+
},
|
|
115
|
+
$$slots: { default: true }
|
|
116
|
+
});
|
|
117
|
+
var input_1 = $.sibling(node_2, 2);
|
|
118
|
+
$.remove_input_defaults(input_1);
|
|
119
|
+
input_1.__input = (e) => handleInput("max", e);
|
|
120
|
+
input_1.__keydown = onKeyDown;
|
|
121
|
+
$.bind_this(input_1, ($$value) => maxInputRef($$value), () => maxInputRef());
|
|
122
|
+
var node_3 = $.sibling(input_1, 2);
|
|
123
|
+
Typography(node_3, {
|
|
124
|
+
get class() {
|
|
125
|
+
return styles_css_default.textClass;
|
|
126
|
+
},
|
|
127
|
+
color: "disabled",
|
|
128
|
+
variant: "body2",
|
|
129
|
+
children: ($$anchor$1, $$slotProps) => {
|
|
130
|
+
$.next();
|
|
131
|
+
var text_3 = $.text();
|
|
132
|
+
$.template_effect(() => $.set_text(text_3, unit()));
|
|
133
|
+
$.append($$anchor$1, text_3);
|
|
134
|
+
},
|
|
135
|
+
$$slots: { default: true }
|
|
136
|
+
});
|
|
137
|
+
var div_1 = $.sibling(node_3, 2);
|
|
138
|
+
var node_4 = $.child(div_1);
|
|
139
|
+
{
|
|
140
|
+
let $0 = $.derived(() => [minValue() ?? $$props.min, maxValue() ?? $$props.max]);
|
|
141
|
+
Slider(node_4, {
|
|
142
|
+
get min() {
|
|
143
|
+
return $$props.min;
|
|
144
|
+
},
|
|
145
|
+
get max() {
|
|
146
|
+
return $$props.max;
|
|
147
|
+
},
|
|
148
|
+
get size() {
|
|
149
|
+
return size();
|
|
150
|
+
},
|
|
151
|
+
type: "multiple",
|
|
152
|
+
get value() {
|
|
153
|
+
return $.get($0);
|
|
154
|
+
},
|
|
155
|
+
onValueChange
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
$.reset(div_1);
|
|
159
|
+
$.reset(div);
|
|
160
|
+
$.bind_this(div, ($$value) => ref($$value), () => ref());
|
|
161
|
+
$.template_effect(() => {
|
|
162
|
+
$.set_class(input, 1, $.clsx(styles_css_default.inputClass));
|
|
163
|
+
$.set_class(input_1, 1, $.clsx(styles_css_default.inputClass));
|
|
164
|
+
$.set_class(div_1, 1, $.clsx(styles_css_default.sliderClass));
|
|
165
|
+
});
|
|
166
|
+
$.bind_value(input, minValue);
|
|
167
|
+
$.bind_value(input_1, maxValue);
|
|
168
|
+
$.append($$anchor, div);
|
|
169
|
+
$.pop();
|
|
170
|
+
}
|
|
171
|
+
$.delegate(["input", "keydown"]);
|
|
172
|
+
|
|
173
|
+
//#endregion
|
|
174
|
+
export { RangeInput as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const container: string;
|
|
2
|
+
export declare const activeClass: string;
|
|
3
|
+
export declare const sizes: Record<"small" | "medium" | "large", string>;
|
|
4
|
+
export declare const textClass: string;
|
|
5
|
+
export declare const inputClass: string;
|
|
6
|
+
export declare const sliderClass: string;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
container: string;
|
|
9
|
+
activeClass: string;
|
|
10
|
+
sizes: Record<"small" | "medium" | "large", string>;
|
|
11
|
+
textClass: string;
|
|
12
|
+
inputClass: string;
|
|
13
|
+
sliderClass: string;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "./../../assets/theme.css.ts.vanilla-BRMmE1vI.css";
|
|
2
|
+
import "./../../assets/styles.css.ts.vanilla-B_0PcDN7.css";
|
|
3
|
+
|
|
4
|
+
//#region src/components/RangeInput/styles.css.ts
|
|
5
|
+
var __default__ = {
|
|
6
|
+
container: "styles_container__14rk0zx0",
|
|
7
|
+
activeClass: "styles_activeClass__14rk0zx1",
|
|
8
|
+
sizes,
|
|
9
|
+
textClass: "styles_textClass__14rk0zx5",
|
|
10
|
+
inputClass: "styles_inputClass__14rk0zx6",
|
|
11
|
+
sliderClass: "styles_sliderClass__14rk0zx7"
|
|
12
|
+
};
|
|
13
|
+
var styles_css_default = __default__;
|
|
14
|
+
var sizes = {
|
|
15
|
+
small: "styles_sizes_small__14rk0zx2",
|
|
16
|
+
medium: "styles_sizes_medium__14rk0zx3",
|
|
17
|
+
large: "styles_sizes_large__14rk0zx4"
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { styles_css_default as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
+
import type { WithElementRef } from '../../types.js';
|
|
3
|
+
export type RangeInputSize = 'small' | 'medium' | 'large';
|
|
4
|
+
export interface RangeInputProps extends WithElementRef<HTMLAttributes<HTMLDivElement>> {
|
|
5
|
+
minValue?: number;
|
|
6
|
+
maxValue?: number;
|
|
7
|
+
min: number;
|
|
8
|
+
max: number;
|
|
9
|
+
label?: string;
|
|
10
|
+
unit?: string;
|
|
11
|
+
width?: number | string;
|
|
12
|
+
size?: RangeInputSize;
|
|
13
|
+
isActive?: boolean;
|
|
14
|
+
minInputRef?: HTMLInputElement | null;
|
|
15
|
+
maxInputRef?: HTMLInputElement | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import styles_css_default from "./styles.css.js";
|
|
2
|
+
import "svelte/internal/disclose-version";
|
|
3
|
+
import * as $ from "svelte/internal/client";
|
|
4
|
+
import { Slider } from "bits-ui";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Slider/Slider.svelte
|
|
7
|
+
var root_1 = $.from_html(`<span data-slot="slider-track"><!></span> <!>`, 1);
|
|
8
|
+
function Slider$1($$anchor, $$props) {
|
|
9
|
+
$.push($$props, true);
|
|
10
|
+
let ref = $.prop($$props, "ref", 15, null), value = $.prop($$props, "value", 15), orientation = $.prop($$props, "orientation", 3, "horizontal"), size = $.prop($$props, "size", 3, "medium"), restProps = $.rest_props($$props, [
|
|
11
|
+
"$$slots",
|
|
12
|
+
"$$events",
|
|
13
|
+
"$$legacy",
|
|
14
|
+
"ref",
|
|
15
|
+
"value",
|
|
16
|
+
"orientation",
|
|
17
|
+
"class",
|
|
18
|
+
"size"
|
|
19
|
+
]);
|
|
20
|
+
var fragment = $.comment();
|
|
21
|
+
var node = $.first_child(fragment);
|
|
22
|
+
{
|
|
23
|
+
const children = ($$anchor$1, $$arg0) => {
|
|
24
|
+
let thumbItems = () => $$arg0?.().thumbItems;
|
|
25
|
+
var fragment_1 = root_1();
|
|
26
|
+
var span = $.first_child(fragment_1);
|
|
27
|
+
var node_1 = $.child(span);
|
|
28
|
+
$.component(node_1, () => Slider.Range, ($$anchor$2, SliderPrimitive_Range) => {
|
|
29
|
+
SliderPrimitive_Range($$anchor$2, {
|
|
30
|
+
"data-slot": "slider-range",
|
|
31
|
+
get class() {
|
|
32
|
+
return styles_css_default.range;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
$.reset(span);
|
|
37
|
+
var node_2 = $.sibling(span, 2);
|
|
38
|
+
$.each(node_2, 16, thumbItems, (thumb) => thumb, ($$anchor$2, thumb) => {
|
|
39
|
+
var fragment_2 = $.comment();
|
|
40
|
+
var node_3 = $.first_child(fragment_2);
|
|
41
|
+
{
|
|
42
|
+
let $0$1 = $.derived(() => [styles_css_default.thumb, styles_css_default.thumbSizes[size()]]);
|
|
43
|
+
$.component(node_3, () => Slider.Thumb, ($$anchor$3, SliderPrimitive_Thumb) => {
|
|
44
|
+
SliderPrimitive_Thumb($$anchor$3, {
|
|
45
|
+
"data-slot": "slider-thumb",
|
|
46
|
+
get index() {
|
|
47
|
+
return thumb.index;
|
|
48
|
+
},
|
|
49
|
+
get class() {
|
|
50
|
+
return $.get($0$1);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
$.append($$anchor$2, fragment_2);
|
|
56
|
+
});
|
|
57
|
+
$.template_effect(() => {
|
|
58
|
+
$.set_attribute(span, "data-orientation", orientation());
|
|
59
|
+
$.set_class(span, 1, $.clsx([styles_css_default.track, styles_css_default.trackSizes[size()]]));
|
|
60
|
+
});
|
|
61
|
+
$.append($$anchor$1, fragment_1);
|
|
62
|
+
};
|
|
63
|
+
let $0 = $.derived(() => [styles_css_default.root, $$props.class]);
|
|
64
|
+
$.component(node, () => Slider.Root, ($$anchor$1, SliderPrimitive_Root) => {
|
|
65
|
+
SliderPrimitive_Root($$anchor$1, $.spread_props({
|
|
66
|
+
"data-slot": "slider",
|
|
67
|
+
get orientation() {
|
|
68
|
+
return orientation();
|
|
69
|
+
},
|
|
70
|
+
get class() {
|
|
71
|
+
return $.get($0);
|
|
72
|
+
}
|
|
73
|
+
}, () => restProps, {
|
|
74
|
+
get ref() {
|
|
75
|
+
return ref();
|
|
76
|
+
},
|
|
77
|
+
set ref($$value) {
|
|
78
|
+
ref($$value);
|
|
79
|
+
},
|
|
80
|
+
get value() {
|
|
81
|
+
return value();
|
|
82
|
+
},
|
|
83
|
+
set value($$value) {
|
|
84
|
+
value($$value);
|
|
85
|
+
},
|
|
86
|
+
children,
|
|
87
|
+
$$slots: { default: true }
|
|
88
|
+
}));
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
$.append($$anchor, fragment);
|
|
92
|
+
$.pop();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
//#endregion
|
|
96
|
+
export { Slider$1 as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SliderSize } from './types.js';
|
|
2
|
+
export declare const root: string;
|
|
3
|
+
export declare const track: string;
|
|
4
|
+
export declare const trackSizes: Record<SliderSize, string>;
|
|
5
|
+
export declare const range: string;
|
|
6
|
+
export declare const thumb: string;
|
|
7
|
+
export declare const thumbSizes: Record<SliderSize, string>;
|
|
8
|
+
declare const _default: {
|
|
9
|
+
root: string;
|
|
10
|
+
track: string;
|
|
11
|
+
range: string;
|
|
12
|
+
thumb: string;
|
|
13
|
+
trackSizes: Record<SliderSize, string>;
|
|
14
|
+
thumbSizes: Record<SliderSize, string>;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import "./../../assets/theme.css.ts.vanilla-BRMmE1vI.css";
|
|
2
|
+
import "./../../assets/styles.css.ts.vanilla-Dnh1lH3w.css";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Slider/styles.css.ts
|
|
5
|
+
var __default__ = {
|
|
6
|
+
root: "styles_root__1af48w00",
|
|
7
|
+
track: "styles_track__1af48w01",
|
|
8
|
+
range: "styles_range__1af48w05",
|
|
9
|
+
thumb: "styles_thumb__1af48w06",
|
|
10
|
+
trackSizes,
|
|
11
|
+
thumbSizes
|
|
12
|
+
};
|
|
13
|
+
var styles_css_default = __default__;
|
|
14
|
+
var thumbSizes = {
|
|
15
|
+
small: "styles_thumbSizes_small__1af48w07",
|
|
16
|
+
medium: "styles_thumbSizes_medium__1af48w08",
|
|
17
|
+
large: "styles_thumbSizes_large__1af48w09"
|
|
18
|
+
};
|
|
19
|
+
var trackSizes = {
|
|
20
|
+
small: "styles_trackSizes_small__1af48w02",
|
|
21
|
+
medium: "styles_trackSizes_medium__1af48w03",
|
|
22
|
+
large: "styles_trackSizes_large__1af48w04"
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { styles_css_default as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Slider as SliderPrimitive } from 'bits-ui';
|
|
2
|
+
import type { WithoutChildrenOrChild } from '../../types.js';
|
|
3
|
+
export type SliderSize = 'small' | 'medium' | 'large';
|
|
4
|
+
export type SliderProps = WithoutChildrenOrChild<SliderPrimitive.RootProps> & {
|
|
5
|
+
size?: SliderSize;
|
|
6
|
+
};
|
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
export { Accordion } from './Accordion/index.js';
|
|
2
2
|
export { Alert } from './Alert/index.js';
|
|
3
|
+
export { Badge, badgeVariants, type BadgeVariant } from './Badge/index.js';
|
|
3
4
|
export { Button, buttonVariants, type ButtonSize, type ButtonVariant, } from './Button/index.js';
|
|
5
|
+
export { ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, } from './ButtonGroup/index.js';
|
|
4
6
|
export { Calendar, type CalendarProps } from './Calendar/index.js';
|
|
5
7
|
export { Card } from './Card/index.js';
|
|
8
|
+
export { Carousel, type CarouselProps } from './Carousel/index.js';
|
|
6
9
|
export { Checkbox } from './Checkbox/index.js';
|
|
7
10
|
export { CircularProgress, type CircularProgressProps, } from './CircularProgress/index.js';
|
|
8
11
|
export { ContentState, type ContentStateErrorProps, type ContentStateProps, } from './ContentState/index.js';
|
|
9
12
|
export { DataGrid, type DataGridColumn, type DataGridColumns, type DataGridProps, type DataGridState, } from './DataGrid/index.js';
|
|
10
13
|
export { DataGridSortHeader, type DataGridSortHeaderProps, type DataGridSorting, } from './DataGridSortHeader/index.js';
|
|
11
|
-
export
|
|
14
|
+
export * as DropdownMenu from './DropdownMenu/index.js';
|
|
15
|
+
export type { DropdownMenuProps } from './DropdownMenu/index.js';
|
|
12
16
|
export { Field, type FieldOrientation, type FieldVariants, } from './Field/index.js';
|
|
13
17
|
export { Input, type InputProps, type InputType, } from './Input/index.js';
|
|
18
|
+
export { Item, type ItemProps, type ItemSize, type ItemVariant, } from './Item/index.js';
|
|
14
19
|
export { Label } from './Label/index.js';
|
|
15
20
|
export { Placeholder, type PlaceholderProps, type PlaceholderSize, } from './Placeholder/index.js';
|
|
21
|
+
export { Popover, type PopoverProps } from './Popover/index.js';
|
|
22
|
+
export { RangeInput, type RangeInputProps, type RangeInputSize, } from './RangeInput/index.js';
|
|
16
23
|
export { Select } from './Select/index.js';
|
|
17
24
|
export { Separator, type SeparatorProps, } from './Separator/index.js';
|
|
25
|
+
export { Slider, type SliderProps } from './Slider/index.js';
|
|
18
26
|
export { Spinner, type SpinnerSize } from './Spinner/index.js';
|
|
19
27
|
export { Tooltip, type TooltipProps } from './Tooltip/index.js';
|
|
20
28
|
export { Typography, type TypographyAlign, type TypographyColor, type TypographyVariant, } from './Typography/index.js';
|
package/dist/components/index.js
CHANGED
|
@@ -1,39 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { Select } from "./Select/index.js";
|
|
6
|
-
import Placeholder from "./Placeholder/Placeholder.js";
|
|
7
|
-
import Label_1 from "./Label/Label.js";
|
|
8
|
-
import Input from "./Input/Input.js";
|
|
9
|
-
import { Field } from "./Field/index.js";
|
|
10
|
-
import CheckboxGroup from "./DropdownMenu/CheckboxGroup/CheckboxGroup.js";
|
|
11
|
-
import CheckboxItem from "./DropdownMenu/CheckboxItem/CheckboxItem.js";
|
|
12
|
-
import Portal from "./DropdownMenu/Portal/Portal.js";
|
|
13
|
-
import Content from "./DropdownMenu/Content/Content.js";
|
|
14
|
-
import DropdownMenu from "./DropdownMenu/DropdownMenu.js";
|
|
15
|
-
import Group from "./DropdownMenu/Group/Group.js";
|
|
16
|
-
import GroupHeading from "./DropdownMenu/GroupHeading/GroupHeading.js";
|
|
17
|
-
import Item from "./DropdownMenu/Item/Item.js";
|
|
18
|
-
import Label from "./DropdownMenu/Label/Label.js";
|
|
19
|
-
import RadioGroup from "./DropdownMenu/RadioGroup/RadioGroup.js";
|
|
20
|
-
import RadioItem from "./DropdownMenu/RadioItem/RadioItem.js";
|
|
21
|
-
import Separator from "./DropdownMenu/Separator/Separator.js";
|
|
22
|
-
import Shortcut from "./DropdownMenu/Shortcut/Shortcut.js";
|
|
23
|
-
import Sub from "./DropdownMenu/Sub/Sub.js";
|
|
24
|
-
import SubContent from "./DropdownMenu/SubContent/SubContent.js";
|
|
25
|
-
import SubTrigger from "./DropdownMenu/SubTrigger/SubTrigger.js";
|
|
26
|
-
import Trigger from "./DropdownMenu/Trigger/Trigger.js";
|
|
27
|
-
import DataGridSortHeader from "./DataGridSortHeader/DataGridSortHeader.js";
|
|
1
|
+
import { Accordion } from "./Accordion/index.js";
|
|
2
|
+
import { Alert } from "./Alert/index.js";
|
|
3
|
+
import { badgeVariants } from "./Badge/styles.css.js";
|
|
4
|
+
import Badge from "./Badge/Badge.js";
|
|
28
5
|
import { buttonVariants } from "./Button/styles.css.js";
|
|
29
6
|
import Button from "./Button/Button.js";
|
|
7
|
+
import Separator from "./Separator/Separator.js";
|
|
8
|
+
import { ButtonGroup } from "./ButtonGroup/index.js";
|
|
9
|
+
import Calendar from "./Calendar/Calendar.js";
|
|
10
|
+
import { Card } from "./Card/index.js";
|
|
11
|
+
import { Carousel } from "./Carousel/index.js";
|
|
12
|
+
import Checkbox from "./Checkbox/Checkbox.js";
|
|
30
13
|
import CircularProgress from "./CircularProgress/CircularProgress.js";
|
|
31
|
-
import
|
|
14
|
+
import Typography from "./Typography/Typography.js";
|
|
15
|
+
import Placeholder from "./Placeholder/Placeholder.js";
|
|
16
|
+
import Spinner from "./Spinner/Spinner.js";
|
|
32
17
|
import ContentState from "./ContentState/ContentState.js";
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import {
|
|
18
|
+
import DataGrid from "./DataGrid/DataGrid.js";
|
|
19
|
+
import DataGridSortHeader from "./DataGridSortHeader/DataGridSortHeader.js";
|
|
20
|
+
import { DropdownMenu_exports } from "./DropdownMenu/index.js";
|
|
21
|
+
import Label_1 from "./Label/Label.js";
|
|
22
|
+
import { Field } from "./Field/index.js";
|
|
23
|
+
import Input from "./Input/Input.js";
|
|
24
|
+
import { Item } from "./Item/index.js";
|
|
25
|
+
import { Popover } from "./Popover/index.js";
|
|
26
|
+
import Slider from "./Slider/Slider.js";
|
|
27
|
+
import RangeInput from "./RangeInput/RangeInput.js";
|
|
28
|
+
import { Select } from "./Select/index.js";
|
|
29
|
+
import Tooltip from "./Tooltip/Tooltip.js";
|
|
38
30
|
|
|
39
|
-
export { Accordion, Alert, Button, Calendar, Card, Checkbox, CircularProgress, ContentState, DataGrid, DataGridSortHeader,
|
|
31
|
+
export { Accordion, Alert, Badge, Button, ButtonGroup, Calendar, Card, Carousel, Checkbox, CircularProgress, ContentState, DataGrid, DataGridSortHeader, DropdownMenu_exports as DropdownMenu, Field, Input, Item, Label_1 as Label, Placeholder, Popover, RangeInput, Select, Separator, Slider, Spinner, Tooltip, Typography, badgeVariants, buttonVariants };
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
type Accordion = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Accordion: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
11
|
-
}, {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, string>;
|
|
1
|
+
import { Accordion } from '../components/index.js';
|
|
14
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
15
|
-
new (options: import(
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
16
4
|
$$bindings?: Bindings;
|
|
17
5
|
} & Exports;
|
|
18
6
|
(internal: unknown, props: {
|
|
@@ -24,3 +12,8 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
24
12
|
};
|
|
25
13
|
z_$$bindings?: Bindings;
|
|
26
14
|
}
|
|
15
|
+
declare const Accordion: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
}, {}, {}, string>;
|
|
18
|
+
type Accordion = InstanceType<typeof Accordion>;
|
|
19
|
+
export default Accordion;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Alert } from '../index.js';
|
|
1
|
+
import { Alert } from '../components/index.js';
|
|
2
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
4
|
$$bindings?: Bindings;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Badge } from '../components/index.js';
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
12
|
+
};
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
14
|
+
}
|
|
15
|
+
declare const Badge: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
}, {}, {}, string>;
|
|
18
|
+
type Badge = InstanceType<typeof Badge>;
|
|
19
|
+
export default Badge;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ButtonGroup } from '../components/index.js';
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
12
|
+
};
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
14
|
+
}
|
|
15
|
+
declare const ButtonGroup: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
}, {}, {}, string>;
|
|
18
|
+
type ButtonGroup = InstanceType<typeof ButtonGroup>;
|
|
19
|
+
export default ButtonGroup;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Calendar } from '../index.js';
|
|
1
|
+
import { Calendar } from '../components/index.js';
|
|
2
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
4
|
$$bindings?: Bindings;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Card } from '../index.js';
|
|
1
|
+
import { Card } from '../components/index.js';
|
|
2
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
4
|
$$bindings?: Bindings;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Carousel } from '../components/index.js';
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
12
|
+
};
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
14
|
+
}
|
|
15
|
+
declare const Carousel: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
}, {}, {}, string>;
|
|
18
|
+
type Carousel = InstanceType<typeof Carousel>;
|
|
19
|
+
export default Carousel;
|
|
@@ -11,6 +11,7 @@ declare const CircularProgress: $$__sveltets_2_IsomorphicComponent<{
|
|
|
11
11
|
}, {
|
|
12
12
|
[evt: string]: CustomEvent<any>;
|
|
13
13
|
}, {}, {}, string>;
|
|
14
|
+
import { CircularProgress } from '../components/index.js';
|
|
14
15
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
15
16
|
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
17
|
$$bindings?: Bindings;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataGrid } from '../index.js';
|
|
1
|
+
import { DataGrid } from '../components/index.js';
|
|
2
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
4
|
$$bindings?: Bindings;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DropdownMenu } from '../index.js';
|
|
1
|
+
import { DropdownMenu } from '../components/index.js';
|
|
2
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
4
|
$$bindings?: Bindings;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Field } from '../index.js';
|
|
1
|
+
import { Field } from '../components/index.js';
|
|
2
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
4
|
$$bindings?: Bindings;
|