@itcase/ui 1.8.104 → 1.8.106

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.
@@ -12,12 +12,13 @@ var tslib_es6 = require('./tslib.es6_cjs_CCZ3TN_7.js');
12
12
  var chipsAppearanceAccent = {
13
13
  accent: {
14
14
  fill: 'accentPrimary',
15
- fillHover: 'accentPrimaryHover',
15
+ fillHover: 'accentHoverPrimary',
16
16
  labelTextColor: 'accentTextPrimary',
17
17
  borderColor: 'accentBorderSecondary',
18
18
  },
19
19
  accentMutedPrimary: {
20
20
  fill: 'accentTertiary',
21
+ fillHover: 'accentHoverPrimary',
21
22
  labelTextColor: 'accentTextSecondary',
22
23
  borderColor: 'accentBorderSecondary',
23
24
  iconAfterFillIcon: 'accentItemQuaternary',
@@ -25,6 +26,7 @@ var chipsAppearanceAccent = {
25
26
  },
26
27
  accentPrimary: {
27
28
  fill: 'accentPrimary',
29
+ fillHover: 'accentHoverPrimary',
28
30
  labelTextColor: 'accentTextPrimary',
29
31
  borderColor: 'accentBorderSecondary',
30
32
  iconAfterFillIcon: 'accentItemPrimary',
@@ -10,12 +10,13 @@ import { _ as __assign } from './tslib.es6_es_Bwu1Cn-t.js';
10
10
  var chipsAppearanceAccent = {
11
11
  accent: {
12
12
  fill: 'accentPrimary',
13
- fillHover: 'accentPrimaryHover',
13
+ fillHover: 'accentHoverPrimary',
14
14
  labelTextColor: 'accentTextPrimary',
15
15
  borderColor: 'accentBorderSecondary',
16
16
  },
17
17
  accentMutedPrimary: {
18
18
  fill: 'accentTertiary',
19
+ fillHover: 'accentHoverPrimary',
19
20
  labelTextColor: 'accentTextSecondary',
20
21
  borderColor: 'accentBorderSecondary',
21
22
  iconAfterFillIcon: 'accentItemQuaternary',
@@ -23,6 +24,7 @@ var chipsAppearanceAccent = {
23
24
  },
24
25
  accentPrimary: {
25
26
  fill: 'accentPrimary',
27
+ fillHover: 'accentHoverPrimary',
26
28
  labelTextColor: 'accentTextPrimary',
27
29
  borderColor: 'accentBorderSecondary',
28
30
  iconAfterFillIcon: 'accentItemPrimary',
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var ChipsGroup = require('../../ChipsGroup_cjs_BgSbk26L.js');
3
+ var ChipsGroup = require('../../ChipsGroup_cjs_DKLEgUi2.js');
4
4
  require('react/jsx-runtime');
5
5
  require('clsx');
6
6
  require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
@@ -7,7 +7,7 @@ var common = require('@itcase/common');
7
7
  var DatePicker = require('../../DatePicker_cjs_T63y9kcH.js');
8
8
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
9
9
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
- var ChipsGroup = require('../../ChipsGroup_cjs_BgSbk26L.js');
10
+ var ChipsGroup = require('../../ChipsGroup_cjs_DKLEgUi2.js');
11
11
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
12
12
  require('date-fns/locale');
13
13
  require('react-datepicker');
@@ -1,4 +1,4 @@
1
- export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_C1U2hygj.js';
1
+ export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_vMh6YMRm.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'clsx';
4
4
  import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
@@ -5,7 +5,7 @@ import { DATE_PERIOD_INTERVALS } from '@itcase/common';
5
5
  import { D as DatePickerInput } from '../DatePicker_es_B87jj8h6.js';
6
6
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
7
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
- import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_C1U2hygj.js';
8
+ import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_vMh6YMRm.js';
9
9
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
10
10
  import 'date-fns/locale';
11
11
  import 'react-datepicker';
@@ -1,9 +1,9 @@
1
1
  .button {
2
2
  text-decoration: none;
3
- background: none;
3
+ /* background: none; */
4
4
  padding: 0;
5
5
  margin: 0;
6
- border-width: solid 0 #fff;
6
+ /* border-width: solid 0 #fff; */
7
7
  position: relative;
8
8
  display: flex;
9
9
  justify-content: center;
@@ -44,7 +44,6 @@
44
44
  .dropdown {
45
45
  &&_state_open {
46
46
  /* visibility: visible; */
47
- display: block;
48
47
  opacity: 100%;
49
48
  }
50
49
  }
@@ -1,4 +1,5 @@
1
- .alignment {
1
+ .alignment,
2
+ div.alignment {
2
3
  &_top {
3
4
  &-left {
4
5
  position: absolute;
@@ -9,6 +10,7 @@
9
10
  position: absolute;
10
11
  left: 50%;
11
12
  bottom: 100%;
13
+ transform: translateX(-50%);
12
14
  }
13
15
  &-right {
14
16
  position: absolute;
@@ -26,6 +28,7 @@
26
28
  position: absolute;
27
29
  left: 50%;
28
30
  top: 100%;
31
+ transform: translateX(-50%);
29
32
  }
30
33
  &-right {
31
34
  position: absolute;
@@ -265,7 +265,8 @@
265
265
  }
266
266
  }
267
267
  }
268
- .alignment {
268
+ .alignment,
269
+ div.alignment {
269
270
  &_top {
270
271
  &-left {
271
272
  position: absolute;
@@ -276,6 +277,7 @@
276
277
  position: absolute;
277
278
  left: 50%;
278
279
  bottom: 100%;
280
+ transform: translateX(-50%);
279
281
  }
280
282
  &-right {
281
283
  position: absolute;
@@ -293,6 +295,7 @@
293
295
  position: absolute;
294
296
  left: 50%;
295
297
  top: 100%;
298
+ transform: translateX(-50%);
296
299
  }
297
300
  &-right {
298
301
  position: absolute;
@@ -763,7 +766,8 @@ button.border-color {
763
766
  }
764
767
  }
765
768
  }
766
- .fill {
769
+ .fill,
770
+ button.fill {
767
771
  &_none {
768
772
  background-color: transparent;
769
773
  }
@@ -816,7 +820,8 @@ button.border-color {
816
820
  }
817
821
  }
818
822
  }
819
- .fill {
823
+ .fill,
824
+ button.fill {
820
825
  &_active {
821
826
  &_none {
822
827
  background-color: transparent;
@@ -863,7 +868,8 @@ button.border-color {
863
868
  }
864
869
  }
865
870
  }
866
- .fill {
871
+ .fill,
872
+ button.fill {
867
873
  &_active {
868
874
  &_hover {
869
875
  &_none {
@@ -976,7 +982,8 @@ button.border-color {
976
982
  }
977
983
  }
978
984
  }
979
- .fill_gradient {
985
+ .fill_gradient,
986
+ button.fill {
980
987
  @each $type in primary, secondary, tertiary, quaternary {
981
988
  &-$(type) {
982
989
  @each $direction, $degree in (top, right, diagonal, bottom, left),
@@ -988,7 +995,8 @@ button.border-color {
988
995
  }
989
996
  }
990
997
  }
991
- .fill {
998
+ .fill,
999
+ button.fill {
992
1000
  &_hover {
993
1001
  &_none {
994
1002
  background-color: transparent;
@@ -1,4 +1,5 @@
1
- .fill {
1
+ .fill,
2
+ button.fill {
2
3
  &_none {
3
4
  background-color: transparent;
4
5
  }
@@ -1,4 +1,5 @@
1
- .fill {
1
+ .fill,
2
+ button.fill {
2
3
  &_active {
3
4
  &_none {
4
5
  background-color: transparent;
@@ -1,4 +1,5 @@
1
- .fill {
1
+ .fill,
2
+ button.fill {
2
3
  &_active {
3
4
  &_hover {
4
5
  &_none {
@@ -1,4 +1,5 @@
1
- .fill_gradient {
1
+ .fill_gradient,
2
+ button.fill {
2
3
  @each $type in primary, secondary, tertiary, quaternary {
3
4
  &-$(type) {
4
5
  @each $direction, $degree in (top, right, diagonal, bottom, left),
@@ -1,4 +1,5 @@
1
- .fill {
1
+ .fill,
2
+ button.fill {
2
3
  &_hover {
3
4
  &_none {
4
5
  background-color: transparent;
@@ -7,6 +7,7 @@ declare const chipsAppearanceAccent: {
7
7
  };
8
8
  accentMutedPrimary: {
9
9
  fill: string;
10
+ fillHover: string;
10
11
  labelTextColor: string;
11
12
  borderColor: string;
12
13
  iconAfterFillIcon: string;
@@ -14,6 +15,7 @@ declare const chipsAppearanceAccent: {
14
15
  };
15
16
  accentPrimary: {
16
17
  fill: string;
18
+ fillHover: string;
17
19
  labelTextColor: string;
18
20
  borderColor: string;
19
21
  iconAfterFillIcon: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.104",
3
+ "version": "1.8.106",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",