@milaboratories/uikit 1.2.25 → 1.2.27

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.
@@ -0,0 +1,64 @@
1
+ import './pl-btn-danger.scss';
2
+ import type { MaskIconName16, Size } from '../../types';
3
+ /**
4
+ * Danger button
5
+ */
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
+ /**
8
+ * If `true,` the button is disabled, cannot be interacted with, and shows a special 'loading' icon.
9
+ */
10
+ loading?: boolean;
11
+ /**
12
+ * Size of the button, the default value is 'medium'
13
+ */
14
+ size?: Size;
15
+ /**
16
+ * If `true` the shape is round.
17
+ */
18
+ round?: boolean;
19
+ /**
20
+ * Icon to display
21
+ */
22
+ icon?: MaskIconName16;
23
+ /**
24
+ * If `true`, an icon is displayed before the text.
25
+ */
26
+ reverse?: boolean;
27
+ /**
28
+ * Justify text at the center
29
+ */
30
+ justifyCenter?: boolean;
31
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
32
+ /**
33
+ * If `true,` the button is disabled, cannot be interacted with, and shows a special 'loading' icon.
34
+ */
35
+ loading?: boolean;
36
+ /**
37
+ * Size of the button, the default value is 'medium'
38
+ */
39
+ size?: Size;
40
+ /**
41
+ * If `true` the shape is round.
42
+ */
43
+ round?: boolean;
44
+ /**
45
+ * Icon to display
46
+ */
47
+ icon?: MaskIconName16;
48
+ /**
49
+ * If `true`, an icon is displayed before the text.
50
+ */
51
+ reverse?: boolean;
52
+ /**
53
+ * Justify text at the center
54
+ */
55
+ justifyCenter?: boolean;
56
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
57
+ default?(_: {}): any;
58
+ }>;
59
+ export default _default;
60
+ type __VLS_WithTemplateSlots<T, S> = T & {
61
+ new (): {
62
+ $slots: S;
63
+ };
64
+ };
@@ -0,0 +1 @@
1
+ export { default as PlBtnDanger } from './PlBtnDanger.vue';
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
25
25
  */
26
26
  reverse?: boolean;
27
27
  /**
28
- * Justify text at the center (is `true` by default)
28
+ * Justify text at the center (is `false` by default)
29
29
  */
30
30
  justifyCenter?: boolean;
31
31
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
@@ -50,7 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
50
50
  */
51
51
  reverse?: boolean;
52
52
  /**
53
- * Justify text at the center (is `true` by default)
53
+ * Justify text at the center (is `false` by default)
54
54
  */
55
55
  justifyCenter?: boolean;
56
56
  }> & Readonly<{}>, {
@@ -17,9 +17,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
17
  */
18
18
  minHeight?: string;
19
19
  /**
20
- * @deprecated (do not use it)
20
+ * css min-height (default value is `auto` but recommended is 440px)
21
21
  */
22
- type?: "A" | "B" | "C";
22
+ maxHeight?: string;
23
23
  /**
24
24
  * Enables a button to close the modal (default: `true`)
25
25
  */
@@ -28,6 +28,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
28
28
  * If `true` content gutters are removed
29
29
  */
30
30
  noContentGutters?: boolean;
31
+ /**
32
+ * If `true` top content gutter is removed
33
+ */
34
+ noTopContentGutter?: boolean;
31
35
  /**
32
36
  * Actions slot has a top border (default: `true`)
33
37
  */
@@ -52,9 +56,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
52
56
  */
53
57
  minHeight?: string;
54
58
  /**
55
- * @deprecated (do not use it)
59
+ * css min-height (default value is `auto` but recommended is 440px)
56
60
  */
57
- type?: "A" | "B" | "C";
61
+ maxHeight?: string;
58
62
  /**
59
63
  * Enables a button to close the modal (default: `true`)
60
64
  */
@@ -63,6 +67,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
63
67
  * If `true` content gutters are removed
64
68
  */
65
69
  noContentGutters?: boolean;
70
+ /**
71
+ * If `true` top content gutter is removed
72
+ */
73
+ noTopContentGutter?: boolean;
66
74
  /**
67
75
  * Actions slot has a top border (default: `true`)
68
76
  */
@@ -72,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
72
80
  }>, {
73
81
  height: string;
74
82
  width: string;
75
- type: "A" | "B" | "C";
83
+ maxHeight: string;
76
84
  minHeight: string;
77
85
  closable: boolean;
78
86
  noContentGutters: boolean;
@@ -18,6 +18,7 @@ export * from './layout/PlGrid';
18
18
  export * from './components/PlAlert';
19
19
  export * from './components/PlBtnPrimary';
20
20
  export * from './components/PlBtnAccent';
21
+ export * from './components/PlBtnDanger';
21
22
  export * from './components/PlBtnSecondary';
22
23
  export * from './components/PlBtnGhost';
23
24
  export * from './components/PlBtnLink';
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;