profinansy-ui-lib 3.3.15 → 3.3.16

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.
@@ -8,7 +8,7 @@ export interface IFilterButton {
8
8
  /** Тип кнопки stroke */
9
9
  isStroke?: boolean;
10
10
  /** Размер кнопки */
11
- size?: 'S' | 'M';
11
+ size?: 'XS' | 'S' | 'M';
12
12
  /** Паддинги для выпадашки*/
13
13
  padding?: string;
14
14
  /** Callback по кликуна Сбросить */
package/dist/index.js CHANGED
@@ -6124,14 +6124,13 @@
6124
6124
  justify-content: center;
6125
6125
  align-items: center;
6126
6126
  padding: ${e=>"M"===e.size?"10px":"6px"};
6127
- height: ${e=>"M"===e.size?"44px":"32px"};
6127
+ ${({size:e})=>({M:{height:"44px",maxHeight:"44px",borderRadius:"8px"},S:{height:"36px",maxHeight:"36px",borderRadius:"10px"},XS:{height:"32px",maxHeight:"32px",borderRadius:"10px"}}[e])}
6128
6128
  ${e=>e.isText&&i.css`
6129
6129
  padding-left: ${"M"===e.size?"14px":"10px"};
6130
6130
  `}
6131
6131
  gap: 6px;
6132
6132
  border: ${e=>e.isStroke?`0.5px solid ${e.theme.stroke.primary}`:"none"};
6133
6133
  background: ${e=>e.isStroke?"transparent":e.theme.interactiveControls.secondary};
6134
- border-radius: ${e=>"M"===e.size?"8px":"10px"};
6135
6134
  cursor: pointer;
6136
6135
  transition: background-color 0.3s ${l.AnimationFunctions.animation_1},
6137
6136
  border 0.3s ${l.AnimationFunctions.animation_1};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "profinansy-ui-lib",
3
- "version": "3.3.15",
3
+ "version": "3.3.16",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "devDependencies": {