@stachelock/ui 0.6.14 → 0.6.16

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 (64) hide show
  1. package/dist/BaseInformationInput-DmtT4C7P.js +4 -0
  2. package/dist/BaseInformationInput.vue_vue_type_script_setup_true_lang-B-qW4F69.js +154 -0
  3. package/dist/{DynamicForm.vue_vue_type_script_setup_true_lang-DMtVUXUN.js → DynamicForm.vue_vue_type_script_setup_true_lang-D8QXRuSo.js} +1 -1
  4. package/dist/{DynamicFormField.vue_vue_type_script_setup_true_lang-DSq31jjH.js → DynamicFormField.vue_vue_type_script_setup_true_lang-DVoVGq7g.js} +86 -38
  5. package/dist/NamesInput-DHs3Gie7.js +4 -0
  6. package/dist/NamesInput.vue_vue_type_script_setup_true_lang-BO54mB4C.js +195 -0
  7. package/dist/NavigationItem.vue_vue_type_script_setup_true_lang-a6F3LQ_P.js +56 -0
  8. package/dist/ScreenSizeSelector.vue_vue_type_script_setup_true_lang-FINxrVod.js +183 -0
  9. package/dist/UiMapAll.vue_vue_type_script_setup_true_lang-DKcK0HmT.js +501 -0
  10. package/dist/charts/BaseChart.js +76 -56
  11. package/dist/charts/chartTheme.js +199 -60
  12. package/dist/charts/index.js +30 -27
  13. package/dist/components/Button.js +109 -89
  14. package/dist/composables/index.js +41 -32
  15. package/dist/composables/useMap.js +1 -1
  16. package/dist/forms/DynamicForm.js +1 -1
  17. package/dist/forms/DynamicFormField.js +1 -1
  18. package/dist/index.js +2268 -1856
  19. package/dist/layouts/DashboardLayout.js +218 -2
  20. package/dist/layouts/NavigationItem.js +1 -1
  21. package/dist/maps/UiMap.js +167 -150
  22. package/dist/maps/UiMapAll.js +1 -1
  23. package/dist/maps/UiMapMarker.js +227 -118
  24. package/dist/maps/index.js +1 -1
  25. package/dist/src/components/UiProgressBar.d.ts +1 -1
  26. package/dist/src/components/UiRadialProgressBar.d.ts +1 -1
  27. package/dist/src/components/charts/chartTheme.d.ts +53 -0
  28. package/dist/src/components/formatters/DateFormatter.d.ts +1 -1
  29. package/dist/src/components/index.d.ts +1 -0
  30. package/dist/src/components/inputs/DatepickerInput.d.ts +4 -4
  31. package/dist/src/components/layouts/DashboardLayout.d.ts +80 -18
  32. package/dist/src/components/layouts/ShowcaseCard.d.ts +1 -0
  33. package/dist/src/components/layouts/UiDetailPanel.d.ts +65 -0
  34. package/dist/src/components/layouts/UiSplitPanelLayout.d.ts +96 -0
  35. package/dist/src/components/layouts/index.d.ts +2 -0
  36. package/dist/src/components/maps/UiMap.d.ts +13 -2
  37. package/dist/src/components/maps/UiMapAll.d.ts +13 -0
  38. package/dist/src/components/maps/UiMapMarker.d.ts +47 -10
  39. package/dist/src/components/modals/UiSlideOver.d.ts +104 -0
  40. package/dist/src/components/modals/index.d.ts +1 -0
  41. package/dist/src/components/palettes/UiCommandPalette.d.ts +166 -0
  42. package/dist/src/components/palettes/index.d.ts +1 -0
  43. package/dist/src/components/wrappers/BreakpointWrapper.d.ts +36 -0
  44. package/dist/src/components/wrappers/ResponsivePreviewWrapper.d.ts +85 -0
  45. package/dist/src/components/wrappers/ScreenSizeSelector.d.ts +74 -0
  46. package/dist/src/components/wrappers/index.d.ts +3 -0
  47. package/dist/src/composables/index.d.ts +1 -0
  48. package/dist/src/composables/useScreenSize.d.ts +131 -0
  49. package/dist/src/types/form.d.ts +24 -1
  50. package/dist/src/types/index.d.ts +1 -0
  51. package/dist/src/types/layouts.d.ts +42 -0
  52. package/dist/src/types/palettes.d.ts +134 -0
  53. package/dist/src/views/components/index.d.ts +2 -0
  54. package/dist/src/views/index.d.ts +5 -1
  55. package/dist/src/views/layouts/index.d.ts +3 -1
  56. package/dist/style.css +1 -1
  57. package/dist/useMap-CM59TKX6.js +318 -0
  58. package/dist/useScreenSize-Kr6cn5Zr.js +104 -0
  59. package/dist/wrappers/index.js +10 -6
  60. package/package.json +1 -1
  61. package/dist/DashboardLayout.vue_vue_type_script_setup_true_lang-BAx4gKqh.js +0 -239
  62. package/dist/NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js +0 -56
  63. package/dist/UiMapAll.vue_vue_type_script_setup_true_lang-11yT7mTH.js +0 -471
  64. package/dist/useMap-BGg0H582.js +0 -297
