bonkers-ui 1.0.71 → 1.0.73

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 (186) hide show
  1. package/.eslintrc.js +6 -3
  2. package/CONSTANTS.d.ts +0 -1
  3. package/bonkers-ui.umd.js +7 -7
  4. package/bonkers-ui.umd.js.map +1 -1
  5. package/components/ui-alert/index.d.ts +0 -1
  6. package/components/ui-alert/index.d.ts.map +1 -1
  7. package/components/ui-alert/ui-alert.vue.d.ts +10 -6
  8. package/components/ui-alert/ui-alert.vue.d.ts.map +1 -1
  9. package/components/ui-badge/index.d.ts +0 -1
  10. package/components/ui-badge/index.d.ts.map +1 -1
  11. package/components/ui-badge/ui-badge.vue.d.ts +18 -14
  12. package/components/ui-badge/ui-badge.vue.d.ts.map +1 -1
  13. package/components/ui-ber-rank/_types.d.ts +0 -1
  14. package/components/ui-ber-rank/index.d.ts +2 -3
  15. package/components/ui-ber-rank/index.d.ts.map +1 -1
  16. package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +9 -10
  17. package/components/ui-ber-rank/ui-ber-rank.vue.d.ts.map +1 -1
  18. package/components/ui-button/index.d.ts +0 -1
  19. package/components/ui-button/index.d.ts.map +1 -1
  20. package/components/ui-button/ui-button.vue.d.ts +20 -16
  21. package/components/ui-button/ui-button.vue.d.ts.map +1 -1
  22. package/components/ui-card-cta/index.d.ts +0 -1
  23. package/components/ui-card-cta/index.d.ts.map +1 -1
  24. package/components/ui-card-cta/ui-card-cta.vue.d.ts +12 -8
  25. package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +1 -1
  26. package/components/ui-card-order/index.d.ts +3 -0
  27. package/components/ui-card-order/index.d.ts.map +1 -0
  28. package/components/ui-card-order/ui-card-order.vue.d.ts +43 -0
  29. package/components/ui-card-order/ui-card-order.vue.d.ts.map +1 -0
  30. package/components/ui-card-result/index.d.ts +0 -1
  31. package/components/ui-card-result/index.d.ts.map +1 -1
  32. package/components/ui-card-result/ui-card-result.vue.d.ts +11 -6
  33. package/components/ui-card-result/ui-card-result.vue.d.ts.map +1 -1
  34. package/components/ui-card-result/ui-card-result.vue.js +2 -2
  35. package/components/ui-card-result/ui-card-result.vue2.js +2 -2
  36. package/components/ui-card-simple/index.d.ts +0 -1
  37. package/components/ui-card-simple/index.d.ts.map +1 -1
  38. package/components/ui-card-simple/ui-card-simple.vue.d.ts +9 -4
  39. package/components/ui-card-simple/ui-card-simple.vue.d.ts.map +1 -1
  40. package/components/ui-card-simple/ui-card-simple.vue.js +1 -1
  41. package/components/ui-card-simple/ui-card-simple.vue.js.map +1 -1
  42. package/components/ui-checkbox/_types.d.ts +5 -0
  43. package/components/ui-checkbox/_types.d.ts.map +1 -0
  44. package/components/ui-checkbox/_types.js +5 -0
  45. package/components/ui-checkbox/_types.js.map +1 -0
  46. package/components/ui-checkbox/index.d.ts +75 -32
  47. package/components/ui-checkbox/index.d.ts.map +1 -1
  48. package/components/ui-checkbox/ui-checkbox.vue.d.ts +37 -7
  49. package/components/ui-checkbox/ui-checkbox.vue.d.ts.map +1 -1
  50. package/components/ui-checkbox/ui-checkbox.vue.js +2 -2
  51. package/components/ui-checkbox/ui-checkbox.vue2.js +54 -47
  52. package/components/ui-checkbox/ui-checkbox.vue2.js.map +1 -1
  53. package/components/ui-dropdown/index.d.ts +21 -22
  54. package/components/ui-dropdown/index.d.ts.map +1 -1
  55. package/components/ui-dropdown/ui-dropdown.vue.d.ts +20 -14
  56. package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +1 -1
  57. package/components/ui-dropdown/ui-dropdown.vue.js +1 -1
  58. package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -1
  59. package/components/ui-icon/index.d.ts +0 -1
  60. package/components/ui-icon/index.d.ts.map +1 -1
  61. package/components/ui-icon/ui-icon.vue.d.ts +9 -10
  62. package/components/ui-icon/ui-icon.vue.d.ts.map +1 -1
  63. package/components/ui-icon-wrapper/index.d.ts +0 -1
  64. package/components/ui-icon-wrapper/index.d.ts.map +1 -1
  65. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +18 -14
  66. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts.map +1 -1
  67. package/components/ui-input/index.d.ts +42 -43
  68. package/components/ui-input/index.d.ts.map +1 -1
  69. package/components/ui-input/ui-input.vue.d.ts +23 -19
  70. package/components/ui-input/ui-input.vue.d.ts.map +1 -1
  71. package/components/ui-input-range/index.d.ts +0 -1
  72. package/components/ui-input-range/index.d.ts.map +1 -1
  73. package/components/ui-input-range/ui-input-range.vue.d.ts +3 -3
  74. package/components/ui-input-range/ui-input-range.vue.d.ts.map +1 -1
  75. package/components/ui-list-item/index.d.ts +19 -20
  76. package/components/ui-list-item/index.d.ts.map +1 -1
  77. package/components/ui-list-item/ui-list-item.vue.d.ts +20 -16
  78. package/components/ui-list-item/ui-list-item.vue.d.ts.map +1 -1
  79. package/components/ui-media-card/index.d.ts +0 -1
  80. package/components/ui-media-card/index.js +5 -0
  81. package/components/ui-media-card/index.js.map +1 -0
  82. package/components/ui-media-card/ui-media-card.vue.d.ts +24 -0
  83. package/components/ui-media-card/ui-media-card.vue.d.ts.map +1 -0
  84. package/components/ui-media-card/ui-media-card.vue.js +59 -0
  85. package/components/ui-media-card/ui-media-card.vue.js.map +1 -0
  86. package/components/ui-media-card/ui-media-card.vue2.js +5 -0
  87. package/components/ui-media-card/ui-media-card.vue2.js.map +1 -0
  88. package/components/ui-modal/index.d.ts +0 -1
  89. package/components/ui-modal/index.d.ts.map +1 -1
  90. package/components/ui-modal/ui-backdrop/index.d.ts +0 -1
  91. package/components/ui-modal/ui-backdrop/index.d.ts.map +1 -1
  92. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +7 -2
  93. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts.map +1 -1
  94. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js +9 -9
  95. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js.map +1 -1
  96. package/components/ui-modal/ui-modal.vue.d.ts +21 -17
  97. package/components/ui-modal/ui-modal.vue.d.ts.map +1 -1
  98. package/components/ui-notification-badge/index.d.ts +0 -1
  99. package/components/ui-notification-badge/index.d.ts.map +1 -1
  100. package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +18 -14
  101. package/components/ui-notification-badge/ui-notification-badge.vue.d.ts.map +1 -1
  102. package/components/ui-order-card/index.d.ts +14 -15
  103. package/components/ui-order-card/index.d.ts.map +1 -1
  104. package/components/ui-order-card/ui-order-card.vue.d.ts +20 -16
  105. package/components/ui-order-card/ui-order-card.vue.d.ts.map +1 -1
  106. package/components/ui-plain-radio/index.d.ts +0 -1
  107. package/components/ui-plain-radio/index.d.ts.map +1 -1
  108. package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +11 -6
  109. package/components/ui-plain-radio/ui-plain-radio.vue.d.ts.map +1 -1
  110. package/components/ui-product-card/ui-product-card.vue.d.ts +12 -7
  111. package/components/ui-product-card/ui-product-card.vue.d.ts.map +1 -1
  112. package/components/ui-product-card/ui-product-card.vue.js +1 -1
  113. package/components/ui-progress/index.d.ts +0 -1
  114. package/components/ui-progress/index.d.ts.map +1 -1
  115. package/components/ui-progress/ui-progress.vue.d.ts +9 -9
  116. package/components/ui-progress/ui-progress.vue.d.ts.map +1 -1
  117. package/components/ui-radio/index.d.ts +0 -1
  118. package/components/ui-radio/index.d.ts.map +1 -1
  119. package/components/ui-radio/ui-radio.vue.d.ts +10 -6
  120. package/components/ui-radio/ui-radio.vue.d.ts.map +1 -1
  121. package/components/ui-radio-compact/index.d.ts +0 -1
  122. package/components/ui-radio-compact/index.d.ts.map +1 -1
  123. package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +10 -5
  124. package/components/ui-radio-compact/ui-radio-compact.vue.d.ts.map +1 -1
  125. package/components/ui-radio-fancy/index.d.ts +16 -17
  126. package/components/ui-radio-fancy/index.d.ts.map +1 -1
  127. package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +18 -14
  128. package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts.map +1 -1
  129. package/components/ui-result-card-range/index.d.ts +0 -1
  130. package/components/ui-result-card-range/index.d.ts.map +1 -1
  131. package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +10 -6
  132. package/components/ui-result-card-range/ui-result-card-range.vue.d.ts.map +1 -1
  133. package/components/ui-ripple/index.d.ts +0 -1
  134. package/components/ui-ripple/index.d.ts.map +1 -1
  135. package/components/ui-ripple/ui-ripple.vue.d.ts +9 -2
  136. package/components/ui-ripple/ui-ripple.vue.d.ts.map +1 -1
  137. package/components/ui-select/index.d.ts +0 -1
  138. package/components/ui-select/index.d.ts.map +1 -1
  139. package/components/ui-select/ui-select.vue.d.ts +13 -8
  140. package/components/ui-select/ui-select.vue.d.ts.map +1 -1
  141. package/components/ui-skeleton/index.d.ts +0 -1
  142. package/components/ui-skeleton/index.d.ts.map +1 -1
  143. package/components/ui-skeleton/ui-skeleton.vue.d.ts +9 -10
  144. package/components/ui-skeleton/ui-skeleton.vue.d.ts.map +1 -1
  145. package/components/ui-snackbar/index.d.ts +13 -14
  146. package/components/ui-snackbar/index.d.ts.map +1 -1
  147. package/components/ui-snackbar/ui-snackbar.vue.d.ts +20 -16
  148. package/components/ui-snackbar/ui-snackbar.vue.d.ts.map +1 -1
  149. package/components/ui-table/index.d.ts +0 -1
  150. package/components/ui-table/index.d.ts.map +1 -1
  151. package/components/ui-table/ui-table-cell/index.d.ts +0 -1
  152. package/components/ui-table/ui-table-cell/index.d.ts.map +1 -1
  153. package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +11 -7
  154. package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts.map +1 -1
  155. package/components/ui-table/ui-table-row/index.d.ts +0 -1
  156. package/components/ui-table/ui-table-row/index.d.ts.map +1 -1
  157. package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +10 -6
  158. package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts.map +1 -1
  159. package/components/ui-table/ui-table.vue.d.ts +18 -14
  160. package/components/ui-table/ui-table.vue.d.ts.map +1 -1
  161. package/components/ui-tabs/index.d.ts +8 -9
  162. package/components/ui-tabs/index.d.ts.map +1 -1
  163. package/components/ui-tabs/ui-tabs.vue.d.ts +9 -9
  164. package/components/ui-tabs/ui-tabs.vue.d.ts.map +1 -1
  165. package/components/ui-toggle/index.d.ts +0 -1
  166. package/components/ui-toggle/index.d.ts.map +1 -1
  167. package/components/ui-toggle/ui-toggle.vue.d.ts +11 -6
  168. package/components/ui-toggle/ui-toggle.vue.d.ts.map +1 -1
  169. package/components/ui-toggle/ui-toggle.vue.js +3 -3
  170. package/components/ui-toggle/ui-toggle.vue2.js +28 -44
  171. package/components/ui-toggle/ui-toggle.vue2.js.map +1 -1
  172. package/components/ui-typography/index.d.ts +0 -1
  173. package/components/ui-typography/index.d.ts.map +1 -1
  174. package/components/ui-typography/ui-typography.vue.d.ts +10 -6
  175. package/components/ui-typography/ui-typography.vue.d.ts.map +1 -1
  176. package/components/ui-verification-input/index.d.ts +0 -1
  177. package/components/ui-verification-input/index.d.ts.map +1 -1
  178. package/components/ui-verification-input/ui-verification-input.vue.d.ts +12 -5
  179. package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +1 -1
  180. package/index.d.ts +1 -1
  181. package/index.d.ts.map +1 -1
  182. package/index.js +136 -132
  183. package/index.js.map +1 -1
  184. package/package.json +35 -33
  185. package/plugin.ts +27 -6
  186. package/src/_styles/_backdropBlur.json +10 -0
