cisse-vue-ui 0.1.0 → 0.1.2

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 (85) hide show
  1. package/README.md +435 -6
  2. package/dist/Checkbox.vue_vue_type_script_setup_true_lang-DQD2I1Wk.cjs +621 -0
  3. package/dist/Checkbox.vue_vue_type_script_setup_true_lang-DQD2I1Wk.cjs.map +1 -0
  4. package/dist/Checkbox.vue_vue_type_script_setup_true_lang-DVkcMcSN.js +622 -0
  5. package/dist/Checkbox.vue_vue_type_script_setup_true_lang-DVkcMcSN.js.map +1 -0
  6. package/dist/CollapsibleCard.vue_vue_type_script_setup_true_lang-D2MeLTRV.cjs +1133 -0
  7. package/dist/CollapsibleCard.vue_vue_type_script_setup_true_lang-D2MeLTRV.cjs.map +1 -0
  8. package/dist/CollapsibleCard.vue_vue_type_script_setup_true_lang-Ixih38V0.js +1134 -0
  9. package/dist/CollapsibleCard.vue_vue_type_script_setup_true_lang-Ixih38V0.js.map +1 -0
  10. package/dist/{NotificationList.vue_vue_type_script_setup_true_lang-B2hjbMm4.js → EmptyState.vue_vue_type_script_setup_true_lang-CrVvFwXA.js} +163 -44
  11. package/dist/EmptyState.vue_vue_type_script_setup_true_lang-CrVvFwXA.js.map +1 -0
  12. package/dist/{NotificationList.vue_vue_type_script_setup_true_lang-Ci3zIvrv.cjs → EmptyState.vue_vue_type_script_setup_true_lang-mlqLBP5W.cjs} +163 -44
  13. package/dist/EmptyState.vue_vue_type_script_setup_true_lang-mlqLBP5W.cjs.map +1 -0
  14. package/dist/MenuItem.vue_vue_type_script_setup_true_lang-BWz86k7c.cjs +86 -0
  15. package/dist/MenuItem.vue_vue_type_script_setup_true_lang-BWz86k7c.cjs.map +1 -0
  16. package/dist/MenuItem.vue_vue_type_script_setup_true_lang-emN2qlfR.js +87 -0
  17. package/dist/MenuItem.vue_vue_type_script_setup_true_lang-emN2qlfR.js.map +1 -0
  18. package/dist/PageLayout.vue_vue_type_script_setup_true_lang-DTlUENg3.js +265 -0
  19. package/dist/PageLayout.vue_vue_type_script_setup_true_lang-DTlUENg3.js.map +1 -0
  20. package/dist/PageLayout.vue_vue_type_script_setup_true_lang-IcouTz4C.cjs +264 -0
  21. package/dist/PageLayout.vue_vue_type_script_setup_true_lang-IcouTz4C.cjs.map +1 -0
  22. package/dist/components/core/AutocompleteComponent.vue.d.ts +7 -1
  23. package/dist/components/core/Avatar.vue.d.ts +20 -0
  24. package/dist/components/core/Button.vue.d.ts +49 -0
  25. package/dist/components/core/CollapsibleCard.vue.d.ts +28 -0
  26. package/dist/components/core/Dropdown.vue.d.ts +52 -0
  27. package/dist/components/core/MenuItem.vue.d.ts +11 -1
  28. package/dist/components/core/Stepper.vue.d.ts +22 -0
  29. package/dist/components/core/TabPanel.vue.d.ts +21 -0
  30. package/dist/components/core/Tabs.vue.d.ts +39 -0
  31. package/dist/components/core/index.cjs +14 -6
  32. package/dist/components/core/index.cjs.map +1 -1
  33. package/dist/components/core/index.d.ts +12 -0
  34. package/dist/components/core/index.js +14 -6
  35. package/dist/components/core/index.js.map +1 -1
  36. package/dist/components/feedback/Alert.vue.d.ts +34 -0
  37. package/dist/components/feedback/EmptyState.vue.d.ts +29 -0
  38. package/dist/components/feedback/index.cjs +8 -6
  39. package/dist/components/feedback/index.cjs.map +1 -1
  40. package/dist/components/feedback/index.d.ts +3 -0
  41. package/dist/components/feedback/index.js +3 -1
  42. package/dist/components/form/Checkbox.vue.d.ts +20 -0
  43. package/dist/components/form/FormSelect.vue.d.ts +35 -6
  44. package/dist/components/form/Switch.vue.d.ts +21 -0
  45. package/dist/components/form/index.cjs +9 -7
  46. package/dist/components/form/index.cjs.map +1 -1
  47. package/dist/components/form/index.d.ts +2 -0
  48. package/dist/components/form/index.js +4 -2
  49. package/dist/components/index.cjs +34 -19
  50. package/dist/components/index.cjs.map +1 -1
  51. package/dist/components/index.d.ts +1 -0
  52. package/dist/components/index.js +26 -11
  53. package/dist/components/index.js.map +1 -1
  54. package/dist/components/layout/BaseLayout.vue.d.ts +58 -0
  55. package/dist/components/layout/PageLayout.vue.d.ts +37 -0
  56. package/dist/components/layout/index.cjs +6 -0
  57. package/dist/components/layout/index.cjs.map +1 -0
  58. package/dist/components/layout/index.d.ts +3 -0
  59. package/dist/components/layout/index.js +6 -0
  60. package/dist/components/layout/index.js.map +1 -0
  61. package/dist/index-Bt9enqyq.cjs +47 -0
  62. package/dist/index-Bt9enqyq.cjs.map +1 -0
  63. package/dist/index-CxPY8Qb7.js +48 -0
  64. package/dist/index-CxPY8Qb7.js.map +1 -0
  65. package/dist/index.cjs +35 -20
  66. package/dist/index.cjs.map +1 -1
  67. package/dist/index.js +29 -14
  68. package/dist/index.js.map +1 -1
  69. package/dist/style.css +2 -0
  70. package/dist/types/components.d.ts +7 -0
  71. package/package.json +12 -3
  72. package/dist/NotificationList.vue_vue_type_script_setup_true_lang-B2hjbMm4.js.map +0 -1
  73. package/dist/NotificationList.vue_vue_type_script_setup_true_lang-Ci3zIvrv.cjs.map +0 -1
  74. package/dist/SearchInput.vue_vue_type_script_setup_true_lang-Be73hShP.cjs +0 -234
  75. package/dist/SearchInput.vue_vue_type_script_setup_true_lang-Be73hShP.cjs.map +0 -1
  76. package/dist/SearchInput.vue_vue_type_script_setup_true_lang-DjT2qdcp.js +0 -235
  77. package/dist/SearchInput.vue_vue_type_script_setup_true_lang-DjT2qdcp.js.map +0 -1
  78. package/dist/TableAction.vue_vue_type_script_setup_true_lang-BHskhVhK.js +0 -540
  79. package/dist/TableAction.vue_vue_type_script_setup_true_lang-BHskhVhK.js.map +0 -1
  80. package/dist/TableAction.vue_vue_type_script_setup_true_lang-CojbKn7E.cjs +0 -539
  81. package/dist/TableAction.vue_vue_type_script_setup_true_lang-CojbKn7E.cjs.map +0 -1
  82. package/dist/index-BoCtJCg0.cjs +0 -32
  83. package/dist/index-BoCtJCg0.cjs.map +0 -1
  84. package/dist/index-CGhDI10m.js +0 -33
  85. package/dist/index-CGhDI10m.js.map +0 -1