@@ -0,0 +1,134 @@
1
+ import { Component } from 'vue';
2
+
3
+ /**
4
+ * Command configuration for CommandPalette quick actions.
5
+ */
6
+ export interface CommandPaletteCommand {
7
+ /** Unique identifier for the command */
8
+ id: string;
9
+ /** Display label for the command */
10
+ label: string;
11
+ /** Optional icon component */
12
+ icon?: Component;
13
+ /** Keyboard shortcut hint (e.g., '⌘K') */
14
+ shortcut?: string;
15
+ /** Whether the command is currently loading */
16
+ loading?: boolean;
17
+ /** Whether the command is disabled */
18
+ disabled?: boolean;
19
+ }
20
+ /**
21
+ * Category configuration for CommandPalette tabs.
22
+ */
23
+ export interface CommandPaletteCategory {
24
+ /** Unique identifier for the category */
25
+ id: string;
26
+ /** Display label for the category tab */
27
+ label?: string;
28
+ /** Optional icon component */
29
+ icon?: Component;
30
+ }
31
+ /**
32
+ * Generic item structure for CommandPalette.
33
+ * Items can have any additional properties for custom rendering.
34
+ */
35
+ export interface CommandPaletteItem {
36
+ /** Unique identifier */
37
+ id?: string | number;
38
+ /** Primary display name */
39
+ name?: string;
40
+ /** Alternative to name */
41
+ label?: string;
42
+ /** Secondary description text */
43
+ description?: string;
44
+ /** Avatar image URL */
45
+ avatar?: string;
46
+ /** Initials to display when no avatar */
47
+ initials?: string;
48
+ /** Icon component to display */
49
+ icon?: Component;
50
+ /** Allow additional custom properties */
51
+ [key: string]: unknown;
52
+ }
53
+ /**
54
+ * Props for the UiCommandPalette component.
55
+ */
56
+ export interface CommandPaletteProps {
57
+ /** Search query value (v-model) */
58
+ modelValue?: string;
59
+ /** Items to display in the list */
60
+ items?: CommandPaletteItem[];
61
+ /** Quick action commands */
62
+ commands?: CommandPaletteCommand[];
63
+ /** Category tabs for filtering */
64
+ categories?: CommandPaletteCategory[];
65
+ /** Search input placeholder text */
66
+ placeholder?: string;
67
+ /** Whether data is loading */
68
+ loading?: boolean;
69
+ /** Whether to show the search input */
70
+ showSearch?: boolean;
71
+ /** Text shown when no results */
72
+ emptyText?: string;
73
+ /** Currently active category ID */
74
+ activeCategory?: string;
75
+ /** Label shown above items list */
76
+ itemsLabel?: string;
77
+ /** Property to use as item key */
78
+ itemKey?: string;
79
+ }
80
+ /**
81
+ * Emit events for CommandPalette component.
82
+ */
83
+ export interface CommandPaletteEmits {
84
+ /** Search query changed */
85
+ 'update:modelValue': [value: string];
86
+ /** Item was selected */
87
+ 'select': [item: CommandPaletteItem];
88
+ /** Command was executed */
89
+ 'command': [command: CommandPaletteCommand];
90
+ /** Category tab changed */
91
+ 'category-change': [categoryId: string];
92
+ /** Search was triggered */
93
+ 'search': [query: string];
94
+ }
95
+ /**
96
+ * Position options for SlideOver panel.
97
+ */
98
+ export type SlideOverPosition = 'left' | 'right';
99
+ /**
100
+ * Size options for SlideOver panel width.
101
+ */
102
+ export type SlideOverSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
103
+ /**
104
+ * Props for the UiSlideOver component.
105
+ */
106
+ export interface SlideOverProps {
107
+ /** Panel visibility (v-model) */
108
+ modelValue: boolean;
109
+ /** Slide direction */
110
+ position?: SlideOverPosition;
111
+ /** Panel width */
112
+ size?: SlideOverSize;
113
+ /** Panel title */
114
+ title?: string;
115
+ /** Show dark backdrop overlay */
116
+ showBackdrop?: boolean;
117
+ /** Prevent closing on backdrop click */
118
+ preventAutoClose?: boolean;
119
+ /** Reduce padding for compact content */
120
+ compact?: boolean;
121
+ /** Show close button in header */
122
+ showCloseButton?: boolean;
123
+ }
124
+ /**
125
+ * Emit events for SlideOver component.
126
+ */
127
+ export interface SlideOverEmits {
128
+ /** Visibility changed */
129
+ 'update:modelValue': [value: boolean];
130
+ /** Panel was closed */
131
+ 'close': [];
132
+ /** Close was requested (when preventAutoClose is true) */
133
+ 'close-requested': [];
134
+ }
@@ -4,6 +4,7 @@ export { default as BannerPage } from './BannerPage';
4
4
  export { default as BreadcrumbPage } from './BreadcrumbPage';
