bmi-next-brokers 2.9.8 → 3.0.1
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/dist/assets/Switch.css +1 -0
- package/dist/assets/main.css +1 -1
- package/dist/components/Switch/Switch.d.ts +31 -0
- package/dist/components/Switch/Switch.js +108 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Switch/index.js +4 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.js +46 -44
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._switch_56b6x_1{--switch-bg: var(--ui-blue-100);--switch-active-bg: #2054A5;--switch-active-text: #ffffff;--switch-inactive-text: #2054A5;--switch-inset: 3px;--switch-pad-y: 10px;--switch-pad-x: 14px;--switch-font: 12px;--switch-radius: 20px;--switch-min-width: 52px;--switch-gap: 5px;--switch-max-height: 48px;position:relative;display:flex;flex-direction:row;gap:0;max-height:var(--switch-max-height);padding:var(--switch-inset);border-radius:var(--switch-radius);background:var(--switch-bg);width:fit-content}._small_56b6x_29{--switch-inset: 3px;--switch-pad-y: 6px;--switch-pad-x: 10px;--switch-font: 11px;--switch-radius: 16px;--switch-min-width: 40px;--switch-gap: 4px;--switch-max-height: 36px}._large_56b6x_40{--switch-inset: 4px;--switch-pad-y: 14px;--switch-pad-x: 18px;--switch-font: 14px;--switch-radius: 24px;--switch-min-width: 64px;--switch-gap: 6px;--switch-max-height: 58px}._switch_56b6x_1 ._indicator_56b6x_52{position:absolute;top:var(--switch-inset);bottom:var(--switch-inset);left:0;background:#2054a5;border-radius:var(--switch-radius);transition:transform .42s cubic-bezier(.34,1.56,.64,1),width .42s cubic-bezier(.34,1.56,.64,1);pointer-events:none;z-index:0}._switch_56b6x_1._simple_56b6x_68 ._indicator_56b6x_52{transition:transform .22s ease,width .22s ease}._switch_56b6x_1._simple_56b6x_68 ._option_56b6x_74._active_56b6x_74 ._label_56b6x_74{animation:none}._switch_56b6x_1 ._option_56b6x_74{position:relative;z-index:1;min-width:var(--switch-min-width);border:none;background:transparent;color:var(--switch-inactive-text);font-size:var(--switch-font);cursor:pointer;transition:color .25s ease,transform .25s ease;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:var(--switch-gap);padding:var(--switch-pad-y) var(--switch-pad-x);border-radius:var(--switch-radius)}._switch_56b6x_1 ._option_56b6x_74:active{transform:scale(.94)}._switch_56b6x_1 ._option_56b6x_74._active_56b6x_74{color:var(--switch-active-text)}._switch_56b6x_1 ._option_56b6x_74._active_56b6x_74 ._label_56b6x_74{animation:_pop_56b6x_1 .32s ease}@keyframes _pop_56b6x_1{0%{transform:scale(1)}45%{transform:scale(1.12)}to{transform:scale(1)}}._switch_56b6x_1 ._label_56b6x_74{line-height:5px}
|