@profitliga/ui 1.2.28 → 1.2.30
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/Button/Button.types.d.ts +3 -2
- package/dist/components/ChipCheckbox/ChipCheckbox.vue.d.ts +5 -5
- package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts +17 -0
- package/dist/components/DatePicker/DatePickerCalendar.vue.d.ts +18 -0
- package/dist/components/DatePicker/DatePickerCell.vue.d.ts +19 -0
- package/dist/components/DatePicker/DatePickerContent.vue.d.ts +5 -1
- package/dist/components/DatePicker/DatePickerGrid.vue.d.ts +19 -0
- package/dist/components/DatePicker/DatePickerRoot.vue.d.ts +8 -2
- package/dist/components/DatePicker/index.d.ts +6 -2
- package/dist/components/DateRangePicker/DateRangePicker.stories.d.ts +1 -0
- package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts +24 -0
- package/dist/components/DateRangePicker/DateRangePickerContent.vue.d.ts +7 -1
- package/dist/components/DateRangePicker/DateRangePickerRoot.vue.d.ts +8 -2
- package/dist/components/DateRangePicker/index.d.ts +2 -1
- package/dist/components/DropdownMenu/DropdownMenuContent.vue.d.ts +4 -0
- package/dist/components/Message/Message.vue.d.ts +1 -1
- package/dist/components/Popover/PopoverContent.vue.d.ts +3 -0
- package/dist/components/RangeCalendar/RangeCalendar.vue.d.ts +14 -5
- package/dist/components/index.js +2757 -2298
- package/dist/{dayjs.util-BSJhipyX.js → parseFileSize.util-D6rrCgGW.js} +15 -14
- package/dist/styles/colors.scss +14 -21
- package/dist/styles/index.scss +1 -1
- package/dist/styles/mixins.scss +6 -6
- package/dist/types/global.types.d.ts +1 -0
- package/dist/ui.css +1 -1
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/src/styles/colors.scss +14 -21
- package/src/styles/index.scss +1 -1
- package/src/styles/mixins.scss +6 -6
- package/dist/components/DateRangePickerMobile/DateRangePickerMobile.stories.d.ts +0 -6
- package/dist/components/DateRangePickerMobile/DateRangePickerMobile.vue.d.ts +0 -37
- package/dist/components/DateRangePickerMobile/DateRangePickerMobileBottomSheet.vue.d.ts +0 -13
- package/dist/components/DateRangePickerMobile/index.d.ts +0 -1
- package/dist/components/Popover/Popover.stories.d.ts +0 -11
package/src/styles/colors.scss
CHANGED
|
@@ -55,23 +55,19 @@
|
|
|
55
55
|
|
|
56
56
|
//PRIMARY
|
|
57
57
|
:root {
|
|
58
|
-
--theme-primary-50: #
|
|
59
|
-
--theme-primary-50_40: #
|
|
60
|
-
--theme-primary-
|
|
61
|
-
--theme-primary-
|
|
62
|
-
--theme-primary-
|
|
63
|
-
--theme-primary-
|
|
64
|
-
--theme-primary-
|
|
65
|
-
--theme-primary-
|
|
66
|
-
--theme-primary-
|
|
67
|
-
--theme-primary-
|
|
68
|
-
--theme-primary-
|
|
69
|
-
--theme-primary-
|
|
70
|
-
--theme-primary-
|
|
71
|
-
--theme-primary-600: #008925; //use pressed fill
|
|
72
|
-
--theme-primary-700: #00671c;
|
|
73
|
-
--theme-primary-800: #004412;
|
|
74
|
-
--theme-primary-900: #002209;
|
|
58
|
+
--theme-primary-50: #f2f9f4;
|
|
59
|
+
--theme-primary-50_40: #f2f9f466;
|
|
60
|
+
--theme-primary-100: #e6f3e9;
|
|
61
|
+
--theme-primary-200: #bfe2c9;
|
|
62
|
+
--theme-primary-200_25: #bfe2c940; //use focussed stroke
|
|
63
|
+
--theme-primary-300: #99d0a8; //use hover fill
|
|
64
|
+
--theme-primary-400: #4dac66; //use focussed fill
|
|
65
|
+
--theme-primary-500_20: #00892533; //use default fill
|
|
66
|
+
--theme-primary-500: #008925; //use default fill
|
|
67
|
+
--theme-primary-600: #007b21; //use pressed fill
|
|
68
|
+
--theme-primary-700: #005216;
|
|
69
|
+
--theme-primary-800: #003e11;
|
|
70
|
+
--theme-primary-900: #00290b;
|
|
75
71
|
|
|
76
72
|
--theme-primary-surface-default: var(--theme-primary-500);
|
|
77
73
|
--theme-primary-surface-subtitle: var(--theme-primary-50);
|
|
@@ -122,7 +118,6 @@
|
|
|
122
118
|
|
|
123
119
|
//WARN
|
|
124
120
|
:root {
|
|
125
|
-
--theme-warn-50: #faf4ee;
|
|
126
121
|
--theme-warn-100: #fdf4ea;
|
|
127
122
|
--theme-warn-200: #fadfc1;
|
|
128
123
|
--theme-warn-300: #f4c083;
|
|
@@ -136,10 +131,8 @@
|
|
|
136
131
|
|
|
137
132
|
//ERROR
|
|
138
133
|
:root {
|
|
139
|
-
--theme-error-50: #fef5f5;
|
|
140
134
|
--theme-error-100: #fceaea;
|
|
141
|
-
--theme-error-100_50: #
|
|
142
|
-
--theme-error-200_50: #fceaea; //use stroke
|
|
135
|
+
--theme-error-100_50: #fef5f5; //use fill
|
|
143
136
|
--theme-error-200: #ffd4d4; //use stroke
|
|
144
137
|
--theme-error-300: #f4a6a6; //hover
|
|
145
138
|
--theme-error-400: #df575c;
|
package/src/styles/index.scss
CHANGED
package/src/styles/mixins.scss
CHANGED
|
@@ -89,27 +89,27 @@
|
|
|
89
89
|
|
|
90
90
|
// 📱 Адаптив
|
|
91
91
|
@mixin respond($breakpoint) {
|
|
92
|
-
@if $breakpoint ==
|
|
92
|
+
@if $breakpoint ==sm {
|
|
93
93
|
@media (min-width: 640px) {
|
|
94
94
|
@content;
|
|
95
95
|
}
|
|
96
|
-
} @else if $breakpoint ==
|
|
96
|
+
} @else if $breakpoint ==md {
|
|
97
97
|
@media (min-width: 768px) {
|
|
98
98
|
@content;
|
|
99
99
|
}
|
|
100
|
-
} @else if $breakpoint ==
|
|
100
|
+
} @else if $breakpoint ==lg {
|
|
101
101
|
@media (min-width: 1010px) {
|
|
102
102
|
@content;
|
|
103
103
|
}
|
|
104
|
-
} @else if $breakpoint ==
|
|
104
|
+
} @else if $breakpoint ==xl {
|
|
105
105
|
@media (min-width: 1220px) {
|
|
106
106
|
@content;
|
|
107
107
|
}
|
|
108
|
-
} @else if $breakpoint ==
|
|
108
|
+
} @else if $breakpoint ==xxl {
|
|
109
109
|
@media (min-width: 1420px) {
|
|
110
110
|
@content;
|
|
111
111
|
}
|
|
112
|
-
} @else if $breakpoint ==
|
|
112
|
+
} @else if $breakpoint ==xxxl {
|
|
113
113
|
@media (min-width: 1620px) {
|
|
114
114
|
@content;
|
|
115
115
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
import { default as DateRangePickerMobile } from './DateRangePickerMobile.vue';
|
|
3
|
-
declare const meta: Meta<typeof DateRangePickerMobile>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof DateRangePickerMobile>;
|
|
6
|
-
export declare const Default: Story;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { DateRange } from 'reka-ui';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
};
|
|
6
|
-
type __VLS_PublicProps = {
|
|
7
|
-
modelValue: DateRange;
|
|
8
|
-
} & __VLS_Props;
|
|
9
|
-
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
-
"update:modelValue": (value: DateRange) => any;
|
|
11
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
"onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
14
|
-
dateRangePickerMobileBottomSheet: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
15
|
-
modelValue: DateRange;
|
|
16
|
-
}> & Readonly<{
|
|
17
|
-
"onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
open: () => void;
|
|
20
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (value: DateRange) => any;
|
|
22
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
23
|
-
P: {};
|
|
24
|
-
B: {};
|
|
25
|
-
D: {};
|
|
26
|
-
C: {};
|
|
27
|
-
M: {};
|
|
28
|
-
Defaults: {};
|
|
29
|
-
}, Readonly<{
|
|
30
|
-
modelValue: DateRange;
|
|
31
|
-
}> & Readonly<{
|
|
32
|
-
"onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
|
|
33
|
-
}>, {
|
|
34
|
-
open: () => void;
|
|
35
|
-
}, {}, {}, {}, {}> | null;
|
|
36
|
-
}, HTMLDivElement>;
|
|
37
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DateRange } from 'reka-ui';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
type __VLS_PublicProps = {
|
|
4
|
-
modelValue: DateRange;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
7
|
-
open: () => void;
|
|
8
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (value: DateRange) => any;
|
|
10
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
|
-
"onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PopoverContent } from '.';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
3
|
-
declare const meta: Meta<typeof PopoverContent>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof PopoverContent>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithClose: Story;
|
|
8
|
-
export declare const DifferentSides: Story;
|
|
9
|
-
export declare const WithForm: Story;
|
|
10
|
-
export declare const Adaptive: Story;
|
|
11
|
-
export declare const AdaptiveControlled: Story;
|