@max-ts/svelte 1.5.1 → 1.6.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 (44) hide show
  1. package/dist/assets/src/components/Dialog/styles.css.ts.vanilla-DiDNsPy7.css +142 -0
  2. package/dist/components/Button/index.d.ts +1 -1
  3. package/dist/components/Dialog/Close/Close.js +31 -0
  4. package/dist/components/Dialog/Close/Close.svelte.d.ts +4 -0
  5. package/dist/components/Dialog/Close/index.d.ts +1 -0
  6. package/dist/components/Dialog/Content/Content.js +87 -0
  7. package/dist/components/Dialog/Content/Content.svelte.d.ts +4 -0
  8. package/dist/components/Dialog/Content/index.d.ts +1 -0
  9. package/dist/components/Dialog/Description/Description.js +39 -0
  10. package/dist/components/Dialog/Description/Description.svelte.d.ts +4 -0
  11. package/dist/components/Dialog/Description/index.d.ts +1 -0
  12. package/dist/components/Dialog/Dialog.js +39 -0
  13. package/dist/components/Dialog/Dialog.svelte.d.ts +3 -0
  14. package/dist/components/Dialog/Footer/Footer.js +33 -0
  15. package/dist/components/Dialog/Footer/Footer.svelte.d.ts +4 -0
  16. package/dist/components/Dialog/Footer/index.d.ts +1 -0
  17. package/dist/components/Dialog/Header/Header.js +33 -0
  18. package/dist/components/Dialog/Header/Header.svelte.d.ts +4 -0
  19. package/dist/components/Dialog/Header/index.d.ts +1 -0
  20. package/dist/components/Dialog/Overlay/Overlay.js +39 -0
  21. package/dist/components/Dialog/Overlay/Overlay.svelte.d.ts +4 -0
  22. package/dist/components/Dialog/Overlay/index.d.ts +1 -0
  23. package/dist/components/Dialog/Portal/Portal.js +21 -0
  24. package/dist/components/Dialog/Portal/Portal.svelte.d.ts +3 -0
  25. package/dist/components/Dialog/Portal/index.d.ts +1 -0
  26. package/dist/components/Dialog/Title/Title.js +39 -0
  27. package/dist/components/Dialog/Title/Title.svelte.d.ts +4 -0
  28. package/dist/components/Dialog/Title/index.d.ts +1 -0
  29. package/dist/components/Dialog/Trigger/Trigger.js +31 -0
  30. package/dist/components/Dialog/Trigger/Trigger.svelte.d.ts +4 -0
  31. package/dist/components/Dialog/Trigger/index.d.ts +1 -0
  32. package/dist/components/Dialog/index.d.ts +14 -0
  33. package/dist/components/Dialog/index.js +27 -0
  34. package/dist/components/Dialog/styles.css.d.ts +8 -0
  35. package/dist/components/Dialog/styles.css.js +15 -0
  36. package/dist/components/Dialog/types.d.ts +18 -0
  37. package/dist/components/RangeInput/RangeInput.js +8 -7
  38. package/dist/components/RangeInput/styles.css.d.ts +3 -2
  39. package/dist/components/index.d.ts +2 -1
  40. package/dist/components/index.js +35 -0
  41. package/dist/stories/Dialog.stories.svelte.d.ts +19 -0
  42. package/package.json +4 -4
  43. package/dist/components.d.ts +0 -67
  44. package/dist/components.js +0 -34
@@ -0,0 +1,142 @@
1
+ @keyframes styles_fadeIn__oq9x4f0 {
2
+ from {
3
+ opacity: 0;
4
+ }
5
+ to {
6
+ opacity: 1;
7
+ }
8
+ }
9
+ @keyframes styles_fadeOut__oq9x4f1 {
10
+ from {
11
+ opacity: 1;
12
+ }
13
+ to {
14
+ opacity: 0;
15
+ }
16
+ }
17
+ @keyframes styles_scaleIn__oq9x4f2 {
18
+ from {
19
+ opacity: 0;
20
+ transform: translate(-50%, -48%) scale(0.95);
21
+ }
22
+ to {
23
+ opacity: 1;
24
+ transform: translate(-50%, -50%) scale(1);
25
+ }
26
+ }
27
+ @keyframes styles_scaleOut__oq9x4f3 {
28
+ from {
29
+ opacity: 1;
30
+ transform: translate(-50%, -50%) scale(1);
31
+ }
32
+ to {
33
+ opacity: 0;
34
+ transform: translate(-50%, -48%) scale(0.95);
35
+ }
36
+ }
37
+ .styles_overlay__oq9x4f4 {
38
+ position: fixed;
39
+ inset: 0;
40
+ background-color: rgb(15 23 42 / 0.5);
41
+ z-index: 50;
42
+ }
43
+ .styles_overlay__oq9x4f4[data-state=open] {
44
+ animation: styles_fadeIn__oq9x4f0 150ms ease-out;
45
+ }
46
+ .styles_overlay__oq9x4f4[data-state=closed] {
47
+ animation: styles_fadeOut__oq9x4f1 150ms ease-in;
48
+ }
49
+ .styles_content__oq9x4f5 {
50
+ position: fixed;
51
+ top: 50%;
52
+ left: 50%;
53
+ transform: translate(-50%, -50%);
54
+ z-index: 51;
55
+ display: grid;
56
+ gap: var(--spacing-4);
57
+ width: calc(100% - 2rem);
58
+ max-height: min(90vh, 48rem);
59
+ background-color: var(--colors-background-paper);
60
+ color: var(--colors-text-primary);
61
+ border-radius: var(--borderRadius-lg);
62
+ border: 1px solid var(--colors-border);
63
+ box-shadow: var(--shadow-4);
64
+ padding: var(--spacing-6);
65
+ outline: none;
66
+ }
67
+ .styles_content__oq9x4f5[data-state=open] {
68
+ animation: styles_scaleIn__oq9x4f2 200ms ease-out;
69
+ }
70
+ .styles_content__oq9x4f5[data-state=closed] {
71
+ animation: styles_scaleOut__oq9x4f3 150ms ease-in;
72
+ }
73
+ .styles_header__oq9x4f6 {
74
+ display: flex;
75
+ flex-direction: column;
76
+ gap: var(--spacing-2);
77
+ text-align: center;
78
+ }
79
+ .styles_footer__oq9x4f7 {
80
+ display: flex;
81
+ flex-direction: column-reverse;
82
+ gap: var(--spacing-2);
83
+ }
84
+ .styles_title__oq9x4f8 {
85
+ font-size: var(--fontSize-lg);
86
+ font-weight: var(--fontWeight-semibold);
87
+ line-height: var(--lineHeight-snug);
88
+ }
89
+ .styles_description__oq9x4f9 {
90
+ color: var(--colors-text-secondary);
91
+ font-size: var(--fontSize-sm);
92
+ }
93
+ .styles_closeButton__oq9x4fa {
94
+ position: absolute;
95
+ top: var(--spacing-4);
96
+ right: var(--spacing-4);
97
+ display: inline-flex;
98
+ align-items: center;
99
+ justify-content: center;
100
+ border: none;
101
+ border-radius: var(--borderRadius-sm);
102
+ background-color: transparent;
103
+ color: var(--colors-text-secondary);
104
+ opacity: 0.7;
105
+ cursor: pointer;
106
+ padding: var(--spacing-1);
107
+ transition: opacity 0.2s ease;
108
+ }
109
+ .styles_closeButton__oq9x4fa:hover {
110
+ opacity: 1;
111
+ }
112
+ .styles_closeButton__oq9x4fa:focus-visible {
113
+ outline: 2px solid var(--colors-primary);
114
+ outline-offset: 2px;
115
+ }
116
+ .styles_closeButton__oq9x4fa:disabled {
117
+ opacity: 0.5;
118
+ pointer-events: none;
119
+ }
120
+ .styles_visuallyHidden__oq9x4fb {
121
+ border: 0;
122
+ clip: rect(0, 0, 0, 0);
123
+ height: 1px;
124
+ margin: -1px;
125
+ overflow: hidden;
126
+ padding: 0;
127
+ position: absolute;
128
+ width: 1px;
129
+ white-space: nowrap;
130
+ }
131
+ @media screen and (min-width: 640px) {
132
+ .styles_content__oq9x4f5 {
133
+ width: 32rem;
134
+ }
135
+ .styles_header__oq9x4f6 {
136
+ text-align: left;
137
+ }
138
+ .styles_footer__oq9x4f7 {
139
+ flex-direction: row;
140
+ justify-content: flex-end;
141
+ }
142
+ }
@@ -1,3 +1,3 @@
1
1
  export { default as Button } from './Button.svelte';
