@ziyarago/ui 0.13.0 → 0.15.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 (75) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +5 -5
  3. package/dist/llms-full.txt +3 -3
  4. package/dist/llms.txt +2 -2
  5. package/dist/manifest.json +316 -2
  6. package/docs/INTEGRATION.md +14 -0
  7. package/package.json +10 -25
  8. package/src/core/components.js +0 -11
  9. package/src/core/components2.js +1 -71
  10. package/src/core/components3.js +2 -44
  11. package/src/core/components4.js +0 -38
  12. package/src/core/components6.js +0 -50
  13. package/src/core/components7.js +0 -34
  14. package/src/core/index.js +6 -0
  15. package/src/core/pages.js +2 -36
  16. package/src/i18n/components/index.js +0 -72
  17. package/src/internal.js +10 -0
  18. package/src/meta/index.js +15 -0
  19. package/src/meta/pages.js +1 -1
  20. package/src/nuxt/module.mjs +9 -1
  21. package/src/react/index.js +8 -107
  22. package/src/resolver.js +17 -4
  23. package/src/vue/index.js +9 -2
  24. package/types/core.d.ts +3 -0
  25. package/types/internal.d.ts +30 -0
  26. package/types/meta.d.ts +8 -0
  27. package/types/nuxt.d.ts +2 -0
  28. package/types/react.d.ts +138 -4143
  29. package/types/resolver.d.ts +2 -0
  30. package/types/vue-global.d.ts +0 -106
  31. package/types/vue.d.ts +147 -3598
  32. package/docs/MIGRATION.md +0 -455
  33. package/src/compat/index.js +0 -469
  34. package/src/compat/map.js +0 -282
  35. package/src/compat/resolver.js +0 -22
  36. package/src/compat/vite.js +0 -29
  37. package/src/i18n/components/ActionCard.js +0 -5
  38. package/src/i18n/components/Actionsheet.js +0 -5
  39. package/src/i18n/components/CallCard.js +0 -5
  40. package/src/i18n/components/CallRow.js +0 -5
  41. package/src/i18n/components/Carousel.js +0 -5
  42. package/src/i18n/components/ChartCard.js +0 -5
  43. package/src/i18n/components/ChatAi.js +0 -5
  44. package/src/i18n/components/ChipInput.js +0 -5
  45. package/src/i18n/components/ContactPanel.js +0 -5
  46. package/src/i18n/components/DataGroup.js +0 -5
  47. package/src/i18n/components/DealCard.js +0 -5
  48. package/src/i18n/components/FullscreenDialog.js +0 -5
  49. package/src/i18n/components/Gallery.js +0 -5
  50. package/src/i18n/components/GuestCard.js +0 -5
  51. package/src/i18n/components/ImageUpload.js +0 -5
  52. package/src/i18n/components/ImageViewer.js +0 -5
  53. package/src/i18n/components/IncomingCall.js +0 -5
  54. package/src/i18n/components/InlineEdit.js +0 -5
  55. package/src/i18n/components/IntegrationCard.js +0 -5
  56. package/src/i18n/components/Map.js +0 -5
  57. package/src/i18n/components/NotificationBell.js +0 -5
  58. package/src/i18n/components/PricingCard.js +0 -5
  59. package/src/i18n/components/QiblaCompass.js +0 -5
  60. package/src/i18n/components/RamadanTracker.js +0 -5
  61. package/src/i18n/components/RangeCalendar.js +0 -5
  62. package/src/i18n/components/RangeSlider.js +0 -5
  63. package/src/i18n/components/RichEditor.js +0 -5
  64. package/src/i18n/components/Screensaver.js +0 -5
  65. package/src/i18n/components/Sortable.js +0 -5
  66. package/src/i18n/components/StepDialog.js +0 -5
  67. package/src/i18n/components/StepForm.js +0 -5
  68. package/src/i18n/components/TabTiles.js +0 -5
  69. package/src/i18n/components/Tour.js +0 -5
  70. package/src/i18n/components/TourCard.js +0 -5
  71. package/src/i18n/components/TourPopover.js +0 -5
  72. package/src/i18n/components/TreeSelect.js +0 -5
  73. package/types/compat-resolver.d.ts +0 -12
  74. package/types/compat-vite.d.ts +0 -11
  75. package/types/compat.d.ts +0 -176
@@ -7,6 +7,8 @@ export interface ZiyaragoUiResolverOptions {
7
7
  exclude?: string[];
8
8
  /** Module the components come from. Default '@ziyarago/ui/vue'. */
9
9
  from?: string;
10
+ /** Add-on packages whose components auto-import too: a package name exporting ./names and ./vue, or an explicit { from, names }. */
11
+ plugins?: Array<string | { from: string; names: string[] }>;
10
12
  }
11
13
  export interface ZiyaragoUiResolverResult { name: string; from: string; sideEffects?: string }
