@sigx/daisyui 0.1.6
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/LICENSE +21 -0
- package/README.md +235 -0
- package/dist/buttons/Button.d.ts +18 -0
- package/dist/buttons/Button.d.ts.map +1 -0
- package/dist/buttons/ButtonGroup.d.ts +18 -0
- package/dist/buttons/ButtonGroup.d.ts.map +1 -0
- package/dist/buttons/index.d.ts +5 -0
- package/dist/buttons/index.d.ts.map +1 -0
- package/dist/buttons/index.js +2 -0
- package/dist/buttons-Dtj_5Uc3.js +61 -0
- package/dist/buttons-Dtj_5Uc3.js.map +1 -0
- package/dist/data/Table.d.ts +92 -0
- package/dist/data/Table.d.ts.map +1 -0
- package/dist/data/index.d.ts +3 -0
- package/dist/data/index.d.ts.map +1 -0
- package/dist/data/index.js +2 -0
- package/dist/data-wxNpnX83.js +153 -0
- package/dist/data-wxNpnX83.js.map +1 -0
- package/dist/feedback/Accordion.d.ts +87 -0
- package/dist/feedback/Accordion.d.ts.map +1 -0
- package/dist/feedback/Badge.d.ts +73 -0
- package/dist/feedback/Badge.d.ts.map +1 -0
- package/dist/feedback/Countdown.d.ts +33 -0
- package/dist/feedback/Countdown.d.ts.map +1 -0
- package/dist/feedback/Diff.d.ts +43 -0
- package/dist/feedback/Diff.d.ts.map +1 -0
- package/dist/feedback/FileInput.d.ts +28 -0
- package/dist/feedback/FileInput.d.ts.map +1 -0
- package/dist/feedback/Indicator.d.ts +47 -0
- package/dist/feedback/Indicator.d.ts.map +1 -0
- package/dist/feedback/Kbd.d.ts +31 -0
- package/dist/feedback/Kbd.d.ts.map +1 -0
- package/dist/feedback/Modal.d.ts +51 -0
- package/dist/feedback/Modal.d.ts.map +1 -0
- package/dist/feedback/RadialProgress.d.ts +35 -0
- package/dist/feedback/RadialProgress.d.ts.map +1 -0
- package/dist/feedback/Rating.d.ts +34 -0
- package/dist/feedback/Rating.d.ts.map +1 -0
- package/dist/feedback/Skeleton.d.ts +24 -0
- package/dist/feedback/Skeleton.d.ts.map +1 -0
- package/dist/feedback/Steps.d.ts +60 -0
- package/dist/feedback/Steps.d.ts.map +1 -0
- package/dist/feedback/Swap.d.ts +53 -0
- package/dist/feedback/Swap.d.ts.map +1 -0
- package/dist/feedback/Timeline.d.ts +76 -0
- package/dist/feedback/Timeline.d.ts.map +1 -0
- package/dist/feedback/Toast.d.ts +30 -0
- package/dist/feedback/Toast.d.ts.map +1 -0
- package/dist/feedback/index.d.ts +31 -0
- package/dist/feedback/index.d.ts.map +1 -0
- package/dist/feedback/index.js +2 -0
- package/dist/feedback-DFutN-Kz.js +817 -0
- package/dist/feedback-DFutN-Kz.js.map +1 -0
- package/dist/forms/Checkbox.d.ts +15 -0
- package/dist/forms/Checkbox.d.ts.map +1 -0
- package/dist/forms/FormField.d.ts +16 -0
- package/dist/forms/FormField.d.ts.map +1 -0
- package/dist/forms/Input.d.ts +19 -0
- package/dist/forms/Input.d.ts.map +1 -0
- package/dist/forms/Radio.d.ts +78 -0
- package/dist/forms/Radio.d.ts.map +1 -0
- package/dist/forms/Range.d.ts +15 -0
- package/dist/forms/Range.d.ts.map +1 -0
- package/dist/forms/Select.d.ts +28 -0
- package/dist/forms/Select.d.ts.map +1 -0
- package/dist/forms/Textarea.d.ts +17 -0
- package/dist/forms/Textarea.d.ts.map +1 -0
- package/dist/forms/Toggle.d.ts +15 -0
- package/dist/forms/Toggle.d.ts.map +1 -0
- package/dist/forms/index.d.ts +17 -0
- package/dist/forms/index.d.ts.map +1 -0
- package/dist/forms/index.js +2 -0
- package/dist/forms-CuvlRMro.js +362 -0
- package/dist/forms-CuvlRMro.js.map +1 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/layout/Card.d.ts +65 -0
- package/dist/layout/Card.d.ts.map +1 -0
- package/dist/layout/Carousel.d.ts +56 -0
- package/dist/layout/Carousel.d.ts.map +1 -0
- package/dist/layout/Chat.d.ts +54 -0
- package/dist/layout/Chat.d.ts.map +1 -0
- package/dist/layout/Container.d.ts +17 -0
- package/dist/layout/Container.d.ts.map +1 -0
- package/dist/layout/Divider.d.ts +22 -0
- package/dist/layout/Divider.d.ts.map +1 -0
- package/dist/layout/Flex.d.ts +59 -0
- package/dist/layout/Flex.d.ts.map +1 -0
- package/dist/layout/Footer.d.ts +25 -0
- package/dist/layout/Footer.d.ts.map +1 -0
- package/dist/layout/Hero.d.ts +52 -0
- package/dist/layout/Hero.d.ts.map +1 -0
- package/dist/layout/Join.d.ts +40 -0
- package/dist/layout/Join.d.ts.map +1 -0
- package/dist/layout/Link.d.ts +20 -0
- package/dist/layout/Link.d.ts.map +1 -0
- package/dist/layout/Mask.d.ts +26 -0
- package/dist/layout/Mask.d.ts.map +1 -0
- package/dist/layout/Mockup.d.ts +95 -0
- package/dist/layout/Mockup.d.ts.map +1 -0
- package/dist/layout/Stack.d.ts +45 -0
- package/dist/layout/Stack.d.ts.map +1 -0
- package/dist/layout/index.d.ts +46 -0
- package/dist/layout/index.d.ts.map +1 -0
- package/dist/layout/index.js +2 -0
- package/dist/layout-0aaJX4B2.js +554 -0
- package/dist/layout-0aaJX4B2.js.map +1 -0
- package/dist/navigation/Breadcrumbs.d.ts +22 -0
- package/dist/navigation/Breadcrumbs.d.ts.map +1 -0
- package/dist/navigation/Drawer.d.ts +25 -0
- package/dist/navigation/Drawer.d.ts.map +1 -0
- package/dist/navigation/Dropdown.d.ts +40 -0
- package/dist/navigation/Dropdown.d.ts.map +1 -0
- package/dist/navigation/MenuComponent.d.ts +54 -0
- package/dist/navigation/MenuComponent.d.ts.map +1 -0
- package/dist/navigation/Navbar.d.ts +23 -0
- package/dist/navigation/Navbar.d.ts.map +1 -0
- package/dist/navigation/Pagination.d.ts +12 -0
- package/dist/navigation/Pagination.d.ts.map +1 -0
- package/dist/navigation/Tabs.d.ts +35 -0
- package/dist/navigation/Tabs.d.ts.map +1 -0
- package/dist/navigation/index.d.ts +15 -0
- package/dist/navigation/index.d.ts.map +1 -0
- package/dist/navigation/index.js +2 -0
- package/dist/navigation-4cwyfLvr.js +285 -0
- package/dist/navigation-4cwyfLvr.js.map +1 -0
- package/dist/shared/styles.d.ts +79 -0
- package/dist/shared/styles.d.ts.map +1 -0
- package/dist/styles-DFkMxi90.js +126 -0
- package/dist/styles-DFkMxi90.js.map +1 -0
- package/dist/theme/ThemeProvider.d.ts +73 -0
- package/dist/theme/ThemeProvider.d.ts.map +1 -0
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +2 -0
- package/dist/theme-D9CUMvuT.js +118 -0
- package/dist/theme-D9CUMvuT.js.map +1 -0
- package/dist/typography/Text.d.ts +47 -0
- package/dist/typography/Text.d.ts.map +1 -0
- package/dist/typography/index.d.ts +3 -0
- package/dist/typography/index.d.ts.map +1 -0
- package/dist/typography/index.js +2 -0
- package/dist/typography-CU1RMGKA.js +112 -0
- package/dist/typography-CU1RMGKA.js.map +1 -0
- package/package.json +88 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { DefineProp, DefineModel, DefineEvent, DefineSlot } from 'sigx';
|
|
2
|
+
export interface StepItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
color?: 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
|
|
6
|
+
content?: string;
|
|
7
|
+
}
|
|
8
|
+
export type StepColor = 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
|
|
9
|
+
export type StepsProps = DefineProp<'items', StepItem[], false> & DefineModel<string> & DefineProp<'vertical', boolean, false> & DefineProp<'class', string, false> & DefineSlot<'default'> & DefineEvent<'change', string>;
|
|
10
|
+
export type StepProps = DefineProp<'id', string, false> & DefineProp<'color', StepColor, false> & DefineProp<'active', boolean, false> & DefineProp<'completed', boolean, false> & DefineProp<'content', string, false> & DefineProp<'class', string, false> & DefineSlot<'default'> & DefineEvent<'click', string>;
|
|
11
|
+
/**
|
|
12
|
+
* Steps compound component with Step sub-component.
|
|
13
|
+
*/
|
|
14
|
+
export declare const Steps: ((props: {
|
|
15
|
+
class?: string | undefined;
|
|
16
|
+
vertical?: boolean | undefined;
|
|
17
|
+
model?: import("@sigx/runtime-core").Model<string> | undefined;
|
|
18
|
+
items?: StepItem[] | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
"onUpdate:modelValue"?: ((detail: string) => void) | undefined;
|
|
21
|
+
onChange?: ((detail: string) => void) | undefined;
|
|
22
|
+
} & {
|
|
23
|
+
slots?: Partial<{
|
|
24
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
25
|
+
}> | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
model?: import("@sigx/runtime-core").Model<string> | import("@sigx/runtime-core").ModelBinding<string> | (() => string) | undefined;
|
|
28
|
+
} & JSX.IntrinsicAttributes & import("@sigx/runtime-core").ComponentAttributeExtensions & {
|
|
29
|
+
ref?: import("@sigx/runtime-core").Ref<void> | undefined;
|
|
30
|
+
children?: any;
|
|
31
|
+
}) => import("@sigx/runtime-core").JSXElement) & {
|
|
32
|
+
__setup: import("@sigx/runtime-core").SetupFn<{
|
|
33
|
+
items?: StepItem[] | undefined;
|
|
34
|
+
model?: import("@sigx/runtime-core").Model<string> | undefined;
|
|
35
|
+
vertical?: boolean | undefined;
|
|
36
|
+
class?: string | undefined;
|
|
37
|
+
change?: import("@sigx/runtime-core").EventDefinition<string> | undefined;
|
|
38
|
+
}, StepsProps, void, {
|
|
39
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
40
|
+
}>;
|
|
41
|
+
__name?: string;
|
|
42
|
+
__props: {
|
|
43
|
+
items?: StepItem[] | undefined;
|
|
44
|
+
model?: import("@sigx/runtime-core").Model<string> | undefined;
|
|
45
|
+
vertical?: boolean | undefined;
|
|
46
|
+
class?: string | undefined;
|
|
47
|
+
change?: import("@sigx/runtime-core").EventDefinition<string> | undefined;
|
|
48
|
+
};
|
|
49
|
+
__events: StepsProps;
|
|
50
|
+
__ref: void;
|
|
51
|
+
__slots: {
|
|
52
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
53
|
+
};
|
|
54
|
+
} & {
|
|
55
|
+
Step: import("@sigx/runtime-core").ComponentFactory<StepProps, void, {
|
|
56
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
57
|
+
}>;
|
|
58
|
+
};
|
|
59
|
+
export type { StepProps as StepCompProps };
|
|
60
|
+
//# sourceMappingURL=Steps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Steps.d.ts","sourceRoot":"","sources":["../../src/feedback/Steps.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAM7F,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACtF,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAEtG,MAAM,MAAM,UAAU,GAChB,UAAU,CAAC,OAAO,EAAE,QAAQ,EAAE,EAAE,KAAK,CAAC,GACtC,WAAW,CAAC,MAAM,CAAC,GACnB,UAAU,CAAC,UAAU,EAAE,OAAO,EAAE,KAAK,CAAC,GACtC,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,GAClC,UAAU,CAAC,SAAS,CAAC,GACrB,WAAW,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AAEpC,MAAM,MAAM,SAAS,GACf,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,GAC/B,UAAU,CAAC,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,GACrC,UAAU,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,CAAC,GACpC,UAAU,CAAC,WAAW,EAAE,OAAO,EAAE,KAAK,CAAC,GACvC,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,GACpC,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,GAClC,UAAU,CAAC,SAAS,CAAC,GACrB,WAAW,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AA2HnC;;GAEG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEhB,CAAC;AAEH,YAAY,EAAE,SAAS,IAAI,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { DefineProp, DefineModel, DefineEvent, DefineSlot } from 'sigx';
|
|
2
|
+
export type SwapProps = DefineModel<boolean> & DefineProp<'rotate', boolean, false> & DefineProp<'flip', boolean, false> & DefineProp<'active', boolean, false> & DefineProp<'class', string, false> & DefineSlot<'on'> & DefineSlot<'off'> & DefineEvent<'change', boolean>;
|
|
3
|
+
/**
|
|
4
|
+
* Swap component to toggle between two states/elements with animation.
|
|
5
|
+
* Supports model binding for controlled state management.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* const active = signal(false);
|
|
10
|
+
*
|
|
11
|
+
* // Basic swap with model binding
|
|
12
|
+
* <Swap
|
|
13
|
+
* model={active}
|
|
14
|
+
* rotate
|
|
15
|
+
* slots={{
|
|
16
|
+
* on: () => "🌙",
|
|
17
|
+
* off: () => "☀️"
|
|
18
|
+
* }}
|
|
19
|
+
* />
|
|
20
|
+
*
|
|
21
|
+
* // Theme toggle
|
|
22
|
+
* <Swap
|
|
23
|
+
* model={isDarkMode}
|
|
24
|
+
* rotate
|
|
25
|
+
* onChange={(checked) => setTheme(checked ? 'dark' : 'light')}
|
|
26
|
+
* >
|
|
27
|
+
* <template #on>
|
|
28
|
+
* <svg>...</svg> <!-- Moon icon -->
|
|
29
|
+
* </template>
|
|
30
|
+
* <template #off>
|
|
31
|
+
* <svg>...</svg> <!-- Sun icon -->
|
|
32
|
+
* </template>
|
|
33
|
+
* </Swap>
|
|
34
|
+
*
|
|
35
|
+
* // Flip animation
|
|
36
|
+
* <Swap model={active} flip>
|
|
37
|
+
* <template #on>😈</template>
|
|
38
|
+
* <template #off>😇</template>
|
|
39
|
+
* </Swap>
|
|
40
|
+
*
|
|
41
|
+
* // Hamburger menu toggle
|
|
42
|
+
* <Swap model={menuOpen} rotate>
|
|
43
|
+
* <template #on>✕</template>
|
|
44
|
+
* <template #off>☰</template>
|
|
45
|
+
* </Swap>
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
export declare const Swap: import("@sigx/runtime-core").ComponentFactory<SwapProps, void, {
|
|
49
|
+
on: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
50
|
+
} & {
|
|
51
|
+
off: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
52
|
+
}>;
|
|
53
|
+
//# sourceMappingURL=Swap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Swap.d.ts","sourceRoot":"","sources":["../../src/feedback/Swap.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMnF,MAAM,MAAM,SAAS,GACf,WAAW,CAAC,OAAO,CAAC,GACpB,UAAU,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,CAAC,GACpC,UAAU,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,GAClC,UAAU,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,CAAC,GACpC,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,GAClC,UAAU,CAAC,IAAI,CAAC,GAChB,UAAU,CAAC,KAAK,CAAC,GACjB,WAAW,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AAMrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,eAAO,MAAM,IAAI;;;;EA2Bf,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { DefineProp, DefineSlot } from 'sigx';
|
|
2
|
+
export interface TimelineItemData {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
time?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
color?: 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
|
|
9
|
+
}
|
|
10
|
+
export type TimelineColor = 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
|
|
11
|
+
export type TimelineProps = DefineProp<'items', TimelineItemData[], false> & DefineProp<'vertical', boolean, false> & DefineProp<'snap', boolean, false> & DefineProp<'compact', boolean, false> & DefineProp<'class', string, false> & DefineSlot<'default'>;
|
|
12
|
+
export type TimelineItemProps = DefineProp<'color', TimelineColor, false> & DefineProp<'class', string, false> & DefineSlot<'start'> & DefineSlot<'middle'> & DefineSlot<'end'> & DefineSlot<'default'>;
|
|
13
|
+
export type TimelineStartProps = DefineProp<'class', string, false> & DefineSlot<'default'>;
|
|
14
|
+
export type TimelineMiddleProps = DefineProp<'class', string, false> & DefineSlot<'default'>;
|
|
15
|
+
export type TimelineEndProps = DefineProp<'boxed', boolean, false> & DefineProp<'class', string, false> & DefineSlot<'default'>;
|
|
16
|
+
/**
|
|
17
|
+
* Timeline compound component with Item, Start, Middle, and End sub-components.
|
|
18
|
+
*/
|
|
19
|
+
export declare const Timeline: ((props: {
|
|
20
|
+
class?: string | undefined;
|
|
21
|
+
vertical?: boolean | undefined;
|
|
22
|
+
items?: TimelineItemData[] | undefined;
|
|
23
|
+
snap?: boolean | undefined;
|
|
24
|
+
compact?: boolean | undefined;
|
|
25
|
+
} & {} & {
|
|
26
|
+
slots?: Partial<{
|
|
27
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
28
|
+
}> | undefined;
|
|
29
|
+
} & {} & JSX.IntrinsicAttributes & import("@sigx/runtime-core").ComponentAttributeExtensions & {
|
|
30
|
+
ref?: import("@sigx/runtime-core").Ref<void> | undefined;
|
|
31
|
+
children?: any;
|
|
32
|
+
}) => import("@sigx/runtime-core").JSXElement) & {
|
|
33
|
+
__setup: import("@sigx/runtime-core").SetupFn<{
|
|
34
|
+
items?: TimelineItemData[] | undefined;
|
|
35
|
+
vertical?: boolean | undefined;
|
|
36
|
+
snap?: boolean | undefined;
|
|
37
|
+
compact?: boolean | undefined;
|
|
38
|
+
class?: string | undefined;
|
|
39
|
+
}, TimelineProps, void, {
|
|
40
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
41
|
+
}>;
|
|
42
|
+
__name?: string;
|
|
43
|
+
__props: {
|
|
44
|
+
items?: TimelineItemData[] | undefined;
|
|
45
|
+
vertical?: boolean | undefined;
|
|
46
|
+
snap?: boolean | undefined;
|
|
47
|
+
compact?: boolean | undefined;
|
|
48
|
+
class?: string | undefined;
|
|
49
|
+
};
|
|
50
|
+
__events: TimelineProps;
|
|
51
|
+
__ref: void;
|
|
52
|
+
__slots: {
|
|
53
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
54
|
+
};
|
|
55
|
+
} & {
|
|
56
|
+
Item: import("@sigx/runtime-core").ComponentFactory<TimelineItemProps, void, {
|
|
57
|
+
start: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
58
|
+
} & {
|
|
59
|
+
middle: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
60
|
+
} & {
|
|
61
|
+
end: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
62
|
+
} & {
|
|
63
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
64
|
+
}>;
|
|
65
|
+
Start: import("@sigx/runtime-core").ComponentFactory<TimelineStartProps, void, {
|
|
66
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
67
|
+
}>;
|
|
68
|
+
Middle: import("@sigx/runtime-core").ComponentFactory<TimelineMiddleProps, void, {
|
|
69
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
70
|
+
}>;
|
|
71
|
+
End: import("@sigx/runtime-core").ComponentFactory<TimelineEndProps, void, {
|
|
72
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
73
|
+
}>;
|
|
74
|
+
};
|
|
75
|
+
export type { TimelineItemProps as TimelineItemCompProps, TimelineStartProps as TimelineStartCompProps, TimelineMiddleProps as TimelineMiddleCompProps, TimelineEndProps as TimelineEndCompProps };
|
|
76
|
+
//# sourceMappingURL=Timeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../src/feedback/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMnE,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;I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,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,GAClC,UAAU,CAAC,SAAS,CAAC,CAAC;AAoK5B;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnB,CAAC;AAEH,YAAY,EACR,iBAAiB,IAAI,qBAAqB,EAC1C,kBAAkB,IAAI,sBAAsB,EAC5C,mBAAmB,IAAI,uBAAuB,EAC9C,gBAAgB,IAAI,oBAAoB,EAC3C,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DefineProp, DefineSlot } from 'sigx';
|
|
2
|
+
export type ToastPosition = 'top-start' | 'top-center' | 'top-end' | 'middle-start' | 'middle-center' | 'middle-end' | 'bottom-start' | 'bottom-center' | 'bottom-end';
|
|
3
|
+
export type ToastProps = DefineProp<'position', ToastPosition, false> & DefineProp<'class', string, false> & DefineSlot<'default'>;
|
|
4
|
+
/**
|
|
5
|
+
* Toast container component for positioning notifications.
|
|
6
|
+
* Use with Alert components for styled notifications.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Toast position="bottom-end">
|
|
11
|
+
* <Alert variant="success">Message sent!</Alert>
|
|
12
|
+
* </Toast>
|
|
13
|
+
*
|
|
14
|
+
* <Toast position="top-center">
|
|
15
|
+
* <Alert variant="info">New notification</Alert>
|
|
16
|
+
* <Alert variant="success">Action completed</Alert>
|
|
17
|
+
* </Toast>
|
|
18
|
+
*
|
|
19
|
+
* // Multiple toasts
|
|
20
|
+
* <Toast position="bottom-start">
|
|
21
|
+
* {notifications.map(n => (
|
|
22
|
+
* <Alert variant={n.type}>{n.message}</Alert>
|
|
23
|
+
* ))}
|
|
24
|
+
* </Toast>
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare const Toast: import("@sigx/runtime-core").ComponentFactory<ToastProps, void, {
|
|
28
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
29
|
+
}>;
|
|
30
|
+
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/feedback/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMzD,MAAM,MAAM,aAAa,GACnB,WAAW,GACX,YAAY,GACZ,SAAS,GACT,cAAc,GACd,eAAe,GACf,YAAY,GACZ,cAAc,GACd,eAAe,GACf,YAAY,CAAC;AAEnB,MAAM,MAAM,UAAU,GAChB,UAAU,CAAC,UAAU,EAAE,aAAa,EAAE,KAAK,CAAC,GAC5C,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,GAClC,UAAU,CAAC,SAAS,CAAC,CAAC;AAkB5B;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,KAAK;;EAchB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { Modal } from './Modal';
|
|
2
|
+
export { Badge, Loading, Alert, Progress, Tooltip } from './Badge';
|
|
3
|
+
export { Accordion } from './Accordion';
|
|
4
|
+
export { FileInput } from './FileInput';
|
|
5
|
+
export { Rating } from './Rating';
|
|
6
|
+
export { Skeleton } from './Skeleton';
|
|
7
|
+
export { Steps } from './Steps';
|
|
8
|
+
export { Timeline } from './Timeline';
|
|
9
|
+
export { Toast } from './Toast';
|
|
10
|
+
export { Kbd } from './Kbd';
|
|
11
|
+
export { RadialProgress } from './RadialProgress';
|
|
12
|
+
export { Countdown } from './Countdown';
|
|
13
|
+
export { Diff } from './Diff';
|
|
14
|
+
export { Swap } from './Swap';
|
|
15
|
+
export { Indicator } from './Indicator';
|
|
16
|
+
export type { ModalProps, ModalHeaderProps, ModalBodyProps, ModalActionsProps } from './Modal';
|
|
17
|
+
export type { BadgeProps, BadgeVariant, BadgeSize, LoadingProps, LoadingSize, LoadingType, AlertProps, AlertVariant, ProgressProps, ProgressColor, TooltipProps, TooltipPosition, TooltipColor } from './Badge';
|
|
18
|
+
export type { AccordionProps, AccordionItem as AccordionItemType, AccordionVariant, AccordionType, AccordionItemProps, AccordionItemType as AccordionItemTypeEnum, CollapseProps } from './Accordion';
|
|
19
|
+
export type { FileInputProps, FileInputSize, FileInputColor } from './FileInput';
|
|
20
|
+
export type { RatingProps, RatingSize, RatingMask, RatingColor } from './Rating';
|
|
21
|
+
export type { SkeletonProps } from './Skeleton';
|
|
22
|
+
export type { StepsProps, StepItem, StepProps, StepColor } from './Steps';
|
|
23
|
+
export type { TimelineProps, TimelineItemData as TimelineItem, TimelineColor } from './Timeline';
|
|
24
|
+
export type { ToastProps, ToastPosition } from './Toast';
|
|
25
|
+
export type { KbdProps, KbdSize } from './Kbd';
|
|
26
|
+
export type { RadialProgressProps, RadialProgressColor } from './RadialProgress';
|
|
27
|
+
export type { CountdownProps } from './Countdown';
|
|
28
|
+
export type { DiffProps } from './Diff';
|
|
29
|
+
export type { SwapProps } from './Swap';
|
|
30
|
+
export type { IndicatorProps, IndicatorPosition } from './Indicator';
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/feedback/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAA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M,YAAY,CAAC;AACjG,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACzD,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/C,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACjF,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { _ as Progress, a as RadialProgress, c as Timeline, d as Rating, f as FileInput, g as Loading, h as Badge, i as Countdown, l as Steps, m as Alert, n as Swap, o as Kbd, p as Accordion, r as Diff, s as Toast, t as Indicator, u as Skeleton, v as Tooltip, y as Modal } from "../feedback-DFutN-Kz.js";
|
|
2
|
+
export { Accordion, Alert, Badge, Countdown, Diff, FileInput, Indicator, Kbd, Loading, Modal, Progress, RadialProgress, Rating, Skeleton, Steps, Swap, Timeline, Toast, Tooltip };
|