2
2
  export { buttonVariants } from './styles.css';
3
- export type { ButtonSize, ButtonVariant } from './types';
3
+ export type { ButtonProps, ButtonSize, ButtonVariant } from './types';
@@ -0,0 +1,31 @@
1
+ import "svelte/internal/disclose-version";
2
+ import * as $ from "svelte/internal/client";
3
+ import { Dialog } from "bits-ui";
4
+
5
+ //#region src/components/Dialog/Close/Close.svelte
6
+ function Close($$anchor, $$props) {
7
+ $.push($$props, true);
8
+ let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
9
+ "$$slots",
10
+ "$$events",
11
+ "$$legacy",
12
+ "ref"
13
+ ]);
14
+ var fragment = $.comment();
15
+ var node = $.first_child(fragment);
16
+ $.component(node, () => Dialog.Close, ($$anchor, DialogPrimitive_Close) => {
17
+ DialogPrimitive_Close($$anchor, $.spread_props({ "data-slot": "dialog-close" }, () => restProps, {
18
+ get ref() {
19
+ return ref();
20
+ },
21
+ set ref($$value) {
22
+ ref($$value);
23
+ }
24
+ }));
25
+ });
26
+ $.append($$anchor, fragment);
27
+ $.pop();
28
+ }
29
+
30
+ //#endregion
31
+ export { Close as default };
@@ -0,0 +1,4 @@
1
+ import { Dialog as DialogPrimitive } from 'bits-ui';
2
+ declare const Close: import("svelte").Component<DialogPrimitive.TriggerProps, {}, "ref">;
3
+ type Close = ReturnType<typeof Close>;
4
+ export default Close;
@@ -0,0 +1 @@
1
+ export { default as Close } from './Close.svelte';
@@ -0,0 +1,87 @@
1
+ import { closeButton, content, visuallyHidden } from "../styles.css.js";
2
+ import Overlay from "../Overlay/Overlay.js";
3
+ import Portal from "../Portal/Portal.js";
4
+ import "svelte/internal/disclose-version";
5
+ import * as $ from "svelte/internal/client";
6
+ import { Dialog } from "bits-ui";
7
+ import XIcon from "@lucide/svelte/icons/x";
8
+
9
+ //#region src/components/Dialog/Content/Content.svelte
10
+ var root_4 = $.from_html(`<!> <span>Close dialog</span>`, 1);
11
+ var root_2 = $.from_html(`<!> <!>`, 1);
12
+ var root_1 = $.from_html(`<!> <!>`, 1);
13
+ function Content($$anchor, $$props) {
14
+ $.push($$props, true);
15
+ let ref = $.prop($$props, "ref", 15, null), showCloseButton = $.prop($$props, "showCloseButton", 3, true), restProps = $.rest_props($$props, [
16
+ "$$slots",
17
+ "$$events",
18
+ "$$legacy",
19
+ "ref",
20
+ "class",
21
+ "portalProps",
22
+ "showCloseButton",
23
+ "children"
24
+ ]);
25
+ const classNames = $.derived(() => [content, $$props.class]);
26
+ Portal($$anchor, $.spread_props(() => $$props.portalProps, {
27
+ children: ($$anchor, $$slotProps) => {
28
+ var fragment_1 = root_1();
29
+ var node = $.first_child(fragment_1);
30
+ Overlay(node, {});
31
+ var node_1 = $.sibling(node, 2);
32
+ $.component(node_1, () => Dialog.Content, ($$anchor, DialogPrimitive_Content) => {
33
+ DialogPrimitive_Content($$anchor, $.spread_props({
34
+ "data-slot": "dialog-content",
35
+ get class() {
36
+ return $.get(classNames);
37
+ }
38
+ }, () => restProps, {
39
+ get ref() {
40
+ return ref();
41
+ },
42
+ set ref($$value) {
43
+ ref($$value);
44
+ },
45
+ children: ($$anchor, $$slotProps) => {
46
+ var fragment_2 = root_2();
47
+ var node_2 = $.first_child(fragment_2);
48
+ $.snippet(node_2, () => $$props.children ?? $.noop);
49
+ var node_3 = $.sibling(node_2, 2);
50
+ var consequent = ($$anchor) => {
51
+ var fragment_3 = $.comment();
52
+ var node_4 = $.first_child(fragment_3);
53
+ $.component(node_4, () => Dialog.Close, ($$anchor, DialogPrimitive_Close) => {
54
+ DialogPrimitive_Close($$anchor, {
55
+ get class() {
56
+ return closeButton;
57
+ },
58
+ children: ($$anchor, $$slotProps) => {
59
+ var fragment_4 = root_4();
60
+ var node_5 = $.first_child(fragment_4);
61
+ XIcon(node_5, {});
62
+ var span = $.sibling(node_5, 2);
63
+ $.template_effect(() => $.set_class(span, 1, $.clsx(visuallyHidden)));
64
+ $.append($$anchor, fragment_4);
65
+ },
66
+ $$slots: { default: true }
67
+ });
68
+ });
69
+ $.append($$anchor, fragment_3);
70
+ };
71
+ $.if(node_3, ($$render) => {
72
+ if (showCloseButton()) $$render(consequent);
73
+ });
74
+ $.append($$anchor, fragment_2);
75
+ },
76
+ $$slots: { default: true }
77
+ }));
78
+ });
79
+ $.append($$anchor, fragment_1);
80
+ },
81
+ $$slots: { default: true }
82
+ }));
83
+ $.pop();
84
+ }
85
+
86
+ //#endregion
87
+ export { Content as default };
@@ -0,0 +1,4 @@
1
+ import type { DialogContentProps } from '../types';
2
+ declare const Content: import("svelte").Component<DialogContentProps, {}, "ref">;
3
+ type Content = ReturnType<typeof Content>;
4
+ export default Content;
@@ -0,0 +1 @@
1
+ export { default as Content } from './Content.svelte';
@@ -0,0 +1,39 @@
1
+ import { description } from "../styles.css.js";
2
+ import "svelte/internal/disclose-version";
3
+ import * as $ from "svelte/internal/client";
4
+ import { Dialog } from "bits-ui";
5
+
6
+ //#region src/components/Dialog/Description/Description.svelte
7
+ function Description($$anchor, $$props) {
8
+ $.push($$props, true);
9
+ let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
10
+ "$$slots",
11
+ "$$events",
12
+ "$$legacy",
13
+ "ref",
14
+ "class"
15
+ ]);
16
+ const classNames = $.derived(() => [description, $$props.class]);
17
+ var fragment = $.comment();
18
+ var node = $.first_child(fragment);
19
+ $.component(node, () => Dialog.Description, ($$anchor, DialogPrimitive_Description) => {
20
+ DialogPrimitive_Description($$anchor, $.spread_props({
21
+ "data-slot": "dialog-description",
22
+ get class() {
23
+ return $.get(classNames);
24
+ }
25
+ }, () => restProps, {
26
+ get ref() {
27
+ return ref();
28
+ },
29
+ set ref($$value) {
30
+ ref($$value);
31
+ }
32
+ }));
33
+ });
34
+ $.append($$anchor, fragment);
35
+ $.pop();
36
+ }
37
+
38
+ //#endregion
39
+ export { Description as default };
@@ -0,0 +1,4 @@
1
+ import { Dialog as DialogPrimitive } from 'bits-ui';
2
+ declare const Description: import("svelte").Component<DialogPrimitive.DescriptionProps, {}, "ref">;
3
+ type Description = ReturnType<typeof Description>;
4
+ export default Description;
@@ -0,0 +1 @@
1
+ export { default as Description } from './Description.svelte';
@@ -0,0 +1,39 @@
1
+ import "svelte/internal/disclose-version";
2
+ import * as $ from "svelte/internal/client";
3
+ import { Dialog } from "bits-ui";
4
+
5
+ //#region src/components/Dialog/Dialog.svelte
6
+ function Dialog$1($$anchor, $$props) {
7
+ $.push($$props, true);
8
+ let open = $.prop($$props, "open", 15, false), restProps = $.rest_props($$props, [
9
+ "$$slots",
10
+ "$$events",
11
+ "$$legacy",
12
+ "open",
13
+ "children"
14
+ ]);
15
+ var fragment = $.comment();
16
+ var node = $.first_child(fragment);
17
+ $.component(node, () => Dialog.Root, ($$anchor, DialogPrimitive_Root) => {
18
+ DialogPrimitive_Root($$anchor, $.spread_props(() => restProps, {
19
+ get open() {
20
+ return open();
21
+ },
22
+ set open($$value) {
23
+ open($$value);
24
+ },
25
+ children: ($$anchor, $$slotProps) => {
26
+ var fragment_1 = $.comment();
27
+ var node_1 = $.first_child(fragment_1);
28
+ $.snippet(node_1, () => $$props.children ?? $.noop);
29
+ $.append($$anchor, fragment_1);
30
+ },
31
+ $$slots: { default: true }
32
+ }));
33
+ });
34
+ $.append($$anchor, fragment);
35
+ $.pop();
36
+ }
37
+
38
+ //#endregion
39
+ export { Dialog$1 as default };
@@ -0,0 +1,3 @@
1
+ declare const Dialog: import("svelte").Component<import("bits-ui").AlertDialogRootPropsWithoutHTML, {}, "open">;
2
+ type Dialog = ReturnType<typeof Dialog>;
3
+ export default Dialog;
@@ -0,0 +1,33 @@
1
+ import { footer } from "../styles.css.js";
2
+ import "svelte/internal/disclose-version";
3
+ import * as $ from "svelte/internal/client";
4
+
5
+ //#region src/components/Dialog/Footer/Footer.svelte
6
+ var root = $.from_html(`<div><!></div>`);
7
+ function Footer($$anchor, $$props) {
8
+ $.push($$props, true);
9
+ let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
10
+ "$$slots",
11
+ "$$events",
12
+ "$$legacy",
13
+ "ref",
14
+ "class",
15
+ "children"
16
+ ]);
17
+ const classNames = $.derived(() => [footer, $$props.class]);
18
+ var div = root();
19
+ $.attribute_effect(div, () => ({
20
+ "data-slot": "dialog-footer",
21
+ class: $.get(classNames),
22
+ ...restProps
23
+ }));
24
+ var node = $.child(div);
25
+ $.snippet(node, () => $$props.children ?? $.noop);
26
+ $.reset(div);
27
+ $.bind_this(div, ($$value) => ref($$value), () => ref());
28
+ $.append($$anchor, div);
29
+ $.pop();
30
+ }
31
+
32
+ //#endregion
33
+ export { Footer as default };
@@ -0,0 +1,4 @@
1
+ import type { DialogFooterProps } from '../types';
2
+ declare const Footer: import("svelte").Component<DialogFooterProps, {}, "ref">;
3
+ type Footer = ReturnType<typeof Footer>;
4
+ export default Footer;
@@ -0,0 +1 @@
1
+ export { default as Footer } from './Footer.svelte';
@@ -0,0 +1,33 @@
1
+ import { header } from "../styles.css.js";
2
+ import "svelte/internal/disclose-version";
3
+ import * as $ from "svelte/internal/client";
4
+
5
+ //#region src/components/Dialog/Header/Header.svelte
6
+ var root = $.from_html(`<div><!></div>`);
7
+ function Header($$anchor, $$props) {
8
+ $.push($$props, true);
9
+ let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
10
+ "$$slots",
11
+ "$$events",
12
+ "$$legacy",
13
+ "ref",
14
+ "class",
15
+ "children"
16
+ ]);
17
+ const classNames = $.derived(() => [header, $$props.class]);
18
+ var div = root();
19
+ $.attribute_effect(div, () => ({
20
+ "data-slot": "dialog-header",
21
+ class: $.get(classNames),
22
+ ...restProps
23
+ }));
24
+ var node = $.child(div);
25
+ $.snippet(node, () => $$props.children ?? $.noop);
26
+ $.reset(div);
27
+ $.bind_this(div, ($$value) => ref($$value), () => ref());
28
+ $.append($$anchor, div);
29
+ $.pop();
30
+ }
31
+
32
+ //#endregion
33
+ export { Header as default };
@@ -0,0 +1,4 @@
1
+ import type { DialogHeaderProps } from '../types';
2
+ declare const Header: import("svelte").Component<DialogHeaderProps, {}, "ref">;
3
+ type Header = ReturnType<typeof Header>;
4
+ export default Header;
@@ -0,0 +1 @@
1
+ export { default as Header } from './Header.svelte';
@@ -0,0 +1,39 @@
1
+ import { overlay } from "../styles.css.js";
2
+ import "svelte/internal/disclose-version";
3
+ import * as $ from "svelte/internal/client";
4
+ import { Dialog } from "bits-ui";
5
+
6
+ //#region src/components/Dialog/Overlay/Overlay.svelte
7
+ function Overlay($$anchor, $$props) {
8
+ $.push($$props, true);
9
+ let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
10
+ "$$slots",
11
+ "$$events",
12
+ "$$legacy",
13
+ "ref",
14
+ "class"
15
+ ]);
16
+ const classNames = $.derived(() => [overlay, $$props.class]);
17
+ var fragment = $.comment();
18
+ var node = $.first_child(fragment);
19
+ $.component(node, () => Dialog.Overlay, ($$anchor, DialogPrimitive_Overlay) => {
20
+ DialogPrimitive_Overlay($$anchor, $.spread_props({
21
+ "data-slot": "dialog-overlay",
22
+ get class() {
23
+ return $.get(classNames);
24
+ }
25
+ }, () => restProps, {
26
+ get ref() {
27
+ return ref();
28
+ },
29
+ set ref($$value) {
30
+ ref($$value);
31
+ }
32
+ }));
33
+ });
34
+ $.append($$anchor, fragment);
35
+ $.pop();
36
+ }
37
+
38
+ //#endregion
39
+ export { Overlay as default };
@@ -0,0 +1,4 @@
1
+ import { Dialog as DialogPrimitive } from 'bits-ui';
2
+ declare const Overlay: import("svelte").Component<DialogPrimitive.OverlayProps, {}, "ref">;
3
+ type Overlay = ReturnType<typeof Overlay>;
4
+ export default Overlay;
@@ -0,0 +1 @@
1
+ export { default as Overlay } from './Overlay.svelte';
@@ -0,0 +1,21 @@
1
+ import "svelte/internal/disclose-version";
2
+ import * as $ from "svelte/internal/client";
3
+ import { Dialog } from "bits-ui";
4
+
5
+ //#region src/components/Dialog/Portal/Portal.svelte
6
+ function Portal($$anchor, $$props) {
7
+ let restProps = $.rest_props($$props, [
8
+ "$$slots",
9
+ "$$events",
10
+ "$$legacy"
11
+ ]);
12
+ var fragment = $.comment();
13
+ var node = $.first_child(fragment);
14
+ $.component(node, () => Dialog.Portal, ($$anchor, DialogPrimitive_Portal) => {
15
+ DialogPrimitive_Portal($$anchor, $.spread_props(() => restProps));
16
+ });
17
+ $.append($$anchor, fragment);
18
+ }
19
+
20
+ //#endregion
21
+ export { Portal as default };
@@ -0,0 +1,3 @@
1
+ declare const Portal: import("svelte").Component<import("bits-ui").PortalProps, {}, "">;
2
+ type Portal = ReturnType<typeof Portal>;
3
+ export default Portal;
@@ -0,0 +1 @@
1
+ export { default as Portal } from './Portal.svelte';
@@ -0,0 +1,39 @@
1
+ import { title } from "../styles.css.js";
2
+ import "svelte/internal/disclose-version";
3
+ import * as $ from "svelte/internal/client";
4
+ import { Dialog } from "bits-ui";
5
+
6
+ //#region src/components/Dialog/Title/Title.svelte
7
+ function Title($$anchor, $$props) {
8
+ $.push($$props, true);
9
+ let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
10
+ "$$slots",
11
+ "$$events",
12
+ "$$legacy",
13
+ "ref",
14
+ "class"
15
+ ]);
16
+ const classNames = $.derived(() => [title, $$props.class]);
17
+ var fragment = $.comment();
18
+ var node = $.first_child(fragment);
19
+ $.component(node, () => Dialog.Title, ($$anchor, DialogPrimitive_Title) => {
20
+ DialogPrimitive_Title($$anchor, $.spread_props({
21
+ "data-slot": "dialog-title",
22
+ get class() {
23
+ return $.get(classNames);
24
+ }
25
+ }, () => restProps, {
26
+ get ref() {
27
+ return ref();
28
+ },
29
+ set ref($$value) {
30
+ ref($$value);
31
+ }
32
+ }));
33
+ });
34
+ $.append($$anchor, fragment);
35
+ $.pop();
36
+ }
37
+
38
+ //#endregion
39
+ export { Title as default };
@@ -0,0 +1,4 @@
1
+ import { Dialog as DialogPrimitive } from 'bits-ui';
2
+ declare const Title: import("svelte").Component<DialogPrimitive.TitleProps, {}, "ref">;
3
+ type Title = ReturnType<typeof Title>;
4
+ export default Title;
@@ -0,0 +1 @@
1
+ export { default as Title } from './Title.svelte';
@@ -0,0 +1,31 @@
1
+ import "svelte/internal/disclose-version";
2
+ import * as $ from "svelte/internal/client";
3
+ import { Dialog } from "bits-ui";
4
+
5
+ //#region src/components/Dialog/Trigger/Trigger.svelte
6
+ function Trigger($$anchor, $$props) {
7
+ $.push($$props, true);
8
+ let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
9
+ "$$slots",
10
+ "$$events",
11
+ "$$legacy",
12
+ "ref"
13
+ ]);
14
+ var fragment = $.comment();
15
+ var node = $.first_child(fragment);
16
+ $.component(node, () => Dialog.Trigger, ($$anchor, DialogPrimitive_Trigger) => {
17
+ DialogPrimitive_Trigger($$anchor, $.spread_props({ "data-slot": "dialog-trigger" }, () => restProps, {
18
+ get ref() {
19
+ return ref();
20
+ },
21
+ set ref($$value) {
22
+ ref($$value);
23
+ }
24
+ }));
25
+ });
26
+ $.append($$anchor, fragment);
27
+ $.pop();
28
+ }
29
+
30
+ //#endregion
31
+ export { Trigger as default };
@@ -0,0 +1,4 @@
1
+ import { Dialog as DialogPrimitive } from 'bits-ui';
2
+ declare const Trigger: import("svelte").Component<DialogPrimitive.TriggerProps, {}, "ref">;
3
+ type Trigger = ReturnType<typeof Trigger>;
4
+ export default Trigger;
@@ -0,0 +1 @@
1
+ export { default as Trigger } from './Trigger.svelte';
@@ -0,0 +1,14 @@
1
+ declare const Dialog: {
2
+ Root: import("svelte").Component<import("bits-ui").AlertDialogRootPropsWithoutHTML, {}, "open">;
3
+ Trigger: import("svelte").Component<import("bits-ui").AlertDialogTriggerProps, {}, "ref">;
4
+ Close: import("svelte").Component<import("bits-ui").AlertDialogTriggerProps, {}, "ref">;
5
+ Content: import("svelte").Component<import("./types").DialogContentProps, {}, "ref">;
6
+ Overlay: import("svelte").Component<import("bits-ui").AlertDialogOverlayProps, {}, "ref">;
7
+ Portal: import("svelte").Component<import("bits-ui").PortalProps, {}, "">;
8
+ Header: import("svelte").Component<import("./types").DialogHeaderProps, {}, "ref">;
9
+ Footer: import("svelte").Component<import("./types").DialogFooterProps, {}, "ref">;
10
+ Title: import("svelte").Component<import("bits-ui").AlertDialogTitleProps, {}, "ref">;
11
+ Description: import("svelte").Component<import("bits-ui").AlertDialogDescriptionProps, {}, "ref">;
12
+ };
13
+ export { Dialog };
14
+ export type * from './types';
@@ -0,0 +1,27 @@
1
+ import Close from "./Close/Close.js";
2
+ import Overlay from "./Overlay/Overlay.js";
3
+ import Portal from "./Portal/Portal.js";
4
+ import Content from "./Content/Content.js";
5
+ import Description from "./Description/Description.js";
6
+ import Dialog$1 from "./Dialog.js";
7
+ import Footer from "./Footer/Footer.js";
8
+ import Header from "./Header/Header.js";
9
+ import Title from "./Title/Title.js";
10
+ import Trigger from "./Trigger/Trigger.js";
11
+
12
+ //#region src/components/Dialog/index.ts
13
+ const Dialog = {
14
+ Root: Dialog$1,
15
+ Trigger,
16
+ Close,
17
+ Content,
18
+ Overlay,
19
+ Portal,
20
+ Header,
21
+ Footer,
22
+ Title,
23
+ Description
24
+ };
25
+
26
+ //#endregion
27
+ export { Dialog };
@@ -0,0 +1,8 @@
1
+ export declare const overlay: string;
2
+ export declare const content: string;
3
+ export declare const header: string;
4
+ export declare const footer: string;
5
+ export declare const title: string;
6
+ export declare const description: string;
7
+ export declare const closeButton: string;
8
+ export declare const visuallyHidden: string;
@@ -0,0 +1,15 @@
1
+ import "./../../assets/src/theme.css.ts.vanilla-HT3RGHeI.css";
2
+ import "./../../assets/src/components/Dialog/styles.css.ts.vanilla-DiDNsPy7.css";
3
+
4
+ //#region src/components/Dialog/styles.css.ts
5
+ var closeButton = "styles_closeButton__oq9x4fa";
6
+ var content = "styles_content__oq9x4f5";
7
+ var description = "styles_description__oq9x4f9";
8
+ var footer = "styles_footer__oq9x4f7";
9
+ var header = "styles_header__oq9x4f6";
10
+ var overlay = "styles_overlay__oq9x4f4";
11
+ var title = "styles_title__oq9x4f8";
12
+ var visuallyHidden = "styles_visuallyHidden__oq9x4fb";
13
+
14
+ //#endregion
15
+ export { closeButton, content, description, footer, header, overlay, title, visuallyHidden };
@@ -0,0 +1,18 @@
1
+ import type { Dialog as DialogPrimitive } from 'bits-ui';
2
+ import type { Snippet } from 'svelte';
3
+ import type { HTMLAttributes } from 'svelte/elements';
4
+ import type { WithElementRef, WithoutChildrenOrChild } from '../../types';
5
+ export type DialogProps = DialogPrimitive.RootProps;
6
+ export type DialogTriggerProps = DialogPrimitive.TriggerProps;
7
+ export type DialogCloseProps = DialogPrimitive.CloseProps;
8
+ export type DialogPortalProps = DialogPrimitive.PortalProps;
9
+ export type DialogOverlayProps = DialogPrimitive.OverlayProps;
10
+ export type DialogTitleProps = DialogPrimitive.TitleProps;
11
+ export type DialogDescriptionProps = DialogPrimitive.DescriptionProps;
12
+ export type DialogContentProps = WithoutChildrenOrChild<DialogPrimitive.ContentProps> & {
13
+ showCloseButton?: boolean;
14
+ portalProps?: WithoutChildrenOrChild<DialogPortalProps>;
15
+ children?: Snippet;
16
+ };
17
+ export type DialogHeaderProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
18
+ export type DialogFooterProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
@@ -9,7 +9,7 @@ import * as $ from "svelte/internal/client";
9
9
  var root = $.from_html(`<div><!> <!> <input type="text"/> <!> <input type="text"/> <!> <!></div>`);
