manolis-ui 0.6.12 → 0.6.18

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/README.md CHANGED
@@ -1,3 +1,9 @@
1
+
2
+ <p align="center">
3
+ <img width="256" height="256" src="./manolis-ui-icon.png">
4
+ </p>
5
+
6
+
1
7
  # Manolis UI - Accelerate Your Vue 3 Development
2
8
 
3
9
  Manolis UI is a high-quality Vue 3 component library meticulously crafted to accelerate your development process without compromising on visual appeal or ease of use. Built on the solid foundation of Tailwind CSS 4 and enhanced with the extensive component set of Daisy UI v5 (including potential additions), Manolis UI provides you with a rich collection of ready-to-use, customizable components. Spend less time building the basics and more time focusing on the unique aspects of your application.
package/dist/index.d.ts CHANGED
@@ -22,17 +22,48 @@ declare const __VLS_component_10: DefineComponent<__VLS_Props, {}, {}, {}, {}, C
22
22
  inputRef: HTMLInputElement;
23
23
  }, HTMLDivElement>;
24
24
 
25
- declare const __VLS_component_11: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_14> & Readonly<{}>, {
25
+ declare const __VLS_component_11: DefineComponent<Props_12, {
26
+ focusInput: () => void;
27
+ isValid: typeof isValid;
28
+ isTouched: typeof isTouched;
29
+ errorMessage: typeof errorMessage;
30
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
31
+ "update:modelValue": (value: string | number | null) => any;
32
+ validate: (isValid: boolean) => any;
33
+ }, string, PublicProps, Readonly<Props_12> & Readonly<{
34
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
35
+ onValidate?: ((isValid: boolean) => any) | undefined;
36
+ }>, {
37
+ type: string;
38
+ size: "xs" | "sm" | "md" | "lg" | "xl";
39
+ label: string;
40
+ style: "" | "ghost";
41
+ color: "" | "neutral" | "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error";
42
+ placeholder: string;
43
+ modelValue: string | number | null;
44
+ rules: {
45
+ required?: boolean;
46
+ minLength?: number;
47
+ maxLength?: number;
48
+ email?: boolean;
49
+ [key: string]: any;
50
+ };
51
+ successMessage: string;
52
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
53
+ inputElement: HTMLInputElement;
54
+ }, HTMLDivElement>;
55
+
56
+ declare const __VLS_component_12: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_14> & Readonly<{}>, {
26
57
  collapseOnMobile: boolean;
27
58
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
28
59
 
29
- declare const __VLS_component_12: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
60
+ declare const __VLS_component_13: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
30
61
 
31
- declare const __VLS_component_13: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_16> & Readonly<{}>, {
62
+ declare const __VLS_component_14: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_16> & Readonly<{}>, {
32
63
  isCollapsed: boolean;
33
64
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
34
65
 
35
- declare const __VLS_component_14: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
66
+ declare const __VLS_component_15: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
36
67
  "tab-changed": (...args: any[]) => void;
37
68
  }, string, PublicProps, Readonly<Props_17> & Readonly<{
38
69
  "onTab-changed"?: ((...args: any[]) => any) | undefined;
@@ -175,6 +206,7 @@ data: any;
175
206
  }) => any) | undefined;
176
207
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
177
208
  searchContainer: HTMLDivElement;
209
+ inlineComponentRef: unknown;
178
210
  }, any>;
179
211
 
