bonkers-ui 1.0.72 → 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.
- package/.eslintrc.js +6 -3
- package/CONSTANTS.d.ts +0 -1
- package/bonkers-ui.umd.js +7 -7
- package/bonkers-ui.umd.js.map +1 -1
- package/components/ui-alert/index.d.ts +0 -1
- package/components/ui-alert/index.d.ts.map +1 -1
- package/components/ui-alert/ui-alert.vue.d.ts +10 -6
- package/components/ui-alert/ui-alert.vue.d.ts.map +1 -1
- package/components/ui-badge/index.d.ts +0 -1
- package/components/ui-badge/index.d.ts.map +1 -1
- package/components/ui-badge/ui-badge.vue.d.ts +18 -14
- package/components/ui-badge/ui-badge.vue.d.ts.map +1 -1
- package/components/ui-ber-rank/_types.d.ts +0 -1
- package/components/ui-ber-rank/index.d.ts +2 -3
- package/components/ui-ber-rank/index.d.ts.map +1 -1
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +9 -10
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts.map +1 -1
- package/components/ui-button/index.d.ts +0 -1
- package/components/ui-button/index.d.ts.map +1 -1
- package/components/ui-button/ui-button.vue.d.ts +20 -16
- package/components/ui-button/ui-button.vue.d.ts.map +1 -1
- package/components/ui-card-cta/index.d.ts +0 -1
- package/components/ui-card-cta/index.d.ts.map +1 -1
- package/components/ui-card-cta/ui-card-cta.vue.d.ts +12 -8
- package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +1 -1
- package/components/ui-card-order/index.d.ts +3 -0
- package/components/ui-card-order/index.d.ts.map +1 -0
- package/components/ui-card-order/ui-card-order.vue.d.ts +43 -0
- package/components/ui-card-order/ui-card-order.vue.d.ts.map +1 -0
- package/components/ui-card-result/index.d.ts +0 -1
- package/components/ui-card-result/index.d.ts.map +1 -1
- package/components/ui-card-result/ui-card-result.vue.d.ts +11 -6
- package/components/ui-card-result/ui-card-result.vue.d.ts.map +1 -1
- package/components/ui-card-result/ui-card-result.vue.js +2 -2
- package/components/ui-card-result/ui-card-result.vue2.js +2 -2
- package/components/ui-card-simple/index.d.ts +0 -1
- package/components/ui-card-simple/index.d.ts.map +1 -1
- package/components/ui-card-simple/ui-card-simple.vue.d.ts +9 -4
- package/components/ui-card-simple/ui-card-simple.vue.d.ts.map +1 -1
- package/components/ui-card-simple/ui-card-simple.vue.js +1 -1
- package/components/ui-card-simple/ui-card-simple.vue.js.map +1 -1
- package/components/ui-checkbox/_types.d.ts +5 -0
- package/components/ui-checkbox/_types.d.ts.map +1 -0
- package/components/ui-checkbox/_types.js +5 -0
- package/components/ui-checkbox/_types.js.map +1 -0
- package/components/ui-checkbox/index.d.ts +75 -32
- package/components/ui-checkbox/index.d.ts.map +1 -1
- package/components/ui-checkbox/ui-checkbox.vue.d.ts +37 -7
- package/components/ui-checkbox/ui-checkbox.vue.d.ts.map +1 -1
- package/components/ui-checkbox/ui-checkbox.vue.js +2 -2
- package/components/ui-checkbox/ui-checkbox.vue2.js +54 -47
- package/components/ui-checkbox/ui-checkbox.vue2.js.map +1 -1
- package/components/ui-dropdown/index.d.ts +21 -22
- package/components/ui-dropdown/index.d.ts.map +1 -1
- package/components/ui-dropdown/ui-dropdown.vue.d.ts +20 -14
- package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +1 -1
- package/components/ui-dropdown/ui-dropdown.vue.js +1 -1
- package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -1
- package/components/ui-icon/index.d.ts +0 -1
- package/components/ui-icon/index.d.ts.map +1 -1
- package/components/ui-icon/ui-icon.vue.d.ts +9 -10
- package/components/ui-icon/ui-icon.vue.d.ts.map +1 -1
- package/components/ui-icon-wrapper/index.d.ts +0 -1
- package/components/ui-icon-wrapper/index.d.ts.map +1 -1
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +18 -14
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts.map +1 -1
- package/components/ui-input/index.d.ts +42 -43
- package/components/ui-input/index.d.ts.map +1 -1
- package/components/ui-input/ui-input.vue.d.ts +23 -19
- package/components/ui-input/ui-input.vue.d.ts.map +1 -1
- package/components/ui-input-range/index.d.ts +0 -1
- package/components/ui-input-range/index.d.ts.map +1 -1
- package/components/ui-input-range/ui-input-range.vue.d.ts +3 -3
- package/components/ui-input-range/ui-input-range.vue.d.ts.map +1 -1
- package/components/ui-list-item/index.d.ts +19 -20
- package/components/ui-list-item/index.d.ts.map +1 -1
- package/components/ui-list-item/ui-list-item.vue.d.ts +20 -16
- package/components/ui-list-item/ui-list-item.vue.d.ts.map +1 -1
- package/components/ui-media-card/index.d.ts +0 -1
- package/components/ui-media-card/ui-media-card.vue.d.ts +3 -4
- package/components/ui-media-card/ui-media-card.vue.d.ts.map +1 -1
- package/components/ui-media-card/ui-media-card.vue.js +1 -1
- package/components/ui-modal/index.d.ts +0 -1
- package/components/ui-modal/index.d.ts.map +1 -1
- package/components/ui-modal/ui-backdrop/index.d.ts +0 -1
- package/components/ui-modal/ui-backdrop/index.d.ts.map +1 -1
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +7 -2
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts.map +1 -1
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js +9 -9
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js.map +1 -1
- package/components/ui-modal/ui-modal.vue.d.ts +21 -17
- package/components/ui-modal/ui-modal.vue.d.ts.map +1 -1
- package/components/ui-notification-badge/index.d.ts +0 -1
- package/components/ui-notification-badge/index.d.ts.map +1 -1
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +18 -14
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts.map +1 -1
- package/components/ui-order-card/index.d.ts +14 -15
- package/components/ui-order-card/index.d.ts.map +1 -1
- package/components/ui-order-card/ui-order-card.vue.d.ts +20 -16
- package/components/ui-order-card/ui-order-card.vue.d.ts.map +1 -1
- package/components/ui-plain-radio/index.d.ts +0 -1
- package/components/ui-plain-radio/index.d.ts.map +1 -1
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +11 -6
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts.map +1 -1
- package/components/ui-product-card/ui-product-card.vue.d.ts +12 -7
- package/components/ui-product-card/ui-product-card.vue.d.ts.map +1 -1
- package/components/ui-product-card/ui-product-card.vue.js +1 -1
- package/components/ui-progress/index.d.ts +0 -1
- package/components/ui-progress/index.d.ts.map +1 -1
- package/components/ui-progress/ui-progress.vue.d.ts +9 -9
- package/components/ui-progress/ui-progress.vue.d.ts.map +1 -1
- package/components/ui-radio/index.d.ts +0 -1
- package/components/ui-radio/index.d.ts.map +1 -1
- package/components/ui-radio/ui-radio.vue.d.ts +10 -6
- package/components/ui-radio/ui-radio.vue.d.ts.map +1 -1
- package/components/ui-radio-compact/index.d.ts +0 -1
- package/components/ui-radio-compact/index.d.ts.map +1 -1
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +10 -5
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts.map +1 -1
- package/components/ui-radio-fancy/index.d.ts +16 -17
- package/components/ui-radio-fancy/index.d.ts.map +1 -1
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +18 -14
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts.map +1 -1
- package/components/ui-result-card-range/index.d.ts +0 -1
- package/components/ui-result-card-range/index.d.ts.map +1 -1
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +10 -6
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts.map +1 -1
- package/components/ui-ripple/index.d.ts +0 -1
- package/components/ui-ripple/index.d.ts.map +1 -1
- package/components/ui-ripple/ui-ripple.vue.d.ts +9 -2
- package/components/ui-ripple/ui-ripple.vue.d.ts.map +1 -1
- package/components/ui-select/index.d.ts +0 -1
- package/components/ui-select/index.d.ts.map +1 -1
- package/components/ui-select/ui-select.vue.d.ts +13 -8
- package/components/ui-select/ui-select.vue.d.ts.map +1 -1
- package/components/ui-skeleton/index.d.ts +0 -1
- package/components/ui-skeleton/index.d.ts.map +1 -1
- package/components/ui-skeleton/ui-skeleton.vue.d.ts +9 -10
- package/components/ui-skeleton/ui-skeleton.vue.d.ts.map +1 -1
- package/components/ui-snackbar/index.d.ts +13 -14
- package/components/ui-snackbar/index.d.ts.map +1 -1
- package/components/ui-snackbar/ui-snackbar.vue.d.ts +20 -16
- package/components/ui-snackbar/ui-snackbar.vue.d.ts.map +1 -1
- package/components/ui-table/index.d.ts +0 -1
- package/components/ui-table/index.d.ts.map +1 -1
- package/components/ui-table/ui-table-cell/index.d.ts +0 -1
- package/components/ui-table/ui-table-cell/index.d.ts.map +1 -1
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +11 -7
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts.map +1 -1
- package/components/ui-table/ui-table-row/index.d.ts +0 -1
- package/components/ui-table/ui-table-row/index.d.ts.map +1 -1
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +10 -6
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts.map +1 -1
- package/components/ui-table/ui-table.vue.d.ts +18 -14
- package/components/ui-table/ui-table.vue.d.ts.map +1 -1
- package/components/ui-tabs/index.d.ts +8 -9
- package/components/ui-tabs/index.d.ts.map +1 -1
- package/components/ui-tabs/ui-tabs.vue.d.ts +9 -9
- package/components/ui-tabs/ui-tabs.vue.d.ts.map +1 -1
- package/components/ui-toggle/index.d.ts +0 -1
- package/components/ui-toggle/index.d.ts.map +1 -1
- package/components/ui-toggle/ui-toggle.vue.d.ts +11 -6
- package/components/ui-toggle/ui-toggle.vue.d.ts.map +1 -1
- package/components/ui-toggle/ui-toggle.vue.js +3 -3
- package/components/ui-toggle/ui-toggle.vue2.js +28 -44
- package/components/ui-toggle/ui-toggle.vue2.js.map +1 -1
- package/components/ui-typography/index.d.ts +0 -1
- package/components/ui-typography/index.d.ts.map +1 -1
- package/components/ui-typography/ui-typography.vue.d.ts +10 -6
- package/components/ui-typography/ui-typography.vue.d.ts.map +1 -1
- package/components/ui-verification-input/index.d.ts +0 -1
- package/components/ui-verification-input/index.d.ts.map +1 -1
- package/components/ui-verification-input/ui-verification-input.vue.d.ts +12 -5
- package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +1 -1
- package/index.d.ts +0 -1
- package/package.json +35 -33
- package/plugin.ts +27 -6
- package/src/_styles/_backdropBlur.json +10 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-tabs/ui-tabs.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-tabs/ui-tabs.vue"],"names":[],"mappings":";;UAqEQ,MAAM,EAAE;gBACF,MAAM;WACX,MAAM;;;;;;UAFP,MAAM,EAAE;gBACF,MAAM;WACX,MAAM;;;;;;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
|
-
|
|
4
|
-
|
|
3
|
+
slots: {
|
|
4
|
+
header?(_: {}): any;
|
|
5
|
+
title?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
attrs: Partial<{}>;
|
|
5
9
|
};
|
|
6
|
-
|
|
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<
|
|
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,
|
|
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
|
|
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":"
|
|
1
|
+
{"version":3,"file":"ui-toggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-toggle/ui-toggle.vue"],"names":[],"mappings":";AAyJA,iBAAS,cAAc;;wBA8GK,GAAG;uBACJ,GAAG;;;WAShB,OAAO,IAA6B;EAEjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aAlKV,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;;;UAmKd,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"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var
|
|
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
|
|
5
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5757d939"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
_ as default
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=ui-toggle.vue.js.map
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
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
|
|
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(
|
|
24
|
-
const
|
|
16
|
+
setup(t, { emit: g }) {
|
|
17
|
+
const b = t, f = g, a = k({
|
|
25
18
|
get() {
|
|
26
|
-
return
|
|
19
|
+
return b.modelValue;
|
|
27
20
|
},
|
|
28
21
|
set(e) {
|
|
29
22
|
f("update:modelValue", e);
|
|
30
23
|
}
|
|
31
24
|
});
|
|
32
|
-
return (e,
|
|
33
|
-
|
|
34
|
-
e.header || e.$slots.header ? (
|
|
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:
|
|
31
|
+
weight: o(z).SEMI_BOLD
|
|
39
32
|
}, {
|
|
40
|
-
default:
|
|
41
|
-
p(
|
|
33
|
+
default: d(() => [
|
|
34
|
+
u(p(e.header), 1)
|
|
42
35
|
]),
|
|
43
36
|
_: 1
|
|
44
|
-
}, 8, ["weight"])) :
|
|
37
|
+
}, 8, ["weight"])) : c("", !0)
|
|
45
38
|
], !0),
|
|
46
|
-
|
|
47
|
-
class:
|
|
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
|
-
|
|
54
|
-
B(
|
|
55
|
-
"onUpdate:modelValue":
|
|
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,
|
|
60
|
-
[
|
|
52
|
+
}, null, 8, M), [
|
|
53
|
+
[V, a.value]
|
|
61
54
|
]),
|
|
62
55
|
$,
|
|
63
|
-
|
|
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
|
-
|
|
75
|
-
e.title || e.$slots.title ? (
|
|
58
|
+
i(e.$slots, "title", {}, () => [
|
|
59
|
+
e.title || e.$slots.title ? (s(), n(o(m), {
|
|
76
60
|
key: 0,
|
|
77
|
-
size:
|
|
61
|
+
size: o(D).MD,
|
|
78
62
|
class: "w-full",
|
|
79
63
|
"line-height": ""
|
|
80
64
|
}, {
|
|
81
|
-
default:
|
|
82
|
-
p(
|
|
65
|
+
default: d(() => [
|
|
66
|
+
u(p(e.title), 1)
|
|
83
67
|
]),
|
|
84
68
|
_: 1
|
|
85
|
-
}, 8, ["size"])) :
|
|
69
|
+
}, 8, ["size"])) : c("", !0)
|
|
86
70
|
], !0)
|
|
87
71
|
], 2)
|
|
88
72
|
]));
|
|
89
73
|
}
|
|
90
74
|
});
|
|
91
75
|
export {
|
|
92
|
-
|
|
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\"
|
|
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
|
-
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
attrs: Partial<{}>;
|
|
7
10
|
};
|
|
8
|
-
|
|
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<
|
|
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,
|
|
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
|
|
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":"
|
|
1
|
+
{"version":3,"file":"ui-typography.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-typography/ui-typography.vue"],"names":[],"mappings":"AAoHC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAoB/C,iBAAS,cAAc;;yBAgNM,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YAxPX,UAAU;WACX,gBAAgB;WAChB,OAAO;aACL,WAAW;iBACP,OAAO;oBACJ,cAAc;gBAClB,OAAO;SACd,MAAM,GAAG,SAAS;;YAPf,UAAU;WACX,gBAAgB;WAChB,OAAO;aACL,WAAW;iBACP,OAAO;oBACJ,cAAc;gBAClB,OAAO;SACd,MAAM,GAAG,SAAS;aAuPvB,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"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default 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
|
-
|
|
7
|
+
slots: {
|
|
8
|
+
button?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
inputsRefs: HTMLInputElement;
|
|
12
|
+
};
|
|
13
|
+
attrs: Partial<{}>;
|
|
8
14
|
};
|
|
9
|
-
|
|
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<
|
|
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,
|
|
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
|
|
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":"
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bonkers-ui",
|
|
3
|
-
"version": "v1.0.
|
|
3
|
+
"version": "v1.0.73",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"storybook": "storybook dev -p 6006",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"rollup": "npm:@rollup/wasm-node"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"tailwindcss": "^3.4.
|
|
25
|
-
"vue": "^3.
|
|
24
|
+
"tailwindcss": "^3.4.14",
|
|
25
|
+
"vue": "^3.5.12"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
|
@@ -35,56 +35,58 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@kalimahapps/eslint-plugin-tailwind": "^1.1.0",
|
|
38
|
-
"@storybook/addon-essentials": "^8.
|
|
39
|
-
"@storybook/addon-links": "^8.
|
|
38
|
+
"@storybook/addon-essentials": "^8.3.6",
|
|
39
|
+
"@storybook/addon-links": "^8.3.6",
|
|
40
40
|
"@storybook/addons": "^7.6.17",
|
|
41
|
-
"@storybook/vue3": "^8.
|
|
42
|
-
"@storybook/vue3-vite": "^8.
|
|
43
|
-
"@
|
|
41
|
+
"@storybook/vue3": "^8.3.6",
|
|
42
|
+
"@storybook/vue3-vite": "^8.3.6",
|
|
43
|
+
"@stylistic/eslint-plugin": "^2.9.0",
|
|
44
|
+
"@types/bun": "^1.1.12",
|
|
44
45
|
"@types/glob": "^8.1.0",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
46
|
-
"@typescript-eslint/parser": "^
|
|
47
|
-
"@vitejs/plugin-vue": "^5.
|
|
46
|
+
"@typescript-eslint/eslint-plugin": "^8.12.2",
|
|
47
|
+
"@typescript-eslint/parser": "^8.12.2",
|
|
48
|
+
"@vitejs/plugin-vue": "^5.1.4",
|
|
48
49
|
"@vue/eslint-config-typescript": "^13.0.0",
|
|
49
50
|
"@vue/test-utils": "^2.4.6",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
51
|
+
"ajv": "^8.17.1",
|
|
52
|
+
"autoprefixer": "^10.4.20",
|
|
53
|
+
"bun-types": "^1.1.33",
|
|
52
54
|
"eslint": "8.56.0",
|
|
53
|
-
"eslint-plugin-storybook": "^0.
|
|
54
|
-
"eslint-plugin-tailwindcss": "^3.17.
|
|
55
|
-
"eslint-plugin-vue": "^9.
|
|
56
|
-
"gh-pages": "^6.
|
|
57
|
-
"husky": "9.1.
|
|
58
|
-
"jsdom": "^
|
|
59
|
-
"lint-staged": "^15.2.
|
|
60
|
-
"postcss": "^8.4.
|
|
55
|
+
"eslint-plugin-storybook": "^0.10.1",
|
|
56
|
+
"eslint-plugin-tailwindcss": "^3.17.5",
|
|
57
|
+
"eslint-plugin-vue": "^9.30.0",
|
|
58
|
+
"gh-pages": "^6.2.0",
|
|
59
|
+
"husky": "9.1.6",
|
|
60
|
+
"jsdom": "^25.0.1",
|
|
61
|
+
"lint-staged": "^15.2.10",
|
|
62
|
+
"postcss": "^8.4.47",
|
|
61
63
|
"postcss-cli": "^11.0.0",
|
|
62
64
|
"postcss-html": "^1.7.0",
|
|
63
65
|
"react": "^18.3.1",
|
|
64
66
|
"react-dom": "^18.3.1",
|
|
65
|
-
"storybook": "^8.
|
|
67
|
+
"storybook": "^8.3.6",
|
|
66
68
|
"storybook-dark-mode": "^4.0.2",
|
|
67
69
|
"stylelint": "15.x.x",
|
|
68
70
|
"stylelint-config-recommended": "^14.0.1",
|
|
69
71
|
"stylelint-config-recommended-vue": "^1.5.0",
|
|
70
|
-
"typescript": "^5.
|
|
71
|
-
"vite": "^5.
|
|
72
|
-
"vite-plugin-css-injected-by-js": "^3.5.
|
|
73
|
-
"vite-plugin-dts": "^3.
|
|
74
|
-
"vite-plugin-static-copy": "^
|
|
75
|
-
"vite-tsconfig-paths": "^
|
|
76
|
-
"vitest": "^2.
|
|
72
|
+
"typescript": "^5.6.3",
|
|
73
|
+
"vite": "^5.4.10",
|
|
74
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
75
|
+
"vite-plugin-dts": "^4.3.0",
|
|
76
|
+
"vite-plugin-static-copy": "^2.0.0",
|
|
77
|
+
"vite-tsconfig-paths": "^5.0.1",
|
|
78
|
+
"vitest": "^2.1.4",
|
|
77
79
|
"vue-eslint-parser": "^9.4.3",
|
|
78
80
|
"vue-loader": "^17.4.2",
|
|
79
|
-
"vue-router": "^4.4.
|
|
80
|
-
"vue-tsc": "^2.
|
|
81
|
+
"vue-router": "^4.4.5",
|
|
82
|
+
"vue-tsc": "^2.1.8"
|
|
81
83
|
},
|
|
82
84
|
"lint-staged": {
|
|
83
|
-
"
|
|
85
|
+
"./src/**/*.{ts,tsx,vue}": [
|
|
84
86
|
"bun eslint --fix",
|
|
85
87
|
"bash -c 'bun typecheck'"
|
|
86
88
|
],
|
|
87
|
-
"
|
|
89
|
+
"./src/**/*.{css,vue,tsx}": "bash -c 'stylelint --fix'"
|
|
88
90
|
},
|
|
89
91
|
"license": "MIT",
|
|
90
92
|
"main": "./bonkers-ui.umd.js",
|
package/plugin.ts
CHANGED
|
@@ -4,6 +4,7 @@ import _colors from "./src/_styles/_colors.json";
|
|
|
4
4
|
import _shadow from "./src/_styles/_shadow.json";
|
|
5
5
|
import _spacing from "./src/_styles/_spacing.json";
|
|
6
6
|
import _fontSizes from "./src/_styles/_font-sizes.json";
|
|
7
|
+
import _backdropBlur from "./src/_styles/_backdropBlur.json";
|
|
7
8
|
|
|
8
9
|
export default plugin(
|
|
9
10
|
({ addBase }) => {
|
|
@@ -50,6 +51,7 @@ export default plugin(
|
|
|
50
51
|
"--color-black": "black",
|
|
51
52
|
"--color-current": "currentcolor",
|
|
52
53
|
"--color-transparent": "transparent",
|
|
54
|
+
|
|
53
55
|
"--color-primary-50": "#ecf8ed",
|
|
54
56
|
"--color-primary-100": "#d9f2db",
|
|
55
57
|
"--color-primary-200": "#b3e5b6",
|
|
@@ -61,49 +63,67 @@ export default plugin(
|
|
|
61
63
|
"--color-primary-800": "#1a4c1d",
|
|
62
64
|
"--color-primary-900": "#0d260f",
|
|
63
65
|
"--color-primary": "var(--color-primary-500)",
|
|
66
|
+
|
|
64
67
|
"--color-primary-alt-300": "#83e4ad",
|
|
65
68
|
"--color-primary-alt-400": "#5adb92",
|
|
66
69
|
"--color-primary-alt-500": "#31d277",
|
|
67
70
|
"--color-primary-alt-600": "#27a85f",
|
|
68
71
|
"--color-primary-alt-700": "#1d7e47",
|
|
69
72
|
"--color-primary-alt": "var(--color-primary-alt-500)",
|
|
73
|
+
|
|
70
74
|
"--color-secondary-300": "#848793",
|
|
71
75
|
"--color-secondary-400": "#5b5f6f",
|
|
72
76
|
"--color-secondary-500": "#32374b",
|
|
73
77
|
"--color-secondary-600": "#282c3c",
|
|
74
78
|
"--color-secondary-700": "#1e212d",
|
|
75
79
|
"--color-secondary": "var(--color-secondary-500)",
|
|
76
|
-
|
|
77
|
-
"--color-error-
|
|
78
|
-
"--color-error-
|
|
79
|
-
"--color-error-
|
|
80
|
-
"--color-error-
|
|
80
|
+
|
|
81
|
+
"--color-error-300": "#ea9797",
|
|
82
|
+
"--color-error-400": "#df6363",
|
|
83
|
+
"--color-error-500": "#d52f2f",
|
|
84
|
+
"--color-error-600": "#a02323",
|
|
85
|
+
"--color-error-700": "#6b1818",
|
|
81
86
|
"--color-error": "var(--color-error-500)",
|
|
87
|
+
|
|
82
88
|
"--color-warning-300": "#ffbc9b",
|
|
83
89
|
"--color-warning-400": "#ffa57a",
|
|
84
90
|
"--color-warning-500": "#ff8f59",
|
|
85
91
|
"--color-warning-600": "#cc7247",
|
|
86
92
|
"--color-warning-700": "#995635",
|
|
87
93
|
"--color-warning": "var(--color-warning-500)",
|
|
94
|
+
|
|
88
95
|
"--color-accent-300": "#c9c9f6",
|
|
89
96
|
"--color-accent-400": "#8b8bfc",
|
|
90
97
|
"--color-accent-500": "#4242f7",
|
|
91
98
|
"--color-accent-600": "#3535c6",
|
|
92
99
|
"--color-accent-700": "#282894",
|
|
93
100
|
"--color-accent": "var(--color-accent-500)",
|
|
101
|
+
|
|
94
102
|
"--color-accent-alt-300": "#ffd681",
|
|
95
103
|
"--color-accent-alt-400": "#fcc44f",
|
|
96
104
|
"--color-accent-alt-500": "#ffbb2e",
|
|
97
105
|
"--color-accent-alt-600": "#ffae05",
|
|
98
106
|
"--color-accent-alt-700": "#f0a100",
|
|
99
107
|
"--color-accent-alt": "var(--color-accent-alt-500)",
|
|
108
|
+
|
|
100
109
|
"--color-secondary-alt-200": "#f4f5f8",
|
|
101
110
|
"--color-secondary-alt-300": "#dfe1e9",
|
|
102
111
|
"--color-secondary-alt-400": "#b4b8cd",
|
|
103
112
|
"--color-secondary-alt-500": "#949ab7",
|
|
104
113
|
"--color-secondary-alt-600": "#767b92",
|
|
105
114
|
"--color-secondary-alt-700": "#595c6e",
|
|
106
|
-
"--color-secondary-alt": "var(--color-secondary-alt-500)"
|
|
115
|
+
"--color-secondary-alt": "var(--color-secondary-alt-500)",
|
|
116
|
+
|
|
117
|
+
// backdrop blur
|
|
118
|
+
"--backdrop-blur-min": "0.5px",
|
|
119
|
+
"--backdrop-blur-xs": "2px",
|
|
120
|
+
"--backdrop-blur-sm": "4px",
|
|
121
|
+
"--backdrop-blur": "8px",
|
|
122
|
+
"--backdrop-blur-md": "12px",
|
|
123
|
+
"--backdrop-blur-lg": "16px",
|
|
124
|
+
"--backdrop-blur-xl": "24px",
|
|
125
|
+
"--backdrop-blur-2xl": "40px",
|
|
126
|
+
|
|
107
127
|
}
|
|
108
128
|
|
|
109
129
|
});
|
|
@@ -117,6 +137,7 @@ export default plugin(
|
|
|
117
137
|
spacing: _spacing,
|
|
118
138
|
boxShadow: _shadow,
|
|
119
139
|
fontSize: _fontSizes,
|
|
140
|
+
backdropBlur: _backdropBlur,
|
|
120
141
|
extend: {
|
|
121
142
|
minHeight: ({ theme }) => ({
|
|
122
143
|
...theme("spacing"),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"min": "var(--backdrop-blur-min)",
|
|
3
|
+
"xs":"var(--backdrop-blur-xs)",
|
|
4
|
+
"sm":"var(--backdrop-blur-sm)",
|
|
5
|
+
"blur": "var(--backdrop-blur)",
|
|
6
|
+
"md":"var(--backdrop-blur-md)",
|
|
7
|
+
"lg":"var(--backdrop-blur-lg)",
|
|
8
|
+
"xl":"var(--backdrop-blur-xl)",
|
|
9
|
+
"2xl":"var(--backdrop-blur-2xl)"
|
|
10
|
+
}
|