mimir-ui-kit 1.35.1 → 1.35.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/Button.css +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/components/Accordion/Accordion.d.ts +5 -3
- package/dist/components/Accordion/Accordion.js +141 -141
- package/dist/components/Button/Button.d.ts +36 -0
- package/dist/components/Button/Button.js +83 -75
- package/dist/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.js +91 -108
- package/dist/components/DatePicker/DatePickerModal.d.ts +5 -5
- package/dist/components/DatePicker/DatePickerModal.js +91 -95
- package/dist/components/DatePicker/MonthPickerModal.d.ts +4 -5
- package/dist/components/DatePicker/MonthPickerModal.js +58 -66
- package/dist/components/DatePicker/YearPickerModal.d.ts +4 -5
- package/dist/components/DatePicker/YearPickerModal.js +61 -61
- package/dist/components/DatePicker/constants.d.ts +5 -0
- package/dist/components/DatePicker/constants.js +12 -6
- package/dist/components/DatePicker/hooks.d.ts +3 -0
- package/dist/components/DatePicker/hooks.js +16 -0
- package/dist/components/DatePicker/index.d.ts +1 -1
- package/dist/components/DatePicker/utils.d.ts +4 -0
- package/dist/components/DatePicker/utils.js +6 -5
- package/dist/components/Image/Image.js +1 -1
- package/dist/styles.module-Chnn6DA-.js +24 -0
- package/package.json +1 -1
- package/dist/styles.module-BQZZ6FB1.js +0 -25
package/dist/assets/Button.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
._button_1kw2t_2{--button-cursor: pointer;display:inline-flex;flex-shrink:0;align-items:center;box-sizing:border-box;max-width:100%;height:var(--button-height);padding:0 var(--button-space);overflow:hidden;color:var(--button-color);font-weight:var(--mimir-font-weight-text-semibold);font-size:var(--button-font-size);font-family:var(--mimir-font-inter);line-height:var(--mimir-line-height-text-s1);white-space:nowrap;text-transform:uppercase;-webkit-text-decoration:none;text-decoration:none;text-overflow:ellipsis;-moz-column-gap:var(--button-gap);column-gap:var(--button-gap);background:var(--button-bg-color);border:none;border-color:var(--border-color);cursor:pointer;cursor:var(--button-cursor);transition:background-color .3s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none}._button_1kw2t_2:hover{color:var(--button-color-hover);background:var(--button-bg-color-hover);border-color:var(--border-color-hover)}._button_1kw2t_2:active{color:var(--button-color-active);background:var(--button-bg-color-active);border-color:var(--border-color-active)}._button_1kw2t_2:focus-visible{box-shadow:0 0 2px var(--sapphire-normal)}._button_1kw2t_2._clear_1kw2t_42:focus{box-shadow:none}._button_1kw2t_2 svg{color:currentcolor;fill:currentcolor}._button_1kw2t_2 svg path{color:currentcolor;fill:currentcolor}._default-button_1kw2t_54._primary-sapphire_1kw2t_54{--button-bg-color: var(--sapphire-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--sapphire-active);--button-bg-color-hover: var(--sapphire-hover);--button-color: var(--light-text);--button-border: transparent}._default-button_1kw2t_54._primary-citrine_1kw2t_63{--button-bg-color: var(--citrine-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--citrine-active);--button-bg-color-hover: var(--citrine-hover);--button-color: var(--light-text);--button-border: transparent}._default-button_1kw2t_54._secondary-asphalt_1kw2t_72{--button-bg-color: var(--asphalt-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--asphalt-active);--button-bg-color-hover: var(--asphalt-hover);--button-color: var(--light-text);--button-border: transparent}._default-button_1kw2t_54._secondary-gray_1kw2t_81{--button-bg-color: var(--gray-normal);--button-color-hover: var(--counter-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--gray-active);--button-bg-color-hover: var(--gray-hover);--button-color: var(--dark-text);--button-border: transparent}._default-button_1kw2t_54._secondary-white_1kw2t_90{--button-bg-color: var(--white-normal);--button-color-hover: var(--counter-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--white-active);--button-bg-color-hover: var(--white);--button-color: var(--dark-text);--button-border: transparent}._default-button_1kw2t_54._secondary-red_1kw2t_99{--button-bg-color: var(--red-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--red-active);--button-bg-color-hover: var(--red-hover);--button-color: var(--light-text);--button-border: transparent}._round-button_1kw2t_109{--button-border-radius-l: 24px;--button-border-radius-m: 20px;--button-border-radius-s: 16px;--button-border-radius-xs: 12px;--button-space-l: var(--mimir-space-s);--button-space-m: var(--mimir-space-xs);--button-space-s: var(--mimir-space-xs);--button-space-xs: var(--mimir-space-2xs);border-radius:var(--button-border-radius)}._round-button_1kw2t_109._black_1kw2t_120{--button-bg-color: var(--asphalt-normal);--button-bg-color-hover: var(--asphalt-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--light-text);--button-color-hover: var(--light-text);--button-color-active: var(--light-text)}._round-button_1kw2t_109._gray_1kw2t_129{--button-bg-color: var(--gray-normal);--button-bg-color-hover: var(--gray-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--asphalt-hover);--button-color-active: var(--light-text)}._round-button_1kw2t_109._white_1kw2t_138{--button-bg-color: var(--white-normal);--button-bg-color-hover: var(--white-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--asphalt-hover);--button-color-active: var(--light-text)}._outline-button_1kw2t_148{--button-bg-color: transparent;--button-bg-color-hover: transparent;--button-bg-color-active: transparent;--button-bg-color-focus: transparent;border:1px solid var(--border-color)}._outline-button_1kw2t_148._outline-asphalt_1kw2t_155{--border-color: var(--disabled-color);--button-color: var(--black-80);--border-color-hover: var(--black-80);--button-color-hover: var(--black-80);--border-color-active: var(--black-100);--button-color-active: var(--black-100)}._outline-button_1kw2t_148._outline-gray_1kw2t_163{--border-color: var(--black-5);--button-color: var(--black-5);--border-color-hover: var(--black-5);--button-color-hover: var(--counter-text);--border-color-active: var(--black-80);--button-color-active: var(--white);--button-bg-color-active: var(--black-80)}._outline-button_1kw2t_148._outline-white_1kw2t_172{--border-color: var(--white);--button-color: var(--white);--border-color-hover: var(--white);--button-color-hover: var(--counter-text);--border-color-active: var(--black-80);--button-color-active: var(--white);--button-bg-color-active: var(--black-80)}._outline-button_1kw2t_148._outline-red_1kw2t_181{--border-color: var(--error-normal);--button-color: var(--error-normal);--border-color-hover: var(--red-hover);--button-color-hover: var(--red-hover);--border-color-active: var(--red-active);--button-color-active: var(--white);--button-bg-color-active: var(--red-active)}._borderless-button_1kw2t_191{--button-bg-color: transparent;--button-bg-color-hover: transparent;--button-bg-color-active: transparent;--button-bg-color-focus: transparent}._borderless-button_1kw2t_191._borderless-asphalt_1kw2t_197{--button-color: var(--black-80);--button-color-hover: var(--counter-text);--button-color-active: var(--black-100)}._borderless-button_1kw2t_191._borderless-gray_1kw2t_202{--button-color: var(--black-5);--button-color-hover: var(--counter-text);--button-color-active: var(--black-80)}._borderless-button_1kw2t_191._borderless-white_1kw2t_207{--button-color: var(--white);--button-color-hover: var(--counter-text);--button-color-active: var(--black-80)}._borderless-button_1kw2t_191._borderless-red_1kw2t_212{--button-color: var(--error-normal);--button-color-hover: var(--red-hover);--button-color-active: var(--red-active)}._default-button_1kw2t_54,._outline-button_1kw2t_148,._borderless-button_1kw2t_191{--button-space-xxl: var(--mimir-control-space-xxl);--button-space-xl: var(--mimir-control-space-l);--button-space-l: var(--mimir-space-m);--button-space-m: var(--mimir-space-m);--button-space-s: var(--mimir-space-xs);--button-space-xs: var(--mimir-space-2xs);--button-border-radius-xxl: var(--mimir-control-radius-s);--button-border-radius-xl: var(--mimir-control-radius-s);--button-border-radius-l: var(--mimir-control-radius);--button-border-radius-m: var(--mimir-control-radius);--button-border-radius-s: var(--mimir-control-radius-xs);--button-border-radius-xs: var(--mimir-control-radius-xs);border-radius:var(--button-border-radius)}._xs_1kw2t_236{--button-height: var(--button-height-xs);--button-font-size: var(--mimir-control-text-size-xs);--button-space: var(--button-space-xs);--button-gap: 4px;--button-border-radius: var(--button-border-radius-s)}._m-s_1kw2t_244{--button-height: var(--button-height-ms);--button-border-radius: var(--button-border-radius-s);font-weight:var(--mimir-font-weight-text-regular);--button-gap: var(--mimir-space-2xs);--button-font-size: var(--mimir-size-text-s)}._s_1kw2t_72{--button-height: var(--button-height-s);--button-font-size: var(--mimir-control-text-size-s);--button-space: var(--button-space-s);--button-gap: 4px;--button-border-radius: var(--button-border-radius-s)}._m_1kw2t_244{--button-height: var(--button-height-m);--button-font-size: var(--mimir-size-text-m);--button-space: var(--button-space-m);--button-gap: 8px;--button-border-radius: var(--button-border-radius-m)}._l_1kw2t_268{--button-height: var(--button-height-l);--button-font-size: var(--mimir-size-text-m);--button-space: var(--button-space-l);--button-gap: 8px;--button-border-radius: var(--button-border-radius-l)}._xl_1kw2t_276{--button-height: var(--button-height-xl);--button-space: var(--button-space-xl);--button-gap: 8px;--button-border-radius: var(--button-border-radius-xl);--button-font-size: var(--mimir-size-text-m);font-weight:var(--mimir-font-weight-text-medium)}._xxl_1kw2t_285{--button-height: var(--button-height-xxl);--button-space: var(--button-space-xxl);--button-border-radius: var(--button-border-radius-xxl);--button-gap: 8px;font-weight:var(--mimir-font-weight-text-medium);--button-font-size: var(--mimir-size-text-m)}._full_1kw2t_294{display:flex;justify-content:center;width:100%}._disabled_1kw2t_300{--button-cursor: not-allowed;color:var(--light-text);background-color:var(--disabled)}._disabled_1kw2t_300:hover,._disabled_1kw2t_300:active,._disabled_1kw2t_300:focus{color:var(--light-text);background-color:var(--disabled);box-shadow:none}._disabled_1kw2t_300._outline-button_1kw2t_148{color:var(--disabled);background-color:transparent;border:1px solid var(--disabled)}._disabled_1kw2t_300._borderless-button_1kw2t_191{color:var(--disabled-color);background-color:transparent}._icon-button_1kw2t_320{justify-content:center;min-width:var(--button-height);padding:0}
|
1
|
+
._button_1qnsv_2{--button-cursor: pointer;display:inline-flex;flex-shrink:0;align-items:center;box-sizing:border-box;max-width:100%;height:var(--button-height);padding:0 var(--button-space);overflow:hidden;color:var(--button-color);font-weight:var(--mimir-font-weight-text-semibold);font-size:var(--button-font-size);font-family:var(--mimir-font-inter);line-height:var(--mimir-line-height-text-s1);white-space:nowrap;text-transform:uppercase;-webkit-text-decoration:none;text-decoration:none;text-overflow:ellipsis;-moz-column-gap:var(--button-gap);column-gap:var(--button-gap);background:var(--button-bg-color);border:none;border-color:var(--border-color);cursor:pointer;cursor:var(--button-cursor);transition:background-color .3s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none}._button_1qnsv_2:hover{color:var(--button-color-hover);background:var(--button-bg-color-hover);border-color:var(--border-color-hover)}._button_1qnsv_2:active{color:var(--button-color-active);background:var(--button-bg-color-active);border-color:var(--border-color-active)}._button_1qnsv_2:focus-visible{box-shadow:0 0 2px var(--sapphire-normal)}._button_1qnsv_2._clear_1qnsv_42:focus{box-shadow:none}._button_1qnsv_2 svg{color:currentcolor;fill:currentcolor}._button_1qnsv_2 svg path{color:currentcolor;fill:currentcolor}._button_1qnsv_2 ._count_1qnsv_53{color:var(--button-count-color);font-weight:var(--mimir-font-weight-text-bold);font-size:var(--button-count-font-size);border:none;outline:none}._default-button_1qnsv_61{--button-count-color: var(--counter-text)}._default-button_1qnsv_61._primary-sapphire_1qnsv_64{--button-bg-color: var(--sapphire-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--sapphire-active);--button-bg-color-hover: var(--sapphire-hover);--button-color: var(--light-text);--button-border: transparent}._default-button_1qnsv_61._primary-citrine_1qnsv_73{--button-bg-color: var(--citrine-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--citrine-active);--button-bg-color-hover: var(--citrine-hover);--button-color: var(--light-text);--button-border: transparent;--button-count-color: var(--dark-text)}._default-button_1qnsv_61._secondary-asphalt_1qnsv_83{--button-bg-color: var(--asphalt-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--asphalt-active);--button-bg-color-hover: var(--asphalt-hover);--button-color: var(--light-text);--button-border: transparent}._default-button_1qnsv_61._secondary-gray_1qnsv_92{--button-bg-color: var(--gray-normal);--button-color-hover: var(--counter-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--gray-active);--button-bg-color-hover: var(--gray-hover);--button-color: var(--dark-text);--button-border: transparent}._default-button_1qnsv_61._secondary-white_1qnsv_101{--button-bg-color: var(--white-normal);--button-color-hover: var(--counter-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--white-active);--button-bg-color-hover: var(--white);--button-color: var(--dark-text);--button-border: transparent}._default-button_1qnsv_61._secondary-red_1qnsv_110{--button-bg-color: var(--red-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--red-active);--button-bg-color-hover: var(--red-hover);--button-color: var(--light-text);--button-border: transparent}._round-button_1qnsv_120{--button-border-radius-l: 24px;--button-border-radius-m: 20px;--button-border-radius-s: 16px;--button-border-radius-xs: 12px;--button-space-l: var(--mimir-space-s);--button-space-m: var(--mimir-space-xs);--button-space-s: var(--mimir-space-xs);--button-space-xs: var(--mimir-space-2xs);--button-count-color: var(--counter-text);border-radius:var(--button-border-radius)}._round-button_1qnsv_120._black_1qnsv_132{--button-bg-color: var(--asphalt-normal);--button-bg-color-hover: var(--asphalt-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--light-text);--button-color-hover: var(--light-text);--button-color-active: var(--light-text)}._round-button_1qnsv_120._gray_1qnsv_141{--button-bg-color: var(--gray-normal);--button-bg-color-hover: var(--gray-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--asphalt-hover);--button-color-active: var(--light-text)}._round-button_1qnsv_120._white_1qnsv_150{--button-bg-color: var(--white-normal);--button-bg-color-hover: var(--white-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--asphalt-hover);--button-color-active: var(--light-text)}._outline-button_1qnsv_160{--button-bg-color: transparent;--button-bg-color-hover: transparent;--button-bg-color-active: transparent;--button-bg-color-focus: transparent;--button-count-color: var(--counter-text);border:1px solid var(--border-color)}._outline-button_1qnsv_160._outline-asphalt_1qnsv_168{--border-color: var(--disabled-color);--button-color: var(--black-80);--border-color-hover: var(--black-80);--button-color-hover: var(--black-80);--border-color-active: var(--black-100);--button-color-active: var(--black-100)}._outline-button_1qnsv_160._outline-gray_1qnsv_176{--border-color: var(--black-5);--button-color: var(--black-5);--border-color-hover: var(--black-5);--button-color-hover: var(--counter-text);--border-color-active: var(--black-80);--button-color-active: var(--white);--button-bg-color-active: var(--black-80)}._outline-button_1qnsv_160._outline-white_1qnsv_185{--border-color: var(--white);--button-color: var(--white);--border-color-hover: var(--white);--button-color-hover: var(--counter-text);--border-color-active: var(--black-80);--button-color-active: var(--white);--button-bg-color-active: var(--black-80)}._outline-button_1qnsv_160._outline-red_1qnsv_194{--border-color: var(--error-normal);--button-color: var(--error-normal);--border-color-hover: var(--red-hover);--button-color-hover: var(--red-hover);--border-color-active: var(--red-active);--button-color-active: var(--white);--button-bg-color-active: var(--red-active)}._borderless-button_1qnsv_204{--button-bg-color: transparent;--button-bg-color-hover: transparent;--button-bg-color-active: transparent;--button-bg-color-focus: transparent;--button-count-color: var(--counter-text)}._borderless-button_1qnsv_204._borderless-asphalt_1qnsv_211{--button-color: var(--black-80);--button-color-hover: var(--counter-text);--button-color-active: var(--black-100)}._borderless-button_1qnsv_204._borderless-gray_1qnsv_216{--button-color: var(--black-5);--button-color-hover: var(--counter-text);--button-color-active: var(--black-80)}._borderless-button_1qnsv_204._borderless-white_1qnsv_221{--button-color: var(--white);--button-color-hover: var(--counter-text);--button-color-active: var(--black-80)}._borderless-button_1qnsv_204._borderless-red_1qnsv_226{--button-color: var(--error-normal);--button-color-hover: var(--red-hover);--button-color-active: var(--red-active)}._default-button_1qnsv_61,._outline-button_1qnsv_160,._borderless-button_1qnsv_204{--button-space-xxl: var(--mimir-control-space-xxl);--button-space-xl: var(--mimir-control-space-l);--button-space-l: var(--mimir-space-m);--button-space-m: var(--mimir-space-m);--button-space-s: var(--mimir-space-xs);--button-space-xs: var(--mimir-space-2xs);--button-border-radius-xxl: var(--mimir-control-radius-s);--button-border-radius-xl: var(--mimir-control-radius-s);--button-border-radius-l: var(--mimir-control-radius);--button-border-radius-m: var(--mimir-control-radius);--button-border-radius-s: var(--mimir-control-radius-xs);--button-border-radius-xs: var(--mimir-control-radius-xs);border-radius:var(--button-border-radius)}._xs_1qnsv_250{--button-height: var(--button-height-xs);--button-font-size: var(--mimir-control-text-size-xs);--button-space: var(--button-space-xs);--button-gap: 4px;--button-border-radius: var(--button-border-radius-s);--button-count-font-size: var(--mimir-size-text-xs)}._m-s_1qnsv_259{--button-height: var(--button-height-ms);--button-border-radius: var(--button-border-radius-s);--button-gap: var(--mimir-space-2xs);--button-font-size: var(--mimir-size-text-s)}._s_1qnsv_83{--button-height: var(--button-height-s);--button-font-size: var(--mimir-control-text-size-s);--button-space: var(--button-space-s);--button-gap: 4px;--button-border-radius: var(--button-border-radius-s);--button-count-font-size: var(--mimir-size-text-s)}._m_1qnsv_259{--button-height: var(--button-height-m);--button-font-size: var(--mimir-size-text-m);--button-space: var(--button-space-m);--button-gap: 8px;--button-border-radius: var(--button-border-radius-m)}._l_1qnsv_283{--button-height: var(--button-height-l);--button-font-size: var(--mimir-size-text-m);--button-space: var(--button-space-l);--button-gap: 8px;--button-border-radius: var(--button-border-radius-l)}._xl_1qnsv_291{--button-height: var(--button-height-xl);--button-space: var(--button-space-xl);--button-gap: 8px;--button-border-radius: var(--button-border-radius-xl);--button-font-size: var(--mimir-size-text-m)}._xxl_1qnsv_299{--button-height: var(--button-height-xxl);--button-space: var(--button-space-xxl);--button-border-radius: var(--button-border-radius-xxl);--button-gap: 8px;--button-font-size: var(--mimir-size-text-m)}._xxl_1qnsv_299,._xl_1qnsv_291,._l_1qnsv_283,._m_1qnsv_259{--button-count-font-size: var(--mimir-size-text-m)}._full_1qnsv_314{display:flex;justify-content:center;width:100%}._disabled_1qnsv_320{--button-cursor: not-allowed;--button-count-color: var(--light-text);color:var(--light-text);background-color:var(--disabled)}._disabled_1qnsv_320:hover,._disabled_1qnsv_320:active,._disabled_1qnsv_320:focus{color:var(--light-text);background-color:var(--disabled);box-shadow:none}._disabled_1qnsv_320._outline-button_1qnsv_160{color:var(--disabled);background-color:transparent;border:1px solid var(--disabled)}._disabled_1qnsv_320._borderless-button_1qnsv_204{color:var(--disabled-color);background-color:transparent}._icon-button_1qnsv_341{justify-content:center;min-width:var(--button-height);padding:0}
|
package/dist/assets/styles.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.
|
1
|
+
._input_yyf2c_2{padding-right:var(--mimir-space-3xl)}._input-wrapper_yyf2c_6{flex:1}._date-wrapper_yyf2c_10{position:relative;width:100%}._date-wrapper_yyf2c_10 ._inputBorderControl_yyf2c_14{border:transparent}._date-wrapper_yyf2c_10:hover ._input-wrapper_yyf2c_6{background-color:var(--input-bg-color-hover)}._date-wrapper_yyf2c_10:before{position:absolute;top:0;right:45px;bottom:0;left:0;z-index:3;cursor:pointer;content:""}._date-wrapper_yyf2c_10._editable_yyf2c_27:before{display:none}._date-wrapper_yyf2c_10 svg{cursor:pointer}[data-disabled=true] ._date-wrapper_yyf2c_10:before{cursor:auto}[data-disabled=true] ._date-wrapper_yyf2c_10 ._input-wrapper_yyf2c_6{background:var(--black-20)}[data-disabled=true] ._date-wrapper_yyf2c_10 ._input-wrapper_yyf2c_6 label,[data-disabled=true] ._date-wrapper_yyf2c_10 ._input-wrapper_yyf2c_6 input{color:var(--white)}[data-disabled=true] ._button-wrapper_yyf2c_44 svg{color:var(--white);cursor:default;fill:var(--white)}._wrapper_yyf2c_50{position:relative;display:flex;align-items:center;border-radius:var(--mimir-control-radius-s)}._wrapper_yyf2c_50._active_yyf2c_56{border-bottom:1px solid var(--citrine-100)}._button-wrapper_yyf2c_44{position:absolute;top:0;right:0;z-index:2;display:flex;justify-content:center;width:44px;height:100%;max-height:var(--button-height-xxl)}._button_yyf2c_44{align-self:center;background-color:transparent;border-radius:var(--mimir-control-radius-s)}._calendar-block_yyf2c_78{position:absolute;z-index:var(--mimir-zindex-dropdown);display:flex;flex-direction:column;width:368px;max-height:none;padding:var(--mimir-space-m);font-weight:var(--mimir-font-weight-text-regular);font-size:var(--mimir-size-text-l);font-family:var(--mimir-font-inter);line-height:var(--mimir-line-height-text-2xs);text-align:center;text-overflow:ellipsis;background:var(--white);border-radius:var(--mimir-control-radius-s);box-shadow:0 0 #16172705,0 2px 4px #16172705,0 6px 6px #16172705,0 15px 9px #16172703;opacity:0;transition:height .5s ease-in;font-feature-settings:"zero";font-variant-numeric:slashed-zero}._calendar-block_yyf2c_78 ._h_yyf2c_100{display:flex;width:100%;color:var(--black-100)}._calendar-block_yyf2c_78 ._b_yyf2c_44{display:grid;grid-template-columns:repeat(7,1fr)}._calendar-block_yyf2c_78 ._d_yyf2c_10{display:flex;flex:1;gap:var(--mimir-space-2xs);align-items:center;justify-content:center;color:var(--black-100);font-size:var(--mimir-size-text-l);cursor:pointer}._calendar-block_yyf2c_78 ._m_yyf2c_122,._calendar-block_yyf2c_78 ._a_yyf2c_56,._calendar-block_yyf2c_78 ._prev_yyf2c_124{width:auto;height:48px;overflow:hidden}._calendar-block_yyf2c_78 ._m_yyf2c_122{display:flex;align-items:center;justify-content:center;color:var(--disabled);font-size:var(--mimir-size-text-l)}._calendar-block_yyf2c_78 ._orange_yyf2c_138{color:var(--citrine-100)}._calendar-block_yyf2c_78 ._a_yyf2c_56{color:var(--black-100);font-size:var(--mimir-size-text-l);border-radius:var(--mimir-control-radius-s)}._calendar-block_yyf2c_78 ._a_yyf2c_56:hover{background:var(--black-10)}._calendar-block_yyf2c_78 ._a_yyf2c_56:active{color:var(--white);background:var(--sapphire-100)}._calendar-block_yyf2c_78 ._current_yyf2c_155{background:var(--sapphire-10);border-radius:var(--mimir-control-radius-s)}._calendar-block_yyf2c_78 ._monthGrid_yyf2c_160{display:grid;grid-template-columns:repeat(3,1fr)}
|
@@ -4,8 +4,6 @@ import { EAccordionButtonStyle, EAccordionButtonType, EAccordionIconType, EAccor
|
|
4
4
|
export type TProps = {
|
5
5
|
/** Заголовок аккордеона */
|
6
6
|
title: string;
|
7
|
-
/** Содержимое аккордеона */
|
8
|
-
children: ReactNode;
|
9
7
|
/** Размер аккордеона */
|
10
8
|
size?: EAccordionSize | `${EAccordionSize}`;
|
11
9
|
/** Преобразование заголовка в верхний регистр */
|
@@ -30,5 +28,9 @@ export type TProps = {
|
|
30
28
|
onlyOpenSubtitleNode?: ReactNode;
|
31
29
|
/** Дополнительный класс для контейнера subtitle */
|
32
30
|
classNameSubtitleContainer?: string;
|
31
|
+
/** Флаг, указывающий, отключен ли аккордеон. */
|
32
|
+
disabled?: boolean;
|
33
33
|
};
|
34
|
-
export declare const Accordion: import('react').ForwardRefExoticComponent<TProps &
|
34
|
+
export declare const Accordion: import('react').ForwardRefExoticComponent<TProps & {
|
35
|
+
children?: ReactNode | undefined;
|
36
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
@@ -1,24 +1,24 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { c as
|
3
|
-
import
|
1
|
+
import { jsxs as A, Fragment as X, jsx as h } from "react/jsx-runtime";
|
2
|
+
import { c as D } from "../../index-DIxK0V-G.js";
|
3
|
+
import k, { createContext as F, useRef as O, Fragment as oe, useReducer as ue, useMemo as M, useId as re, useEffect as le, useContext as H, forwardRef as de, useState as pe } from "react";
|
4
4
|
import { AccordionItem as fe } from "./AccordionItem/AccordionItem.js";
|
5
|
-
import { EAccordionButtonType as
|
5
|
+
import { EAccordionButtonType as T, EAccordionSize as B, EAccordionLinkIconSize as J, EAccordionButtonStyle as me, EAccordionIconType as Y, EAccordionButtonIconSize as Z } from "./constants.js";
|
6
6
|
import { useMediaQuery as _e } from "../../hooks/useMediaQuery/useMediaQuery.js";
|
7
7
|
import { EMediaQuery as Ie } from "../../hooks/useMediaQuery/constants.js";
|
8
|
-
import { Icon as
|
9
|
-
import { Link as
|
10
|
-
import { M as ee, W as
|
11
|
-
import { w as
|
12
|
-
import { T as
|
13
|
-
import { c as
|
8
|
+
import { Icon as Pe } from "../../icons/Icon.js";
|
9
|
+
import { Link as Se } from "../AnchorLink/Link.js";
|
10
|
+
import { M as ee, W as K, y as q, T as ke, o as x, a as V, H as W, I as se, $ as ve, b as ye, D as ne, u as Ee, c as w } from "../../keyboard-B0lm_zyn.js";
|
11
|
+
import { w as he } from "../../use-active-press-86hajhdd.js";
|
12
|
+
import { T as De } from "../../use-resolve-button-type-BAxjHhds.js";
|
13
|
+
import { c as $e, i as L, u as be, V as ge, A as Te, s as we } from "../../open-closed-Cy6VDfYc.js";
|
14
14
|
import { r as Ne } from "../../bugs-diTMAGNw.js";
|
15
15
|
import '../../assets/Accordion.css';let Re = F(() => {
|
16
16
|
});
|
17
17
|
function Ce({ value: e, children: n }) {
|
18
|
-
return
|
18
|
+
return k.createElement(Re.Provider, { value: e }, n);
|
19
19
|
}
|
20
20
|
var te;
|
21
|
-
let Ae = (te =
|
21
|
+
let Ae = (te = k.startTransition) != null ? te : function(e) {
|
22
22
|
e();
|
23
23
|
};
|
24
24
|
var Be = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Be || {}), Oe = ((e) => (e[e.ToggleDisclosure = 0] = "ToggleDisclosure", e[e.CloseDisclosure = 1] = "CloseDisclosure", e[e.SetButtonId = 2] = "SetButtonId", e[e.SetPanelId = 3] = "SetPanelId", e[e.LinkPanel = 4] = "LinkPanel", e[e.UnlinkPanel = 5] = "UnlinkPanel", e))(Oe || {});
|
@@ -35,18 +35,18 @@ j.displayName = "DisclosureContext";
|
|
35
35
|
function Q(e) {
|
36
36
|
let n = H(j);
|
37
37
|
if (n === null) {
|
38
|
-
let
|
39
|
-
throw Error.captureStackTrace && Error.captureStackTrace(
|
38
|
+
let s = new Error(`<${e} /> is missing a parent <Disclosure /> component.`);
|
39
|
+
throw Error.captureStackTrace && Error.captureStackTrace(s, Q), s;
|
40
40
|
}
|
41
41
|
return n;
|
42
42
|
}
|
43
43
|
let z = F(null);
|
44
44
|
z.displayName = "DisclosureAPIContext";
|
45
|
-
function
|
45
|
+
function ae(e) {
|
46
46
|
let n = H(z);
|
47
47
|
if (n === null) {
|
48
|
-
let
|
49
|
-
throw Error.captureStackTrace && Error.captureStackTrace(
|
48
|
+
let s = new Error(`<${e} /> is missing a parent <Disclosure /> component.`);
|
49
|
+
throw Error.captureStackTrace && Error.captureStackTrace(s, ae), s;
|
50
50
|
}
|
51
51
|
return n;
|
52
52
|
}
|
@@ -55,71 +55,71 @@ G.displayName = "DisclosurePanelContext";
|
|
55
55
|
function Me() {
|
56
56
|
return H(G);
|
57
57
|
}
|
58
|
-
function
|
58
|
+
function Le(e, n) {
|
59
59
|
return V(n.type, xe, e, n);
|
60
60
|
}
|
61
|
-
let
|
61
|
+
let Fe = oe;
|
62
62
|
function Ue(e, n) {
|
63
|
-
let { defaultOpen:
|
64
|
-
|
65
|
-
}, e.as === void 0 || e.as ===
|
63
|
+
let { defaultOpen: s = !1, ...p } = e, o = O(null), f = q(n, ke((r) => {
|
64
|
+
o.current = r;
|
65
|
+
}, e.as === void 0 || e.as === oe)), u = O(null), t = O(null), l = ue(Le, { disclosureState: s ? 0 : 1, linkedPanel: !1, buttonRef: t, panelRef: u, buttonId: null, panelId: null }), [{ disclosureState: m, buttonId: a }, _] = l, c = x((r) => {
|
66
66
|
_({ type: 1 });
|
67
|
-
let
|
68
|
-
if (!
|
69
|
-
let
|
70
|
-
|
71
|
-
}),
|
72
|
-
return
|
67
|
+
let S = Ee(o);
|
68
|
+
if (!S || !a) return;
|
69
|
+
let y = r ? r instanceof HTMLElement ? r : r.current instanceof HTMLElement ? r.current : S.getElementById(a) : S.getElementById(a);
|
70
|
+
y == null || y.focus();
|
71
|
+
}), I = M(() => ({ close: c }), [c]), P = M(() => ({ open: m === 0, close: c }), [m, c]), v = { ref: f };
|
72
|
+
return k.createElement(j.Provider, { value: l }, k.createElement(z.Provider, { value: I }, k.createElement(Ce, { value: c }, k.createElement($e, { value: V(m, { 0: L.Open, 1: L.Closed }) }, W({ ourProps: v, theirProps: p, slot: P, defaultTag: Fe, name: "Disclosure" })))));
|
73
73
|
}
|
74
74
|
let He = "button";
|
75
|
-
function
|
76
|
-
let
|
77
|
-
|
78
|
-
if (!
|
79
|
-
|
75
|
+
function Ke(e, n) {
|
76
|
+
let s = re(), { id: p = `headlessui-disclosure-button-${s}`, disabled: o = !1, autoFocus: f = !1, ...u } = e, [t, l] = Q("Disclosure.Button"), m = Me(), a = m === null ? !1 : m === t.panelId, _ = O(null), c = q(_, n, a ? null : t.buttonRef), I = se();
|
77
|
+
le(() => {
|
78
|
+
if (!a) return l({ type: 2, buttonId: p }), () => {
|
79
|
+
l({ type: 2, buttonId: null });
|
80
80
|
};
|
81
|
-
}, [
|
82
|
-
let
|
83
|
-
var
|
84
|
-
if (
|
81
|
+
}, [p, l, a]);
|
82
|
+
let P = x((i) => {
|
83
|
+
var g;
|
84
|
+
if (a) {
|
85
85
|
if (t.disclosureState === 1) return;
|
86
|
-
switch (
|
87
|
-
case
|
88
|
-
case
|
89
|
-
|
86
|
+
switch (i.key) {
|
87
|
+
case w.Space:
|
88
|
+
case w.Enter:
|
89
|
+
i.preventDefault(), i.stopPropagation(), l({ type: 0 }), (g = t.buttonRef.current) == null || g.focus();
|
90
90
|
break;
|
91
91
|
}
|
92
|
-
} else switch (
|
93
|
-
case
|
94
|
-
case
|
95
|
-
|
92
|
+
} else switch (i.key) {
|
93
|
+
case w.Space:
|
94
|
+
case w.Enter:
|
95
|
+
i.preventDefault(), i.stopPropagation(), l({ type: 0 });
|
96
96
|
break;
|
97
97
|
}
|
98
|
-
}),
|
99
|
-
switch (
|
100
|
-
case
|
101
|
-
|
98
|
+
}), v = x((i) => {
|
99
|
+
switch (i.key) {
|
100
|
+
case w.Space:
|
101
|
+
i.preventDefault();
|
102
102
|
break;
|
103
103
|
}
|
104
|
-
}),
|
105
|
-
var
|
106
|
-
Ne(
|
107
|
-
}), { isFocusVisible:
|
108
|
-
return W({ mergeRefs:
|
104
|
+
}), r = x((i) => {
|
105
|
+
var g;
|
106
|
+
Ne(i.currentTarget) || o || (a ? (l({ type: 0 }), (g = t.buttonRef.current) == null || g.focus()) : l({ type: 0 }));
|
107
|
+
}), { isFocusVisible: S, focusProps: y } = ve({ autoFocus: f }), { isHovered: E, hoverProps: $ } = ye({ isDisabled: o }), { pressed: N, pressProps: R } = he({ disabled: o }), U = M(() => ({ open: t.disclosureState === 0, hover: E, active: N, disabled: o, focus: S, autofocus: f }), [t, E, N, S, o, f]), C = De(e, _), b = a ? ne({ ref: c, type: C, disabled: o || void 0, autoFocus: f, onKeyDown: P, onClick: r }, y, $, R) : ne({ ref: c, id: p, type: C, "aria-expanded": t.disclosureState === 0, "aria-controls": t.linkedPanel ? t.panelId : void 0, disabled: o || void 0, autoFocus: f, onKeyDown: P, onKeyUp: v, onClick: r }, y, $, R);
|
108
|
+
return W({ mergeRefs: I, ourProps: b, theirProps: u, slot: U, defaultTag: He, name: "Disclosure.Button" });
|
109
109
|
}
|
110
|
-
let
|
110
|
+
let qe = "div", Ve = ee.RenderStrategy | ee.Static;
|
111
111
|
function We(e, n) {
|
112
|
-
let
|
113
|
-
Ae(() => t({ type:
|
112
|
+
let s = re(), { id: p = `headlessui-disclosure-panel-${s}`, transition: o = !1, ...f } = e, [u, t] = Q("Disclosure.Panel"), { close: l } = ae("Disclosure.Panel"), m = se(), a = q(n, u.panelRef, (r) => {
|
113
|
+
Ae(() => t({ type: r ? 4 : 5 }));
|
114
114
|
});
|
115
|
-
|
115
|
+
le(() => (t({ type: 3, panelId: p }), () => {
|
116
116
|
t({ type: 3, panelId: null });
|
117
|
-
}), [
|
118
|
-
let _ =
|
119
|
-
return
|
117
|
+
}), [p, t]);
|
118
|
+
let _ = be(), [c, I] = ge(o, u.panelRef, _ !== null ? (_ & L.Open) === L.Open : u.disclosureState === 0), P = M(() => ({ open: u.disclosureState === 0, close: l }), [u.disclosureState, l]), v = { ref: a, id: p, ...Te(I) };
|
119
|
+
return k.createElement(we, null, k.createElement(G.Provider, { value: u.panelId }, W({ mergeRefs: m, ourProps: v, theirProps: f, slot: P, defaultTag: qe, features: Ve, visible: c, name: "Disclosure.Panel" })));
|
120
120
|
}
|
121
|
-
let je =
|
122
|
-
const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26", Je = "_icon_1p5o7_33", Ye = "_circle_1p5o7_43", Ze = "_square_1p5o7_50", en = "_panel_1p5o7_60", nn = "_open_1p5o7_67", tn = "_m_1p5o7_87", on = "_s_1p5o7_50",
|
121
|
+
let je = K(Ue), ce = K(Ke), ie = K(We), Qe = Object.assign(je, { Button: ce, Panel: ie });
|
122
|
+
const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26", Je = "_icon_1p5o7_33", Ye = "_circle_1p5o7_43", Ze = "_square_1p5o7_50", en = "_panel_1p5o7_60", nn = "_open_1p5o7_67", tn = "_m_1p5o7_87", on = "_s_1p5o7_50", d = {
|
123
123
|
accordion: ze,
|
124
124
|
"is-link": "_is-link_1p5o7_9",
|
125
125
|
header: Ge,
|
@@ -138,70 +138,67 @@ const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26"
|
|
138
138
|
}, kn = de(
|
139
139
|
({
|
140
140
|
title: e,
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
case C.BUTTON:
|
178
|
-
return /* @__PURE__ */ R(X, { children: [
|
179
|
-
/* @__PURE__ */ P(
|
141
|
+
disabled: n,
|
142
|
+
buttonType: s = T.BUTTON,
|
143
|
+
children: p,
|
144
|
+
size: o = B.M,
|
145
|
+
titleUppercase: f,
|
146
|
+
buttonStyle: u = me.CIRCLE,
|
147
|
+
iconType: t = Y.ARROW,
|
148
|
+
classNameTitle: l,
|
149
|
+
classNameContent: m,
|
150
|
+
classNameAccordion: a,
|
151
|
+
classNameIconButton: _,
|
152
|
+
subtitleNode: c,
|
153
|
+
onlyOpenSubtitleNode: I,
|
154
|
+
classNameSubtitleContainer: P
|
155
|
+
}, v) => {
|
156
|
+
const [r, S] = pe(!1), y = _e(Ie.XS1), E = s === T.LINK, $ = {
|
157
|
+
[d["is-link"]]: E
|
158
|
+
}, N = () => {
|
159
|
+
n || S((b) => !b);
|
160
|
+
}, R = o === B.S ? J.S : J.M, U = {
|
161
|
+
variant: "anchor",
|
162
|
+
size: y ? "s" : "l",
|
163
|
+
rightIcon: {
|
164
|
+
iconName: R,
|
165
|
+
className: D({
|
166
|
+
[d["link-open"]]: r
|
167
|
+
})
|
168
|
+
}
|
169
|
+
}, C = (b) => {
|
170
|
+
const i = () => t === Y.DROPDOWN ? o === B.S ? "DropdownArrowBottom16px" : "DropdownArrowDown24px" : o === B.S ? Z.S : Z.M;
|
171
|
+
switch (s) {
|
172
|
+
case T.LINK:
|
173
|
+
return e;
|
174
|
+
case T.BUTTON:
|
175
|
+
return /* @__PURE__ */ A(X, { children: [
|
176
|
+
/* @__PURE__ */ h(
|
180
177
|
"span",
|
181
178
|
{
|
182
|
-
className:
|
183
|
-
|
184
|
-
|
185
|
-
|
179
|
+
className: D(
|
180
|
+
d.title,
|
181
|
+
l,
|
182
|
+
f && d["title-uppercase"]
|
186
183
|
),
|
187
184
|
children: e
|
188
185
|
}
|
189
186
|
),
|
190
|
-
/* @__PURE__ */
|
187
|
+
/* @__PURE__ */ h(
|
191
188
|
"div",
|
192
189
|
{
|
193
|
-
className:
|
194
|
-
|
195
|
-
|
196
|
-
u
|
197
|
-
|
190
|
+
className: D(
|
191
|
+
d["icon-container"],
|
192
|
+
b && d.open,
|
193
|
+
d[u],
|
194
|
+
_
|
198
195
|
),
|
199
196
|
"data-testid": "accordion-icon-container",
|
200
|
-
children: /* @__PURE__ */
|
201
|
-
|
197
|
+
children: /* @__PURE__ */ h(
|
198
|
+
Pe,
|
202
199
|
{
|
203
|
-
iconName:
|
204
|
-
className:
|
200
|
+
iconName: i(),
|
201
|
+
className: d.icon,
|
205
202
|
"data-testid": "accordion-icon"
|
206
203
|
}
|
207
204
|
)
|
@@ -212,44 +209,47 @@ const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26"
|
|
212
209
|
return null;
|
213
210
|
}
|
214
211
|
};
|
215
|
-
return /* @__PURE__ */
|
216
|
-
/* @__PURE__ */
|
212
|
+
return /* @__PURE__ */ A(X, { children: [
|
213
|
+
/* @__PURE__ */ h(
|
217
214
|
"div",
|
218
215
|
{
|
219
|
-
className:
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
216
|
+
className: D(
|
217
|
+
d.accordion,
|
218
|
+
d[o],
|
219
|
+
$,
|
220
|
+
a
|
224
221
|
),
|
225
|
-
children: /* @__PURE__ */
|
226
|
-
/* @__PURE__ */
|
227
|
-
|
222
|
+
children: /* @__PURE__ */ A(Qe, { ref: v, children: [
|
223
|
+
/* @__PURE__ */ h(
|
224
|
+
ce,
|
228
225
|
{
|
229
|
-
as:
|
230
|
-
|
231
|
-
|
226
|
+
as: E ? Se : T.BUTTON,
|
227
|
+
onClick: N,
|
228
|
+
className: D({
|
229
|
+
[d.header]: !E
|
232
230
|
}),
|
233
|
-
|
231
|
+
...E ? U : {},
|
232
|
+
children: C(r)
|
234
233
|
}
|
235
|
-
)
|
236
|
-
|
237
|
-
|
234
|
+
),
|
235
|
+
r && /* @__PURE__ */ h(
|
236
|
+
ie,
|
238
237
|
{
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
238
|
+
"data-testid": "accordion-panel",
|
239
|
+
className: D(
|
240
|
+
d.panel,
|
241
|
+
m,
|
242
|
+
$
|
243
243
|
),
|
244
|
-
children: /* @__PURE__ */
|
244
|
+
children: /* @__PURE__ */ h(fe, { size: o, children: p })
|
245
245
|
}
|
246
246
|
)
|
247
247
|
] })
|
248
248
|
}
|
249
249
|
),
|
250
|
-
(
|
251
|
-
|
252
|
-
|
250
|
+
(c || I) && /* @__PURE__ */ A("div", { className: P, children: [
|
251
|
+
c,
|
252
|
+
r && I
|
253
253
|
] })
|
254
254
|
] });
|
255
255
|
}
|
@@ -19,6 +19,10 @@ export type TProps = TCommonButtonProps & ComponentProps<'button'> & {
|
|
19
19
|
* Флаг, отключащий абсолютно все модификации кнопки (variant, size).
|
20
20
|
*/
|
21
21
|
clear?: boolean;
|
22
|
+
/**
|
23
|
+
* Информация о кол-ве тех или иных элементов списка или текста, к которым привязана кнопка.
|
24
|
+
*/
|
25
|
+
count?: string | number;
|
22
26
|
/**
|
23
27
|
* Идентификатор формы, к которой привязана кнопка.
|
24
28
|
*/
|
@@ -49,6 +53,10 @@ export declare const Button: import('react').ForwardRefExoticComponent<(Omit<imp
|
|
49
53
|
* Флаг, отключащий абсолютно все модификации кнопки (variant, size).
|
50
54
|
*/
|
51
55
|
clear?: boolean;
|
56
|
+
/**
|
57
|
+
* Информация о кол-ве тех или иных элементов списка или текста, к которым привязана кнопка.
|
58
|
+
*/
|
59
|
+
count?: string | number;
|
52
60
|
/**
|
53
61
|
* Идентификатор формы, к которой привязана кнопка.
|
54
62
|
*/
|
@@ -75,6 +83,10 @@ export declare const Button: import('react').ForwardRefExoticComponent<(Omit<imp
|
|
75
83
|
* Флаг, отключащий абсолютно все модификации кнопки (variant, size).
|
76
84
|
*/
|
77
85
|
clear?: boolean;
|
86
|
+
/**
|
87
|
+
* Информация о кол-ве тех или иных элементов списка или текста, к которым привязана кнопка.
|
88
|
+
*/
|
89
|
+
count?: string | number;
|
78
90
|
/**
|
79
91
|
* Идентификатор формы, к которой привязана кнопка.
|
80
92
|
*/
|
@@ -101,6 +113,10 @@ export declare const Button: import('react').ForwardRefExoticComponent<(Omit<imp
|
|
101
113
|
* Флаг, отключащий абсолютно все модификации кнопки (variant, size).
|
102
114
|
*/
|
103
115
|
clear?: boolean;
|
116
|
+
/**
|
117
|
+
* Информация о кол-ве тех или иных элементов списка или текста, к которым привязана кнопка.
|
118
|
+
*/
|
119
|
+
count?: string | number;
|
104
120
|
/**
|
105
121
|
* Идентификатор формы, к которой привязана кнопка.
|
106
122
|
*/
|
@@ -127,6 +143,10 @@ export declare const Button: import('react').ForwardRefExoticComponent<(Omit<imp
|
|
127
143
|
* Флаг, отключащий абсолютно все модификации кнопки (variant, size).
|
128
144
|
*/
|
129
145
|
clear?: boolean;
|
146
|
+
/**
|
147
|
+
* Информация о кол-ве тех или иных элементов списка или текста, к которым привязана кнопка.
|
148
|
+
*/
|
149
|
+
count?: string | number;
|
130
150
|
/**
|
131
151
|
* Идентификатор формы, к которой привязана кнопка.
|
132
152
|
*/
|
@@ -153,6 +173,10 @@ export declare const Button: import('react').ForwardRefExoticComponent<(Omit<imp
|
|
153
173
|
* Флаг, отключащий абсолютно все модификации кнопки (variant, size).
|
154
174
|
*/
|
155
175
|
clear?: boolean;
|
176
|
+
/**
|
177
|
+
* Информация о кол-ве тех или иных элементов списка или текста, к которым привязана кнопка.
|
178
|
+
*/
|
179
|
+
count?: string | number;
|
156
180
|
/**
|
157
181
|
* Идентификатор формы, к которой привязана кнопка.
|
158
182
|
*/
|
@@ -179,6 +203,10 @@ export declare const Button: import('react').ForwardRefExoticComponent<(Omit<imp
|
|
179
203
|
* Флаг, отключащий абсолютно все модификации кнопки (variant, size).
|
180
204
|
*/
|
181
205
|
clear?: boolean;
|
206
|
+
/**
|
207
|
+
* Информация о кол-ве тех или иных элементов списка или текста, к которым привязана кнопка.
|
208
|
+
*/
|
209
|
+
count?: string | number;
|
182
210
|
/**
|
183
211
|
* Идентификатор формы, к которой привязана кнопка.
|
184
212
|
*/
|
@@ -205,6 +233,10 @@ export declare const Button: import('react').ForwardRefExoticComponent<(Omit<imp
|
|
205
233
|
* Флаг, отключащий абсолютно все модификации кнопки (variant, size).
|
206
234
|
*/
|
207
235
|
clear?: boolean;
|
236
|
+
/**
|
237
|
+
* Информация о кол-ве тех или иных элементов списка или текста, к которым привязана кнопка.
|
238
|
+
*/
|
239
|
+
count?: string | number;
|
208
240
|
/**
|
209
241
|
* Идентификатор формы, к которой привязана кнопка.
|
210
242
|
*/
|
@@ -231,6 +263,10 @@ export declare const Button: import('react').ForwardRefExoticComponent<(Omit<imp
|
|
231
263
|
* Флаг, отключащий абсолютно все модификации кнопки (variant, size).
|
232
264
|
*/
|
233
265
|
clear?: boolean;
|
266
|
+
/**
|
267
|
+
* Информация о кол-ве тех или иных элементов списка или текста, к которым привязана кнопка.
|
268
|
+
*/
|
269
|
+
count?: string | number;
|
234
270
|
/**
|
235
271
|
* Идентификатор формы, к которой привязана кнопка.
|
236
272
|
*/
|