@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.
Files changed (36) hide show
  1. package/dist/components/Button/Button.types.d.ts +3 -2
  2. package/dist/components/ChipCheckbox/ChipCheckbox.vue.d.ts +5 -5
  3. package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
  4. package/dist/components/DatePicker/DatePicker.vue.d.ts +17 -0
  5. package/dist/components/DatePicker/DatePickerCalendar.vue.d.ts +18 -0
  6. package/dist/components/DatePicker/DatePickerCell.vue.d.ts +19 -0
  7. package/dist/components/DatePicker/DatePickerContent.vue.d.ts +5 -1
  8. package/dist/components/DatePicker/DatePickerGrid.vue.d.ts +19 -0
  9. package/dist/components/DatePicker/DatePickerRoot.vue.d.ts +8 -2
  10. package/dist/components/DatePicker/index.d.ts +6 -2
  11. package/dist/components/DateRangePicker/DateRangePicker.stories.d.ts +1 -0
  12. package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts +24 -0
  13. package/dist/components/DateRangePicker/DateRangePickerContent.vue.d.ts +7 -1
  14. package/dist/components/DateRangePicker/DateRangePickerRoot.vue.d.ts +8 -2
  15. package/dist/components/DateRangePicker/index.d.ts +2 -1
  16. package/dist/components/DropdownMenu/DropdownMenuContent.vue.d.ts +4 -0
  17. package/dist/components/Message/Message.vue.d.ts +1 -1
  18. package/dist/components/Popover/PopoverContent.vue.d.ts +3 -0
  19. package/dist/components/RangeCalendar/RangeCalendar.vue.d.ts +14 -5
  20. package/dist/components/index.js +2757 -2298
  21. package/dist/{dayjs.util-BSJhipyX.js → parseFileSize.util-D6rrCgGW.js} +15 -14
  22. package/dist/styles/colors.scss +14 -21
  23. package/dist/styles/index.scss +1 -1
  24. package/dist/styles/mixins.scss +6 -6
  25. package/dist/types/global.types.d.ts +1 -0
  26. package/dist/ui.css +1 -1
  27. package/dist/utils/index.js +2 -2
  28. package/package.json +1 -1
  29. package/src/styles/colors.scss +14 -21
  30. package/src/styles/index.scss +1 -1
  31. package/src/styles/mixins.scss +6 -6
  32. package/dist/components/DateRangePickerMobile/DateRangePickerMobile.stories.d.ts +0 -6
  33. package/dist/components/DateRangePickerMobile/DateRangePickerMobile.vue.d.ts +0 -37
  34. package/dist/components/DateRangePickerMobile/DateRangePickerMobileBottomSheet.vue.d.ts +0 -13
  35. package/dist/components/DateRangePickerMobile/index.d.ts +0 -1
  36. package/dist/components/Popover/Popover.stories.d.ts +0 -11
@@ -55,23 +55,19 @@
55
55
 
56
56
  //PRIMARY
57
57
  :root {
58
- --theme-primary-50: #eafef0;
59
- --theme-primary-50_40: #eafef066;
60
- --theme-primary-75: #caf3d5; //use hover fill
61
- --theme-primary-100: #bff7cd;
62
- --theme-primary-200: #aaeebc;
63
- --theme-primary-200_15: #94e6aa; //use focussed stroke
64
- --theme-primary-200_25: #94e6aa40; //use focussed stroke
65
- --theme-primary-200_50: #94e6aa80; //use focussed stroke
66
- --theme-primary-250: #caf3d5; //use hover fill
67
- --theme-primary-300: #7fdd98; //use hover fill
68
- --theme-primary-400: #2abc51; //use focussed fill
69
- --theme-primary-500_5: #00ab2e0d; //use default fill
70
- --theme-primary-500: #00ab2e; //use default fill
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: #fceaea80; //use fill
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;
@@ -3,7 +3,7 @@
3
3
  @use './animations.scss';
4
4
  @use './mixins.scss';
5
5
  @use './fonts.scss';
6
- // @use './reset.css';
6
+ @use './reset.css';
7
7
  @use './typography.css';
8
8
 
9
9
  @use './global.scss';
@@ -89,27 +89,27 @@
89
89
 
90
90
  // 📱 Адаптив
91
91
  @mixin respond($breakpoint) {
92
- @if $breakpoint == sm {
92
+ @if $breakpoint ==sm {
93
93
  @media (min-width: 640px) {
94
94
  @content;
95
95
  }
96
- } @else if $breakpoint == md {
96
+ } @else if $breakpoint ==md {
97
97
  @media (min-width: 768px) {
98
98
  @content;
99
99
  }
100
- } @else if $breakpoint == lg {
100
+ } @else if $breakpoint ==lg {
101
101
  @media (min-width: 1010px) {
102
102
  @content;
103
103
  }
104
- } @else if $breakpoint == xl {
104
+ } @else if $breakpoint ==xl {
105
105
  @media (min-width: 1220px) {
106
106
  @content;
107
107
  }
108
- } @else if $breakpoint == xxl {
108
+ } @else if $breakpoint ==xxl {
109
109
  @media (min-width: 1420px) {
110
110
  @content;
111
111
  }
112
- } @else if $breakpoint == xxxl {
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;