@hh.ru/magritte-ui-button 5.0.1 → 5.0.3
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/Button.d.ts +1 -1
- package/Button.js +1 -1
- package/index.css +1381 -1381
- package/index.d.ts +2 -2
- package/index.mock.d.ts +1 -1
- package/package.json +13 -12
package/Button.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ButtonProps, ButtonWithCustomElement } from '
|
|
1
|
+
import { ButtonProps, ButtonWithCustomElement } from '@hh.ru/magritte-ui-button/types';
|
|
2
2
|
export declare const Button: ButtonWithCustomElement<ButtonProps, "button">;
|
package/Button.js
CHANGED
|
@@ -7,7 +7,7 @@ import { ComponentWithBadge } from '@hh.ru/magritte-ui-badge';
|
|
|
7
7
|
import { useButton } from './aria.js';
|
|
8
8
|
import { Loader } from '@hh.ru/magritte-ui-loader';
|
|
9
9
|
|
|
10
|
-
var styles = {"button":"magritte-button___Pubhr_5-0-
|
|
10
|
+
var styles = {"button":"magritte-button___Pubhr_5-0-3","button_loading":"magritte-button_loading___tSd9G_5-0-3","buttonLoading":"magritte-button__loading___lYs93_5-0-3","button__content":"magritte-button__content___BXYU0_5-0-3","buttonContent":"magritte-button__content___BXYU0_5-0-3","button_size-medium":"magritte-button_size-medium___WvUsb_5-0-3","buttonSizeMedium":"magritte-button_size-medium___WvUsb_5-0-3","button_size-large":"magritte-button_size-large___Gjw7e_5-0-3","buttonSizeLarge":"magritte-button_size-large___Gjw7e_5-0-3","button__label":"magritte-button__label___zplmt_5-0-3","buttonLabel":"magritte-button__label___zplmt_5-0-3","button__subcaption":"magritte-button__subcaption___SSASN_5-0-3","buttonSubcaption":"magritte-button_subcaption___0-hG0_5-0-3","button_size-small":"magritte-button_size-small___ZAmsS_5-0-3","buttonSizeSmall":"magritte-button_size-small___ZAmsS_5-0-3","button_stretched":"magritte-button_stretched___-aXS6_5-0-3","buttonStretched":"magritte-button_stretched___-aXS6_5-0-3","button-postfix":"magritte-button-postfix___0rpTU_5-0-3","buttonPostfix":"magritte-button-postfix___0rpTU_5-0-3","button__icon":"magritte-button__icon___912gw_5-0-3","buttonIcon":"magritte-button__icon___912gw_5-0-3","button_with-icon":"magritte-button_with-icon___znqnP_5-0-3","buttonWithIcon":"magritte-button_with-icon___znqnP_5-0-3","button_subcaption":"magritte-button_subcaption___0-hG0_5-0-3","button_textless":"magritte-button_textless___XBvNJ_5-0-3","buttonTextless":"magritte-button_textless___XBvNJ_5-0-3","button__loading":"magritte-button__loading___lYs93_5-0-3","button_style-neutral":"magritte-button_style-neutral___I5qS5_5-0-3","buttonStyleNeutral":"magritte-button_style-neutral___I5qS5_5-0-3","button_mode-primary":"magritte-button_mode-primary___wU8PN_5-0-3","buttonModePrimary":"magritte-button_mode-primary___wU8PN_5-0-3","button_mode-secondary":"magritte-button_mode-secondary___xYz4-_5-0-3","buttonModeSecondary":"magritte-button_mode-secondary___xYz4-_5-0-3","button_mode-tertiary":"magritte-button_mode-tertiary___ZMpad_5-0-3","buttonModeTertiary":"magritte-button_mode-tertiary___ZMpad_5-0-3","button_style-accent":"magritte-button_style-accent___TE21J_5-0-3","buttonStyleAccent":"magritte-button_style-accent___TE21J_5-0-3","button_style-positive":"magritte-button_style-positive___i-dJx_5-0-3","buttonStylePositive":"magritte-button_style-positive___i-dJx_5-0-3","button_style-negative":"magritte-button_style-negative___B2CVQ_5-0-3","buttonStyleNegative":"magritte-button_style-negative___B2CVQ_5-0-3","button_style-contrast":"magritte-button_style-contrast___mxXt-_5-0-3","buttonStyleContrast":"magritte-button_style-contrast___mxXt-_5-0-3","button-postfix_size-large":"magritte-button-postfix_size-large___6fupR_5-0-3","buttonPostfixSizeLarge":"magritte-button-postfix_size-large___6fupR_5-0-3","button-postfix_size-medium":"magritte-button-postfix_size-medium___CKs6F_5-0-3","buttonPostfixSizeMedium":"magritte-button-postfix_size-medium___CKs6F_5-0-3","button-postfix_size-small":"magritte-button-postfix_size-small___p9vHk_5-0-3","buttonPostfixSizeSmall":"magritte-button-postfix_size-small___p9vHk_5-0-3"};
|
|
11
11
|
|
|
12
12
|
const ALLOWED_BADGE_SIZES = ['small', 'extra-small'];
|
|
13
13
|
const ButtonRenderer = (props, ref) => {
|