10
10
  function RangeInput($$anchor, $$props) {
11
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, [
12
+ let minValue = $.prop($$props, "minValue", 15), maxValue = $.prop($$props, "maxValue", 15), width = $.prop($$props, "width", 3, 150), 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
13
  "$$slots",
14
14
  "$$events",
15
15
  "$$legacy",
@@ -27,6 +27,7 @@ function RangeInput($$anchor, $$props) {
27
27
  "maxInputRef",
28
28
  "ref"
29
29
  ]);
30
+ const calculatedWidth = $.derived(() => calculateSize(width()));
30
31
  $.user_pre_effect(() => {
31
32
  if (minValue() === void 0) minValue($$props.min);
32
33
  if (maxValue() === void 0) maxValue($$props.max);
@@ -56,16 +57,16 @@ function RangeInput($$anchor, $$props) {
56
57
  }
57
58
  }
58
59
  var div = root();
59
- $.attribute_effect(div, ($0) => ({
60
+ $.attribute_effect(div, () => ({
60
61
  class: [
61
62
  __default__.container,
62
63
  __default__.sizes[size()],
63
- $$props.isActive ? __default__.activeClass : "",
64
+ { [__default__.activeClass]: $$props.isActive },
64
65
  $$props.class
65
66
  ],
66
67
  ...restProps,
67
- [$.STYLE]: $0
68
- }), [() => ({ width: calculateSize(width()) })]);
68
+ [$.STYLE]: { width: $.get(calculatedWidth) }
69
+ }));
69
70
  var node = $.child(div);
70
71
  Typography(node, {
71
72
  get class() {
@@ -76,7 +77,7 @@ function RangeInput($$anchor, $$props) {
76
77
  children: ($$anchor, $$slotProps) => {
77
78
  $.next();
78
79
  var text = $.text();
79
- $.template_effect(() => $.set_text(text, label()));
80
+ $.template_effect(() => $.set_text(text, $$props.label));
80
81
  $.append($$anchor, text);
81
82
  },
82
83
  $$slots: { default: true }
@@ -129,7 +130,7 @@ function RangeInput($$anchor, $$props) {
129
130
  children: ($$anchor, $$slotProps) => {
130
131
  $.next();
131
132
  var text_3 = $.text();
132
- $.template_effect(() => $.set_text(text_3, unit()));
133
+ $.template_effect(() => $.set_text(text_3, $$props.unit));
133
134
  $.append($$anchor, text_3);
134
135
  },
135
136
  $$slots: { default: true }
@@ -1,13 +1,14 @@
1
+ import type { RangeInputSize } from './types';
1
2
  export declare const container: string;
2
3
  export declare const activeClass: string;
3
- export declare const sizes: Record<"small" | "medium" | "large", string>;
4
+ export declare const sizes: Record<RangeInputSize, string>;
4
5
  export declare const textClass: string;
5
6
  export declare const inputClass: string;
6
7
  export declare const sliderClass: string;
7
8
  declare const _default: {
8
9
  container: string;
9
10
  activeClass: string;
10
- sizes: Record<"small" | "medium" | "large", string>;
11
+ sizes: Record<RangeInputSize, string>;
11
12
  textClass: string;
12
13
  inputClass: string;
13
14
  sliderClass: string;
@@ -1,7 +1,7 @@
1
1
  export { Accordion } from './Accordion';
2
2
  export { Alert } from './Alert';
3
3
  export { Badge, type BadgeVariant, badgeVariants } from './Badge';
4
- export { Button, type ButtonSize, type ButtonVariant, buttonVariants, } from './Button';
4
+ export { Button, type ButtonProps, type ButtonSize, type ButtonVariant, buttonVariants, } from './Button';
5
5
  export { ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, } from './ButtonGroup';
6
6
  export { Calendar, type CalendarProps } from './Calendar';
7
7
  export { Card, type CardVariant } from './Card';
@@ -11,6 +11,7 @@ export { CircularProgress, type CircularProgressProps, } from './CircularProgres
11
11
  export { ContentState, type ContentStateErrorProps, type ContentStateProps, } from './ContentState';
12
12
  export { DataGrid, type DataGridColumn, type DataGridColumns, type DataGridProps, type DataGridState, } from './DataGrid';
13
13
  export { DataGridSortHeader, type DataGridSortHeaderProps, type DataGridSorting, } from './DataGridSortHeader';
14
+ export { Dialog, type DialogCloseProps, type DialogContentProps, type DialogDescriptionProps, type DialogFooterProps, type DialogHeaderProps, type DialogProps, type DialogTitleProps, type DialogTriggerProps, } from './Dialog';
14
15
  export type { DropdownMenuProps } from './DropdownMenu';
15
16
  export * as DropdownMenu from './DropdownMenu';
16
17
  export { Empty, type EmptyMediaVariant } from './Empty';
@@ -0,0 +1,35 @@
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";
5
+ import { buttonVariants } from "./Button/styles.css.js";
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";
13
+ import CircularProgress from "./CircularProgress/CircularProgress.js";
14
+ import Typography from "./Typography/Typography.js";
15
+ import Placeholder from "./Placeholder/Placeholder.js";
16
+ import Spinner from "./Spinner/Spinner.js";
17
+ import ContentState from "./ContentState/ContentState.js";
18
+ import DataGrid from "./DataGrid/DataGrid.js";
19
+ import DataGridSortHeader from "./DataGridSortHeader/DataGridSortHeader.js";
20
+ import { Dialog } from "./Dialog/index.js";
21
+ import { DropdownMenu_exports } from "./DropdownMenu/index.js";
22
+ import { Empty } from "./Empty/index.js";
23
+ import Label_1 from "./Label/Label.js";
24
+ import { Field } from "./Field/index.js";
25
+ import Input from "./Input/Input.js";
26
+ import { InputGroup } from "./InputGroup/index.js";
27
+ import { Item } from "./Item/index.js";
28
+ import { Popover } from "./Popover/index.js";
29
+ import Slider from "./Slider/Slider.js";
30
+ import RangeInput from "./RangeInput/RangeInput.js";
31
+ import { Select } from "./Select/index.js";
32
+ import { Tabs } from "./Tabs/index.js";
33
+ import Tooltip from "./Tooltip/Tooltip.js";
34
+
35
+ export { Accordion, Alert, Badge, Button, ButtonGroup, Calendar, Card, Carousel, Checkbox, CircularProgress, ContentState, DataGrid, DataGridSortHeader, Dialog, DropdownMenu_exports as DropdownMenu, Empty, Field, Input, InputGroup, Item, Label_1 as Label, Placeholder, Popover, RangeInput, Select, Separator, Slider, Spinner, Tabs, Tooltip, Typography, badgeVariants, buttonVariants };
@@ -0,0 +1,19 @@
1
+ import { Dialog } from '../components';
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 Dialog: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
16
+ [evt: string]: CustomEvent<any>;
17
+ }, {}, {}, string>;
18
+ type Dialog = InstanceType<typeof Dialog>;
19
+ export default Dialog;
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@max-ts/svelte",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "type": "module",
5
5
  "description": "Svelte component library.",
6
6
  "author": "Tsepelev Maksim",
7
7
  "license": "MIT",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./dist/components.d.ts",
11
- "svelte": "./dist/components.js",
12
- "default": "./dist/components.js"
10
+ "types": "./dist/components/index.d.ts",
11
+ "svelte": "./dist/components/index.js",
12
+ "default": "./dist/components/index.js"
13
13
  },
14
14
  "./package.json": "./package.json",
15
15
  "./theme": {
@@ -1,67 +0,0 @@
1
- import Badge from "./components/Badge/Badge.js";
2
- import Button from "./components/Button/Button.js";
3
- import Separator from "./components/Separator/Separator.js";
4
- import Calendar from "./components/Calendar/Calendar.js";
5
- import Checkbox from "./components/Checkbox/Checkbox.js";
6
- import CircularProgress from "./components/CircularProgress/CircularProgress.js";
7
- import Typography from "./components/Typography/Typography.js";
8
- import Placeholder from "./components/Placeholder/Placeholder.js";
9
- import Spinner from "./components/Spinner/Spinner.js";
10
- import ContentState from "./components/ContentState/ContentState.js";
11
- import DataGrid from "./components/DataGrid/DataGrid.js";
12
- import DataGridSortHeader from "./components/DataGridSortHeader/DataGridSortHeader.js";
13
- import Label_1 from "./components/Label/Label.js";
14
- import Input from "./components/Input/Input.js";
15
- import Slider from "./components/Slider/Slider.js";
16
- import RangeInput from "./components/RangeInput/RangeInput.js";
17
- import Tooltip from "./components/Tooltip/Tooltip.js";
18
- import { Accordion } from "./components/Accordion/index.js";
19
- import { Alert } from "./components/Alert/index.js";
20
- import { BadgeVariant } from "./components/Badge/types.js";
21
- import { badgeVariants } from "./components/Badge/styles.css.js";
22
- import { ButtonSize, ButtonVariant } from "./components/Button/types.js";
23
- import { buttonVariants } from "./components/Button/styles.css.js";
24
- import { ButtonGroupOrientation, ButtonGroupProps } from "./components/ButtonGroup/types.js";
25
- import { ButtonGroup } from "./components/ButtonGroup/index.js";
26
- import { CalendarProps } from "./components/Calendar/types.js";
27
- import "./components/Calendar/index.js";
28
- import { CardVariant } from "./components/Card/types.js";
29
- import { Card } from "./components/Card/index.js";
30
- import { CarouselProps } from "./components/Carousel/types.js";
31
- import { Carousel } from "./components/Carousel/index.js";
32
- import { CircularProgressProps } from "./components/CircularProgress/types.js";
33
- import { PlaceholderProps, PlaceholderSize } from "./components/Placeholder/types.js";
34
- import "./components/Placeholder/index.js";
35
- import { ContentStateErrorProps, ContentStateProps } from "./components/ContentState/types.js";
36
- import "./components/ContentState/index.js";
37
- import { DataGridColumn, DataGridColumns, DataGridProps, DataGridState } from "./components/DataGrid/types.js";
38
- import "./components/DataGrid/index.js";
39
- import { DataGridSortHeaderProps, DataGridSorting } from "./components/DataGridSortHeader/types.js";
40
- import "./components/DataGridSortHeader/index.js";
41
- import { DropdownMenuProps } from "./components/DropdownMenu/types.js";
42
- import { index_d_exports } from "./components/DropdownMenu/index.js";
43
- import { EmptyMediaVariant } from "./components/Empty/types.js";
44
- import { Empty } from "./components/Empty/index.js";
45
- import { FieldOrientation, FieldVariants } from "./components/Field/types.js";
46
- import { Field } from "./components/Field/index.js";
47
- import { InputProps, InputType } from "./components/Input/types.js";
48
- import { InputGroupAddonAlign, InputGroupButtonSize } from "./components/InputGroup/types.js";
49
- import { InputGroup } from "./components/InputGroup/index.js";
50
- import { ItemProps, ItemSize, ItemVariant } from "./components/Item/types.js";
51
- import { Item } from "./components/Item/index.js";
52
- import { PopoverProps } from "./components/Popover/types.js";
53
- import { Popover } from "./components/Popover/index.js";
54
- import { RangeInputProps, RangeInputSize } from "./components/RangeInput/types.js";
55
- import { Select } from "./components/Select/index.js";
56
- import { SeparatorProps } from "./components/Separator/types.js";
57
- import "./components/Separator/index.js";
58
- import { SliderProps } from "./components/Slider/types.js";
59
- import "./components/Slider/index.js";
60
- import { SpinnerSize } from "./components/Spinner/types.js";
61
- import { TabsProps } from "./components/Tabs/types.js";
62
- import { Tabs } from "./components/Tabs/index.js";
63
- import { TooltipProps } from "./components/Tooltip/types.js";
64
- import "./components/Tooltip/index.js";
65
- import { TypographyAlign, TypographyColor, TypographyProps, TypographyVariant } from "./components/Typography/types.js";
66
- import "./components/Typography/index.js";
67
- export { Accordion, Alert, Badge, type BadgeVariant, Button, ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardVariant, Carousel, type CarouselProps, Checkbox, CircularProgress, type CircularProgressProps, ContentState, type ContentStateErrorProps, type ContentStateProps, DataGrid, type DataGridColumn, type DataGridColumns, type DataGridProps, DataGridSortHeader, type DataGridSortHeaderProps, type DataGridSorting, type DataGridState, index_d_exports as DropdownMenu, type DropdownMenuProps, Empty, type EmptyMediaVariant, Field, type FieldOrientation, type FieldVariants, Input, InputGroup, type InputGroupAddonAlign, type InputGroupButtonSize, type InputProps, type InputType, Item, type ItemProps, type ItemSize, type ItemVariant, Label_1 as Label, Placeholder, type PlaceholderProps, type PlaceholderSize, Popover, type PopoverProps, RangeInput, type RangeInputProps, type RangeInputSize, Select, Separator, type SeparatorProps, Slider, type SliderProps, Spinner, type SpinnerSize, Tabs, type TabsProps, Tooltip, type TooltipProps, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, badgeVariants, buttonVariants };
@@ -1,34 +0,0 @@
1
- import { Accordion } from "./components/Accordion/index.js";
2
- import { Alert } from "./components/Alert/index.js";
3
- import { badgeVariants } from "./components/Badge/styles.css.js";
4
- import Badge from "./components/Badge/Badge.js";
5
- import { buttonVariants } from "./components/Button/styles.css.js";
6
- import Button from "./components/Button/Button.js";
7
- import Separator from "./components/Separator/Separator.js";
8
- import { ButtonGroup } from "./components/ButtonGroup/index.js";
9
- import Calendar from "./components/Calendar/Calendar.js";
10
- import { Card } from "./components/Card/index.js";
11
- import { Carousel } from "./components/Carousel/index.js";
12
- import Checkbox from "./components/Checkbox/Checkbox.js";
13
- import CircularProgress from "./components/CircularProgress/CircularProgress.js";
14
- import Typography from "./components/Typography/Typography.js";
15
- import Placeholder from "./components/Placeholder/Placeholder.js";
16
- import Spinner from "./components/Spinner/Spinner.js";
17
- import ContentState from "./components/ContentState/ContentState.js";
18
- import DataGrid from "./components/DataGrid/DataGrid.js";
19
- import DataGridSortHeader from "./components/DataGridSortHeader/DataGridSortHeader.js";
20
- import { DropdownMenu_exports } from "./components/DropdownMenu/index.js";
21
- import { Empty } from "./components/Empty/index.js";
22
- import Label_1 from "./components/Label/Label.js";
23
- import { Field } from "./components/Field/index.js";
24
- import Input from "./components/Input/Input.js";
25
- import { InputGroup } from "./components/InputGroup/index.js";
26
- import { Item } from "./components/Item/index.js";
27
- import { Popover } from "./components/Popover/index.js";
28
- import Slider from "./components/Slider/Slider.js";
29
- import RangeInput from "./components/RangeInput/RangeInput.js";
30
- import { Select } from "./components/Select/index.js";
31
- import { Tabs } from "./components/Tabs/index.js";
32
- import Tooltip from "./components/Tooltip/Tooltip.js";
33
-
34
- export { Accordion, Alert, Badge, Button, ButtonGroup, Calendar, Card, Carousel, Checkbox, CircularProgress, ContentState, DataGrid, DataGridSortHeader, DropdownMenu_exports as DropdownMenu, Empty, Field, Input, InputGroup, Item, Label_1 as Label, Placeholder, Popover, RangeInput, Select, Separator, Slider, Spinner, Tabs, Tooltip, Typography, badgeVariants, buttonVariants };