@@ -0,0 +1,49 @@
1
+ export type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'success';
2
+ export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3
+ type __VLS_Props = {
4
+ /** Button variant */
5
+ variant?: ButtonVariant;
6
+ /** Button size */
7
+ size?: ButtonSize;
8
+ /** Icon to show (left side) */
9
+ icon?: string;
10
+ /** Icon on right side */
11
+ iconRight?: string;
12
+ /** Loading state */
13
+ loading?: boolean;
14
+ /** Disabled state */
15
+ disabled?: boolean;
16
+ /** Full width */
17
+ block?: boolean;
18
+ /** Link href (renders as <a>) */
19
+ href?: string;
20
+ /** Router link (renders as RouterLink) */
21
+ to?: string;
22
+ /** Button type */
23
+ type?: 'button' | 'submit' | 'reset';
24
+ };
25
+ declare function __VLS_template(): {
26
+ attrs: Partial<{}>;
27
+ slots: {
28
+ default?(_: {}): any;
29
+ };
30
+ refs: {};
31
+ rootEl: any;
32
+ };
33
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
34
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
+ click: (event: MouseEvent) => any;
36
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
37
+ onClick?: ((event: MouseEvent) => any) | undefined;
38
+ }>, {
39
+ variant: ButtonVariant;
40
+ size: ButtonSize;
41
+ type: "button" | "submit" | "reset";
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
43
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
44
+ export default _default;
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
@@ -0,0 +1,28 @@
1
+ type __VLS_Props = {
2
+ /** Card title */
3
+ title?: string;
4
+ /** Card description */
5
+ description?: string;
6
+ /** Whether the card is initially expanded */
7
+ defaultExpanded?: boolean;
8
+ };
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ actions?(_: {}): any;
13
+ default?(_: {}): any;
14
+ };
15
+ refs: {};
16
+ rootEl: HTMLDivElement;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
+ defaultExpanded: boolean;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,52 @@
1
+ export interface DropdownItem {
2
+ key: string;
3
+ label: string;
4
+ icon?: string;
5
+ disabled?: boolean;
6
+ danger?: boolean;
7
+ divider?: boolean;
8
+ }
9
+ type __VLS_Props = {
10
+ /** Dropdown items */
11
+ items: DropdownItem[];
12
+ /** Align dropdown */
13
+ align?: 'left' | 'right';
14
+ /** Dropdown width */
15
+ width?: 'auto' | 'full' | 'sm' | 'md' | 'lg';
16
+ /** Use teleport to body to avoid overflow clipping */
17
+ teleport?: boolean;
18
+ };
19
+ declare function __VLS_template(): {
20
+ attrs: Partial<{}>;
21
+ slots: {
22
+ trigger?(_: {}): any;
23
+ 'trigger-label'?(_: {}): any;
24
+ };
25
+ refs: {
26
+ dropdownRef: HTMLDivElement;
27
+ triggerRef: HTMLDivElement;
28
+ menuRef: HTMLDivElement;
29
+ };
30
+ rootEl: HTMLDivElement;
31
+ };
32
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
+ select: (item: DropdownItem) => any;
35
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
36
+ onSelect?: ((item: DropdownItem) => any) | undefined;
37
+ }>, {
38
+ width: "auto" | "full" | "sm" | "md" | "lg";
39
+ align: "left" | "right";
40
+ teleport: boolean;
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
42
+ dropdownRef: HTMLDivElement;
43
+ triggerRef: HTMLDivElement;
44
+ menuRef: HTMLDivElement;
45
+ }, HTMLDivElement>;
46
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
47
+ export default _default;
48
+ type __VLS_WithTemplateSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
@@ -1,6 +1,16 @@
1
1
  import { MenuItemProps } from '../../types';