@@ -1,19 +1,18 @@
1
1
  import { default as UiTabs } from './ui-tabs.vue';
2
2
  import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
3
-
4
3
  export { UiTabs };
5
4
  /**
6
5
  * @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
7
6
  */
8
7
  declare const deprecatedDefault: DefineComponent<{
9
- modelValue: {
10
- type: PropType<string>;
11
- required: true;
12
- };
13
8
  name: {
14
9
  type: PropType<string>;
15
10
  default: string;
16
11
  };
12
+ modelValue: {
13
+ type: PropType<string>;
14
+ required: true;
15
+ };
17
16
  tabs: {
18
17
  type: PropType<string[]>;
19
18
  required: true;
@@ -21,14 +20,14 @@ declare const deprecatedDefault: DefineComponent<{
21
20
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
22
21
  "update:modelValue": (...args: any[]) => void;
23
22
  }, string, PublicProps, Readonly< ExtractPropTypes<{
24
- modelValue: {
25
- type: PropType<string>;
26
- required: true;
27
- };
28
23
  name: {
29
24
  type: PropType<string>;
30
25
  default: string;
31
26
  };
27
+ modelValue: {
28
+ type: PropType<string>;
29
+ required: true;
30
+ };
32
31
  tabs: {
33
32
  type: PropType<string[]>;
34
33
  required: true;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAS,CAAC;AACjC,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-tabs/index.ts"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAS,CAAC;AACjC,eAAe,iBAAiB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
3
  tabs: string[];
4
4
  modelValue: string;
5
5
  name?: string;
@@ -7,7 +7,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
7
7
  name: string;
8
8
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9
9
  "update:modelValue": (...args: any[]) => void;
10
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
11
11
  tabs: string[];
12
12
  modelValue: string;
13
13
  name?: string;
@@ -19,8 +19,13 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
19
19
  name: string;
20
20
  }, {}>;
21
21
  export default _default;
22
+ type __VLS_WithDefaults<P, D> = {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
24
+ default: D[K];
25
+ }> : P[K];
26
+ };
22
27
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<T> = {
28
+ type __VLS_TypePropsToOption<T> = {
24
29
  [K in keyof T]-?: {} extends Pick<T, K> ? {
25
30
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
26
31
  } : {
@@ -28,12 +33,7 @@ type __VLS_TypePropsToRuntimeProps<T> = {
28
33
  required: true;
29
34
  };
30
35
  };
31
- type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
- default: D[K];
34
- }> : P[K];
35
- };
36
- type __VLS_Prettify<T> = {
36
+ type __VLS_PrettifyLocal<T> = {
37
37
  [K in keyof T]: T[K];
38
38
  } & {};
39
39
  //# sourceMappingURL=ui-tabs.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-tabs/ui-tabs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;;;;;UAAN,MAAM;;AA0Gf,wBAOG;AAKH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC9B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GAC5C,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AACF,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { default as UiToggle } from './ui-toggle.vue';
2
2
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
3
-
4
3
  export { UiToggle };
5
4
  /**
6
5
  * @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-toggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAW,CAAC;AACnC,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-toggle/index.ts"],"names":[],"mappings":";AAAA,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAW,CAAC;AACnC,eAAe,iBAAiB,CAAC"}
@@ -1,9 +1,14 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
2
  declare function __VLS_template(): {
3
- header?(_: {}): any;
4
- title?(_: {}): any;
3
+ slots: {
4
+ header?(_: {}): any;
5
+ title?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ attrs: Partial<{}>;
5
9
  };
6
- declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<{
7
12
  header?: string;
8
13
  title?: string;
9
14
  modelValue: boolean | unknown[];
@@ -13,7 +18,7 @@ declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
13
18
  value?: string;
14
19
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
20
  "update:modelValue": (...args: any[]) => void;
16
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
21
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<{
17
22
  header?: string;
18
23
  title?: string;
19
24
  modelValue: boolean | unknown[];
@@ -24,10 +29,10 @@ declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
24
29
  }>>> & {
25
30
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
26
31
  }, {}, {}>;
27
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
32
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
33
  export default _default;
29
34
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToRuntimeProps<T> = {
35
+ type __VLS_TypePropsToOption<T> = {
31
36
  [K in keyof T]-?: {} extends Pick<T, K> ? {
32
37
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
33
38
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"ui-toggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-toggle/ui-toggle.vue"],"names":[],"mappings":"AAoEA;AA+BA,iBAAS,cAAc;oBAmNK,GAAG;mBACH,GAAG;EAG9B;AAqBD,QAAA,MAAM,eAAe;aAMV,MAAM;YACP,MAAM;gBACF,OAAO,GAAG,OAAO,EAAE;eACpB,OAAO;kBACJ,OAAO;kBACP,OAAO;YACb,MAAM;;;;aANL,MAAM;YACP,MAAM;gBACF,OAAO,GAAG,OAAO,EAAE;eACpB,OAAO;kBACJ,OAAO;kBACP,OAAO;YACb,MAAM;;;UAGd,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,K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AAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,9 +1,9 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-toggle__dot[data-v-171e5e29]{top:50%;width:22px;height:22px;transform:translate3d(1px,-50%,0);transition:transform .2s ease-in-out}.ui-toggle__check-icon[data-v-171e5e29]{top:50%;left:50%;transform:translate3d(-50%,-50%,0);stroke-dasharray:70;stroke-dashoffset:70;transition:stroke-dashoffset .2s ease-in-out}.ui-toggle:hover .ui-toggle__dot[data-v-171e5e29],.ui-toggle:active .ui-toggle__dot[data-v-171e5e29],.ui-toggle:focus .ui-toggle__dot[data-v-171e5e29]{box-shadow:var(--shadow-border-secondary)}.ui-toggle input:checked~.ui-toggle__dot[data-v-171e5e29]{transform:translate3d(calc(var(--xl) - 100% - 1px),-50%,0)}.ui-toggle:hover input:checked~.ui-toggle__dot[data-v-171e5e29],.ui-toggle:active input:checked~.ui-toggle__dot[data-v-171e5e29],.ui-toggle:focus input:checked~.ui-toggle__dot[data-v-171e5e29]{box-shadow:var(--shadow-border-primary)}.ui-toggle__bg-block[data-v-171e5e29]{transition:background-color .2s ease-in-out}.ui-toggle_disabled .ui-toggle__bg-block[data-v-171e5e29]{background-color:var(--color-secondary-alt-300)}.ui-toggle input:checked~.ui-toggle__bg-block[data-v-171e5e29]{background-color:var(--color-primary)}.ui-toggle input:checked~.ui-toggle__dot .ui-toggle__check-icon[data-v-171e5e29]{stroke-dashoffset:0}.ui-toggle_disabled input:checked~.ui-toggle__bg-block[data-v-171e5e29]{background-color:var(--color-primary-300)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(".ui-toggle__dot[data-v-5757d939]{top:50%;width:22px;height:22px;transform:translate3d(1px,-50%,0);transition:transform .2s ease-in-out}.ui-toggle:hover .ui-toggle__dot[data-v-5757d939],.ui-toggle:active .ui-toggle__dot[data-v-5757d939],.ui-toggle:focus .ui-toggle__dot[data-v-5757d939]{box-shadow:var(--shadow-border-secondary)}.ui-toggle input:checked~.ui-toggle__dot[data-v-5757d939]{transform:translate3d(calc(var(--xl) - 100% - 1px),-50%,0)}.ui-toggle:hover input:checked~.ui-toggle__dot[data-v-5757d939],.ui-toggle:active input:checked~.ui-toggle__dot[data-v-5757d939],.ui-toggle:focus input:checked~.ui-toggle__dot[data-v-5757d939]{box-shadow:var(--shadow-border-primary)}.ui-toggle__bg-block[data-v-5757d939]{transition:background-color .2s ease-in-out}.ui-toggle_disabled .ui-toggle__bg-block[data-v-5757d939]{background-color:var(--color-secondary-alt-300)}.ui-toggle input:checked~.ui-toggle__bg-block[data-v-5757d939]{background-color:var(--color-primary)}.ui-toggle_disabled input:checked~.ui-toggle__bg-block[data-v-5757d939]{background-color:var(--color-primary-300)}")),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
2
  import o from "./ui-toggle.vue2.js";
3
3
 
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-171e5e29"]]);
5
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5757d939"]]);
6
6
  export {
7
- p as default
7
+ _ as default
8
8
  };
9
9
  //# sourceMappingURL=ui-toggle.vue.js.map
@@ -1,14 +1,7 @@
1
- import { defineComponent as k, computed as y, openBlock as l, createElementBlock as i, renderSlot as n, createBlock as d, unref as s, withCtx as u, createTextVNode as p, toDisplayString as c, createCommentVNode as h, createElementVNode as t, normalizeClass as m, withDirectives as B, vModelCheckbox as C, pushScopeId as V, popScopeId as S } from "vue";
2
- import g from "../ui-typography/index.js";
1
+ import { defineComponent as _, computed as k, openBlock as s, createElementBlock as y, renderSlot as i, createBlock as n, unref as o, withCtx as d, createTextVNode as u, toDisplayString as p, createCommentVNode as c, createElementVNode as l, normalizeClass as w, withDirectives as B, vModelCheckbox as V, pushScopeId as C, popScopeId as S } from "vue";
2
+ import m from "../ui-typography/index.js";
3
3
  import { ETextWeight as z, ETypographySizes as D } from "../ui-typography/_typings.js";
4
- const b = (o) => (V("data-v-171e5e29"), o = o(), S(), o), E = { class: "ui-toggle" }, M = { class: "ui-input__input-wrapper relative block h-md" }, I = ["value"], $ = /* @__PURE__ */ b(() => /* @__PURE__ */ t("span", { class: "ui-toggle__bg-block block h-md w-xl rounded-full bg-secondary-alt" }, null, -1)), L = { class: "ui-toggle__dot absolute top-0 block rounded-full bg-white" }, N = /* @__PURE__ */ b(() => /* @__PURE__ */ t("path", {
5
- d: "M1 4.40106L6.60071 10.1135L15.1694 1.71245",
6
- stroke: "currentColor",
7
- "stroke-width": "1.6",
8
- "stroke-linecap": "round"
9
- }, null, -1)), O = [
10
- N
11
- ], U = /* @__PURE__ */ k({
4
+ const h = (t) => (C("data-v-5757d939"), t = t(), S(), t), E = { class: "ui-toggle" }, I = { class: "ui-input__input-wrapper relative block h-md" }, M = ["value"], $ = /* @__PURE__ */ h(() => /* @__PURE__ */ l("span", { class: "ui-toggle__bg-block block h-md w-xl rounded-full bg-secondary-alt" }, null, -1)), N = /* @__PURE__ */ h(() => /* @__PURE__ */ l("span", { class: "ui-toggle__dot absolute top-0 block rounded-full bg-white" }, null, -1)), L = /* @__PURE__ */ _({
12
5
  __name: "ui-toggle",
13
6
  props: {
14
7
  header: {},
@@ -20,75 +13,66 @@ const b = (o) => (V("data-v-171e5e29"), o = o(), S(), o), E = { class: "ui-toggl
20
13
  value: {}
21
14
  },
22
15
  emits: ["update:modelValue"],
23
- setup(o, { emit: v }) {
24
- const _ = o, f = v, r = y({
16
+ setup(t, { emit: g }) {
17
+ const b = t, f = g, a = k({
25
18
  get() {
26
- return _.modelValue;
19
+ return b.modelValue;
27
20
  },
28
21
  set(e) {
29
22
  f("update:modelValue", e);
30
23
  }
31
24
  });
32
- return (e, a) => (l(), i("div", E, [
33
- n(e.$slots, "header", {}, () => [
34
- e.header || e.$slots.header ? (l(), d(s(g), {
25
+ return (e, r) => (s(), y("div", E, [
26
+ i(e.$slots, "header", {}, () => [
27
+ e.header || e.$slots.header ? (s(), n(o(m), {
35
28
  key: 0,
36
29
  "line-height": "",
37
30
  class: "mb-sm",
38
- weight: s(z).SEMI_BOLD
31
+ weight: o(z).SEMI_BOLD
39
32
  }, {
40
- default: u(() => [
41
- p(c(e.header), 1)
33
+ default: d(() => [
34
+ u(p(e.header), 1)
42
35
  ]),
43
36
  _: 1
44
- }, 8, ["weight"])) : h("", !0)
37
+ }, 8, ["weight"])) : c("", !0)
45
38
  ], !0),
46
- t("label", {
47
- class: m(["flex cursor-pointer gap-sm rounded-full", [
39
+ l("label", {
40
+ class: w(["flex cursor-pointer gap-sm rounded-full", [
48
41
  e.disabled && "ui-toggle_disabled pointer-events-none",
49
42
  e.invertOrder && "flex-row-reverse",
50
43
  e.alignCenter && "items-center"
51
44
  ]])
52
45
  }, [
53
- t("span", M, [
54
- B(t("input", {
55
- "onUpdate:modelValue": a[0] || (a[0] = (w) => r.value = w),
46
+ l("span", I, [
47
+ B(l("input", {
48
+ "onUpdate:modelValue": r[0] || (r[0] = (v) => a.value = v),
56
49
  type: "checkbox",
57
50
  class: "absolute size-0 appearance-none border-0",
58
51
  value: e.value
59
- }, null, 8, I), [
60
- [C, r.value]
52
+ }, null, 8, M), [
53
+ [V, a.value]
61
54
  ]),
62
55
  $,
63
- t("span", L, [
64
- (l(), i("svg", {
65
- class: m(["ui-toggle__check-icon absolute", e.disabled ? "text-primary-300" : "text-primary"]),
66
- width: "16",
67
- height: "12",
68
- viewBox: "0 0 16 12",
69
- fill: "none",
70
- xmlns: "http://www.w3.org/2000/svg"
71
- }, O, 2))
72
- ])
56
+ N
73
57
  ]),
74
- n(e.$slots, "title", {}, () => [
75
- e.title || e.$slots.title ? (l(), d(s(g), {
58
+ i(e.$slots, "title", {}, () => [
59
+ e.title || e.$slots.title ? (s(), n(o(m), {
76
60
  key: 0,
77
- size: s(D).MD,
61
+ size: o(D).MD,
78
62
  class: "w-full",
79
63
  "line-height": ""
80
64
  }, {
81
- default: u(() => [
82
- p(c(e.title), 1)
65
+ default: d(() => [
66
+ u(p(e.title), 1)
83
67
  ]),
84
68
  _: 1
85
- }, 8, ["size"])) : h("", !0)
69
+ }, 8, ["size"])) : c("", !0)
86
70
  ], !0)
87
71
  ], 2)
88
72
  ]));
89
73
  }
90
74
  });
91
75
  export {
92
- U as default
76
+ L as default
93
77
  };
94
78
  //# sourceMappingURL=ui-toggle.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-toggle.vue2.js","sources":["../../../src/components/ui-toggle/ui-toggle.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-toggle\"\n\t>\n\t\t<slot name=\"header\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"header || $slots.header\"\n\t\t\t\tline-height\n\t\t\t\tclass=\"mb-sm\"\n\t\t\t\t:weight=\"ETextWeight.SEMI_BOLD\"\n\t\t\t>\n\t\t\t\t{{ header }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\n\t\t<label\n\t\t\tclass=\"flex cursor-pointer gap-sm rounded-full\"\n\t\t\t:class=\"[\n\t\t\t\tdisabled && 'ui-toggle_disabled pointer-events-none',\n\t\t\t\tinvertOrder && 'flex-row-reverse',\n\t\t\t\talignCenter && 'items-center'\n\t\t\t]\"\n\t\t>\n\t\t\t<span\n\t\t\t\tclass=\"ui-input__input-wrapper relative block h-md\"\n\t\t\t>\n\t\t\t\t<input\n\t\t\t\t\tv-model=\"checkboxModel\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\tclass=\"absolute size-0 appearance-none border-0\"\n\t\t\t\t\t:value=\"value\"\n\t\t\t\t>\n\n\t\t\t\t<span class=\"ui-toggle__bg-block block h-md w-xl rounded-full bg-secondary-alt\" />\n\n\t\t\t\t<span class=\"ui-toggle__dot absolute top-0 block rounded-full bg-white\">\n\t\t\t\t\t<svg\n\t\t\t\t\t\tclass=\"ui-toggle__check-icon absolute\"\n\t\t\t\t\t\t:class=\"disabled ? 'text-primary-300' : 'text-primary'\"\n\t\t\t\t\t\twidth=\"16\"\n\t\t\t\t\t\theight=\"12\"\n\t\t\t\t\t\tviewBox=\"0 0 16 12\"\n\t\t\t\t\t\tfill=\"none\"\n\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M1 4.40106L6.60071 10.1135L15.1694 1.71245\"\n\t\t\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\t\t\tstroke-width=\"1.6\"\n\t\t\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t</span>\n\n\t\t\t<slot name=\"title\">\n\t\t\t\t<ui-typography\n\t\t\t\t\tv-if=\"title || $slots.title\"\n\t\t\t\t\t:size=\"ETypographySizes.MD\"\n\t\t\t\t\tclass=\"w-full\"\n\t\t\t\t\tline-height\n\t\t\t\t>\n\t\t\t\t\t{{ title }}\n\t\t\t\t</ui-typography>\n\t\t\t</slot>\n\t\t</label>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport UiTypography, { ETypographySizes, ETextWeight } from \"../ui-typography\";\n\timport { computed } from \"vue\";\n\n\tconst props = defineProps<{\n\t\theader?: string;\n\t\ttitle?: string;\n\t\tmodelValue: boolean | unknown[];\n\t\tdisabled?: boolean;\n\t\tinvertOrder?: boolean;\n\t\talignCenter?: boolean;\n\t\tvalue?: string;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst checkboxModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n\n<style scoped>\n\t.ui-toggle__dot {\n\t\ttop: 50%;\n\t\twidth: 22px;\n\t\theight: 22px;\n\t\ttransform: translate3d(1px, -50%, 0);\n\t\ttransition: transform 0.2s ease-in-out;\n\t}\n\n\t.ui-toggle__check-icon {\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\ttransform: translate3d(-50%, -50%, 0);\n\t\tstroke-dasharray: 70;\n\t\tstroke-dashoffset: 70;\n\t\ttransition: stroke-dashoffset 0.2s ease-in-out;\n\t}\n\n\t.ui-toggle:hover .ui-toggle__dot,\n\t.ui-toggle:active .ui-toggle__dot,\n\t.ui-toggle:focus .ui-toggle__dot {\n\t\tbox-shadow: var(--shadow-border-secondary);\n\t}\n\n\t.ui-toggle input:checked ~ .ui-toggle__dot {\n\t\ttransform: translate3d(calc(var(--xl) - 100% - 1px), -50%, 0);\n\t}\n\n\t.ui-toggle:hover input:checked ~ .ui-toggle__dot,\n\t.ui-toggle:active input:checked ~ .ui-toggle__dot,\n\t.ui-toggle:focus input:checked ~ .ui-toggle__dot {\n\t\tbox-shadow: var(--shadow-border-primary);\n\t}\n\n\t.ui-toggle__bg-block {\n\t\ttransition: background-color 0.2s ease-in-out;\n\t}\n\n\t.ui-toggle_disabled .ui-toggle__bg-block {\n\t\tbackground-color: var(--color-secondary-alt-300);\n\t}\n\n\t.ui-toggle input:checked ~ .ui-toggle__bg-block {\n\t\tbackground-color: var(--color-primary);\n\t}\n\n\t.ui-toggle input:checked ~ .ui-toggle__dot .ui-toggle__check-icon {\n\t\tstroke-dashoffset: 0;\n\t}\n\n\t.ui-toggle_disabled input:checked ~ .ui-toggle__bg-block {\n\t\tbackground-color: var(--color-primary-300);\n\t}\n</style>\n"],"names":["props","__props","emit","__emit","checkboxModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAyEC,UAAMA,IAAQC,GAURC,IAAOC,GAEPC,IAAgBC,EAAS;AAAA,MAC9B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ui-toggle.vue2.js","sources":["../../../src/components/ui-toggle/ui-toggle.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-toggle\"\n\t>\n\t\t<slot name=\"header\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"header || $slots.header\"\n\t\t\t\tline-height\n\t\t\t\tclass=\"mb-sm\"\n\t\t\t\t:weight=\"ETextWeight.SEMI_BOLD\"\n\t\t\t>\n\t\t\t\t{{ header }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\n\t\t<label\n\t\t\tclass=\"flex cursor-pointer gap-sm rounded-full\"\n\t\t\t:class=\"[\n\t\t\t\tdisabled && 'ui-toggle_disabled pointer-events-none',\n\t\t\t\tinvertOrder && 'flex-row-reverse',\n\t\t\t\talignCenter && 'items-center'\n\t\t\t]\"\n\t\t>\n\t\t\t<span\n\t\t\t\tclass=\"ui-input__input-wrapper relative block h-md\"\n\t\t\t>\n\t\t\t\t<input\n\t\t\t\t\tv-model=\"checkboxModel\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\tclass=\"absolute size-0 appearance-none border-0\"\n\t\t\t\t\t:value=\"value\"\n\t\t\t\t>\n\n\t\t\t\t<span class=\"ui-toggle__bg-block block h-md w-xl rounded-full bg-secondary-alt\" />\n\n\t\t\t\t<span class=\"ui-toggle__dot absolute top-0 block rounded-full bg-white\" />\n\t\t\t</span>\n\n\t\t\t<slot name=\"title\">\n\t\t\t\t<ui-typography\n\t\t\t\t\tv-if=\"title || $slots.title\"\n\t\t\t\t\t:size=\"ETypographySizes.MD\"\n\t\t\t\t\tclass=\"w-full\"\n\t\t\t\t\tline-height\n\t\t\t\t>\n\t\t\t\t\t{{ title }}\n\t\t\t\t</ui-typography>\n\t\t\t</slot>\n\t\t</label>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport UiTypography, { ETypographySizes, ETextWeight } from \"../ui-typography\";\n\timport { computed } from \"vue\";\n\n\tconst props = defineProps<{\n\t\theader?: string;\n\t\ttitle?: string;\n\t\tmodelValue: boolean | unknown[];\n\t\tdisabled?: boolean;\n\t\tinvertOrder?: boolean;\n\t\talignCenter?: boolean;\n\t\tvalue?: string;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst checkboxModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n\n<style scoped>\n\t.ui-toggle__dot {\n\t\ttop: 50%;\n\t\twidth: 22px;\n\t\theight: 22px;\n\t\ttransform: translate3d(1px, -50%, 0);\n\t\ttransition: transform 0.2s ease-in-out;\n\t}\n\n\t.ui-toggle:hover .ui-toggle__dot,\n\t.ui-toggle:active .ui-toggle__dot,\n\t.ui-toggle:focus .ui-toggle__dot {\n\t\tbox-shadow: var(--shadow-border-secondary);\n\t}\n\n\t.ui-toggle input:checked ~ .ui-toggle__dot {\n\t\ttransform: translate3d(calc(var(--xl) - 100% - 1px), -50%, 0);\n\t}\n\n\t.ui-toggle:hover input:checked ~ .ui-toggle__dot,\n\t.ui-toggle:active input:checked ~ .ui-toggle__dot,\n\t.ui-toggle:focus input:checked ~ .ui-toggle__dot {\n\t\tbox-shadow: var(--shadow-border-primary);\n\t}\n\n\t.ui-toggle__bg-block {\n\t\ttransition: background-color 0.2s ease-in-out;\n\t}\n\n\t.ui-toggle_disabled .ui-toggle__bg-block {\n\t\tbackground-color: var(--color-secondary-alt-300);\n\t}\n\n\t.ui-toggle input:checked ~ .ui-toggle__bg-block {\n\t\tbackground-color: var(--color-primary);\n\t}\n\n\t.ui-toggle_disabled input:checked ~ .ui-toggle__bg-block {\n\t\tbackground-color: var(--color-primary-300);\n\t}\n</style>\n"],"names":["props","__props","emit","__emit","checkboxModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;AAwDC,UAAMA,IAAQC,GAURC,IAAOC,GAEPC,IAAgBC,EAAS;AAAA,MAC9B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,7 +2,6 @@ import { default as UiTypography } from './ui-typography.vue';
2
2
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Component, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
3
3
  import { ETextAlign, ETypographySizes, ETextWeight, ETextTransform } from './_typings';
4
4
  import { EColors } from '../../_types/colors';
5
-
6
5
  export { UiTypography };
7
6
  /**
8
7
  * @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB;;IAEI;AACJ,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAe,CAAC;AACvC,eAAe,iBAAiB,CAAC;AAEjC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-typography/index.ts"],"names":[],"mappings":";;;AAAA,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB;;IAEI;AACJ,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAe,CAAC;AACvC,eAAe,iBAAiB,CAAC;AAEjC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,11 +1,15 @@
1
1
  import { Component, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
2
  import { ETextAlign, ETextTransform, ETextWeight, ETypographySizes } from './_typings';
3
3
  import { EColors } from '../../_types/colors';
4
-
5
4
  declare function __VLS_template(): {
6
- default?(_: {}): any;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ attrs: Partial<{}>;
7
10
  };
8
- declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<{
9
13
  align?: ETextAlign;
10
14
  size?: ETypographySizes;
11
15
  kind?: EColors;
@@ -14,7 +18,7 @@ declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
14
18
  textTransform?: ETextTransform;
15
19
  underline?: boolean;
16
20
  is?: string | Component;
17
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
21
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<{
18
22
  align?: ETextAlign;
19
23
  size?: ETypographySizes;
20
24
  kind?: EColors;
@@ -24,10 +28,10 @@ declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
24
28
  underline?: boolean;
25
29
  is?: string | Component;
26
30
  }>>>, {}, {}>;
27
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
32
  export default _default;
29
33
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToRuntimeProps<T> = {
34
+ type __VLS_TypePropsToOption<T> = {
31
35
  [K in keyof T]-?: {} extends Pick<T, K> ? {
32
36
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
33
37
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"ui-typography.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-typography/ui-typography.vue"],"names":[],"mappings":"AAiGA;AAEC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,YA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as UiVerificationInput } from './ui-verification-input.vue';
2
2
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
3
-
4
3
  export { UiVerificationInput };
5
4
  /**
6
5
  * @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-verification-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsB,CAAC;AAC9C,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-verification-input/index.ts"],"names":[],"mappings":";AAAA,OAAO,mBAAmB,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsB,CAAC;AAC9C,eAAe,iBAAiB,CAAC"}
@@ -4,17 +4,24 @@ type TProps = {
4
4
  type?: "text";
5
5
  };
6
6
  declare function __VLS_template(): {
7
- button?(_: {}): any;
7
+ slots: {
8
+ button?(_: {}): any;
9
+ };
10
+ refs: {
11
+ inputsRefs: HTMLInputElement;
12
+ };
13
+ attrs: Partial<{}>;
8
14
  };
9
- declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<TProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<TProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
17
  onFiled: (...args: any[]) => void;
11
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TProps>>> & {
18
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<TProps>>> & {
12
19
  onOnFiled?: ((...args: any[]) => any) | undefined;
13
20
  }, {}, {}>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
22
  export default _default;
16
23
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToRuntimeProps<T> = {
24
+ type __VLS_TypePropsToOption<T> = {
18
25
  [K in keyof T]-?: {} extends Pick<T, K> ? {
19
26
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
20
27
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"ui-verification-input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-verification-input/ui-verification-input.vue"],"names":[],"mappings":"AAuBA;AAMA,KAAK,MAAM,GAAG;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAA;AAgDF,iBAAS,cAAc;oBAyFM,GAAG;EAG/B;AAaD,QAAA,MAAM,eAAe;;;;UAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ui-verification-input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-verification-input/ui-verification-input.vue"],"names":[],"mappings":";AAoIA,KAAK,MAAM,GAAG;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAA;AAmDF,iBAAS,cAAc;;wBAkDK,GAAG;;;;;WAUjB,OAAO,IAA6B;EAEjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;UAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
package/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { App } from 'vue';
2
-
3
2
  declare const BonkersUI: {
4
3
  install(app: App): void;
5
4
  };
@@ -19,6 +18,7 @@ export { UiIconWrapper, EIconWrapperTypes, EIconWrapperSizes } from './component
19
18
  export { UiInput, EInputType, EInputKinds, EAutocomplete } from './components/ui-input';
20
19
  export { UiInputRange } from './components/ui-input-range';
21
20
  export { UiListItem, EListItemTypes, EListItemSpacing, EListItemSize } from './components/ui-list-item';
21
+ export { UiMediaCard } from './components/ui-media-card';
22
22
  export { UiModal, EModalSizes } from './components/ui-modal';
23
23
  export { UiNotificationBadge, EBadgeOrigin } from './components/ui-notification-badge';
24
24
  export { UiOrderCard } from './components/ui-order-card';
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAmB,MAAM,KAAK,CAAC;AAiFhD,QAAA,MAAM,SAAS;iBACD,GAAG;CAKhB,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,wB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