@7pmlabs/design-system 0.8.1 → 1.0.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 (77) hide show
  1. package/dist/design-system.mjs +16 -16
  2. package/dist/design-system10.mjs +1 -1
  3. package/dist/design-system10.mjs.map +1 -1
  4. package/dist/design-system100.mjs +68 -6
  5. package/dist/design-system100.mjs.map +1 -1
  6. package/dist/design-system101.mjs +6 -67
  7. package/dist/design-system101.mjs.map +1 -1
  8. package/dist/design-system116.mjs +1 -1
  9. package/dist/design-system117.mjs +1 -1
  10. package/dist/design-system14.mjs +23 -17
  11. package/dist/design-system14.mjs.map +1 -1
  12. package/dist/design-system15.mjs +60 -25
  13. package/dist/design-system15.mjs.map +1 -1
  14. package/dist/design-system16.mjs +269 -53
  15. package/dist/design-system16.mjs.map +1 -1
  16. package/dist/design-system17.mjs +107 -263
  17. package/dist/design-system17.mjs.map +1 -1
  18. package/dist/design-system18.mjs +112 -112
  19. package/dist/design-system18.mjs.map +1 -1
  20. package/dist/design-system19.mjs +193 -113
  21. package/dist/design-system19.mjs.map +1 -1
  22. package/dist/design-system20.mjs +62 -188
  23. package/dist/design-system20.mjs.map +1 -1
  24. package/dist/design-system21.mjs +38 -69
  25. package/dist/design-system21.mjs.map +1 -1
  26. package/dist/design-system22.mjs +38 -34
  27. package/dist/design-system22.mjs.map +1 -1
  28. package/dist/design-system23.mjs +133 -42
  29. package/dist/design-system23.mjs.map +1 -1
  30. package/dist/design-system24.mjs +550 -129
  31. package/dist/design-system24.mjs.map +1 -1
  32. package/dist/design-system25.mjs +5 -562
  33. package/dist/design-system25.mjs.map +1 -1
  34. package/dist/design-system26.mjs +6 -5
  35. package/dist/design-system26.mjs.map +1 -1
  36. package/dist/design-system27.mjs +4 -5
  37. package/dist/design-system27.mjs.map +1 -1
  38. package/dist/design-system28.mjs +10 -5
  39. package/dist/design-system28.mjs.map +1 -1
  40. package/dist/design-system29.mjs +23 -10
  41. package/dist/design-system29.mjs.map +1 -1
  42. package/dist/design-system40.mjs +63 -45
  43. package/dist/design-system40.mjs.map +1 -1
  44. package/dist/design-system57.mjs +64 -37
  45. package/dist/design-system57.mjs.map +1 -1
  46. package/dist/design-system62.mjs +1 -1
  47. package/dist/design-system63.mjs +1 -1
  48. package/dist/design-system68.mjs +1 -1
  49. package/dist/design-system69.mjs +1 -1
  50. package/dist/design-system70.mjs +1 -1
  51. package/dist/design-system71.mjs +1 -1
  52. package/dist/design-system72.mjs +1 -1
  53. package/dist/design-system74.mjs +1 -1
  54. package/dist/design-system78.mjs +1 -1
  55. package/dist/design-system79.mjs +2 -2
  56. package/dist/design-system81.mjs +1 -1
  57. package/dist/design-system85.mjs +2 -2
  58. package/dist/design-system88.mjs +2 -2
  59. package/dist/design-system92.mjs +1 -1
  60. package/dist/design-system93.mjs +1 -1
  61. package/dist/design-system94.mjs +1 -1
  62. package/dist/design-system99.mjs +62 -63
  63. package/dist/design-system99.mjs.map +1 -1
  64. package/dist/style.css +1 -1
  65. package/dist/types/components/BCheckbox.vue.d.ts +31 -1
  66. package/dist/types/components/BCurrencyField.vue.d.ts +4 -4
  67. package/dist/types/components/BDatePicker/BDatePicker.vue.d.ts +3 -3
  68. package/dist/types/components/BImagePicker/BImagePicker.vue.d.ts +1 -1
  69. package/dist/types/components/BMultiSelect.vue.d.ts +2 -2
  70. package/dist/types/components/BOtpField/BOtpField.vue.d.ts +2 -2
  71. package/dist/types/components/BRadio.vue.d.ts +1 -1
  72. package/dist/types/components/BSelect.vue.d.ts +2 -2
  73. package/dist/types/components/BTextField.vue.d.ts +3 -3
  74. package/dist/types/components/BTextarea.vue.d.ts +3 -3
  75. package/dist/types/components/BToast/BToastItem.vue.d.ts +6 -1
  76. package/dist/types/types/components/BToast.d.ts +1 -0
  77. package/package.json +1 -1
@@ -99,12 +99,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
99
99
  view: "months" | "dates" | "years";
100
100
  inputId: string;
101
101
  modelValue: string | Date | (string | Date)[];
102
+ hideDetails: boolean;
103
+ validationRules: ValidationRule[];
104
+ requiredErrorMessage: string;
102
105
  range: boolean;
103
106
  inputCssClass: string;
