bonkers-ui 1.0.68 → 1.0.69
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 +12 -2
- package/CONSTANTS.d.ts +3 -1
- package/CONSTANTS.d.ts.map +1 -1
- package/_types/colors.d.ts +4 -0
- package/_types/colors.d.ts.map +1 -1
- package/_types/colors.js +1 -1
- package/_types/colors.js.map +1 -1
- package/_types/sizing.d.ts +28 -4
- package/_types/sizing.d.ts.map +1 -1
- package/_types/sizing.js +1 -1
- package/_types/sizing.js.map +1 -1
- package/bonkers-ui.umd.js +7 -7
- package/bonkers-ui.umd.js.map +1 -1
- package/components/ui-alert/index.d.ts +3 -3
- package/components/ui-alert/ui-alert.vue.d.ts +8 -6
- package/components/ui-alert/ui-alert.vue.d.ts.map +1 -1
- package/components/ui-alert/ui-alert.vue.js +3 -3
- package/components/ui-badge/_typings.d.ts +5 -1
- package/components/ui-badge/_typings.d.ts.map +1 -1
- package/components/ui-badge/_typings.js +3 -3
- package/components/ui-badge/_typings.js.map +1 -1
- package/components/ui-badge/index.d.ts +50 -14
- package/components/ui-badge/index.d.ts.map +1 -1
- package/components/ui-badge/ui-badge.vue.d.ts +34 -10
- package/components/ui-badge/ui-badge.vue.d.ts.map +1 -1
- package/components/ui-badge/ui-badge.vue.js +41 -35
- package/components/ui-badge/ui-badge.vue.js.map +1 -1
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +2 -2
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts.map +1 -1
- package/components/ui-button/index.d.ts +3 -3
- package/components/ui-button/ui-button.vue.d.ts +8 -6
- package/components/ui-button/ui-button.vue.d.ts.map +1 -1
- package/components/ui-button/ui-button.vue.js +4 -4
- package/components/ui-button/ui-button.vue.js.map +1 -1
- package/components/ui-card-cta/index.d.ts +3 -3
- package/components/ui-card-cta/ui-card-cta.vue.d.ts +16 -14
- package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +1 -1
- package/components/ui-card-cta/ui-card-cta.vue.js +1 -1
- package/components/ui-card-result/index.d.ts +3 -3
- package/components/ui-card-result/ui-card-result.vue.d.ts +16 -14
- package/components/ui-card-result/ui-card-result.vue.d.ts.map +1 -1
- package/components/ui-card-result/ui-card-result.vue.js +4 -4
- package/components/ui-card-result/ui-card-result.vue2.js +14 -14
- package/components/ui-card-simple/_typings.d.ts +5 -0
- package/components/ui-card-simple/_typings.d.ts.map +1 -0
- package/components/ui-card-simple/index.d.ts +3 -3
- package/components/ui-card-simple/ui-card-simple.vue.d.ts +4 -2
- package/components/ui-card-simple/ui-card-simple.vue.d.ts.map +1 -1
- package/components/ui-card-simple/ui-card-simple.vue.js +7 -8
- package/components/ui-card-simple/ui-card-simple.vue.js.map +1 -1
- package/components/ui-checkbox/index.d.ts +3 -3
- package/components/ui-checkbox/ui-checkbox.vue.d.ts +14 -12
- package/components/ui-checkbox/ui-checkbox.vue.d.ts.map +1 -1
- package/components/ui-dropdown/index.d.ts +3 -3
- package/components/ui-dropdown/ui-dropdown.vue.d.ts +14 -12
- package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +1 -1
- package/components/ui-dropdown/ui-dropdown.vue.js +4 -4
- package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -1
- package/components/ui-icon/ui-icon.vue.d.ts +2 -2
- package/components/ui-icon/ui-icon.vue.d.ts.map +1 -1
- package/components/ui-icon/ui-icon.vue.js +19 -15
- package/components/ui-icon/ui-icon.vue.js.map +1 -1
- package/components/ui-icon-wrapper/index.d.ts +3 -3
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +6 -4
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts.map +1 -1
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +2 -2
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +2 -2
- package/components/ui-input/index.d.ts +3 -3
- package/components/ui-input/ui-input.vue.d.ts +33 -31
- package/components/ui-input/ui-input.vue.d.ts.map +1 -1
- package/components/ui-input/ui-input.vue.js +3 -3
- package/components/ui-input/ui-input.vue.js.map +1 -1
- package/components/ui-input-range/ui-input-range.vue.d.ts.map +1 -1
- package/components/ui-input-range/ui-input-range.vue.js +2 -2
- package/components/ui-input-range/ui-input-range.vue2.js +11 -11
- package/components/ui-input-range/ui-input-range.vue2.js.map +1 -1
- package/components/ui-list-item/index.d.ts +7 -7
- package/components/ui-list-item/ui-list-item.vue.d.ts +21 -19
- package/components/ui-list-item/ui-list-item.vue.d.ts.map +1 -1
- package/components/ui-list-item/ui-list-item.vue.js +6 -6
- package/components/ui-modal/index.d.ts +3 -3
- package/components/ui-modal/ui-backdrop/index.d.ts +3 -3
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +4 -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 +6 -6
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js.map +1 -1
- package/components/ui-modal/ui-modal.vue.d.ts +13 -11
- package/components/ui-modal/ui-modal.vue.d.ts.map +1 -1
- package/components/ui-modal/ui-modal.vue.js +2 -2
- package/components/ui-modal/ui-modal.vue2.js +20 -24
- package/components/ui-modal/ui-modal.vue2.js.map +1 -1
- package/components/ui-notification-badge/index.d.ts +3 -3
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +8 -6
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts.map +1 -1
- package/components/ui-notification-badge/ui-notification-badge.vue.js +1 -1
- package/components/ui-order-card/index.d.ts +3 -3
- package/components/ui-order-card/ui-order-card.vue.d.ts +10 -8
- package/components/ui-order-card/ui-order-card.vue.d.ts.map +1 -1
- package/components/ui-order-card/ui-order-card.vue.js +4 -4
- package/components/ui-order-card/ui-order-card.vue.js.map +1 -1
- package/components/ui-plain-radio/index.d.ts +3 -3
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +13 -11
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts.map +1 -1
- package/components/ui-plain-radio/ui-plain-radio.vue.js +5 -5
- package/components/ui-plain-radio/ui-plain-radio.vue.js.map +1 -1
- package/components/ui-product-card/index.d.ts +4 -0
- package/components/ui-product-card/index.d.ts.map +1 -0
- package/components/ui-progress/index.d.ts +9 -0
- package/components/ui-progress/index.d.ts.map +1 -1
- package/components/ui-progress/ui-progress.vue.d.ts +5 -0
- package/components/ui-progress/ui-progress.vue.d.ts.map +1 -1
- package/components/ui-progress/ui-progress.vue.js +29 -13
- package/components/ui-progress/ui-progress.vue.js.map +1 -1
- package/components/ui-radio/index.d.ts +3 -3
- package/components/ui-radio/ui-radio.vue.d.ts +12 -10
- package/components/ui-radio/ui-radio.vue.d.ts.map +1 -1
- package/components/ui-radio/ui-radio.vue.js +2 -2
- package/components/ui-radio/ui-radio.vue2.js +9 -9
- package/components/ui-radio/ui-radio.vue2.js.map +1 -1
- package/components/ui-radio-compact/index.d.ts +3 -3
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +8 -6
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts.map +1 -1
- package/components/ui-radio-compact/ui-radio-compact.vue.js +5 -5
- package/components/ui-radio-compact/ui-radio-compact.vue.js.map +1 -1
- package/components/ui-radio-fancy/index.d.ts +3 -3
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +12 -10
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts.map +1 -1
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js +20 -20
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +1 -1
- package/components/ui-result-card-range/index.d.ts +3 -3
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +10 -8
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts.map +1 -1
- package/components/ui-result-card-range/ui-result-card-range.vue.js +2 -2
- package/components/ui-ripple/index.d.ts +3 -3
- package/components/ui-ripple/ui-ripple.vue.d.ts +4 -2
- package/components/ui-ripple/ui-ripple.vue.d.ts.map +1 -1
- package/components/ui-select/index.d.ts +3 -3
- package/components/ui-select/ui-select.vue.d.ts +15 -13
- package/components/ui-select/ui-select.vue.d.ts.map +1 -1
- package/components/ui-select/ui-select.vue.js +5 -5
- package/components/ui-select/ui-select.vue.js.map +1 -1
- package/components/ui-skeleton/ui-skeleton.vue.d.ts +2 -2
- package/components/ui-skeleton/ui-skeleton.vue.d.ts.map +1 -1
- package/components/ui-skeleton/ui-skeleton.vue.js +26 -28
- package/components/ui-skeleton/ui-skeleton.vue.js.map +1 -1
- package/components/ui-snackbar/index.d.ts +3 -3
- package/components/ui-snackbar/ui-snackbar.vue.d.ts +10 -8
- package/components/ui-snackbar/ui-snackbar.vue.d.ts.map +1 -1
- package/components/ui-snackbar/ui-snackbar.vue.js +2 -2
- package/components/ui-table/index.d.ts +3 -3
- package/components/ui-table/ui-table-cell/index.d.ts +3 -3
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +10 -8
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts.map +1 -1
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.js +1 -1
- package/components/ui-table/ui-table-row/index.d.ts +3 -3
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +8 -6
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts.map +1 -1
- package/components/ui-table/ui-table-row/ui-table-row.vue.js +3 -3
- package/components/ui-table/ui-table.vue.d.ts +8 -6
- package/components/ui-table/ui-table.vue.d.ts.map +1 -1
- package/components/ui-table/ui-table.vue.js +4 -4
- package/components/ui-table/ui-table.vue2.js +1 -1
- package/components/ui-tabs/ui-tabs.vue.d.ts +2 -2
- package/components/ui-tabs/ui-tabs.vue.d.ts.map +1 -1
- package/components/ui-tabs/ui-tabs.vue.js +3 -3
- package/components/ui-tabs/ui-tabs.vue2.js +6 -6
- package/components/ui-tabs/ui-tabs.vue2.js.map +1 -1
- package/components/ui-toggle/index.d.ts +3 -3
- package/components/ui-toggle/ui-toggle.vue.d.ts +19 -17
- 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 +8 -8
- package/components/ui-toggle/ui-toggle.vue2.js.map +1 -1
- package/components/ui-typography/index.d.ts +3 -3
- package/components/ui-typography/ui-typography.vue.d.ts +22 -20
- package/components/ui-typography/ui-typography.vue.d.ts.map +1 -1
- package/components/ui-typography/ui-typography.vue.js +7 -3
- package/components/ui-typography/ui-typography.vue.js.map +1 -1
- package/components/ui-verification-input/index.d.ts +3 -3
- package/components/ui-verification-input/ui-verification-input.vue.d.ts +6 -4
- package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +1 -1
- package/index.js +48 -48
- package/package.json +26 -25
- package/plugin.ts +17 -9
- package/src/_styles/_colors.json +5 -1
- package/src/_styles/_spacing.json +7 -3
- package/tailwind.config.ts +1 -1
- package/types.js +56 -55
- package/types.js.map +1 -1
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { ESnackbarTypes } from './_types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
titleSlot?(_: {}): any;
|
|
7
|
+
articleSlot?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
10
|
title: string;
|
|
6
|
-
kind?: ESnackbarTypes
|
|
11
|
+
kind?: ESnackbarTypes;
|
|
7
12
|
}>, {
|
|
8
13
|
kind: ESnackbarTypes;
|
|
9
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
15
|
title: string;
|
|
11
|
-
kind?: ESnackbarTypes
|
|
16
|
+
kind?: ESnackbarTypes;
|
|
12
17
|
}>, {
|
|
13
18
|
kind: ESnackbarTypes;
|
|
14
19
|
}>>>, {
|
|
15
20
|
kind: ESnackbarTypes;
|
|
16
|
-
}, {}
|
|
17
|
-
|
|
18
|
-
titleSlot?(_: {}): any;
|
|
19
|
-
articleSlot?(_: {}): any;
|
|
20
|
-
}>;
|
|
21
|
+
}, {}>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
23
|
export default _default;
|
|
22
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
25
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-snackbar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-snackbar/ui-snackbar.vue"],"names":[],"mappings":"AA8BA;AAGC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"ui-snackbar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-snackbar/ui-snackbar.vue"],"names":[],"mappings":"AA8BA;AAGC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAiB3C,iBAAS,cAAc;qBAwFM,GAAG;uBACA,GAAG;yBACD,GAAG;EAKpC;AAcD,QAAA,MAAM,eAAe;WAMZ,MAAM;WACN,cAAc;;;;WADd,MAAM;WACN,cAAc;;;;UAAd,cAAc;MAErB,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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -9,8 +9,8 @@ const c = /* @__PURE__ */ s({
|
|
|
9
9
|
kind: { default: i.DEFAULT }
|
|
10
10
|
},
|
|
11
11
|
setup(h) {
|
|
12
|
-
return (e,
|
|
13
|
-
class: f(["ui-snackbar flex w-full justify-between rounded-
|
|
12
|
+
return (e, k) => (d(), p("div", {
|
|
13
|
+
class: f(["ui-snackbar flex w-full justify-between rounded-xl p-sm shadow-md", [
|
|
14
14
|
e.kind === t(i).DEFAULT && "bg-white",
|
|
15
15
|
e.kind === t(i).PRIMARY && "bg-primary text-white",
|
|
16
16
|
e.kind === t(i).WARNING && "bg-warning text-white",
|
|
@@ -38,9 +38,9 @@ declare const deprecatedDefault: {
|
|
|
38
38
|
}>>, {}, {}, {}, {}, {
|
|
39
39
|
kind: ETableKind;
|
|
40
40
|
}>;
|
|
41
|
-
__isFragment?:
|
|
42
|
-
__isTeleport?:
|
|
43
|
-
__isSuspense?:
|
|
41
|
+
__isFragment?: never;
|
|
42
|
+
__isTeleport?: never;
|
|
43
|
+
__isSuspense?: never;
|
|
44
44
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
45
45
|
kind: {
|
|
46
46
|
type: PropType<ETableKind>;
|
|
@@ -36,9 +36,9 @@ declare const deprecatedDefault: {
|
|
|
36
36
|
type: PropType<ETextWeight>;
|
|
37
37
|
};
|
|
38
38
|
}>>, {}, {}, {}, {}, {}>;
|
|
39
|
-
__isFragment?:
|
|
40
|
-
__isTeleport?:
|
|
41
|
-
__isSuspense?:
|
|
39
|
+
__isFragment?: never;
|
|
40
|
+
__isTeleport?: never;
|
|
41
|
+
__isSuspense?: never;
|
|
42
42
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
43
43
|
align: {
|
|
44
44
|
type: PropType<ETextAlign>;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { ETextAlign, ETextWeight } from '../../ui-typography';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
align?: ETextAlign | undefined;
|
|
6
|
-
weight?: ETextWeight | undefined;
|
|
7
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
align?: ETextAlign | undefined;
|
|
9
|
-
weight?: ETextWeight | undefined;
|
|
10
|
-
}>>>, {}, {}>, {
|
|
4
|
+
declare function __VLS_template(): {
|
|
11
5
|
default?(_: {}): any;
|
|
12
6
|
subtext?(_: {}): any;
|
|
13
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
align?: ETextAlign;
|
|
10
|
+
weight?: ETextWeight;
|
|
11
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
align?: ETextAlign;
|
|
13
|
+
weight?: ETextWeight;
|
|
14
|
+
}>>>, {}, {}>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
16
|
export default _default;
|
|
15
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
18
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-table-cell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui-table/ui-table-cell/ui-table-cell.vue"],"names":[],"mappings":"AAsBA;AAGC,OAAqB,EAAoB,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC
|
|
1
|
+
{"version":3,"file":"ui-table-cell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui-table/ui-table-cell/ui-table-cell.vue"],"names":[],"mappings":"AAsBA;AAGC,OAAqB,EAAoB,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAa/F,iBAAS,cAAc;qBAiEM,GAAG;qBACF,GAAG;EAGhC;AAeD,QAAA,MAAM,eAAe;YAMX,UAAU;aACT,WAAW;;YADZ,UAAU;aACT,WAAW;aAEpB,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"}
|
|
@@ -22,7 +22,7 @@ const z = /* @__PURE__ */ n({
|
|
|
22
22
|
key: 0,
|
|
23
23
|
size: t(r).XXS,
|
|
24
24
|
weight: t(u).SEMI_BOLD,
|
|
25
|
-
class: p(["flex flex-col gap-
|
|
25
|
+
class: p(["flex flex-col gap-xxxs", e.$slots.default && "pt-sm"]),
|
|
26
26
|
kind: t(f).PRIMARY_ALT_700
|
|
27
27
|
}, {
|
|
28
28
|
default: o(() => [
|
|
@@ -28,9 +28,9 @@ declare const deprecatedDefault: {
|
|
|
28
28
|
type: PropType<ERowKind>;
|
|
29
29
|
};
|
|
30
30
|
}>>, {}, {}, {}, {}, {}>;
|
|
31
|
-
__isFragment?:
|
|
32
|
-
__isTeleport?:
|
|
33
|
-
__isSuspense?:
|
|
31
|
+
__isFragment?: never;
|
|
32
|
+
__isTeleport?: never;
|
|
33
|
+
__isSuspense?: never;
|
|
34
34
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
35
35
|
kind: {
|
|
36
36
|
type: PropType<ERowKind>;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { ERowKind } from './_typings';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
kind?: ERowKind | undefined;
|
|
6
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
kind?: ERowKind | undefined;
|
|
8
|
-
}>>>, {}, {}>, {
|
|
4
|
+
declare function __VLS_template(): {
|
|
9
5
|
default?(_: {}): any;
|
|
10
|
-
}
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
kind?: ERowKind;
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
kind?: ERowKind;
|
|
11
|
+
}>>>, {}, {}>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
13
|
export default _default;
|
|
12
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
15
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-table-row.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui-table/ui-table-row/ui-table-row.vue"],"names":[],"mappings":"AAQA;AAEC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"ui-table-row.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui-table/ui-table-row/ui-table-row.vue"],"names":[],"mappings":"AAQA;AAEC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAYvC,iBAAS,cAAc;qBA0CM,GAAG;EAK/B;AAWD,QAAA,MAAM,eAAe;WAMZ,QAAQ;;WAAR,QAAQ;aAEf,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,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".ui-table-row[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".ui-table-row[data-v-a9579e20] td:first-child{border-top-left-radius:var(--xxs);border-bottom-left-radius:var(--xxs);text-align:left}.ui-table-row[data-v-a9579e20] td:last-child{border-top-right-radius:var(--xxs);border-bottom-right-radius:var(--xxs);text-align:right}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
import o from "./ui-table-row.vue3.js";
|
|
3
3
|
|
|
4
4
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a9579e20"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=ui-table-row.vue.js.map
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { ETableKind } from './_types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
kind?: ETableKind;
|
|
6
9
|
}>, {
|
|
7
10
|
kind: ETableKind;
|
|
8
11
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
kind?: ETableKind
|
|
12
|
+
kind?: ETableKind;
|
|
10
13
|
}>, {
|
|
11
14
|
kind: ETableKind;
|
|
12
15
|
}>>>, {
|
|
13
16
|
kind: ETableKind;
|
|
14
|
-
}, {}
|
|
15
|
-
|
|
16
|
-
}>;
|
|
17
|
+
}, {}>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
17
19
|
export default _default;
|
|
18
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
21
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-table.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-table/ui-table.vue"],"names":[],"mappings":"AAWA;AAEC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"ui-table.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-table/ui-table.vue"],"names":[],"mappings":"AAWA;AAEC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAgBvC,iBAAS,cAAc;qBAmDM,GAAG;EAK/B;AAWD,QAAA,MAAM,eAAe;WAMZ,UAAU;;;;WAAV,UAAU;;;;UAAV,UAAU;MAEjB,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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-table__secondary[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-table__secondary[data-v-93c36bf4] tr:nth-child(odd){background-color:var(--color-secondary-alt-200)}.ui-table__secondary-inverted[data-v-93c36bf4] tr:nth-child(2n){background-color:var(--color-secondary-alt-200)}")),document.head.appendChild(e)}}catch(c){console.error("vite-plugin-css-injected-by-js",c)}})();
|
|
2
2
|
import o from "./ui-table.vue2.js";
|
|
3
3
|
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-93c36bf4"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=ui-table.vue.js.map
|
|
@@ -8,7 +8,7 @@ const p = /* @__PURE__ */ o({
|
|
|
8
8
|
setup(i) {
|
|
9
9
|
return (e, s) => (t(), a("table", {
|
|
10
10
|
class: l([
|
|
11
|
-
"ui-table rounded-
|
|
11
|
+
"ui-table rounded-xl",
|
|
12
12
|
e.kind === r(n).SECONDARY && "ui-table__secondary",
|
|
13
13
|
e.kind === r(n).SECONDARY_INVERTED && "ui-table__secondary-inverted"
|
|
14
14
|
])
|
|
@@ -2,7 +2,7 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes,
|
|
|
2
2
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
tabs: string[];
|
|
4
4
|
modelValue: string;
|
|
5
|
-
name?: string
|
|
5
|
+
name?: string;
|
|
6
6
|
}>, {
|
|
7
7
|
name: string;
|
|
8
8
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -10,7 +10,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
10
10
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
11
|
tabs: string[];
|
|
12
12
|
modelValue: string;
|
|
13
|
-
name?: string
|
|
13
|
+
name?: string;
|
|
14
14
|
}>, {
|
|
15
15
|
name: string;
|
|
16
16
|
}>>> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-tabs/ui-tabs.vue"],"names":[],"mappings":"AA4BA;;UA0JQ,MAAM,EAAE;gBACF,MAAM
|
|
1
|
+
{"version":3,"file":"ui-tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-tabs/ui-tabs.vue"],"names":[],"mappings":"AA4BA;;UA0JQ,MAAM,EAAE;gBACF,MAAM;WACX,MAAM;;;;;;UAFP,MAAM,EAAE;gBACF,MAAM;WACX,MAAM;;;;;;UAAN,MAAM;;AARf,wBAWG;AACH,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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-tabs[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-tabs[data-v-8192ff30]{padding:2px}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import o from "./ui-tabs.vue2.js";
|
|
3
3
|
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8192ff30"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=ui-tabs.vue.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as f, computed as _, openBlock as a, createElementBlock as r, Fragment as g, renderList as h, normalizeClass as v, createElementVNode as n, withDirectives as E, vModelRadio as V, createVNode as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as f, computed as _, openBlock as a, createElementBlock as r, Fragment as g, renderList as h, normalizeClass as v, createElementVNode as n, withDirectives as E, vModelRadio as V, createVNode as x, unref as t, withCtx as y, createTextVNode as b, toDisplayString as k } from "vue";
|
|
2
|
+
import w from "../ui-typography/index.js";
|
|
3
3
|
import { EColors as i } from "../../_types/colors.js";
|
|
4
4
|
import { ETypographySizes as C, ETextWeight as D } from "../ui-typography/_typings.js";
|
|
5
|
-
const S = { class: "ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200" }, N = { class: "block cursor-pointer px-md py-
|
|
5
|
+
const S = { class: "ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200" }, N = { class: "block cursor-pointer px-md py-xxs" }, z = ["value", "name"], T = /* @__PURE__ */ f({
|
|
6
6
|
__name: "ui-tabs",
|
|
7
7
|
props: {
|
|
8
8
|
tabs: {},
|
|
@@ -34,14 +34,14 @@ const S = { class: "ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200
|
|
|
34
34
|
}, null, 8, z), [
|
|
35
35
|
[V, o.value]
|
|
36
36
|
]),
|
|
37
|
-
|
|
37
|
+
x(t(w), {
|
|
38
38
|
is: "span",
|
|
39
39
|
size: t(C).XS,
|
|
40
40
|
kind: o.value === e ? t(i).SECONDARY_500 : t(i).SECONDARY_400,
|
|
41
41
|
weight: t(D).SEMI_BOLD
|
|
42
42
|
}, {
|
|
43
|
-
default:
|
|
44
|
-
k(
|
|
43
|
+
default: y(() => [
|
|
44
|
+
b(k(e), 1)
|
|
45
45
|
]),
|
|
46
46
|
_: 2
|
|
47
47
|
}, 1032, ["size", "kind", "weight"])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-tabs.vue2.js","sources":["../../../src/components/ui-tabs/ui-tabs.vue"],"sourcesContent":["<template>\n\t<ul class=\"ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200\">\n\t\t<li\n\t\t\tv-for=\"tab in tabs\"\n\t\t\t:key=\"tab\"\n\t\t\tclass=\"rounded-full text-center\"\n\t\t\t:class=\"[tabsModel === tab && 'bg-white']\"\n\t\t>\n\t\t\t<label class=\"block cursor-pointer px-md py-
|
|
1
|
+
{"version":3,"file":"ui-tabs.vue2.js","sources":["../../../src/components/ui-tabs/ui-tabs.vue"],"sourcesContent":["<template>\n\t<ul class=\"ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200\">\n\t\t<li\n\t\t\tv-for=\"tab in tabs\"\n\t\t\t:key=\"tab\"\n\t\t\tclass=\"rounded-full text-center\"\n\t\t\t:class=\"[tabsModel === tab && 'bg-white']\"\n\t\t>\n\t\t\t<label class=\"block cursor-pointer px-md py-xxs\">\n\t\t\t\t<input\n\t\t\t\t\tv-model=\"tabsModel\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tclass=\"absolute appearance-none\"\n\t\t\t\t\t:value=\"tab\"\n\t\t\t\t\t:name=\"name\"\n\t\t\t\t>\n\t\t\t\t<ui-typography\n\t\t\t\t\tis=\"span\"\n\t\t\t\t\t:size=\"ETypographySizes.XS\"\n\t\t\t\t\t:kind=\"tabsModel === tab ? EColors.SECONDARY_500 : EColors.SECONDARY_400\"\n\t\t\t\t\t:weight=\"ETextWeight.SEMI_BOLD\"\n\t\t\t\t>\n\t\t\t\t\t{{ tab }}\n\t\t\t\t</ui-typography>\n\t\t\t</label>\n\t\t</li>\n\t</ul>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiTypography, { ETypographySizes, ETextWeight } from \"../ui-typography\";\n\timport { EColors } from \"../../_types/colors\";\n\n\tconst props = withDefaults(defineProps<{\n\t\ttabs: string[];\n\t\tmodelValue: string;\n\t\tname?: string;\n\t}>(), {\n\t\tname: \"default\"\n\t});\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst tabsModel = 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\n</script>\n\n<style scoped>\n\t.ui-tabs {\n\t\tpadding: 2px;\n\t}\n</style>\n"],"names":["props","__props","emit","__emit","tabsModel","computed","value"],"mappings":";;;;;;;;;;;;;AAkCC,UAAMA,IAAQC,GAQRC,IAAOC,GAEPC,IAAYC,EAAS;AAAA,MAC1B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -91,9 +91,9 @@ declare const deprecatedDefault: {
|
|
|
91
91
|
}>> & {
|
|
92
92
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
}, {}, {}, {}, {}, {}>;
|
|
94
|
-
__isFragment?:
|
|
95
|
-
__isTeleport?:
|
|
96
|
-
__isSuspense?:
|
|
94
|
+
__isFragment?: never;
|
|
95
|
+
__isTeleport?: never;
|
|
96
|
+
__isSuspense?: never;
|
|
97
97
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
98
98
|
header: {
|
|
99
99
|
type: PropType<string>;
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
declare
|
|
3
|
-
header
|
|
4
|
-
title
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
header?(_: {}): any;
|
|
4
|
+
title?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
header?: string;
|
|
8
|
+
title?: string;
|
|
5
9
|
modelValue: boolean | unknown[];
|
|
6
|
-
disabled?: boolean
|
|
7
|
-
invertOrder?: boolean
|
|
8
|
-
alignCenter?: boolean
|
|
9
|
-
value?: string
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
invertOrder?: boolean;
|
|
12
|
+
alignCenter?: boolean;
|
|
13
|
+
value?: string;
|
|
10
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
15
|
"update:modelValue": (...args: any[]) => void;
|
|
12
16
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
header?: string
|
|
14
|
-
title?: string
|
|
17
|
+
header?: string;
|
|
18
|
+
title?: string;
|
|
15
19
|
modelValue: boolean | unknown[];
|
|
16
|
-
disabled?: boolean
|
|
17
|
-
invertOrder?: boolean
|
|
18
|
-
alignCenter?: boolean
|
|
19
|
-
value?: string
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
invertOrder?: boolean;
|
|
22
|
+
alignCenter?: boolean;
|
|
23
|
+
value?: string;
|
|
20
24
|
}>>> & {
|
|
21
25
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}, {}, {}
|
|
23
|
-
|
|
24
|
-
title?(_: {}): any;
|
|
25
|
-
}>;
|
|
26
|
+
}, {}, {}>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
28
|
export default _default;
|
|
27
29
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
30
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-toggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-toggle/ui-toggle.vue"],"names":[],"mappings":"AAoEA
|
|
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,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,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var
|
|
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)}})();
|
|
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 p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-171e5e29"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
p as default
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=ui-toggle.vue.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
2
|
import g 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-
|
|
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
5
|
d: "M1 4.40106L6.60071 10.1135L15.1694 1.71245",
|
|
6
6
|
stroke: "currentColor",
|
|
7
7
|
"stroke-width": "1.6",
|
|
@@ -20,16 +20,16 @@ const b = (o) => (V("data-v-b5feca0a"), o = o(), S(), o), E = { class: "ui-toggl
|
|
|
20
20
|
value: {}
|
|
21
21
|
},
|
|
22
22
|
emits: ["update:modelValue"],
|
|
23
|
-
setup(o, { emit:
|
|
24
|
-
const
|
|
23
|
+
setup(o, { emit: v }) {
|
|
24
|
+
const _ = o, f = v, r = y({
|
|
25
25
|
get() {
|
|
26
|
-
return
|
|
26
|
+
return _.modelValue;
|
|
27
27
|
},
|
|
28
28
|
set(e) {
|
|
29
|
-
|
|
29
|
+
f("update:modelValue", e);
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
|
-
return (e,
|
|
32
|
+
return (e, a) => (l(), i("div", E, [
|
|
33
33
|
n(e.$slots, "header", {}, () => [
|
|
34
34
|
e.header || e.$slots.header ? (l(), d(s(g), {
|
|
35
35
|
key: 0,
|
|
@@ -52,12 +52,12 @@ const b = (o) => (V("data-v-b5feca0a"), o = o(), S(), o), E = { class: "ui-toggl
|
|
|
52
52
|
}, [
|
|
53
53
|
t("span", M, [
|
|
54
54
|
B(t("input", {
|
|
55
|
-
"onUpdate:modelValue":
|
|
55
|
+
"onUpdate:modelValue": a[0] || (a[0] = (w) => r.value = w),
|
|
56
56
|
type: "checkbox",
|
|
57
57
|
class: "absolute size-0 appearance-none border-0",
|
|
58
58
|
value: e.value
|
|
59
59
|
}, null, 8, I), [
|
|
60
|
-
[C,
|
|
60
|
+
[C, r.value]
|
|
61
61
|
]),
|
|
62
62
|
$,
|
|
63
63
|
t("span", L, [
|
|
@@ -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-
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -91,9 +91,9 @@ declare const deprecatedDefault: {
|
|
|
91
91
|
type: PropType<string | Component>;
|
|
92
92
|
};
|
|
93
93
|
}>>, {}, {}, {}, {}, {}>;
|
|
94
|
-
__isFragment?:
|
|
95
|
-
__isTeleport?:
|
|
96
|
-
__isSuspense?:
|
|
94
|
+
__isFragment?: never;
|
|
95
|
+
__isTeleport?: never;
|
|
96
|
+
__isSuspense?: never;
|
|
97
97
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
98
98
|
align: {
|
|
99
99
|
type: PropType<ETextAlign>;
|
|
@@ -2,27 +2,29 @@ import { Component, DefineComponent, ComponentOptionsMixin, PublicProps, Extract
|
|
|
2
2
|
import { ETextAlign, ETextTransform, ETextWeight, ETypographySizes } from './_typings';
|
|
3
3
|
import { EColors } from '../../_types/colors';
|
|
4
4
|
|
|
5
|
-
declare
|
|
6
|
-
align?: ETextAlign | undefined;
|
|
7
|
-
size?: ETypographySizes | undefined;
|
|
8
|
-
kind?: EColors | undefined;
|
|
9
|
-
weight?: ETextWeight | undefined;
|
|
10
|
-
lineHeight?: boolean | undefined;
|
|
11
|
-
textTransform?: ETextTransform | undefined;
|
|
12
|
-
underline?: boolean | undefined;
|
|
13
|
-
is?: string | Component | undefined;
|
|
14
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
-
align?: ETextAlign | undefined;
|
|
16
|
-
size?: ETypographySizes | undefined;
|
|
17
|
-
kind?: EColors | undefined;
|
|
18
|
-
weight?: ETextWeight | undefined;
|
|
19
|
-
lineHeight?: boolean | undefined;
|
|
20
|
-
textTransform?: ETextTransform | undefined;
|
|
21
|
-
underline?: boolean | undefined;
|
|
22
|
-
is?: string | Component | undefined;
|
|
23
|
-
}>>>, {}, {}>, {
|
|
5
|
+
declare function __VLS_template(): {
|
|
24
6
|
default?(_: {}): any;
|
|
25
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
align?: ETextAlign;
|
|
10
|
+
size?: ETypographySizes;
|
|
11
|
+
kind?: EColors;
|
|
12
|
+
weight?: ETextWeight;
|
|
13
|
+
lineHeight?: boolean;
|
|
14
|
+
textTransform?: ETextTransform;
|
|
15
|
+
underline?: boolean;
|
|
16
|
+
is?: string | Component;
|
|
17
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
+
align?: ETextAlign;
|
|
19
|
+
size?: ETypographySizes;
|
|
20
|
+
kind?: EColors;
|
|
21
|
+
weight?: ETextWeight;
|
|
22
|
+
lineHeight?: boolean;
|
|
23
|
+
textTransform?: ETextTransform;
|
|
24
|
+
underline?: boolean;
|
|
25
|
+
is?: string | Component;
|
|
26
|
+
}>>>, {}, {}>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
28
|
export default _default;
|
|
27
29
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
30
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -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":"AAiGA;AAEC,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;AAkB/C,iBAAS,cAAc;qBA4HM,GAAG;EAK/B;AAsBD,QAAA,MAAM,eAAe;YAMX,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;aAEvB,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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as R, openBlock as
|
|
1
|
+
import { defineComponent as R, openBlock as A, createBlock as o, resolveDynamicComponent as k, normalizeClass as s, unref as n, withCtx as l, renderSlot as E } from "vue";
|
|
2
2
|
import { ETypographySizes as i, ETextWeight as r, ETextAlign as a, ETextTransform as d } from "./_typings.js";
|
|
3
3
|
import { EColors as t } from "../../_types/colors.js";
|
|
4
4
|
const m = /* @__PURE__ */ R({
|
|
@@ -14,8 +14,8 @@ const m = /* @__PURE__ */ R({
|
|
|
14
14
|
is: {}
|
|
15
15
|
},
|
|
16
16
|
setup(T) {
|
|
17
|
-
return (e, C) => (
|
|
18
|
-
class:
|
|
17
|
+
return (e, C) => (A(), o(k(e.is || "p"), {
|
|
18
|
+
class: s(["ui-typography", [
|
|
19
19
|
e.size === n(i).MD && "text-md",
|
|
20
20
|
e.size === n(i).XXS && "text-xxs",
|
|
21
21
|
e.size === n(i).XS && "text-xs",
|
|
@@ -67,7 +67,11 @@ const m = /* @__PURE__ */ R({
|
|
|
67
67
|
e.kind === n(t).ACCENT_600 && "text-accent-600",
|
|
68
68
|
e.kind === n(t).ACCENT_700 && "text-accent-700",
|
|
69
69
|
e.kind === n(t).ACCENT_ALT && "text-accent-alt",
|
|
70
|
+
e.kind === n(t).ACCENT_ALT_300 && "text-accent-alt-300",
|
|
71
|
+
e.kind === n(t).ACCENT_ALT_400 && "text-accent-alt-400",
|
|
70
72
|
e.kind === n(t).ACCENT_ALT_500 && "text-accent-alt-500",
|
|
73
|
+
e.kind === n(t).ACCENT_ALT_600 && "text-accent-alt-600",
|
|
74
|
+
e.kind === n(t).ACCENT_ALT_700 && "text-accent-alt-700",
|
|
71
75
|
e.kind === n(t).SECONDARY_ALT && "text-secondary-alt",
|
|
72
76
|
e.kind === n(t).SECONDARY_ALT_200 && "text-secondary-alt-200",
|
|
73
77
|
e.kind === n(t).SECONDARY_ALT_300 && "text-secondary-alt-300",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-typography.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-typography.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|