2
2
  type __VLS_Props = {
3
3
  menuItem: MenuItemProps;
4
+ /** Whether sidebar is expanded (shows labels) */
5
+ expanded?: boolean;
6
+ /** Override active state directly */
7
+ active?: boolean;
8
+ /** Current route path (pass from parent using useRoute().path) */
9
+ currentPath?: string;
4
10
  };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
+ expanded: boolean;
13
+ active: boolean;
14
+ currentPath: string;
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
16
  export default _default;
@@ -0,0 +1,22 @@
1
+ export interface Step {
2
+ key: string | number;
3
+ title: string;
4
+ description?: string;
5
+ icon?: string;
6
+ }
7
+ type __VLS_Props = {
8
+ /** Array of step definitions */
9
+ steps: Step[];
10
+ /** Current step (key or index) */
11
+ modelValue?: string | number;
12
+ /** Orientation */
13
+ orientation?: 'horizontal' | 'vertical';
14
+ };
15
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:modelValue": (value: string | number) => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
19
+ }>, {
20
+ orientation: "horizontal" | "vertical";
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
22
+ export default _default;
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ /** Tab key this panel belongs to */
3
+ value: string;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,39 @@
1
+ export interface Tab {
2
+ key: string;
3
+ label: string;
4
+ icon?: string;
5
+ disabled?: boolean;
6
+ }
7
+ type __VLS_Props = {
8
+ /** Array of tab definitions */
9
+ tabs: Tab[];
10
+ /** Currently active tab key */
11
+ modelValue?: string;
12
+ /** Tab style variant */
13
+ variant?: 'underline' | 'pills' | 'boxed';
14
+ };
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: {
18
+ default?(_: {
19
+ activeTab: string;
20
+ }): any;
21
+ };
22
+ refs: {};
23
+ rootEl: HTMLDivElement;
24
+ };
25
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ "update:modelValue": (value: string) => any;
28
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
29
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
30
+ }>, {
31
+ variant: "underline" | "pills" | "boxed";
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
33
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
+ export default _default;
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -1,11 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const TableAction_vue_vue_type_script_setup_true_lang = require("../../TableAction.vue_vue_type_script_setup_true_lang-CojbKn7E.cjs");
3
+ const CollapsibleCard_vue_vue_type_script_setup_true_lang = require("../../CollapsibleCard.vue_vue_type_script_setup_true_lang-D2MeLTRV.cjs");
4
+ const MenuItem_vue_vue_type_script_setup_true_lang = require("../../MenuItem.vue_vue_type_script_setup_true_lang-BWz86k7c.cjs");
4
5
  const BadgeType_vue_vue_type_script_setup_true_lang = require("../../BadgeType.vue_vue_type_script_setup_true_lang-CJb63H1I.cjs");
5
- exports.AutocompleteComponent = TableAction_vue_vue_type_script_setup_true_lang._sfc_main$2;
6
- exports.CardComponent = TableAction_vue_vue_type_script_setup_true_lang._sfc_main;
7
- exports.MenuItem = TableAction_vue_vue_type_script_setup_true_lang._sfc_main$3;
8
- exports.TableAction = TableAction_vue_vue_type_script_setup_true_lang._sfc_main$4;
9
- exports.TableComponent = TableAction_vue_vue_type_script_setup_true_lang._sfc_main$1;
6
+ exports.AutocompleteComponent = CollapsibleCard_vue_vue_type_script_setup_true_lang._sfc_main$2;
7
+ exports.Avatar = CollapsibleCard_vue_vue_type_script_setup_true_lang._sfc_main$5;
8
+ exports.Button = CollapsibleCard_vue_vue_type_script_setup_true_lang._sfc_main$4;
9
+ exports.CardComponent = CollapsibleCard_vue_vue_type_script_setup_true_lang._sfc_main;
10
+ exports.CollapsibleCard = CollapsibleCard_vue_vue_type_script_setup_true_lang._sfc_main$10;
11
+ exports.Dropdown = CollapsibleCard_vue_vue_type_script_setup_true_lang._sfc_main$8;
12
+ exports.Stepper = CollapsibleCard_vue_vue_type_script_setup_true_lang._sfc_main$9;
13
+ exports.TabPanel = CollapsibleCard_vue_vue_type_script_setup_true_lang._sfc_main$7;
14
+ exports.TableAction = CollapsibleCard_vue_vue_type_script_setup_true_lang._sfc_main$3;
15
+ exports.TableComponent = CollapsibleCard_vue_vue_type_script_setup_true_lang._sfc_main$1;
16
+ exports.Tabs = CollapsibleCard_vue_vue_type_script_setup_true_lang._sfc_main$6;
17
+ exports.MenuItem = MenuItem_vue_vue_type_script_setup_true_lang._sfc_main;
10
18
  exports.StatusBadge = BadgeType_vue_vue_type_script_setup_true_lang._sfc_main;
11
19
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
@@ -4,3 +4,15 @@ export { default as AutocompleteComponent } from './AutocompleteComponent.vue';
4
4
  export { default as MenuItem } from './MenuItem.vue';
5
5
  export { default as TableAction } from './TableAction.vue';
6
6
  export { default as StatusBadge } from './StatusBadge.vue';
7
+ export { default as Button } from './Button.vue';
8
+ export { default as Avatar } from './Avatar.vue';
9
+ export { default as Tabs } from './Tabs.vue';
10
+ export { default as TabPanel } from './TabPanel.vue';
11
+ export { default as Dropdown } from './Dropdown.vue';
12
+ export { default as Stepper } from './Stepper.vue';
13
+ export { default as CollapsibleCard } from './CollapsibleCard.vue';
14
+ export type { ButtonVariant, ButtonSize } from './Button.vue';
15
+ export type { Step } from './Stepper.vue';
16
+ export type { AvatarSize } from './Avatar.vue';
17
+ export type { Tab } from './Tabs.vue';
18
+ export type { DropdownItem } from './Dropdown.vue';
@@ -1,11 +1,19 @@
1
- import { b, _, c, d, a } from "../../TableAction.vue_vue_type_script_setup_true_lang-BHskhVhK.js";
2
- import { _ as _2 } from "../../BadgeType.vue_vue_type_script_setup_true_lang-CnB5eNEM.js";
1
+ import { b, e, d, _, j, h, i, g, c, a, f } from "../../CollapsibleCard.vue_vue_type_script_setup_true_lang-Ixih38V0.js";
2
+ import { _ as _2 } from "../../MenuItem.vue_vue_type_script_setup_true_lang-emN2qlfR.js";
3
+ import { _ as _3 } from "../../BadgeType.vue_vue_type_script_setup_true_lang-CnB5eNEM.js";
3
4
  export {
4
5
  b as AutocompleteComponent,
6
+ e as Avatar,
7
+ d as Button,
5
8
  _ as CardComponent,
6
- c as MenuItem,
7
- _2 as StatusBadge,
8
- d as TableAction,
9
- a as TableComponent
9
+ j as CollapsibleCard,
10
+ h as Dropdown,
11
+ _2 as MenuItem,
12
+ _3 as StatusBadge,
13
+ i as Stepper,
14
+ g as TabPanel,
15
+ c as TableAction,
16
+ a as TableComponent,
17
+ f as Tabs
10
18
  };
11
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -0,0 +1,34 @@
1
+ export type AlertVariant = 'info' | 'success' | 'warning' | 'error';
2
+ type __VLS_Props = {
3
+ /** Alert variant */
4
+ variant?: AlertVariant;
5
+ /** Title text */
6
+ title?: string;
7
+ /** Show close button */
8
+ dismissible?: boolean;
9
+ /** Custom icon */
10
+ icon?: string;
11
+ };
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: {
15
+ default?(_: {}): any;
16
+ };
17
+ refs: {};
18
+ rootEl: HTMLDivElement;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ dismiss: () => any;
23
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ onDismiss?: (() => any) | undefined;
25
+ }>, {
26
+ variant: AlertVariant;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
+ export default _default;
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,29 @@
1
+ type __VLS_Props = {
2
+ /** Message to display */
3
+ message?: string;
4
+ /** Icon name (iconify format) */
5
+ icon?: string;
6
+ /** Title text */
7
+ title?: string;
8
+ };
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ default?(_: {}): any;
13
+ action?(_: {}): any;
14
+ };
15
+ refs: {};
16
+ rootEl: HTMLDivElement;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
+ icon: string;
21
+ message: string;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const NotificationList_vue_vue_type_script_setup_true_lang = require("../../NotificationList.vue_vue_type_script_setup_true_lang-Ci3zIvrv.cjs");
4
- exports.LoadingSpinner = NotificationList_vue_vue_type_script_setup_true_lang._sfc_main;
5
- exports.Modal = NotificationList_vue_vue_type_script_setup_true_lang._sfc_main$1;
6
- exports.NotificationComponent = NotificationList_vue_vue_type_script_setup_true_lang._sfc_main$3;
7
- exports.NotificationList = NotificationList_vue_vue_type_script_setup_true_lang._sfc_main$4;
8
- exports.PaginationControls = NotificationList_vue_vue_type_script_setup_true_lang._sfc_main$2;
3
+ const EmptyState_vue_vue_type_script_setup_true_lang = require("../../EmptyState.vue_vue_type_script_setup_true_lang-mlqLBP5W.cjs");
4
+ exports.Alert = EmptyState_vue_vue_type_script_setup_true_lang._sfc_main$5;
5
+ exports.EmptyState = EmptyState_vue_vue_type_script_setup_true_lang._sfc_main$6;
6
+ exports.LoadingSpinner = EmptyState_vue_vue_type_script_setup_true_lang._sfc_main;
7
+ exports.Modal = EmptyState_vue_vue_type_script_setup_true_lang._sfc_main$1;
8
+ exports.NotificationComponent = EmptyState_vue_vue_type_script_setup_true_lang._sfc_main$3;
9
+ exports.NotificationList = EmptyState_vue_vue_type_script_setup_true_lang._sfc_main$4;
10
+ exports.PaginationControls = EmptyState_vue_vue_type_script_setup_true_lang._sfc_main$2;
9
11
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -3,3 +3,6 @@ export { default as Modal } from './Modal.vue';
3
3
  export { default as PaginationControls } from './PaginationControls.vue';