12
14
  export interface ZiyaragoUiResolver { type: 'component'; resolve(name: string): ZiyaragoUiResolverResult | undefined }
@@ -7,169 +7,80 @@ import type * as Ui from './vue';
7
7
  declare module 'vue' {
8
8
  export interface GlobalComponents {
9
9
  UiAccordion: typeof Ui.UiAccordion;
10
- UiActionCard: typeof Ui.UiActionCard;
11
- UiActionRail: typeof Ui.UiActionRail;
12
- UiActionsheet: typeof Ui.UiActionsheet;
13
10
  UiAlert: typeof Ui.UiAlert;
14
11
  UiAppShell: typeof Ui.UiAppShell;
15
12
  UiAuthLayout: typeof Ui.UiAuthLayout;
16
- UiAuthShowcase: typeof Ui.UiAuthShowcase;
17
13
  UiAuthSplit: typeof Ui.UiAuthSplit;
18
14
  UiAvatar: typeof Ui.UiAvatar;
19
15
  UiBadge: typeof Ui.UiBadge;
20
16
  UiBanner: typeof Ui.UiBanner;
21
- UiBookingCard: typeof Ui.UiBookingCard;
22
17
  UiBottomSheet: typeof Ui.UiBottomSheet;
23
18
  UiBox: typeof Ui.UiBox;
24
19
  UiBreadcrumbs: typeof Ui.UiBreadcrumbs;
25
20
  UiButton: typeof Ui.UiButton;
26
21
  UiCalendar: typeof Ui.UiCalendar;
27
- UiCalendarView: typeof Ui.UiCalendarView;
28
- UiCallCard: typeof Ui.UiCallCard;
29
- UiCallRow: typeof Ui.UiCallRow;
30
22
  UiCard: typeof Ui.UiCard;
31
- UiCarousel: typeof Ui.UiCarousel;
32
23
  UiCenter: typeof Ui.UiCenter;
33
- UiChartCard: typeof Ui.UiChartCard;
34
- UiChatAi: typeof Ui.UiChatAi;
35
24
  UiCheckbox: typeof Ui.UiCheckbox;
36
25
  UiChip: typeof Ui.UiChip;
37
- UiChipInput: typeof Ui.UiChipInput;
38
26
  UiCode: typeof Ui.UiCode;
39
27
  UiCodeInput: typeof Ui.UiCodeInput;
40
- UiColorPicker: typeof Ui.UiColorPicker;
41
28
  UiCombobox: typeof Ui.UiCombobox;
42
- UiCommandBar: typeof Ui.UiCommandBar;
43
29
  UiCommandPalette: typeof Ui.UiCommandPalette;
44
30
  UiConfirmDialog: typeof Ui.UiConfirmDialog;
45
- UiContactPanel: typeof Ui.UiContactPanel;
46
31
  UiContextMenu: typeof Ui.UiContextMenu;
47
32
  UiCopyButton: typeof Ui.UiCopyButton;
48
- UiCountryRow: typeof Ui.UiCountryRow;
49
- UiDataGroup: typeof Ui.UiDataGroup;
50
33
  UiDataState: typeof Ui.UiDataState;
51
34
  UiDataTable: typeof Ui.UiDataTable;
52
35
  UiDatePicker: typeof Ui.UiDatePicker;
53
- UiDealCard: typeof Ui.UiDealCard;
54
36
  UiDescriptions: typeof Ui.UiDescriptions;
55
37
  UiDivider: typeof Ui.UiDivider;
56
38
  UiDrawer: typeof Ui.UiDrawer;
57
39
  UiDropdown: typeof Ui.UiDropdown;
58
40
  UiEmptyState: typeof Ui.UiEmptyState;
59
41
  UiErrorPage: typeof Ui.UiErrorPage;
60
- UiFab: typeof Ui.UiFab;
61
42
  UiFileUpload: typeof Ui.UiFileUpload;
62
43
  UiFilterChips: typeof Ui.UiFilterChips;
63
44
  UiFooter: typeof Ui.UiFooter;
64
45
  UiFormField: typeof Ui.UiFormField;
65
- UiFullscreenDialog: typeof Ui.UiFullscreenDialog;
66
- UiGallery: typeof Ui.UiGallery;
67
46
  UiGrid: typeof Ui.UiGrid;
68
- UiGroupedSelect: typeof Ui.UiGroupedSelect;
69
- UiGuestCard: typeof Ui.UiGuestCard;
70
47
  UiHStack: typeof Ui.UiHStack;
71
48
  UiHeading: typeof Ui.UiHeading;
72
- UiHeroBanner: typeof Ui.UiHeroBanner;
73
- UiHotelCard: typeof Ui.UiHotelCard;
74
- UiHoverCard: typeof Ui.UiHoverCard;
75
49
  UiIcon: typeof Ui.UiIcon;
76
50
  UiIconButton: typeof Ui.UiIconButton;
77
51
  UiIconTile: typeof Ui.UiIconTile;
78
- UiImageUpload: typeof Ui.UiImageUpload;
79
- UiImageViewer: typeof Ui.UiImageViewer;
80
- UiIncomingCall: typeof Ui.UiIncomingCall;
81
- UiInlineEdit: typeof Ui.UiInlineEdit;
82
- UiIntegrationCard: typeof Ui.UiIntegrationCard;
83
- UiKanbanCard: typeof Ui.UiKanbanCard;
84
- UiKanbanColumn: typeof Ui.UiKanbanColumn;
85
52
  UiKbd: typeof Ui.UiKbd;
86
- UiKpiInline: typeof Ui.UiKpiInline;
87
53
  UiKpiTile: typeof Ui.UiKpiTile;
88
54
  UiLazyImage: typeof Ui.UiLazyImage;
89
- UiLeadCard: typeof Ui.UiLeadCard;
90
55
  UiLink: typeof Ui.UiLink;
91
- UiLiquidGlass: typeof Ui.UiLiquidGlass;
92
56
  UiLoadingOverlay: typeof Ui.UiLoadingOverlay;
93
57
  UiLoginForm: typeof Ui.UiLoginForm;
94
- UiMap: typeof Ui.UiMap;
95
58
  UiMenu: typeof Ui.UiMenu;
96
59
  UiMiniChart: typeof Ui.UiMiniChart;
97
60
  UiModal: typeof Ui.UiModal;
98
61
  UiMultiSelect: typeof Ui.UiMultiSelect;
99
- UiNotificationBell: typeof Ui.UiNotificationBell;
100
62
  UiNumberInput: typeof Ui.UiNumberInput;
101
- UiOccupancyChart: typeof Ui.UiOccupancyChart;
102
- UiOptionCard: typeof Ui.UiOptionCard;
103
- UiOptionCards: typeof Ui.UiOptionCards;
104
- UiPageAccount: typeof Ui.UiPageAccount;
105
- UiPageAnalytics: typeof Ui.UiPageAnalytics;
106
- UiPageArticle: typeof Ui.UiPageArticle;
107
63
  UiPageAuth: typeof Ui.UiPageAuth;
108
- UiPageBilling: typeof Ui.UiPageBilling;
109
- UiPageBookingFlow: typeof Ui.UiPageBookingFlow;
110
- UiPageBookings: typeof Ui.UiPageBookings;
111
- UiPageCalendar: typeof Ui.UiPageCalendar;
112
- UiPageCatalog: typeof Ui.UiPageCatalog;
113
- UiPageChangelog: typeof Ui.UiPageChangelog;
114
- UiPageCheckout: typeof Ui.UiPageCheckout;
115
- UiPageCrm: typeof Ui.UiPageCrm;
116
64
  UiPageDashboard: typeof Ui.UiPageDashboard;
117
- UiPageDetail: typeof Ui.UiPageDetail;
118
- UiPageFaq: typeof Ui.UiPageFaq;
119
- UiPageForm: typeof Ui.UiPageForm;
120
- UiPageGroupManager: typeof Ui.UiPageGroupManager;
121
65
  UiPageHeader: typeof Ui.UiPageHeader;
122
- UiPageHelp: typeof Ui.UiPageHelp;
123
- UiPageInbox: typeof Ui.UiPageInbox;
124
- UiPageIntegrations: typeof Ui.UiPageIntegrations;
125
- UiPageItinerary: typeof Ui.UiPageItinerary;
126
- UiPageKanban: typeof Ui.UiPageKanban;
127
- UiPageLanding: typeof Ui.UiPageLanding;
128
- UiPageLegal: typeof Ui.UiPageLegal;
129
- UiPageLocations: typeof Ui.UiPageLocations;
130
- UiPageNotifications: typeof Ui.UiPageNotifications;
131
- UiPageOnboarding: typeof Ui.UiPageOnboarding;
132
- UiPageOrder: typeof Ui.UiPageOrder;
133
- UiPagePatterns: typeof Ui.UiPagePatterns;
134
- UiPagePrayer: typeof Ui.UiPagePrayer;
135
66
  UiPagePricing: typeof Ui.UiPagePricing;
136
- UiPageProfile: typeof Ui.UiPageProfile;
137
- UiPageSearch: typeof Ui.UiPageSearch;
138
67
  UiPageSettings: typeof Ui.UiPageSettings;
139
- UiPageStates: typeof Ui.UiPageStates;
140
68
  UiPageStatus: typeof Ui.UiPageStatus;
141
- UiPageTeam: typeof Ui.UiPageTeam;
142
- UiPageTourPublic: typeof Ui.UiPageTourPublic;
143
69
  UiPageUserList: typeof Ui.UiPageUserList;
144
70
  UiPagination: typeof Ui.UiPagination;
145
71
  UiPasswordInput: typeof Ui.UiPasswordInput;
146
72
  UiPhoneInput: typeof Ui.UiPhoneInput;
147
- UiPillSelect: typeof Ui.UiPillSelect;
148
73
  UiPillTabs: typeof Ui.UiPillTabs;
149
- UiPipelineBoard: typeof Ui.UiPipelineBoard;
150
74
  UiPopconfirm: typeof Ui.UiPopconfirm;
151
75
  UiPopover: typeof Ui.UiPopover;
152
76
  UiPortal: typeof Ui.UiPortal;
153
- UiPrayerTimes: typeof Ui.UiPrayerTimes;
154
77
  UiPressable: typeof Ui.UiPressable;
155
- UiPricingCard: typeof Ui.UiPricingCard;
156
- UiProfileHeader: typeof Ui.UiProfileHeader;
157
78
  UiProgress: typeof Ui.UiProgress;
158
- UiQiblaCompass: typeof Ui.UiQiblaCompass;
159
79
  UiRadioGroup: typeof Ui.UiRadioGroup;
160
- UiRamadanTracker: typeof Ui.UiRamadanTracker;
161
- UiRangeCalendar: typeof Ui.UiRangeCalendar;
162
- UiRangeSlider: typeof Ui.UiRangeSlider;
163
80
  UiRating: typeof Ui.UiRating;
164
- UiRichEditor: typeof Ui.UiRichEditor;
165
81
  UiRing: typeof Ui.UiRing;
166
- UiRoomCalendar: typeof Ui.UiRoomCalendar;
167
- UiRoomGrid: typeof Ui.UiRoomGrid;
168
- UiSalesFunnel: typeof Ui.UiSalesFunnel;
169
- UiScreensaver: typeof Ui.UiScreensaver;
170
82
  UiScrollArea: typeof Ui.UiScrollArea;
171
83
  UiSearchInput: typeof Ui.UiSearchInput;
172
- UiSegBar: typeof Ui.UiSegBar;
173
84
  UiSegmentedControl: typeof Ui.UiSegmentedControl;
174
85
  UiSelect: typeof Ui.UiSelect;
175
86
  UiSettingsSection: typeof Ui.UiSettingsSection;
@@ -178,22 +89,13 @@ declare module 'vue' {
178
89
  UiSlider: typeof Ui.UiSlider;
179
90
  UiSnackbar: typeof Ui.UiSnackbar;
180
91
  UiSocialAuth: typeof Ui.UiSocialAuth;
181
- UiSortable: typeof Ui.UiSortable;
182
92
  UiSpinner: typeof Ui.UiSpinner;
183
93
  UiSplitLayout: typeof Ui.UiSplitLayout;
184
- UiStatLine: typeof Ui.UiStatLine;
185
- UiStatRow: typeof Ui.UiStatRow;
186
- UiStatStrip: typeof Ui.UiStatStrip;
187
94
  UiStatsCard: typeof Ui.UiStatsCard;
188
95
  UiStatusIcon: typeof Ui.UiStatusIcon;
189
96
  UiStatusPage: typeof Ui.UiStatusPage;
190
- UiStepDialog: typeof Ui.UiStepDialog;
191
- UiStepForm: typeof Ui.UiStepForm;
192
- UiStepper: typeof Ui.UiStepper;
193
97
  UiSubNav: typeof Ui.UiSubNav;
194
98
  UiSwitch: typeof Ui.UiSwitch;
195
- UiSystemStatus: typeof Ui.UiSystemStatus;
196
- UiTabTiles: typeof Ui.UiTabTiles;
197
99
  UiTabs: typeof Ui.UiTabs;
198
100
  UiTag: typeof Ui.UiTag;
199
101
  UiText: typeof Ui.UiText;
@@ -205,15 +107,7 @@ declare module 'vue' {
205
107
  UiToggleGroup: typeof Ui.UiToggleGroup;
206
108
  UiTooltip: typeof Ui.UiTooltip;
207
109
  UiTopNav: typeof Ui.UiTopNav;
208
- UiTour: typeof Ui.UiTour;
209
- UiTourCard: typeof Ui.UiTourCard;
210
- UiTourPopover: typeof Ui.UiTourPopover;
211
- UiTreeSelect: typeof Ui.UiTreeSelect;
212
- UiTreeView: typeof Ui.UiTreeView;
213
- UiUserCell: typeof Ui.UiUserCell;
214
110
  UiVStack: typeof Ui.UiVStack;
215
- UiValidatedField: typeof Ui.UiValidatedField;
216
- UiVersusBar: typeof Ui.UiVersusBar;
217
111
  }
218
112
  }
219
113
  export {};