180
212
  declare type __VLS_Props = {
@@ -222,11 +254,22 @@ declare function __VLS_template_11(): {
222
254
  slots: {
223
255
  default?(_: {}): any;
224
256
  };
225
- refs: {};
257
+ refs: {
258
+ inputElement: HTMLInputElement;
259
+ };
226
260
  rootEl: HTMLDivElement;
227
261
  };
228
262
 
229
263
  declare function __VLS_template_12(): {
264
+ attrs: Partial<{}>;
265
+ slots: {
266
+ default?(_: {}): any;
267
+ };
268
+ refs: {};
269
+ rootEl: HTMLDivElement;
270
+ };
271
+
272
+ declare function __VLS_template_13(): {
230
273
  attrs: Partial<{}>;
231
274
  slots: {
232
275
  title?(_: {}): any;
@@ -241,7 +284,7 @@ declare function __VLS_template_12(): {
241
284
  rootEl: HTMLDivElement;
242
285
  };
243
286
 
244
- declare function __VLS_template_13(): {
287
+ declare function __VLS_template_14(): {
245
288
  attrs: Partial<{}>;
246
289
  slots: {
247
290
  start?(_: {}): any;
@@ -253,7 +296,7 @@ declare function __VLS_template_13(): {
253
296
  rootEl: HTMLElement;
254
297
  };
255
298
 
256
- declare function __VLS_template_14(): {
299
+ declare function __VLS_template_15(): {
257
300
  attrs: Partial<{}>;
258
301
  slots: Partial<Record<`${string}-tab`, (_: {}) => any>> & {
259
302
  default?(_: {}): any;
@@ -349,6 +392,7 @@ declare function __VLS_template_9(): {
349
392
  };
350
393
  refs: {
351
394
  searchContainer: HTMLDivElement;
395
+ inlineComponentRef: unknown;
352
396
  };
353
397
  rootEl: any;
354
398
  };
@@ -365,6 +409,8 @@ declare type __VLS_TemplateResult_13 = ReturnType<typeof __VLS_template_13>;
365
409
 
366
410
  declare type __VLS_TemplateResult_14 = ReturnType<typeof __VLS_template_14>;
367
411
 
412
+ declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
413
+
368
414
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
369
415
 
370
416
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -417,6 +463,12 @@ declare type __VLS_WithTemplateSlots_14<T, S> = T & {
417
463
  };
418
464
  };
419
465
 
466
+ declare type __VLS_WithTemplateSlots_15<T, S> = T & {
467
+ new (): {
468
+ $slots: S;
469
+ };
470
+ };
471
+
420
472
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
421
473
  new (): {
422
474
  $slots: S;
@@ -527,7 +579,7 @@ declare const errorMessage: Ref<string, string>;
527
579
 
528
580
  export { FilterableSelect }
529
581
 
530
- export declare const Footer: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
582
+ export declare const Footer: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
531
583
 
532
584
  declare interface FooterNavigation {
533
585
  title: string;
@@ -540,38 +592,9 @@ declare interface FooterNavigationItem {
540
592
  enabled: Boolean;
541
593
  }
542
594
 
543
- export declare const Hero: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
595
+ export declare const Hero: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
544
596
 
545
- export declare const InputField: DefineComponent<Props_12, {
546
- focusInput: () => void;
547
- isValid: typeof isValid;
548
- isTouched: typeof isTouched;
549
- errorMessage: typeof errorMessage;
550
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
551
- "update:modelValue": (value: string | number | null) => any;
552
- validate: (isValid: boolean) => any;
553
- }, string, PublicProps, Readonly<Props_12> & Readonly<{
554
- "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
555
- onValidate?: ((isValid: boolean) => any) | undefined;
556
- }>, {
557
- type: string;
558
- size: "xs" | "sm" | "md" | "lg" | "xl";
559
- label: string;
560
- style: "" | "ghost";
561
- color: "" | "neutral" | "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error";
562
- modelValue: string | number | null;
563
- placeholder: string;
564
- rules: {
565
- required?: boolean;
566
- minLength?: number;
567
- maxLength?: number;
568
- email?: boolean;
569
- [key: string]: any;
570
- };
571
- successMessage: string;
572
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
573
- inputElement: HTMLInputElement;
574
- }, HTMLDivElement>;
597
+ export declare const InputField: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
575
598
 
576
599
  declare const isTouched: Ref<boolean, boolean>;
577
600
 
@@ -592,7 +615,7 @@ declare const modalPosition: {
592
615
  center: string;
593
616
  };
594
617
 
595
- export declare const NavigationBar: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
618
+ export declare const NavigationBar: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
596
619
 
597
620
  declare interface Props {
598
621
  outlined?: boolean;
@@ -609,6 +632,8 @@ declare interface Props_10 {
609
632
  tabs: Tab_2[];
610
633
  }>;
611
634
  currentCategory: string;
635
+ id?: string;
636
+ value?: any;
612
637
  }
613
638
 
614
639
  declare interface Props_11 {
@@ -634,6 +659,10 @@ declare interface Props_12 {
634
659
  email?: boolean;
635
660
  [key: string]: any;
636
661
  };
662
+ needsValidation?: {
663
+ default: true;
664
+ type: boolean;
665
+ };
637
666
  successMessage?: string;
638
667
  size?: "xs" | "sm" | "md" | "lg" | "xl";
639
668
  color?: "" | "neutral" | "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error";
@@ -753,15 +782,18 @@ selectElement: HTMLSelectElement;
753
782
 
754
783
  export declare const Swap: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
755
784
 
756
- export declare const Tab: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
785
+ export declare const Tab: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
757
786
 
758
787
  declare interface Tab_2 {
759
- name: string | any;
788
+ name: string;
760
789
  description: string;
761
- type: "datetime";
762
- range: boolean;
763
- props?: Object;
790
+ type: string;
791
+ range?: boolean;
792
+ props?: {
793
+ [key: string]: any;
794
+ };
764
795
  value?: any;
796
+ displayMode?: "popup" | "inline";
765
797
  }
766
798
 
767
799
  declare interface Tab_3 {
@@ -0,0 +1,4 @@
1
+ import { InputField as t } from "./manolis-ui.js";
2
+ export {
3
+ t as default
4
+ };
@@ -1 +1 @@
1
- .carousel[data-v-db55a6a5]{-ms-overflow-style:none;scrollbar-width:none}.carousel[data-v-db55a6a5]::-webkit-scrollbar{display:none}.carousel-item[data-v-507384bc]{flex-shrink:0}.tabs button[data-v-08fa37eb]{cursor:pointer}.tab-content[data-v-08fa37eb]{position:absolute;z-index:10;transform-origin:top center;transition:opacity .3s ease}.tabs-boxed[data-v-08fa37eb] :is(.tab-active,[aria-selected=true]):not(.tab-disabled):not([disabled]),.tabs-boxed[data-v-08fa37eb] :is(input:checked){background-color:var(--color-base-300);color:var(--color-base-content)}@media (max-width: 768px){.tab-content[data-v-08fa37eb]{width:100%;left:50%;transform:translate(-50%);top:auto;bottom:0}}@media (min-width: 769px){.tab-content[data-v-08fa37eb]{width:auto;left:unset;transform:unset}}.input[data-v-661f4719]{cursor:pointer}.navigationbar[data-v-8ddb2b45]{display:grid;grid-template-columns:auto auto auto;grid-template-rows:auto auto;grid-template-areas:"center center center" "bottom bottom bottom";position:fixed;width:100%!important;gap:0 1rem;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;z-index:5}@media (min-width: 768px){.navigationbar[data-v-8ddb2b45]{grid-template-columns:.7fr 1.6fr .7fr;grid-template-areas:"start center end" "bottom bottom bottom";grid-row-gap:2rem;padding:2rem}}.navbar-start[data-v-8ddb2b45]{grid-area:start;height:100%}.navbar-center[data-v-8ddb2b45]{grid-area:center;width:100%;height:100%}.navbar-end[data-v-8ddb2b45]{width:100%;height:100%;grid-area:end}.navbar-bottom[data-v-8ddb2b45]{grid-area:center;width:100%;display:flex;justify-content:center;align-items:center}@media (min-width: 768px){.navbar-bottom[data-v-8ddb2b45]{grid-area:bottom}}nav.navigationbar.collapsed[data-v-8ddb2b45]{top:0;z-index:10;grid-template-columns:auto 1fr auto!important}@media (min-width: 768px){nav.navigationbar.collapsed[data-v-8ddb2b45]{row-gap:0;padding:1rem}}nav.navigationbar.collapsed .navbar-bottom[data-v-8ddb2b45]{grid-area:center!important}
1
+ .carousel[data-v-db55a6a5]{-ms-overflow-style:none;scrollbar-width:none}.carousel[data-v-db55a6a5]::-webkit-scrollbar{display:none}.carousel-item[data-v-507384bc]{flex-shrink:0}.tab-content[data-v-2a095d4c]{background-color:var(--color-base-100);padding:1rem;border-radius:var(--radius-box, .5rem);box-shadow:var(--tw-shadow-lg);border:1px solid var(--color-base-300)}.tabs button[data-v-2a095d4c]{cursor:pointer;flex-grow:1;flex-shrink:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:0 1rem;position:relative}.tabs button .text-sm[data-v-2a095d4c],.tabs button .text-xs[data-v-2a095d4c]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.tabs button>.inline-component-wrapper[data-v-2a095d4c]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0 1rem;background-color:var(--color-base-100);z-index:1}.tabs button.tab-active-inline .flex-col[data-v-2a095d4c]{visibility:hidden}@media (max-width: 768px){.tab-content[data-v-2a095d4c]{width:90%;left:50%!important;transform:translate(-50%)!important;top:auto!important;bottom:unset!important;margin-top:10px;position:fixed;max-height:80vh;overflow-y:auto}}@media (min-width: 769px){.tab-content[data-v-2a095d4c]{width:auto;left:unset;transform:unset;position:absolute;max-height:unset;overflow-y:visible}.tabs-boxed .tab[data-v-2a095d4c]{flex-basis:0}}@media (max-width: 768px){.collapse-title>div[data-v-2a095d4c]:last-child{opacity:.75}}.tabs-boxed .tab.tab-active[data-v-2a095d4c],.tabs-boxed .tab.tab-active[data-v-2a095d4c]:hover{background-color:var(--color-primary);color:var(--color-primary-content)}.tabs-boxed .tab.tab-active-inline[data-v-2a095d4c]{background-color:var(--color-primary);color:var(--color-primary-content);flex:6}.tabs button>.inline-component-wrapper[data-v-2a095d4c] *{color:var(--color-base-content)}.input[data-v-661f4719]{cursor:pointer}.navigationbar[data-v-8ddb2b45]{display:grid;grid-template-columns:auto auto auto;grid-template-rows:auto auto;grid-template-areas:"center center center" "bottom bottom bottom";position:fixed;width:100%!important;gap:0 1rem;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;z-index:5}@media (min-width: 768px){.navigationbar[data-v-8ddb2b45]{grid-template-columns:.7fr 1.6fr .7fr;grid-template-areas:"start center end" "bottom bottom bottom";grid-row-gap:2rem;padding:2rem}}.navbar-start[data-v-8ddb2b45]{grid-area:start;height:100%}.navbar-center[data-v-8ddb2b45]{grid-area:center;width:100%;height:100%}.navbar-end[data-v-8ddb2b45]{width:100%;height:100%;grid-area:end}.navbar-bottom[data-v-8ddb2b45]{grid-area:center;width:100%;display:flex;justify-content:center;align-items:center}@media (min-width: 768px){.navbar-bottom[data-v-8ddb2b45]{grid-area:bottom}}nav.navigationbar.collapsed[data-v-8ddb2b45]{top:0;z-index:10;grid-template-columns:auto 1fr auto!important}@media (min-width: 768px){nav.navigationbar.collapsed[data-v-8ddb2b45]{row-gap:0;padding:1rem}}nav.navigationbar.collapsed .navbar-bottom[data-v-8ddb2b45]{grid-area:center!important}