4
4
  export { default as NotificationComponent } from './NotificationComponent.vue';
5
5
  export { default as NotificationList } from './NotificationList.vue';
6
+ export { default as Alert } from './Alert.vue';
7
+ export { default as EmptyState } from './EmptyState.vue';
8
+ export type { AlertVariant } from './Alert.vue';
@@ -1,5 +1,7 @@
1
- import { _, a, c, d, b } from "../../NotificationList.vue_vue_type_script_setup_true_lang-B2hjbMm4.js";
1
+ import { e, f, _, a, c, d, b } from "../../EmptyState.vue_vue_type_script_setup_true_lang-CrVvFwXA.js";
2
2
  export {
3
+ e as Alert,
4
+ f as EmptyState,
3
5
  _ as LoadingSpinner,
4
6
  a as Modal,
5
7
  c as NotificationComponent,
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ /** v-model value */
3
+ modelValue?: boolean;
4
+ /** Label text */
5
+ label?: string;
6
+ /** Description text */
7
+ description?: string;
8
+ /** Disabled state */
9
+ disabled?: boolean;
10
+ /** Indeterminate state */
11
+ indeterminate?: boolean;
12
+ };
13
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:modelValue": (value: boolean) => any;
15
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
17
+ }>, {
18
+ modelValue: boolean;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
20
+ export default _default;
@@ -1,22 +1,51 @@
1
- import { SelectProps } from '../../types';
2
- type __VLS_Props = SelectProps;
1
+ import { SelectProps, SelectOption } from '../../types';
2
+ type __VLS_Props = SelectProps & {
3
+ /** Use teleport to body to avoid overflow clipping */
4
+ teleport?: boolean;
5
+ /** Show search input in dropdown */
6
+ searchable?: boolean;
7
+ /** Text shown when no results match search */
8
+ noResultsText?: string;
9
+ /** Custom class for the trigger button */
10
+ triggerClass?: string;
11
+ };
3
12
  type __VLS_PublicProps = {
4
13
  modelValue?: string | number | boolean | null;
5
14
  } & __VLS_Props;
6
15
  declare function __VLS_template(): {
7
16
  attrs: Partial<{}>;
8
17
  slots: {
9
- default?(_: {}): any;
18
+ selected?(_: {
19
+ option: SelectOption | undefined;
20
+ placeholder: string | undefined;
21
+ }): any;
22
+ option?(_: {
23
+ option: SelectOption;
24
+ selected: boolean;
25
+ index: number;
26
+ }): any;
27
+ };
28
+ refs: {
29
+ triggerRef: HTMLButtonElement;
30
+ dropdownRef: HTMLDivElement;
31
+ searchInputRef: HTMLInputElement;
10
32
  };
11
- refs: {};
12
- rootEl: HTMLSelectElement;
33
+ rootEl: HTMLDivElement;
13
34
  };
14
35
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
36
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
37
  "update:modelValue": (value: string | number | boolean | null) => any;
17
38
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
39
  "onUpdate:modelValue"?: ((value: string | number | boolean | null) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSelectElement>;
40
+ }>, {
41
+ teleport: boolean;
42
+ noResultsText: string;
43
+ searchable: boolean;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
+ triggerRef: HTMLButtonElement;
46
+ dropdownRef: HTMLDivElement;
47
+ searchInputRef: HTMLInputElement;
48
+ }, HTMLDivElement>;
20
49
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
50
  export default _default;
22
51
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ /** v-model value */
3
+ modelValue?: boolean;
4
+ /** Label text */
5
+ label?: string;
6
+ /** Description text */
7
+ description?: string;
8
+ /** Disabled state */
9
+ disabled?: boolean;
10
+ /** Size variant */
11
+ size?: 'sm' | 'md' | 'lg';
12
+ };
13
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:modelValue": (value: boolean) => any;
15
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
17
+ }>, {
18
+ size: "sm" | "md" | "lg";
19
+ modelValue: boolean;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
21
+ export default _default;
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SearchInput_vue_vue_type_script_setup_true_lang = require("../../SearchInput.vue_vue_type_script_setup_true_lang-Be73hShP.cjs");
4
- exports.FormGroup = SearchInput_vue_vue_type_script_setup_true_lang._sfc_main$4;
5
- exports.FormHelp = SearchInput_vue_vue_type_script_setup_true_lang._sfc_main$1;
6
- exports.FormInput = SearchInput_vue_vue_type_script_setup_true_lang._sfc_main$2;
7
- exports.FormLabel = SearchInput_vue_vue_type_script_setup_true_lang._sfc_main;
8
- exports.FormSelect = SearchInput_vue_vue_type_script_setup_true_lang._sfc_main$3;
9
- exports.SearchInput = SearchInput_vue_vue_type_script_setup_true_lang._sfc_main$5;
3
+ const Checkbox_vue_vue_type_script_setup_true_lang = require("../../Checkbox.vue_vue_type_script_setup_true_lang-DQD2I1Wk.cjs");
4
+ exports.Checkbox = Checkbox_vue_vue_type_script_setup_true_lang._sfc_main$7;
5
+ exports.FormGroup = Checkbox_vue_vue_type_script_setup_true_lang._sfc_main$4;
6
+ exports.FormHelp = Checkbox_vue_vue_type_script_setup_true_lang._sfc_main$1;
7
+ exports.FormInput = Checkbox_vue_vue_type_script_setup_true_lang._sfc_main$2;
8
+ exports.FormLabel = Checkbox_vue_vue_type_script_setup_true_lang._sfc_main;
9
+ exports.FormSelect = Checkbox_vue_vue_type_script_setup_true_lang._sfc_main$3;
10
+ exports.SearchInput = Checkbox_vue_vue_type_script_setup_true_lang._sfc_main$5;
11
+ exports.Switch = Checkbox_vue_vue_type_script_setup_true_lang._sfc_main$6;
10
12
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -4,3 +4,5 @@ export { default as FormInput } from './FormInput.vue';
4
4
  export { default as FormSelect } from './FormSelect.vue';
5
5
  export { default as FormGroup } from './FormGroup.vue';
6
6
  export { default as SearchInput } from './SearchInput.vue';
7
+ export { default as Switch } from './Switch.vue';
8
+ export { default as Checkbox } from './Checkbox.vue';
@@ -1,10 +1,12 @@
1
- import { d, a, b, _, c, e } from "../../SearchInput.vue_vue_type_script_setup_true_lang-DjT2qdcp.js";
1
+ import { g, d, a, b, _, c, e, f } from "../../Checkbox.vue_vue_type_script_setup_true_lang-DVkcMcSN.js";
2
2
  export {
3
+ g as Checkbox,
3
4
  d as FormGroup,
4
5
  a as FormHelp,
5
6
  b as FormInput,
6
7
  _ as FormLabel,
7
8
  c as FormSelect,
8
- e as SearchInput
9
+ e as SearchInput,
10
+ f as Switch
9
11
  };
10
12
  //# sourceMappingURL=index.js.map