@profitliga/ui 2.0.2 → 2.0.4
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/dist/components/AlertDialog/AlertDialogAction.vue.js +2 -3
- package/dist/components/AlertDialog/AlertDialogCancel.vue.js +8 -9
- package/dist/components/AlertDialog/AlertDialogTrigger.vue.js +7 -8
- package/dist/components/Button/Button.css +1 -1
- package/dist/components/Button/Button.vue.js +5 -52
- package/dist/components/Button/Button.vue2.js +52 -3
- package/dist/components/Calendar/CalendarNext.vue.js +3 -4
- package/dist/components/Calendar/CalendarPrev.vue.js +7 -8
- package/dist/components/ConfirmDialog/ConfirmDialog.vue2.js +11 -12
- package/dist/components/DatePicker/DatePickerNext.vue.js +1 -2
- package/dist/components/DatePicker/DatePickerPrev.vue.js +7 -8
- package/dist/components/DateRangePicker/DateRangePickerNext.vue.js +6 -7
- package/dist/components/DateRangePicker/DateRangePickerPrev.vue.js +7 -8
- package/dist/components/RangeCalendar/RangeCalendarNext.vue.js +3 -4
- package/dist/components/RangeCalendar/RangeCalendarPrev.vue.js +3 -4
- package/dist/components/Schedule/Schedule.vue2.js +38 -39
- package/dist/components/index.js +391 -392
- package/dist/components/v2/AlertDialog/AlertDialog.css +1 -1
- package/dist/components/v2/AlertDialog/AlertDialog.types.d.ts +2 -2
- package/dist/components/v2/AlertDialog/AlertDialog.vue.d.ts +2 -2
- package/dist/components/v2/AlertDialog/AlertDialog.vue.js +2 -2
- package/dist/components/v2/AlertDialog/AlertDialog.vue2.js +29 -29
- package/dist/components/v2/Checkbox/Checkbox.css +1 -1
- package/dist/components/v2/Checkbox/Checkbox.types.d.ts +11 -0
- package/dist/components/v2/Checkbox/Checkbox.vue.d.ts +2 -0
- package/dist/components/v2/Checkbox/Checkbox.vue.js +2 -2
- package/dist/components/v2/Checkbox/Checkbox.vue2.js +61 -49
- package/dist/components/v2/Combobox/Combobox.css +1 -1
- package/dist/components/v2/Combobox/Combobox.types.d.ts +28 -2
- package/dist/components/v2/Combobox/Combobox.vue.d.ts +3 -2
- package/dist/components/v2/Combobox/Combobox.vue.js +1 -1
- package/dist/components/v2/Combobox/Combobox.vue2.js +305 -251
- package/dist/components/v2/ConfirmDialog/ConfirmDialog.types.d.ts +2 -2
- package/dist/components/v2/ConfirmDialog/ConfirmDialog.vue.d.ts +2 -2
- package/dist/components/v2/ConfirmDialog/ConfirmDialog.vue.js +6 -6
- package/dist/components/v2/DatePicker/DatePicker.css +1 -1
- package/dist/components/v2/DatePicker/DatePicker.types.d.ts +2 -2
- package/dist/components/v2/DatePicker/DatePicker.vue.d.ts +2 -2
- package/dist/components/v2/DatePicker/DatePicker.vue.js +2 -2
- package/dist/components/v2/DatePicker/DatePicker.vue2.js +54 -54
- package/dist/components/v2/Divider/Divider.css +1 -1
- package/dist/components/v2/Divider/Divider.types.d.ts +8 -0
- package/dist/components/v2/Divider/Divider.vue.js +2 -2
- package/dist/components/v2/DropdownMenu/DropdownMenu.types.d.ts +2 -2
- package/dist/components/v2/DropdownMenu/DropdownMenu.vue.d.ts +2 -2
- package/dist/components/v2/DropdownMenu/DropdownMenu.vue2.js +6 -6
- package/dist/components/v2/FileUpload/FileUpload.css +1 -1
- package/dist/components/v2/FileUpload/FileUpload.vue.js +2 -2
- package/dist/components/v2/FileUpload/FileUpload.vue2.js +16 -16
- package/dist/components/v2/FormField/FormField.css +1 -0
- package/dist/components/v2/FormField/FormField.types.d.ts +48 -0
- package/dist/components/v2/FormField/FormField.vue.d.ts +25 -0
- package/dist/components/v2/FormField/FormField.vue.js +8 -0
- package/dist/components/v2/FormField/FormField.vue2.js +54 -0
- package/dist/components/v2/FormField/index.d.ts +3 -0
- package/dist/components/v2/Image/Image.css +1 -0
- package/dist/components/v2/Image/Image.types.d.ts +26 -0
- package/dist/components/v2/Image/Image.vue.d.ts +16 -0
- package/dist/components/v2/Image/Image.vue.js +8 -0
- package/dist/components/v2/Image/Image.vue2.js +91 -0
- package/dist/components/v2/Image/ImageList.css +1 -0
- package/dist/components/v2/Image/ImageList.types.d.ts +28 -0
- package/dist/components/v2/Image/ImageList.vue.d.ts +15 -0
- package/dist/components/v2/Image/ImageList.vue.js +8 -0
- package/dist/components/v2/Image/ImageList.vue2.js +38 -0
- package/dist/components/v2/Image/index.d.ts +5 -0
- package/dist/components/v2/Input/Input.css +1 -1
- package/dist/components/v2/Input/Input.vue.js +2 -2
- package/dist/components/v2/Input/Input.vue2.js +113 -107
- package/dist/components/v2/InputNumber/InputNumber.css +1 -1
- package/dist/components/v2/InputNumber/InputNumber.vue.js +2 -2
- package/dist/components/v2/InputNumber/InputNumber.vue2.js +22 -21
- package/dist/components/v2/InputSelect/InputSelect.types.d.ts +2 -2
- package/dist/components/v2/InputSelect/InputSelect.vue.d.ts +2 -2
- package/dist/components/v2/InputSelect/InputSelect.vue.js +14 -14
- package/dist/components/v2/InputSelect/InputSelectChip.css +1 -1
- package/dist/components/v2/InputSelect/InputSelectChip.vue.d.ts +3 -3
- package/dist/components/v2/InputSelect/InputSelectChip.vue.js +2 -2
- package/dist/components/v2/InputSelect/InputSelectChip.vue2.js +17 -17
- package/dist/components/v2/Popover/Popover.css +1 -1
- package/dist/components/v2/Popover/Popover.types.d.ts +2 -2
- package/dist/components/v2/Popover/Popover.vue.d.ts +2 -2
- package/dist/components/v2/Popover/Popover.vue.js +2 -2
- package/dist/components/v2/Popover/Popover.vue2.js +24 -24
- package/dist/components/v2/Radio/Radio.css +1 -1
- package/dist/components/v2/Radio/Radio.vue.d.ts +4 -0
- package/dist/components/v2/Radio/Radio.vue.js +1 -1
- package/dist/components/v2/Radio/Radio.vue2.js +57 -49
- package/dist/components/v2/Schedule/Schedule.css +1 -1
- package/dist/components/v2/Schedule/Schedule.types.d.ts +2 -2
- package/dist/components/v2/Schedule/Schedule.vue.d.ts +2 -2
- package/dist/components/v2/Schedule/Schedule.vue.js +3 -3
- package/dist/components/v2/Schedule/Schedule.vue2.js +55 -55
- package/dist/components/v2/Select/Select.css +1 -1
- package/dist/components/v2/Select/Select.types.d.ts +8 -2
- package/dist/components/v2/Select/Select.vue.js +3 -3
- package/dist/components/v2/Select/Select.vue2.js +143 -127
- package/dist/components/v2/Toast/Toast.types.d.ts +2 -2
- package/dist/components/v2/Toast/Toaster.css +1 -1
- package/dist/components/v2/Toast/Toaster.vue.d.ts +2 -2
- package/dist/components/v2/Toast/Toaster.vue.js +1 -1
- package/dist/components/v2/Toast/Toaster.vue2.js +17 -17
- package/dist/components/v2/Tooltip/Tooltip.css +1 -1
- package/dist/components/v2/Tooltip/Tooltip.types.d.ts +2 -2
- package/dist/components/v2/Tooltip/Tooltip.vue.d.ts +2 -2
- package/dist/components/v2/Tooltip/Tooltip.vue.js +1 -1
- package/dist/components/v2/Tooltip/Tooltip.vue2.js +39 -38
- package/dist/components/v2/Tooltip/TooltipContent.css +1 -1
- package/dist/components/v2/Tooltip/TooltipContent.vue.d.ts +2 -2
- package/dist/components/v2/Tooltip/TooltipContent.vue.js +2 -2
- package/dist/components/v2/Tooltip/TooltipContent.vue2.js +20 -20
- package/dist/components/v2/Tooltip/vTooltip.directive.js +40 -41
- package/dist/components/v2/index.d.ts +2 -0
- package/dist/components/v2/index.js +82 -76
- package/dist/components/v2/shared/isHtmlElement.util.d.ts +15 -0
- package/dist/components/v2/shared/isHtmlElement.util.js +10 -0
- package/dist/components/v2/shared/useIsMobile.util.d.ts +13 -0
- package/dist/components/v2/shared/useIsMobile.util.js +8 -0
- package/dist/components/v2/shared/useTriggerAria.util.js +4 -3
- package/dist/types/global.types.d.ts +10 -0
- package/package.json +3 -1
|
@@ -3,16 +3,16 @@ import '../../styles/tokens.css';
|
|
|
3
3
|
import { default as t } from "./ConfirmDialog/ConfirmDialog.vue.js";
|
|
4
4
|
import { default as f } from "./InputPhone/InputPhone.vue.js";
|
|
5
5
|
import { default as p } from "./InputSelect/InputSelect.vue.js";
|
|
6
|
-
import { default as
|
|
6
|
+
import { default as d } from "./Accordion/Accordion.vue.js";
|
|
7
7
|
import { default as u } from "./AlertDialog/AlertDialog.vue.js";
|
|
8
8
|
import { default as i } from "./Badge/Badge.vue.js";
|
|
9
9
|
import { default as D } from "./BottomSheet/BottomSheet.vue.js";
|
|
10
10
|
import { default as S } from "./Breadcrumb/Breadcrumb.vue.js";
|
|
11
11
|
import { default as A } from "./Button/Button.vue.js";
|
|
12
|
-
import { default as
|
|
12
|
+
import { default as L } from "./Calendar/Calendar.vue.js";
|
|
13
13
|
import { default as _ } from "./Checkbox/Checkbox.vue.js";
|
|
14
|
-
import { default as
|
|
15
|
-
import { DEFAULT_DAY_LABELS as
|
|
14
|
+
import { default as I } from "./Combobox/Combobox.vue.js";
|
|
15
|
+
import { DEFAULT_DAY_LABELS as E, DEFAULT_DAY_SHORT_LABELS as F, SCHEDULE_DAYS as U } from "./Schedule/Schedule.util.js";
|
|
16
16
|
import { default as B } from "./DataTable/DataTable.vue.js";
|
|
17
17
|
import { default as H } from "./DataTable/DataTableBody.vue.js";
|
|
18
18
|
import { default as R } from "./DataTable/DataTableFooter.vue.js";
|
|
@@ -29,49 +29,52 @@ import { default as ae } from "./File/File.vue.js";
|
|
|
29
29
|
import { default as te } from "./File/FilePreviewDialog.vue.js";
|
|
30
30
|
import { default as fe } from "./FileUpload/FileUpload.vue.js";
|
|
31
31
|
import { default as pe } from "./FileUpload/FileUploadInline.vue.js";
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as ue } from "./
|
|
34
|
-
import { default as ie } from "./
|
|
35
|
-
import { default as De } from "./
|
|
36
|
-
import { default as Se } from "./
|
|
37
|
-
import {
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import {
|
|
41
|
-
import { default as Ue } from "./
|
|
42
|
-
import { default as Be } from "./
|
|
43
|
-
import { default as He } from "./
|
|
44
|
-
import { default as Re } from "./
|
|
45
|
-
import { default as we } from "./
|
|
46
|
-
import { default as Ne } from "./
|
|
47
|
-
import { default as ye } from "./
|
|
48
|
-
import { default as Ge } from "./
|
|
49
|
-
import {
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import {
|
|
53
|
-
import { default as oa } from "./Tabs/
|
|
54
|
-
import { default as ra } from "./Tabs/
|
|
55
|
-
import { default as la } from "./
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as sa } from "./
|
|
58
|
-
import { default as xa } from "./
|
|
59
|
-
import { default as Ta } from "./
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
32
|
+
import { default as de } from "./FormField/FormField.vue.js";
|
|
33
|
+
import { default as ue } from "./Image/Image.vue.js";
|
|
34
|
+
import { default as ie } from "./Image/ImageList.vue.js";
|
|
35
|
+
import { default as De } from "./Indicator/Indicator.vue.js";
|
|
36
|
+
import { default as Se } from "./Input/Input.vue.js";
|
|
37
|
+
import { default as Ae } from "./InputNumber/InputNumber.vue.js";
|
|
38
|
+
import { default as Le } from "./Message/Message.vue.js";
|
|
39
|
+
import { default as _e } from "./OTPCode/OTPCode.vue.js";
|
|
40
|
+
import { PHONE_MASK_PLACEHOLDER as Ie, extractPhoneDigits as Pe, formatPhone as Ee } from "./InputPhone/phoneMask.util.js";
|
|
41
|
+
import { default as Ue } from "./Pagination/Pagination.vue.js";
|
|
42
|
+
import { default as Be } from "./Pagination/PaginationPageSize.vue.js";
|
|
43
|
+
import { default as He } from "./Popover/Popover.vue.js";
|
|
44
|
+
import { default as Re } from "./Radio/Radio.vue.js";
|
|
45
|
+
import { default as we } from "./Radio/RadioGroup.vue.js";
|
|
46
|
+
import { default as Ne } from "./Radio/RadioMarker.vue.js";
|
|
47
|
+
import { default as ye } from "./Schedule/Schedule.vue.js";
|
|
48
|
+
import { default as Ge } from "./Select/Select.vue.js";
|
|
49
|
+
import { default as je } from "./Stepper/Stepper.vue.js";
|
|
50
|
+
import { default as Je } from "./Stepper/StepperItem.vue.js";
|
|
51
|
+
import { default as Ve } from "./Switch/Switch.vue.js";
|
|
52
|
+
import { TOAST_DEFAULT_DURATION_MS as Xe, TOAST_DEFAULT_LIMIT as Ze, toast as $e, useToast as ea } from "./Toast/useToast.js";
|
|
53
|
+
import { default as oa } from "./Tabs/Tabs.vue.js";
|
|
54
|
+
import { default as ra } from "./Tabs/TabsContent.vue.js";
|
|
55
|
+
import { default as la } from "./Tabs/TabsCounter.vue.js";
|
|
56
|
+
import { default as ma } from "./Tabs/TabsList.vue.js";
|
|
57
|
+
import { default as sa } from "./Tabs/TabsTrigger.vue.js";
|
|
58
|
+
import { default as xa } from "./Tag/Tag.vue.js";
|
|
59
|
+
import { default as Ta } from "./Textarea/Textarea.vue.js";
|
|
60
|
+
import { default as na } from "./Toast/Toast.vue.js";
|
|
61
|
+
import { default as ba } from "./Toast/Toaster.vue.js";
|
|
62
|
+
import { default as ga } from "./Tooltip/Tooltip.vue.js";
|
|
63
|
+
import { confirmState as ca, useConfirm as _a } from "./ConfirmDialog/useConfirm.js";
|
|
64
|
+
import { createDataTableColumns as Ia } from "./DataTable/DataTable.columns.js";
|
|
65
|
+
import { vTooltip as Ea } from "./Tooltip/vTooltip.directive.js";
|
|
63
66
|
export {
|
|
64
|
-
|
|
67
|
+
d as Accordion,
|
|
65
68
|
u as AlertDialog,
|
|
66
69
|
i as Badge,
|
|
67
70
|
D as BottomSheet,
|
|
68
71
|
S as Breadcrumb,
|
|
69
72
|
A as Button,
|
|
70
|
-
|
|
73
|
+
L as Calendar,
|
|
71
74
|
_ as Checkbox,
|
|
72
|
-
|
|
75
|
+
I as Combobox,
|
|
73
76
|
t as ConfirmDialog,
|
|
74
|
-
|
|
77
|
+
E as DEFAULT_DAY_LABELS,
|
|
75
78
|
F as DEFAULT_DAY_SHORT_LABELS,
|
|
76
79
|
B as DataTable,
|
|
77
80
|
H as DataTableBody,
|
|
@@ -89,44 +92,47 @@ export {
|
|
|
89
92
|
te as FilePreviewDialog,
|
|
90
93
|
fe as FileUpload,
|
|
91
94
|
pe as FileUploadInline,
|
|
92
|
-
|
|
93
|
-
ue as
|
|
94
|
-
ie as
|
|
95
|
+
de as FormField,
|
|
96
|
+
ue as Image,
|
|
97
|
+
ie as ImageList,
|
|
98
|
+
De as Indicator,
|
|
99
|
+
Se as Input,
|
|
100
|
+
Ae as InputNumber,
|
|
95
101
|
f as InputPhone,
|
|
96
102
|
p as InputSelect,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
Le as Message,
|
|
104
|
+
_e as OTPCode,
|
|
105
|
+
Ie as PHONE_MASK_PLACEHOLDER,
|
|
106
|
+
Ue as Pagination,
|
|
107
|
+
Be as PaginationPageSize,
|
|
108
|
+
He as Popover,
|
|
109
|
+
Re as Radio,
|
|
110
|
+
we as RadioGroup,
|
|
111
|
+
Ne as RadioMarker,
|
|
106
112
|
U as SCHEDULE_DAYS,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
113
|
+
ye as Schedule,
|
|
114
|
+
Ge as Select,
|
|
115
|
+
je as Stepper,
|
|
116
|
+
Je as StepperItem,
|
|
117
|
+
Ve as Switch,
|
|
118
|
+
Xe as TOAST_DEFAULT_DURATION_MS,
|
|
119
|
+
Ze as TOAST_DEFAULT_LIMIT,
|
|
120
|
+
oa as Tabs,
|
|
121
|
+
ra as TabsContent,
|
|
122
|
+
la as TabsCounter,
|
|
123
|
+
ma as TabsList,
|
|
124
|
+
sa as TabsTrigger,
|
|
125
|
+
xa as Tag,
|
|
126
|
+
Ta as Textarea,
|
|
127
|
+
na as Toast,
|
|
128
|
+
ba as Toaster,
|
|
129
|
+
ga as Tooltip,
|
|
130
|
+
ca as confirmState,
|
|
131
|
+
Ia as createDataTableColumns,
|
|
132
|
+
Pe as extractPhoneDigits,
|
|
133
|
+
Ee as formatPhone,
|
|
134
|
+
$e as toast,
|
|
135
|
+
_a as useConfirm,
|
|
136
|
+
ea as useToast,
|
|
137
|
+
Ea as vTooltip
|
|
132
138
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Проверка «это элемент DOM», пригодная для рендера на сервере.
|
|
3
|
+
*
|
|
4
|
+
* Писать `node instanceof HTMLElement` напрямую нельзя: в Node глобального
|
|
5
|
+
* `HTMLElement` нет, и само обращение к имени роняет рендер с
|
|
6
|
+
* `ReferenceError`. Ловушка не теоретическая — `watchEffect` без коллбэка Vue
|
|
7
|
+
* выполняет один раз и на сервере, поэтому любая такая проверка в эффекте
|
|
8
|
+
* срабатывает при SSR, когда ref шаблона ещё null.
|
|
9
|
+
*
|
|
10
|
+
* `typeof` — единственная конструкция, которой необъявленный идентификатор не
|
|
11
|
+
* страшен, поэтому порядок операндов важен и менять его нельзя.
|
|
12
|
+
*/
|
|
13
|
+
export declare function isHtmlElement(node: unknown): node is HTMLElement;
|
|
14
|
+
/** То же самое для `<input>`: на сервере `HTMLInputElement` тоже отсутствует. */
|
|
15
|
+
export declare function isHtmlInputElement(node: unknown): node is HTMLInputElement;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { TBreakpointMobile } from '../../../types/global.types';
|
|
3
|
+
/**
|
|
4
|
+
* Единая точка, где проп `breakpointMobile` превращается в «сейчас мобильный
|
|
5
|
+
* вид». Нужна из-за значения `false`: у `useBreakpoints` порога «никогда»
|
|
6
|
+
* нет, поэтому выключение приходится обрабатывать до обращения к нему.
|
|
7
|
+
*
|
|
8
|
+
* Значение читается один раз при вызове — как и было у прямых вызовов
|
|
9
|
+
* `breakpoints.smaller(props.breakpointMobile)`: смена самого брейкпоинта на
|
|
10
|
+
* лету не поддерживалась и раньше, реагировать нужно на ширину экрана, а не
|
|
11
|
+
* на правку пропа.
|
|
12
|
+
*/
|
|
13
|
+
export declare function useIsMobile(breakpoint: TBreakpointMobile): ComputedRef<boolean>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { watchEffect as i } from "vue";
|
|
2
|
+
import { isHtmlElement as o } from "./isHtmlElement.util.js";
|
|
2
3
|
const n = [
|
|
3
4
|
"button",
|
|
4
5
|
'[role="button"]',
|
|
@@ -10,9 +11,9 @@ const n = [
|
|
|
10
11
|
].join(", ");
|
|
11
12
|
function a(e) {
|
|
12
13
|
const t = e?.firstElementChild;
|
|
13
|
-
return t
|
|
14
|
+
return o(t) ? t.matches(n) ? t : t.querySelector(n) : null;
|
|
14
15
|
}
|
|
15
|
-
function
|
|
16
|
+
function l(e) {
|
|
16
17
|
i(() => {
|
|
17
18
|
const t = a(e.host());
|
|
18
19
|
if (!t) return;
|
|
@@ -21,5 +22,5 @@ function s(e) {
|
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
+
l as useTriggerAria
|
|
25
26
|
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
export type TVariants = 'success' | 'secondary' | 'warning' | 'danger' | 'info';
|
|
2
2
|
export type TSize = 'extrasmall' | 'small' | 'medium' | 'large' | 'extralarge';
|
|
3
3
|
export type TBreakpoints = 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
|
|
4
|
+
/**
|
|
5
|
+
* Брейкпоинт, ниже которого компонент переключается на мобильный вид (обычно
|
|
6
|
+
* — на шторку снизу). `false` выключает переключение совсем: компонент
|
|
7
|
+
* остаётся десктопным на любой ширине.
|
|
8
|
+
*
|
|
9
|
+
* Отключение нужно там, где мобильный макет не шторка: например
|
|
10
|
+
* полноэкранная модалка авторизации. Самый мелкий брейкпоинт `sm` — это
|
|
11
|
+
* 640px, поэтому «поставить порог поменьше» вместо выключения не работает.
|
|
12
|
+
*/
|
|
13
|
+
export type TBreakpointMobile = TBreakpoints | false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@profitliga/ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"author": "Profit League<dev@pr-lg.ru>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Vue 3 UI component library with TypeScript and SCSS",
|
|
@@ -54,6 +54,8 @@
|
|
|
54
54
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,vue,scss,css,json}\"",
|
|
55
55
|
"check": "npm run type-check && npm run lint && npm run format:check",
|
|
56
56
|
"test:a11y": "vitest run --project=storybook",
|
|
57
|
+
"test:ssr": "vite build --config scripts/ssr-smoke/vite.config.ts && node node_modules/.ssr-smoke/entry.js",
|
|
58
|
+
"check:css-leak": "node scripts/check-css-leak.mjs",
|
|
57
59
|
"storybook": "storybook dev -p 6006",
|
|
58
60
|
"build-storybook": "storybook build",
|
|
59
61
|
"prepare": "husky"
|