5
5
  export { default as ButtonPage } from './ButtonPage';
6
6
  export { default as CloudinaryImagePage } from './CloudinaryImagePage';
7
+ export { default as CommandPalettePage } from './CommandPalettePage';
7
8
  export { default as LoadingPage } from './LoadingPage';
8
9
  export { default as LottiePage } from './LottiePage';
9
10
  export { default as MenuPage } from './MenuPage';
@@ -11,5 +12,6 @@ export { default as ModalPage } from './ModalPage';
11
12
  export { default as ProfilePreviewPage } from './ProfilePreviewPage';
12
13
  export { default as ProgressPage } from './ProgressPage';
13
14
  export { default as RichTextInputPage } from './RichTextInputPage';
15
+ export { default as IdeOverPage } from './SlideOverPage';
14
16
  export { default as TablePage } from './TablePage';
15
17
  export { default as TransitionPage } from './TransitionPage';
@@ -6,9 +6,13 @@ export { default as EmptyStatesShowcase } from './EmptyStatesShowcase';
6
6
  export { default as FormsShowcase } from './FormsShowcase';
7
7
  export { default as InputPaddingTest } from './InputPaddingTest';
8
8
  export { default as InputsShowcase } from './InputsShowcase';
9
- export { default as KitchenSink } from './KitchenSink';
10
9
  export { default as LayoutsShowcase } from './LayoutsShowcase';
11
10
  export { default as LoadingShowcase } from './LoadingShowcase';
11
+ export { default as MapsAdvancedShowcase } from './MapsAdvancedShowcase';
12
+ export { default as MapsClusterShowcase } from './MapsClusterShowcase';
13
+ export { default as MapsInfoWindowShowcase } from './MapsInfoWindowShowcase';
14
+ export { default as MapsLegacyShowcase } from './MapsLegacyShowcase';
15
+ export { default as MapsMarkersShowcase } from './MapsMarkersShowcase';
12
16
  export { default as MapsShowcase } from './MapsShowcase';
13
17
  export { default as ModalsShowcase } from './ModalsShowcase';
14
18
  export { default as NotificationsShowcase } from './NotificationsShowcase';
@@ -1,4 +1,6 @@
1
1
  export { default as CardLayoutPage } from './CardLayoutPage';
2
2
  export { default as DashboardLayoutPage } from './DashboardLayoutPage';
3
3
  export { default as HeaderLayoutPage } from './HeaderLayoutPage';
4
- export { default as SidebarLayoutPage } from './SidebarLayoutPage';
4
+ export { default as NavigationGroupPage } from './NavigationGroupPage';
5
+ export { default as NavigationItemPage } from './NavigationItemPage';
6
+ export { default as SplitPanelLayoutPage } from './SplitPanelLayoutPage';