104
- validationRules: ValidationRule[];
105
107
  placeholder: string;
106
- requiredErrorMessage: string;
107
- hideDetails: boolean;
108
108
  minDate: string | Date;
109
109
  maxDate: string | Date;
110
110
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -50,9 +50,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
50
50
  required: boolean;
51
51
  label: string;
52
52
  inputId: string;
53
+ hideDetails: boolean;
53
54
  validationRules: ValidationRule[];
54
55
  requiredErrorMessage: string;
55
- hideDetails: boolean;
56
56
  multiple: boolean;
57
57
  maxFileSize: number;
58
58
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -77,10 +77,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
77
77
  required: boolean;
78
78
  label: string;
79
79
  inputId: string;
80
+ hideDetails: boolean;
80
81
  validationRules: ValidationRule[];
81
- placeholder: string;
82
82
  requiredErrorMessage: string;
83
- hideDetails: boolean;
83
+ placeholder: string;
84
84
  valueCssClass: string;
85
85
  menuCssClass: string;
86
86
  showSelectedItemCount: boolean;
@@ -66,10 +66,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
66
  required: boolean;
67
67
  inputId: string;
68
68
  modelValue: string;
69
- inputCssClass: string;
69
+ hideDetails: boolean;
70
70
  validationRules: ValidationRule[];
71
71
  requiredErrorMessage: string;
72
- hideDetails: boolean;
72
+ inputCssClass: string;
73
73
  numInputs: number;
74
74
  focusIndex: number;
75
75
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -61,9 +61,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
61
61
  inputId: string;
62
62
  modelValue: string | number | boolean;
63
63
  labelOrphan: boolean;
64
+ hideDetails: boolean;
64
65
  validationRules: ValidationRule[];
65
66
  requiredErrorMessage: string;
66
- hideDetails: boolean;
67
67
  inputName: string;
68
68
  labelCssClass: string;
69
69
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
@@ -71,10 +71,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
71
71
  required: boolean;
72
72
  label: string;
73
73
  inputId: string;
74
+ hideDetails: boolean;
74
75
  validationRules: ValidationRule[];
75
- placeholder: string;
76
76
  requiredErrorMessage: string;
77
- hideDetails: boolean;
77
+ placeholder: string;
78
78
  valueCssClass: string;
79
79
  menuCssClass: string;
80
80
  allowInput: boolean;
@@ -84,13 +84,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
84
84
  required: boolean;
85
85
  label: string;
86
86
  inputId: string;
87
- inputCssClass: string;
87
+ hideDetails: boolean;
88
88
  validationRules: ValidationRule[];
89
+ requiredErrorMessage: string;
90
+ inputCssClass: string;
89
91
  placeholder: string;
90
92
  autocomplete: boolean;
91
- requiredErrorMessage: string;
92
93
  readonly: boolean;
93
- hideDetails: boolean;
94
94
  inputHandler: any;
95
95
  inputmode: "text" | "search" | "email" | "tel" | "url" | "none" | "numeric" | "decimal";
96
96
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
@@ -63,13 +63,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
63
63
  required: boolean;
64
64
  label: string;
65
65
  inputId: string;
66
- inputCssClass: string;
66
+ hideDetails: boolean;
67
67
  validationRules: ValidationRule[];
68
+ requiredErrorMessage: string;
69
+ inputCssClass: string;
68
70
  placeholder: string;
69
71
  autocomplete: boolean;
70
- requiredErrorMessage: string;
71
72
  readonly: boolean;
72
- hideDetails: boolean;
73
73
  rows: number;
74
74
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
75
  export default _default;
@@ -1,17 +1,20 @@
1
1
  import { BToastItemType } from '@/constants/Enums';
2
2
  export interface Props {
3
3
  text?: string;
4
+ message?: string;
4
5
  type?: `${BToastItemType}`;
5
6
  hideClose?: boolean;
6
7
  }
7
8
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
9
  text: string;
10
+ message: string;
9
11
  type: BToastItemType;
10
12
  hideClose: boolean;
11
13
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
14
  close: () => void;
13
15
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
16
  text: string;
17
+ message: string;
15
18
  type: BToastItemType;
16
19
  hideClose: boolean;
17
20
  }>>> & Readonly<{
@@ -19,9 +22,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
19
22
  }>, {
20
23
  type: "default" | "error" | "success";
21
24
  text: string;
25
+ message: string;
22
26
  hideClose: boolean;
23
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
24
- default?(_: {}): any;
28
+ text?(_: {}): any;
29
+ message?(_: {}): any;
25
30
  }>;
26
31
  export default _default;
27
32
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -2,6 +2,7 @@ import type { BToastItemType } from '@/constants/Enums';
2
2
  export interface BToastItemModel {
3
3
  id?: string;
4
4
  text: string;
5
+ message?: string;
5
6
  icon?: string;
6
7
  duration?: number;
7
8
  type?: `${BToastItemType}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7pmlabs/design-system",
3
- "version": "0.8.1",
3
+ "version": "1.0.0",
4
4
  "homepage": "https://github.com/ngphanducthinh/design-system",
5
5
  "sideEffects": [
6
6
  "style.css"