@arkyn/components 1.3.71 → 1.3.72
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +391 -392
- package/dist/bundle.umd.cjs +9 -9
- package/dist/components/Alert/AlertButton/index.d.ts +5 -0
- package/dist/components/Alert/AlertButton/index.d.ts.map +1 -0
- package/dist/components/Alert/AlertButton/index.js +12 -0
- package/dist/components/Input/MaskInput/index.d.ts.map +1 -1
- package/dist/components/Input/MaskInput/index.js +1 -1
- package/dist/components/Select/getConfig.d.ts +0 -1
- package/dist/components/Select/getConfig.d.ts.map +1 -1
- package/dist/components/Select/getConfig.js +1 -2
- package/dist/components/Select/index.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Alert/AlertButton/index.tsx +43 -0
- package/src/components/Alert/AlertButton/styles.css +214 -0
- package/src/components/Alert/AlertContent/styles.css +1 -1
- package/src/components/Alert/AlertDescription/styles.css +1 -1
- package/src/components/Alert/AlertTitle/styles.css +1 -1
- package/src/components/Input/MaskInput/index.tsx +1 -0
- package/src/components/Select/getConfig.tsx +2 -2
- package/src/components/Select/index.tsx +3 -3
package/dist/style.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.arkyn_alert{display:flex;align-items:start;gap:16px;padding:16px;border:1px solid transparent;border-radius:var(--rounded-cards)}.arkyn_alert.danger{background:rgba(var(--spotlight-danger),.1);border-color:rgba(var(--spotlight-danger),.4)}.arkyn_alert.success{background:rgba(var(--spotlight-success),.1);border-color:rgba(var(--spotlight-success),.4)}.arkyn_alert.info{background:rgba(var(--spotlight-info),.1);border-color:rgba(var(--spotlight-info),.4)}.arkyn_alert.warning{background:rgba(var(--spotlight-warning),.1);border-color:rgba(var(--spotlight-warning),.4)}.arkyn_alert_content{display:flex;flex-direction:column;gap:6px}.arkyn_description{font-size:14px;font-weight:400;line-height:19.07px;text-align:left;color:var(--text-body)}.arkyn_alert_icon{min-width:28px;min-height:28px;max-width:28px;max-height:28px}.arkyn_alert_icon.danger{color:rgba(var(--spotlight-danger),1)}.arkyn_alert_icon.success{color:rgba(var(--spotlight-success),1)}.arkyn_alert_icon.info{color:rgba(var(--spotlight-info),1)}.arkyn_alert_icon.warning{color:rgba(var(--spotlight-warning),1)}.arkyn_title{font-size:16px;font-weight:600;line-height:21.79px;text-align:left;color:var(--text-heading)}.arkyn_badge{display:flex;align-items:center;justify-content:center;gap:4px;width:min-content;white-space:nowrap;border:1px solid transparent}.arkyn_badge.solid{color:#fff}.arkyn_badge.solid.primary{background-color:rgba(var(--spotlight-primary),1)}.arkyn_badge.solid.danger{background-color:rgba(var(--spotlight-danger),1)}.arkyn_badge.solid.success{background-color:rgba(var(--spotlight-success),1)}.arkyn_badge.solid.warning{background-color:rgba(var(--spotlight-warning),1)}.arkyn_badge.solid.info{background-color:rgba(var(--spotlight-info),1)}.arkyn_button.outline{background-color:rgba(var(--spotlight-outline),1)}.arkyn_badge.outline.primary{color:rgba(var(--spotlight-primary),1);border-color:rgba(var(--spotlight-primary),1)}.arkyn_badge.outline.danger{color:rgba(var(--spotlight-danger),1);border-color:rgba(var(--spotlight-danger),1)}.arkyn_badge.outline.success{color:rgba(var(--spotlight-success),1);border-color:rgba(var(--spotlight-success),1)}.arkyn_badge.outline.warning{color:rgba(var(--spotlight-warning),1);border-color:rgba(var(--spotlight-warning),1)}.arkyn_badge.outline.info{color:rgba(var(--spotlight-info),1);border-color:rgba(var(--spotlight-info),1)}.arkyn_badge.ghost.primary{color:rgba(var(--spotlight-primary),1);background-color:rgba(var(--spotlight-primary),.2)}.arkyn_badge.ghost.danger{color:rgba(var(--spotlight-danger),1);background-color:rgba(var(--spotlight-danger),.2)}.arkyn_badge.ghost.success{color:rgba(var(--spotlight-success),1);background-color:rgba(var(--spotlight-success),.2)}.arkyn_badge.ghost.warning{color:rgba(var(--spotlight-warning),1);background-color:rgba(var(--spotlight-warning),.2)}.arkyn_badge.ghost.info{color:rgba(var(--spotlight-info),1);background-color:rgba(var(--spotlight-info),.2)}.arkyn_badge.lg{font-weight:400;font-size:12px;line-height:12px;border-radius:calc(var(--rounded-inputs) * .6667);padding:0 16px;height:24px}.arkyn_badge.md{font-weight:400;font-size:10px;line-height:10px;border-radius:calc(var(--rounded-inputs) * .6667);padding:0 12px;height:20px}.arkyn_divider{display:block;flex:1;background-color:var(--border)}.arkyn_divider.horizontal{width:100%;min-height:1px;max-height:1px}.arkyn_divider.vertical{height:100%;min-width:1px;max-width:1px}.arkyn_skeleton{width:100%;height:100%;border-radius:6px;background:linear-gradient(to right,var(--skeleton) 4%,var(--skeleton-foreground) 25%,var(--skeleton) 36%);background-size:40rem 100%;animation:shimmer 1.5s infinite linear}@keyframes shimmer{0%{background-position:-40rem 0}to{background-position:40rem 0}}.arkyn_table_body>tr:nth-child(odd)>td{background-color:var(--card-foreground-primary)}.arkyn_table_body>tr>td{padding-left:16px;height:64px;font-weight:400;font-size:14px;color:var(--text-body)}.arkyn_table_body>tr>td:first-child{border-top-left-radius:var(--rounded-cards);border-bottom-left-radius:var(--rounded-cards)}.arkyn_table_body>tr>td:last-child{border-top-right-radius:var(--rounded-cards);border-bottom-right-radius:var(--rounded-cards);padding-left:16px}.arkyn_table_body>tr:nth-child(odd):hover>td{filter:brightness(.98)}.arkyn_table_body>tr:nth-child(2n):hover>td{background-color:var(--card-foreground-primary);filter:brightness(.98)}html.dark .arkyn_table_body>tr:nth-child(odd):hover>td{filter:brightness(1.2)}html.dark .arkyn_table_body>tr:nth-child(2n):hover>td{background-color:var(--card-foreground-primary);filter:brightness(1.2)}.arkyn_table_caption{margin-bottom:24px}.arkyn_table_caption-content{display:flex;align-items:center}.arkyn_table_caption-content>.right-section{display:flex;align-items:center;justify-content:end;gap:16px;flex:2;padding-left:auto}.arkyn_table_container{display:flex;flex-direction:column;padding:20px;width:100%;height:max-content;overflow-y:hidden;overflow-x:auto;border-radius:var(--rounded-cards);background-color:var(--card)}.arkyn_table_container table{border-collapse:separate;border-spacing:0}.arkyn_table_footer-content{display:flex;align-items:center;justify-content:space-between;height:48px;padding-top:16px;border-top:1px solid var(--border)}.arkyn_table_footer .spacing-row{height:24px}.arkyn_table_header th{text-align:left;background-color:var(--card-foreground-secondary);padding-left:16px;height:44px;color:var(--text-heading);font-weight:600;font-size:14px;white-space:nowrap}.arkyn_table_header th:first-child{border-top-left-radius:var(--rounded-cards);border-bottom-left-radius:var(--rounded-cards)}.arkyn_table_header th:last-child{border-top-right-radius:var(--rounded-cards);border-bottom-right-radius:var(--rounded-cards);padding-right:16px}.arkyn_table_header .spacing-row{height:12px}.arkyn_button{background:transparent;border:1px solid transparent;outline:1px solid transparent;position:relative;transition:.15s all ease-out}.arkyn_button:hover{cursor:pointer;filter:brightness(.95)}html.dark .arkyn_button:hover{cursor:pointer;filter:brightness(1.2)}.arkyn_button:disabled{cursor:not-allowed;opacity:.5}.arkyn_button .arkyn_button-content{display:flex;align-items:center;justify-content:center;white-space:nowrap}.arkyn_button.solid{color:#fff}.arkyn_button.solid.primary{background-color:rgba(var(--spotlight-primary),1)}.arkyn_button.solid.danger{background-color:rgba(var(--spotlight-danger),1)}.arkyn_button.solid.success{background-color:rgba(var(--spotlight-success),1)}.arkyn_button.solid.warning{background-color:rgba(var(--spotlight-warning),1)}.arkyn_button.outline{background-color:rgba(var(--input-background),1);border-color:var(--border)}.arkyn_button.outline.primary{color:rgba(var(--spotlight-primary),1)}.arkyn_button.outline.danger{color:rgba(var(--spotlight-danger),1)}.arkyn_button.outline.success{color:rgba(var(--spotlight-success),1)}.arkyn_button.outline.warning{color:rgba(var(--spotlight-warning),1)}.arkyn_button.ghost.primary{color:rgba(var(--spotlight-primary),1);background-color:rgba(var(--spotlight-primary),.2)}.arkyn_button.ghost.danger{color:rgba(var(--spotlight-danger),1);background-color:rgba(var(--spotlight-danger),.2)}.arkyn_button.ghost.success{color:rgba(var(--spotlight-success),1);background-color:rgba(var(--spotlight-success),.2)}.arkyn_button.ghost.warning{color:rgba(var(--spotlight-warning),1);background-color:rgba(var(--spotlight-warning),.2)}.arkyn_button.invisible.primary{color:rgba(var(--spotlight-primary),1)}.arkyn_button.invisible.danger{color:rgba(var(--spotlight-danger),1)}.arkyn_button.invisible.success{color:rgba(var(--spotlight-success),1)}.arkyn_button.invisible.warning{color:rgba(var(--spotlight-warning),1)}.arkyn_button.lg{font-weight:600;font-size:14px;line-height:14px;border-radius:var(--rounded-inputs);padding:0 20px;height:44px}.arkyn_button.lg .arkyn_button-content,.arkyn_button.lg .arkyn_button-spinner{gap:16px}.arkyn_button.md{font-weight:600;font-size:14px;line-height:14px;border-radius:var(--rounded-inputs);gap:16px;padding:0 16px;height:40px}.arkyn_button.md .arkyn_button-content,.arkyn_button.md .arkyn_button-spinner{gap:14px}.arkyn_button.sm{font-weight:600;font-size:12px;line-height:12px;border-radius:var(--rounded-inputs);padding:0 16px;height:32px}.arkyn_button.sm .arkyn_button-content,.arkyn_button.sm .arkyn_button-spinner{gap:12px}.arkyn_button.xs{font-weight:600;font-size:10px;line-height:10px;border-radius:calc(var(--rounded-inputs) * .6667);padding:0 16px;height:24px}.arkyn_button.xs .arkyn_button-content,.arkyn_button.xs .arkyn_button-spinner{gap:8px}.arkyn_button .arkyn_button-spinner{display:flex;align-items:center;justify-content:center;white-space:nowrap;opacity:0}.arkyn_button .arkyn_button-spinner>svg{animation:spin 2s linear infinite}.arkyn_button.loading_text_false .arkyn_button-spinner{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.arkyn_button.loading_text_true .arkyn_button-spinner{max-height:0px}.arkyn_button.loading_true .arkyn_button-content{opacity:0;max-height:0px}.arkyn_button.loading_true .arkyn_button-spinner{opacity:1;max-height:unset}.arkyn_form_controller{display:flex;flex-direction:column;gap:6px}.arkyn_checkbox{display:flex;align-items:center;justify-content:center;border:2px solid var(--border);background-color:rgba(var(--input-background),1)}.arkyn_checkbox:hover{cursor:pointer}.arkyn_checkbox>svg{display:none;stroke-width:3px}.arkyn_checkbox.sm{height:16px;width:16px;border-radius:calc(var(--rounded-inputs) * .3333)}.arkyn_checkbox.sm>svg{min-height:12px;min-width:12px}.arkyn_checkbox.md{height:20px;width:20px;border-radius:calc(var(--rounded-inputs) * .6667)}.arkyn_checkbox.md>svg{min-height:14px;min-width:14px}.arkyn_checkbox.lg{height:24px;width:24px;border-radius:var(--rounded-inputs)}.arkyn_checkbox.lg>svg{min-height:14px;min-width:14px}.arkyn_checkbox.checked{background-color:rgb(var(--spotlight-primary),1);border-color:rgb(var(--spotlight-primary),1)}.arkyn_checkbox.checked>svg{display:unset;color:#fff}.arkyn_checkbox.error{border-color:rgb(var(--spotlight-danger),1)}.arkyn_form_error{font-size:12px;line-height:12px;font-weight:600;color:rgb(var(--spotlight-danger),1)}.arkyn_form_label{color:var(--text-body);font-size:14px;font-weight:600;line-height:19.07px}.arkyn_form_label.show-asterisk:before{content:"* ";font-size:12px;font-weight:600;line-height:16.34px;text-align:left;color:rgb(var(--spotlight-danger),1)}.arkyn_icon_button{background:transparent;border:1px solid transparent;outline:1px solid transparent;position:relative;transition:.15s all ease-out}.arkyn_icon_button:hover{cursor:pointer;filter:brightness(.95)}html.dark .arkyn_icon_button:hover{cursor:pointer;filter:brightness(1.2)}.arkyn_icon_button:disabled{cursor:not-allowed;opacity:.5}.arkyn_icon_button-content{display:flex;align-items:center;justify-content:center}.arkyn_icon_button.solid{color:#fff}.arkyn_icon_button.solid.primary{background-color:rgba(var(--spotlight-primary),1)}.arkyn_icon_button.solid.danger{background-color:rgba(var(--spotlight-danger),1)}.arkyn_icon_button.solid.success{background-color:rgba(var(--spotlight-success),1)}.arkyn_icon_button.solid.warning{background-color:rgba(var(--spotlight-warning),1)}.arkyn_icon_button.outline{background-color:rgba(var(--input-background),1);border-color:var(--border)}.arkyn_icon_button.outline.primary{color:rgba(var(--spotlight-primary),1)}.arkyn_icon_button.outline.danger{color:rgba(var(--spotlight-danger),1)}.arkyn_icon_button.outline.success{color:rgba(var(--spotlight-success),1)}.arkyn_icon_button.outline.warning{color:rgba(var(--spotlight-warning),1)}.arkyn_icon_button.ghost.primary{color:rgba(var(--spotlight-primary),1);background-color:rgba(var(--spotlight-primary),.2)}.arkyn_icon_button.ghost.danger{color:rgba(var(--spotlight-danger),1);background-color:rgba(var(--spotlight-danger),.2)}.arkyn_icon_button.ghost.success{color:rgba(var(--spotlight-success),1);background-color:rgba(var(--spotlight-success),.2)}.arkyn_icon_button.ghost.warning{color:rgba(var(--spotlight-warning),1);background-color:rgba(var(--spotlight-warning),.2)}.arkyn_icon_button.invisible.primary{color:rgba(var(--spotlight-primary),1)}.arkyn_icon_button.invisible.danger{color:rgba(var(--spotlight-danger),1)}.arkyn_icon_button.invisible.success{color:rgba(var(--spotlight-success),1)}.arkyn_icon_button.invisible.warning{color:rgba(var(--spotlight-warning),1)}.arkyn_icon_button.lg{border-radius:var(--rounded-inputs);height:44px;width:44px}.arkyn_icon_button.md{border-radius:var(--rounded-inputs);height:40px;width:40px}.arkyn_icon_button.sm{border-radius:var(--rounded-inputs);height:32px;width:32px}.arkyn_icon_button.xs{border-radius:calc(var(--rounded-inputs) * .6667);height:24px;width:24px}.arkyn_icon_button-spinner{display:flex;align-items:center;justify-content:center;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);opacity:0}.arkyn_icon_button-spinner>svg{animation:spin 2s linear infinite}.arkyn_icon_button.loading_true .arkyn_icon_button-spinner{opacity:1}.arkyn_icon_button.loading_true .arkyn_icon_button-content{opacity:0}.arkyn_input{flex:1;position:relative;display:flex;align-items:center;padding:0 16px;gap:8px;border-radius:var(--rounded-inputs);border:1px solid transparent;outline:1px solid transparent}.arkyn_input:hover{cursor:text}.arkyn_input input{border:none;outline:none;background:transparent;width:100%}.arkyn_input input{color:var(--text-heading)}.arkyn_input .prefix,.arkyn_input .sufix{color:var(--text-body);background:var(--border);font-weight:400;display:flex;align-items:center;justify-content:center;position:absolute}.arkyn_input .prefix{left:0;top:0;bottom:0;border-radius:calc(var(--rounded-inputs) - 1px) 0 0 calc(var(--rounded-inputs) - 1px);border-right:1px solid var(--border)}.arkyn_input .sufix{right:0;top:0;bottom:0;border-radius:0 calc(var(--rounded-inputs) - 1px) calc(var(--rounded-inputs) - 1px) 0;border-left:1px solid var(--border)}.arkyn_input input::placeholder{color:var(--text-muted)}.arkyn_input svg{color:var(--text-muted)}.arkyn_input.errored svg{color:rgba(var(--spotlight-danger),1)}.arkyn_input:not(.opacity).focused svg{color:rgba(var(--spotlight-primary),1)}.arkyn_input.opacity{opacity:.5}.arkyn_input.solid{border-color:var(--border);background-color:rgba(var(--input-background),1)}.arkyn_input.solid.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_input:not(.opacity).solid.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_input.outline{border-color:var(--border)}.arkyn_input.outline.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_input:not(.opacity).outline.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_input.underline{border-radius:0;border-top:none;border-left:none;border-right:none;outline:none;border-color:var(--border)}.arkyn_input.underline .sufix,.arkyn_input.underline .prefix{display:none}.arkyn_input.underline:before{content:" ";position:absolute;height:1px;left:0;right:0;bottom:-2px;background:transparent}.arkyn_input.underline.errored{border-color:rgba(var(--spotlight-danger),1)}.arkyn_input.underline.errored:before{background:rgba(var(--spotlight-danger),1)}.arkyn_input:not(.opacity).underline.focused{border-color:rgba(var(--spotlight-primary),1)}.arkyn_input:not(.opacity).underline.focused:before{background:rgba(var(--spotlight-primary),1)}.arkyn_input.md input{min-height:40px;max-height:40px;font-size:14px;line-height:14px;font-weight:400}.arkyn_input.md input::placeholder{font-weight:400;font-size:14px;line-height:14px}.arkyn_input.md.hasPrefix{padding-left:60px}.arkyn_input.md.hasSufix{padding-right:60px}.arkyn_input.md .prefix,.arkyn_input.md .sufix{height:40px;width:44px;font-size:14px}.arkyn_input.lg input{min-height:44px;max-height:44px;line-height:16px;font-size:16px;font-weight:400}.arkyn_input.lg input::placeholder{font-weight:400;font-size:16px;line-height:16px}.arkyn_input.lg .prefix,.arkyn_input.lg .sufix{height:44px;width:48px;font-size:16px}.arkyn_input.lg.hasPrefix{padding-left:64px}.arkyn_input.lg.hasSufix{padding-right:64px}.arkyn_input .spinner{animation:spin 2s linear infinite}.arkyn_radio_group{display:flex;align-items:center;gap:32px}.arkyn_radio_box{display:flex;align-items:center;gap:8px;color:var(--text-body);font-size:14px;line-height:19.07px}.arkyn_radio_box>button{position:relative;background-color:rgba(var(--input-background),1);border:2px solid var(--border);border-radius:99999px}.arkyn_radio_box>button:not(:disabled):hover{cursor:pointer}.arkyn_radio_box.isChecked>button{border-color:rgba(var(--spotlight-primary),1)}.arkyn_radio_box.isErrored>button{border-color:rgba(var(--spotlight-danger),1)}.arkyn_radio_box.isChecked>button:before{content:" ";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:99999px;background-color:rgba(var(--spotlight-primary),1)}.arkyn_radio_box.sm>button{min-height:20px;min-width:20px;max-height:20px;max-width:20px}.arkyn_radio_box.md>button{min-height:24px;min-width:24px;max-height:24px;max-width:24px}.arkyn_radio_box.lg>button{min-height:24px;min-width:24px;max-height:24px;max-width:24px}.arkyn_radio_box.isChecked.sm>button:before{min-height:10px;min-width:10px;max-height:10px;max-width:10px}.arkyn_radio_box.isChecked.md>button:before{min-height:12px;min-width:12px;max-height:12px;max-width:12px}.arkyn_radio_box.isChecked.lg>button:before{min-height:12px;min-width:12px;max-height:12px;max-width:12px}.arkyn_radio_box.isDisabled{opacity:.5}.arkyn_radio_box.isDisabled>button{cursor:not-allowed}.arkyn_select{flex:1;position:relative;display:flex;align-items:center;padding:0 16px;gap:8px;border-radius:6px;border:1px solid transparent;outline:1px solid transparent}.arkyn_select:hover{cursor:pointer}.arkyn_select input{border:none;outline:none;background:transparent;width:100%}.arkyn_select input{color:var(--text-heading)}.arkyn_select .prefix{color:var(--text-body);background:var(--border);font-weight:400;display:flex;align-items:center;justify-content:center;position:absolute}.arkyn_select .prefix{left:0;top:0;bottom:0;border-radius:5px 0 0 5px;border-right:1px solid var(--border)}.arkyn_select.placeholder_dark_true input::placeholder{color:var(--text-heading)}.arkyn_select.placeholder_dark_false input::placeholder{color:var(--text-muted)}.arkyn_select svg{color:var(--text-muted)}.arkyn_select.errored svg{color:rgba(var(--spotlight-danger),1)}.arkyn_select:not(.opacity).focused svg{color:rgba(var(--spotlight-primary),1)}.arkyn_select.opacity{opacity:.5}.arkyn_select .arkyn_select_arrow{transition:.15s all ease-in-out;color:var(--text-muted)}.arkyn_select:not(.opacity).focused .arkyn_select_arrow{transform:rotate(180deg)}.arkyn_select.solid{border-color:var(--border);background-color:rgba(var(--input-background),1)}.arkyn_select.solid.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_select:not(.opacity).solid.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_select.outline{border-color:var(--border)}.arkyn_select.outline.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_select:not(.opacity).outline.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_select.underline{border-radius:0;border-top:none;border-left:none;border-right:none;outline:none;border-color:var(--border)}.arkyn_select.underline .prefix{display:none}.arkyn_select.underline:before{content:" ";position:absolute;height:1px;left:0;right:0;bottom:-2px;background:transparent}.arkyn_select.underline.errored{border-color:rgba(var(--spotlight-danger),1)}.arkyn_select.underline.errored:before{background:rgba(var(--spotlight-danger),1)}.arkyn_select:not(.opacity).underline.focused{border-color:rgba(var(--spotlight-primary),1)}.arkyn_select:not(.opacity).underline.focused:before{background:rgba(var(--spotlight-primary),1)}.arkyn_select.md input{min-height:40px;max-height:40px;font-size:14px;line-height:14px;font-weight:400}.arkyn_select.md input::placeholder{font-weight:400;font-size:14px;line-height:14px}.arkyn_select.md.hasPrefix{padding-left:60px}.arkyn_select.md .prefix{height:40px;width:44px;font-size:14px}.arkyn_select.lg input{min-height:44px;max-height:44px;line-height:16px;font-size:16px;font-weight:400}.arkyn_select.lg input::placeholder{font-weight:400;font-size:16px;line-height:16px}.arkyn_select.lg .prefix{height:44px;width:48px;font-size:16px}.arkyn_select.lg.hasPrefix{padding-left:64px}.arkyn_select_content{position:absolute;z-index:6;top:calc(100% + 5px);left:-2px;right:-2px;border-radius:6px;list-style:none;display:flex;flex-direction:column;flex:1;overflow:hidden;height:max-content;border:1px solid var(--border);background-color:var(--card);box-shadow:0 4px 8px #0000001a}.arkyn_select_content .arkyn_select_option{display:flex;align-items:center;justify-content:space-between;font-weight:400;line-height:21.79px;color:var(--text-body)}.arkyn_select.md .arkyn_select_content .arkyn_select_option{font-size:14px;padding:8px 16px}.arkyn_select.lg .arkyn_select_content .arkyn_select_option{font-size:16px;padding:8px 16px}.arkyn_select_content>p{font-weight:400;font-size:14px;padding:16px;text-align:center;line-height:21.79px;color:var(--text-body)}.arkyn_select_content .arkyn_select_option svg{height:20px;width:20px;color:rgba(var(--spotlight-primary),1);display:none}.arkyn_select_content .arkyn_select_option:hover{cursor:pointer;background-color:var(--card-foreground-primary)}.arkyn_select_content .arkyn_select_option.active{font-weight:600;color:var(--text-heading);background-color:var(--card-foreground-primary)}.arkyn_select_content .arkyn_select_option.active svg{display:unset}.arkyn_select .spinner{animation:spin 2s linear infinite}.arkyn_select_overlay{position:fixed;top:0;bottom:0;left:0;right:0;z-index:5}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.arkyn_textarea{flex:1;position:relative;display:flex;align-items:center;padding:16px;gap:8px;border-radius:var(--rounded-inputs);border:1px solid transparent;outline:1px solid transparent}.arkyn_textarea:hover{cursor:text}.arkyn_textarea textarea{border:none;outline:none;background:transparent;width:100%;resize:none}.arkyn_textarea textarea{color:var(--text-heading)}.arkyn_textarea textarea::placeholder{color:var(--text-muted)}.arkyn_textarea.opacity{opacity:.5}.arkyn_textarea.solid{border-color:var(--border);background-color:rgba(var(--input-background),1)}.arkyn_textarea.solid.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_textarea:not(.opacity).solid.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_textarea.outline{border-color:var(--border)}.arkyn_textarea.outline.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_textarea:not(.opacity).outline.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_textarea.md textarea{font-size:14px;line-height:14px;font-weight:400}.arkyn_textarea.md textarea::placeholder{font-weight:400;font-size:14px;line-height:14px}.arkyn_textarea.lg textarea{line-height:16px;font-size:16px;font-weight:400}.arkyn_textarea.lg textarea::placeholder{font-weight:400;font-size:16px;line-height:16px}.arkyn_breadcrumb_container{display:flex;align-items:center;justify-content:start;flex-wrap:wrap;gap:4px}.arkyn_breadcrumb_link.active{color:var(--text-heading)}.arkyn_breadcrumb_link.inactive:hover{cursor:pointer;color:var(--text-heading)}.arkyn_breadcrumb_link{-webkit-user-select:none;user-select:none;text-decoration:none;font-size:14px;color:var(--text-body)}.arkyn_breadcrumb_link.active{color:var(--text-muted)}.arkyn_breadcrumb_link.inactive:hover{cursor:pointer;color:var(--text-muted)}.arkyn_breadcrumb_link:first-child>svg{display:none}.arkyn_breadcrumb_link:not(:first-child){display:flex;align-items:center;gap:4px}.arkyn_breadcrumb_link:not(:first-child)>svg{display:unset;color:var(--text-body)}.arkyn_pagination{display:flex;justify-content:center;align-items:center;gap:8px}.arkyn_pagination .arkyn_pagination-icon_button,.arkyn_pagination .arkyn_pagination-page_button{background-color:var(--background-foreground);border:none;max-height:28px;max-width:28px;min-height:28px;min-width:28px;display:flex;align-items:center;justify-content:center;border-radius:var(--rounded-inputs)}.arkyn_pagination .arkyn_pagination-icon_button:hover,.arkyn_pagination .arkyn_pagination-page_button:hover{filter:brightness(.98);cursor:pointer}html.dark .arkyn_pagination .arkyn_pagination-icon_button:hover,html.dark .arkyn_pagination .arkyn_pagination-page_button:hover{filter:brightness(1.2)}.arkyn_pagination .arkyn_pagination-icon_button>svg{color:var(--text-muted);height:20px;width:20px}.arkyn_pagination .arkyn_pagination-page_button{color:var(--text-body);font-size:14px;font-weight:600}.arkyn_pagination .arkyn_pagination-icon_button:disabled{filter:brightness(1);cursor:not-allowed;opacity:.5}.arkyn_pagination .arkyn_pagination-current{background-color:rgba(var(--spotlight-primary),1);color:#fff;border:none;max-height:28px;max-width:28px;min-height:28px;min-width:28px;display:flex;align-items:center;justify-content:center;border-radius:var(--rounded-inputs)}.arkyn_pagination .arkyn_pagination-spread{background-color:transparent;color:var(--text-muted);border:none;max-height:28px;max-width:28px;min-height:28px;min-width:28px;display:flex;align-items:center;justify-content:center}.arkyn_pagination .arkyn_pagination-spread>svg{color:var(--text-muted);height:16px;width:16px}.arkyn_tab_container{position:relative;display:flex;align-items:center;justify-content:start;gap:4px;border-bottom:1px solid var(--border)}.arkyn_tab_container .active-line{position:absolute;height:1px;transition:all .3s ease-in-out;bottom:-1px;background-color:rgba(var(--spotlight-primary),1)}.arkyn_tab_button{position:relative;display:flex;align-items:center;justify-content:center;padding:8px 16px;background-color:transparent;border:none;font-size:14px;font-weight:600;text-align:center;color:var(--text-muted);transition:all .3s ease-in-out}.arkyn_tab_button.show_border_bottom:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:1px;background-color:rgba(var(--spotlight-primary),1)}.arkyn_tab_button:hover{cursor:pointer}.arkyn_tab_button.active{color:rgba(var(--spotlight-primary),1)}.arkyn_drawer_container{position:fixed;top:0;left:0;right:0;bottom:0;overflow:auto;z-index:9999}.arkyn_drawer_container-overlay{position:fixed;z-index:9997;top:0;left:0;right:0;bottom:0;background:#00000080}.arkyn_drawer_container-overlay:hover{cursor:pointer}.arkyn_drawer_container-content{z-index:9999;position:fixed;top:0;bottom:0;width:max-content;background:var(--card)}.arkyn_drawer_container.left>.arkyn_drawer_container-content{left:0}.arkyn_drawer_container.right>.arkyn_drawer_container-content{right:0}.arkyn_drawer_header{display:flex;align-items:center;height:56px;padding:16px;font-size:16px;font-weight:600;line-height:20px;color:var(--text-heading);border-bottom:1px solid var(--border)}.arkyn_drawer_header-close_button{display:flex;align-items:center;justify-content:center;margin-left:auto;padding:2px;border-radius:4px;border:none;background:none;color:var(--text-body);background-color:var(--card);transition:all .15s ease-out}.arkyn_drawer_header-close_button:hover{cursor:pointer;filter:brightness(.9)}.arkyn_modal_container{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:start;justify-content:center;padding:10vh 0;padding-bottom:2rem;overflow:auto;z-index:9999}.arkyn_modal_container-overlay{position:fixed;z-index:9997;top:0;left:0;right:0;bottom:0;background:#00000080}.arkyn_modal_container-overlay:hover{cursor:pointer}.arkyn_modal_container-content{z-index:9999;border-radius:var(--rounded-cards);background:var(--card)}.arkyn_modal_footer{display:flex;align-items:center;gap:16px;padding:16px;border-top:1px solid var(--border)}.arkyn_modal_footer.left{justify-content:flex-start}.arkyn_modal_footer.right{justify-content:flex-end}.arkyn_modal_footer.center{justify-content:center}.arkyn_modal_footer.between{justify-content:space-between}.arkyn_modal_footer.around{justify-content:space-around}.arkyn_modal_header{display:flex;align-items:center;height:56px;padding:16px;font-size:16px;font-weight:600;line-height:20px;color:var(--text-heading);border-bottom:1px solid var(--border)}.arkyn_modal_header-close_button{display:flex;align-items:center;justify-content:center;margin-left:auto;padding:2px;border-radius:4px;border:none;background:none;color:var(--text-body);background-color:var(--card);transition:all .15s ease-out}.arkyn_modal_header-close_button:hover{cursor:pointer;filter:brightness(.9)}.arkyn_popover{position:relative}.arkyn_popover .arkyn_popover-content{display:none}.arkyn_popover.show .arkyn_popover-content{display:unset}.arkyn_popover-content{position:absolute;z-index:3;background-color:var(--card);border-radius:var(--rounded-cards);box-shadow:3px 3px 8px #0003}.arkyn_popover.bottom-left .arkyn_popover-content{bottom:-5px;right:0;transform:translateY(100%)}.arkyn_popover.bottom-right .arkyn_popover-content{bottom:-5px;left:0;transform:translateY(100%)}.arkyn_popover.top-left .arkyn_popover-content{top:-5px;right:0;transform:translateY(-100%)}.arkyn_popover.top-right .arkyn_popover-content{top:-5px;left:0;transform:translateY(-100%)}.arkyn_popover.bottom .arkyn_popover-content{top:calc(100% + 5px);left:50%;transform:translate(-50%)}.arkyn_popover.top .arkyn_popover-content{bottom:calc(100% + 5px);left:50%;transform:translate(-50%)}.arkyn_popover.left .arkyn_popover-content{bottom:50%;right:calc(100% + 5px);transform:translateY(50%)}.arkyn_popover.right .arkyn_popover-content{bottom:50%;left:calc(100% + 5px);transform:translateY(50%)}.arkyn_popover-overlay{position:fixed;z-index:1;top:0;left:0;bottom:0;right:0}.arkyn_toast{display:flex;align-items:start;width:300px;padding:16px;gap:12px;flex:1;border-radius:var(--rounded-cards)}.arkyn_toast>div{display:flex;align-items:center;justify-content:center;position:relative;border-radius:90px;overflow:hidden}.arkyn_toast>div>.bg{content:" ";left:0;right:0;top:0;bottom:0;position:absolute;z-index:1}.arkyn_toast>div>svg{z-index:2}.arkyn_toast>div circle{display:none}.arkyn_toast>p{display:flex;flex-direction:column;gap:8px;width:100%;overflow:hidden}.arkyn_toast>p>strong{width:100%;overflow:hidden;text-overflow:ellipsis}.arkyn_toast.info{background-color:rgba(var(--toast-info),1);color:#fff}.arkyn_toast.info>div>.bg{background-color:rgba(var(--toast-info),1);filter:brightness(.8)}.arkyn_toast.warning{background-color:rgba(var(--toast-warning),1);color:#fff}.arkyn_toast.warning>div>.bg{background-color:rgba(var(--toast-warning),1);filter:brightness(.8)}.arkyn_toast.danger{background-color:rgba(var(--toast-danger),1);color:#fff}.arkyn_toast.danger>div>.bg{background-color:rgba(var(--toast-danger),1);filter:brightness(.8)}.arkyn_toast.success{background-color:rgba(var(--toast-success),1);color:#fff}.arkyn_toast.success>div>.bg{background-color:rgba(var(--toast-success),1);filter:brightness(.8)}.arkyn_toast.md{min-width:260px}.arkyn_toast.md>div{min-height:20px;max-height:20px;min-width:20px;max-width:20px}.arkyn_toast.md>div>svg{min-height:26px;min-width:26px}.arkyn_toast.md>p>strong{font-weight:600;font-size:14px;line-height:16px}.arkyn_toast.md>p>span{font-weight:400;font-size:12px;line-height:14px}.arkyn_toast.lg{min-width:260px}.arkyn_toast.lg>div{min-height:24px;max-height:24px;min-width:24px;max-width:24px}.arkyn_toast.lg>div>svg{min-height:30px;min-width:30px}.arkyn_toast.lg>p>strong{font-weight:600;font-size:15px;line-height:17px}.arkyn_toast.lg>p>span{font-weight:400;font-size:14px;line-height:16px}.arkyn_tooltip{position:relative;display:block}.arkyn_tooltip-text{visibility:hidden;opacity:0;position:absolute;transform:translate(-50%,-50%);white-space:nowrap;transition:.15s all ease-out;border-radius:4px;display:flex;align-items:center;justify-content:center;font-weight:400;color:var(--tooltip-text);background-color:var(--tooltip-background);z-index:9999}.arkyn_tooltip.lg .arkyn_tooltip-text{font-size:14px;line-height:14px;padding:8px 12px}.arkyn_tooltip.md .arkyn_tooltip-text{font-size:12px;line-height:12px;padding:8px 12px}.arkyn_tooltip:hover .arkyn_tooltip-text{opacity:1;visibility:visible}.arkyn_tooltip.top .arkyn_tooltip-text{bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}.arkyn_tooltip.top .arkyn_tooltip-text:before{content:"";top:100%;border-style:solid;border-color:var(--tooltip-background) transparent;border-width:6px 6px 0 6px;bottom:20px;position:absolute;left:50%;transform:translate(-50%)}.arkyn_tooltip.left .arkyn_tooltip-text{top:50%;right:calc(100% + 10px);transform:translateY(-50%)}.arkyn_tooltip.left .arkyn_tooltip-text:before{content:"";top:50%;border-style:solid;border-color:transparent var(--tooltip-background);border-width:6px 0 6px 6px;left:100%;position:absolute;transform:translateY(-50%)}.arkyn_tooltip.right .arkyn_tooltip-text{top:50%;left:calc(100% + 10px);transform:translateY(-50%)}.arkyn_tooltip.right .arkyn_tooltip-text:before{content:"";border-style:solid;border-color:transparent var(--tooltip-background);border-width:6px 6px 6px 0;top:50%;left:0;transform:translate(-100%,-50%);position:absolute}.arkyn_tooltip.bottom .arkyn_tooltip-text{top:calc(100% + 10px);left:50%;transform:translate(-50%)}.arkyn_tooltip.bottom .arkyn_tooltip-text:before{content:"";border-style:solid;border-color:var(--tooltip-background) transparent;border-width:0 6px 6px 6px;top:0;left:50%;transform:translate(-50%,-100%);position:absolute}
|
1
|
+
.arkyn_alert{display:flex;align-items:start;gap:16px;padding:16px;border:1px solid transparent;border-radius:var(--rounded-cards)}.arkyn_alert.danger{background:rgba(var(--spotlight-danger),.1);border-color:rgba(var(--spotlight-danger),.4)}.arkyn_alert.success{background:rgba(var(--spotlight-success),.1);border-color:rgba(var(--spotlight-success),.4)}.arkyn_alert.info{background:rgba(var(--spotlight-info),.1);border-color:rgba(var(--spotlight-info),.4)}.arkyn_alert.warning{background:rgba(var(--spotlight-warning),.1);border-color:rgba(var(--spotlight-warning),.4)}.arkyn_alert_content{display:flex;flex-direction:column;gap:16px}.arkyn_description{font-size:14px;font-weight:400;line-height:15px;text-align:left;color:var(--text-body)}.arkyn_alert_icon{min-width:28px;min-height:28px;max-width:28px;max-height:28px}.arkyn_alert_icon.danger{color:rgba(var(--spotlight-danger),1)}.arkyn_alert_icon.success{color:rgba(var(--spotlight-success),1)}.arkyn_alert_icon.info{color:rgba(var(--spotlight-info),1)}.arkyn_alert_icon.warning{color:rgba(var(--spotlight-warning),1)}.arkyn_title{font-size:16px;font-weight:600;line-height:17px;text-align:left;color:var(--text-heading)}.arkyn_badge{display:flex;align-items:center;justify-content:center;gap:4px;width:min-content;white-space:nowrap;border:1px solid transparent}.arkyn_badge.solid{color:#fff}.arkyn_badge.solid.primary{background-color:rgba(var(--spotlight-primary),1)}.arkyn_badge.solid.danger{background-color:rgba(var(--spotlight-danger),1)}.arkyn_badge.solid.success{background-color:rgba(var(--spotlight-success),1)}.arkyn_badge.solid.warning{background-color:rgba(var(--spotlight-warning),1)}.arkyn_badge.solid.info{background-color:rgba(var(--spotlight-info),1)}.arkyn_button.outline{background-color:rgba(var(--spotlight-outline),1)}.arkyn_badge.outline.primary{color:rgba(var(--spotlight-primary),1);border-color:rgba(var(--spotlight-primary),1)}.arkyn_badge.outline.danger{color:rgba(var(--spotlight-danger),1);border-color:rgba(var(--spotlight-danger),1)}.arkyn_badge.outline.success{color:rgba(var(--spotlight-success),1);border-color:rgba(var(--spotlight-success),1)}.arkyn_badge.outline.warning{color:rgba(var(--spotlight-warning),1);border-color:rgba(var(--spotlight-warning),1)}.arkyn_badge.outline.info{color:rgba(var(--spotlight-info),1);border-color:rgba(var(--spotlight-info),1)}.arkyn_badge.ghost.primary{color:rgba(var(--spotlight-primary),1);background-color:rgba(var(--spotlight-primary),.2)}.arkyn_badge.ghost.danger{color:rgba(var(--spotlight-danger),1);background-color:rgba(var(--spotlight-danger),.2)}.arkyn_badge.ghost.success{color:rgba(var(--spotlight-success),1);background-color:rgba(var(--spotlight-success),.2)}.arkyn_badge.ghost.warning{color:rgba(var(--spotlight-warning),1);background-color:rgba(var(--spotlight-warning),.2)}.arkyn_badge.ghost.info{color:rgba(var(--spotlight-info),1);background-color:rgba(var(--spotlight-info),.2)}.arkyn_badge.lg{font-weight:400;font-size:12px;line-height:12px;border-radius:calc(var(--rounded-inputs) * .6667);padding:0 16px;height:24px}.arkyn_badge.md{font-weight:400;font-size:10px;line-height:10px;border-radius:calc(var(--rounded-inputs) * .6667);padding:0 12px;height:20px}.arkyn_divider{display:block;flex:1;background-color:var(--border)}.arkyn_divider.horizontal{width:100%;min-height:1px;max-height:1px}.arkyn_divider.vertical{height:100%;min-width:1px;max-width:1px}.arkyn_skeleton{width:100%;height:100%;border-radius:6px;background:linear-gradient(to right,var(--skeleton) 4%,var(--skeleton-foreground) 25%,var(--skeleton) 36%);background-size:40rem 100%;animation:shimmer 1.5s infinite linear}@keyframes shimmer{0%{background-position:-40rem 0}to{background-position:40rem 0}}.arkyn_table_body>tr:nth-child(odd)>td{background-color:var(--card-foreground-primary)}.arkyn_table_body>tr>td{padding-left:16px;height:64px;font-weight:400;font-size:14px;color:var(--text-body)}.arkyn_table_body>tr>td:first-child{border-top-left-radius:var(--rounded-cards);border-bottom-left-radius:var(--rounded-cards)}.arkyn_table_body>tr>td:last-child{border-top-right-radius:var(--rounded-cards);border-bottom-right-radius:var(--rounded-cards);padding-left:16px}.arkyn_table_body>tr:nth-child(odd):hover>td{filter:brightness(.98)}.arkyn_table_body>tr:nth-child(2n):hover>td{background-color:var(--card-foreground-primary);filter:brightness(.98)}html.dark .arkyn_table_body>tr:nth-child(odd):hover>td{filter:brightness(1.2)}html.dark .arkyn_table_body>tr:nth-child(2n):hover>td{background-color:var(--card-foreground-primary);filter:brightness(1.2)}.arkyn_table_caption{margin-bottom:24px}.arkyn_table_caption-content{display:flex;align-items:center}.arkyn_table_caption-content>.right-section{display:flex;align-items:center;justify-content:end;gap:16px;flex:2;padding-left:auto}.arkyn_table_container{display:flex;flex-direction:column;padding:20px;width:100%;height:max-content;overflow-y:hidden;overflow-x:auto;border-radius:var(--rounded-cards);background-color:var(--card)}.arkyn_table_container table{border-collapse:separate;border-spacing:0}.arkyn_table_footer-content{display:flex;align-items:center;justify-content:space-between;height:48px;padding-top:16px;border-top:1px solid var(--border)}.arkyn_table_footer .spacing-row{height:24px}.arkyn_table_header th{text-align:left;background-color:var(--card-foreground-secondary);padding-left:16px;height:44px;color:var(--text-heading);font-weight:600;font-size:14px;white-space:nowrap}.arkyn_table_header th:first-child{border-top-left-radius:var(--rounded-cards);border-bottom-left-radius:var(--rounded-cards)}.arkyn_table_header th:last-child{border-top-right-radius:var(--rounded-cards);border-bottom-right-radius:var(--rounded-cards);padding-right:16px}.arkyn_table_header .spacing-row{height:12px}.arkyn_button{background:transparent;border:1px solid transparent;outline:1px solid transparent;position:relative;transition:.15s all ease-out}.arkyn_button:hover{cursor:pointer;filter:brightness(.95)}html.dark .arkyn_button:hover{cursor:pointer;filter:brightness(1.2)}.arkyn_button:disabled{cursor:not-allowed;opacity:.5}.arkyn_button .arkyn_button-content{display:flex;align-items:center;justify-content:center;white-space:nowrap}.arkyn_button.solid{color:#fff}.arkyn_button.solid.primary{background-color:rgba(var(--spotlight-primary),1)}.arkyn_button.solid.danger{background-color:rgba(var(--spotlight-danger),1)}.arkyn_button.solid.success{background-color:rgba(var(--spotlight-success),1)}.arkyn_button.solid.warning{background-color:rgba(var(--spotlight-warning),1)}.arkyn_button.outline{background-color:rgba(var(--input-background),1);border-color:var(--border)}.arkyn_button.outline.primary{color:rgba(var(--spotlight-primary),1)}.arkyn_button.outline.danger{color:rgba(var(--spotlight-danger),1)}.arkyn_button.outline.success{color:rgba(var(--spotlight-success),1)}.arkyn_button.outline.warning{color:rgba(var(--spotlight-warning),1)}.arkyn_button.ghost.primary{color:rgba(var(--spotlight-primary),1);background-color:rgba(var(--spotlight-primary),.2)}.arkyn_button.ghost.danger{color:rgba(var(--spotlight-danger),1);background-color:rgba(var(--spotlight-danger),.2)}.arkyn_button.ghost.success{color:rgba(var(--spotlight-success),1);background-color:rgba(var(--spotlight-success),.2)}.arkyn_button.ghost.warning{color:rgba(var(--spotlight-warning),1);background-color:rgba(var(--spotlight-warning),.2)}.arkyn_button.invisible.primary{color:rgba(var(--spotlight-primary),1)}.arkyn_button.invisible.danger{color:rgba(var(--spotlight-danger),1)}.arkyn_button.invisible.success{color:rgba(var(--spotlight-success),1)}.arkyn_button.invisible.warning{color:rgba(var(--spotlight-warning),1)}.arkyn_button.lg{font-weight:600;font-size:14px;line-height:14px;border-radius:var(--rounded-inputs);padding:0 20px;height:44px}.arkyn_button.lg .arkyn_button-content,.arkyn_button.lg .arkyn_button-spinner{gap:16px}.arkyn_button.md{font-weight:600;font-size:14px;line-height:14px;border-radius:var(--rounded-inputs);gap:16px;padding:0 16px;height:40px}.arkyn_button.md .arkyn_button-content,.arkyn_button.md .arkyn_button-spinner{gap:14px}.arkyn_button.sm{font-weight:600;font-size:12px;line-height:12px;border-radius:var(--rounded-inputs);padding:0 16px;height:32px}.arkyn_button.sm .arkyn_button-content,.arkyn_button.sm .arkyn_button-spinner{gap:12px}.arkyn_button.xs{font-weight:600;font-size:10px;line-height:10px;border-radius:calc(var(--rounded-inputs) * .6667);padding:0 16px;height:24px}.arkyn_button.xs .arkyn_button-content,.arkyn_button.xs .arkyn_button-spinner{gap:8px}.arkyn_button .arkyn_button-spinner{display:flex;align-items:center;justify-content:center;white-space:nowrap;opacity:0}.arkyn_button .arkyn_button-spinner>svg{animation:spin 2s linear infinite}.arkyn_button.loading_text_false .arkyn_button-spinner{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.arkyn_button.loading_text_true .arkyn_button-spinner{max-height:0px}.arkyn_button.loading_true .arkyn_button-content{opacity:0;max-height:0px}.arkyn_button.loading_true .arkyn_button-spinner{opacity:1;max-height:unset}.arkyn_form_controller{display:flex;flex-direction:column;gap:6px}.arkyn_checkbox{display:flex;align-items:center;justify-content:center;border:2px solid var(--border);background-color:rgba(var(--input-background),1)}.arkyn_checkbox:hover{cursor:pointer}.arkyn_checkbox>svg{display:none;stroke-width:3px}.arkyn_checkbox.sm{height:16px;width:16px;border-radius:calc(var(--rounded-inputs) * .3333)}.arkyn_checkbox.sm>svg{min-height:12px;min-width:12px}.arkyn_checkbox.md{height:20px;width:20px;border-radius:calc(var(--rounded-inputs) * .6667)}.arkyn_checkbox.md>svg{min-height:14px;min-width:14px}.arkyn_checkbox.lg{height:24px;width:24px;border-radius:var(--rounded-inputs)}.arkyn_checkbox.lg>svg{min-height:14px;min-width:14px}.arkyn_checkbox.checked{background-color:rgb(var(--spotlight-primary),1);border-color:rgb(var(--spotlight-primary),1)}.arkyn_checkbox.checked>svg{display:unset;color:#fff}.arkyn_checkbox.error{border-color:rgb(var(--spotlight-danger),1)}.arkyn_form_error{font-size:12px;line-height:12px;font-weight:600;color:rgb(var(--spotlight-danger),1)}.arkyn_form_label{color:var(--text-body);font-size:14px;font-weight:600;line-height:19.07px}.arkyn_form_label.show-asterisk:before{content:"* ";font-size:12px;font-weight:600;line-height:16.34px;text-align:left;color:rgb(var(--spotlight-danger),1)}.arkyn_icon_button{background:transparent;border:1px solid transparent;outline:1px solid transparent;position:relative;transition:.15s all ease-out}.arkyn_icon_button:hover{cursor:pointer;filter:brightness(.95)}html.dark .arkyn_icon_button:hover{cursor:pointer;filter:brightness(1.2)}.arkyn_icon_button:disabled{cursor:not-allowed;opacity:.5}.arkyn_icon_button-content{display:flex;align-items:center;justify-content:center}.arkyn_icon_button.solid{color:#fff}.arkyn_icon_button.solid.primary{background-color:rgba(var(--spotlight-primary),1)}.arkyn_icon_button.solid.danger{background-color:rgba(var(--spotlight-danger),1)}.arkyn_icon_button.solid.success{background-color:rgba(var(--spotlight-success),1)}.arkyn_icon_button.solid.warning{background-color:rgba(var(--spotlight-warning),1)}.arkyn_icon_button.outline{background-color:rgba(var(--input-background),1);border-color:var(--border)}.arkyn_icon_button.outline.primary{color:rgba(var(--spotlight-primary),1)}.arkyn_icon_button.outline.danger{color:rgba(var(--spotlight-danger),1)}.arkyn_icon_button.outline.success{color:rgba(var(--spotlight-success),1)}.arkyn_icon_button.outline.warning{color:rgba(var(--spotlight-warning),1)}.arkyn_icon_button.ghost.primary{color:rgba(var(--spotlight-primary),1);background-color:rgba(var(--spotlight-primary),.2)}.arkyn_icon_button.ghost.danger{color:rgba(var(--spotlight-danger),1);background-color:rgba(var(--spotlight-danger),.2)}.arkyn_icon_button.ghost.success{color:rgba(var(--spotlight-success),1);background-color:rgba(var(--spotlight-success),.2)}.arkyn_icon_button.ghost.warning{color:rgba(var(--spotlight-warning),1);background-color:rgba(var(--spotlight-warning),.2)}.arkyn_icon_button.invisible.primary{color:rgba(var(--spotlight-primary),1)}.arkyn_icon_button.invisible.danger{color:rgba(var(--spotlight-danger),1)}.arkyn_icon_button.invisible.success{color:rgba(var(--spotlight-success),1)}.arkyn_icon_button.invisible.warning{color:rgba(var(--spotlight-warning),1)}.arkyn_icon_button.lg{border-radius:var(--rounded-inputs);height:44px;width:44px}.arkyn_icon_button.md{border-radius:var(--rounded-inputs);height:40px;width:40px}.arkyn_icon_button.sm{border-radius:var(--rounded-inputs);height:32px;width:32px}.arkyn_icon_button.xs{border-radius:calc(var(--rounded-inputs) * .6667);height:24px;width:24px}.arkyn_icon_button-spinner{display:flex;align-items:center;justify-content:center;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);opacity:0}.arkyn_icon_button-spinner>svg{animation:spin 2s linear infinite}.arkyn_icon_button.loading_true .arkyn_icon_button-spinner{opacity:1}.arkyn_icon_button.loading_true .arkyn_icon_button-content{opacity:0}.arkyn_input{flex:1;position:relative;display:flex;align-items:center;padding:0 16px;gap:8px;border-radius:var(--rounded-inputs);border:1px solid transparent;outline:1px solid transparent}.arkyn_input:hover{cursor:text}.arkyn_input input{border:none;outline:none;background:transparent;width:100%}.arkyn_input input{color:var(--text-heading)}.arkyn_input .prefix,.arkyn_input .sufix{color:var(--text-body);background:var(--border);font-weight:400;display:flex;align-items:center;justify-content:center;position:absolute}.arkyn_input .prefix{left:0;top:0;bottom:0;border-radius:calc(var(--rounded-inputs) - 1px) 0 0 calc(var(--rounded-inputs) - 1px);border-right:1px solid var(--border)}.arkyn_input .sufix{right:0;top:0;bottom:0;border-radius:0 calc(var(--rounded-inputs) - 1px) calc(var(--rounded-inputs) - 1px) 0;border-left:1px solid var(--border)}.arkyn_input input::placeholder{color:var(--text-muted)}.arkyn_input svg{color:var(--text-muted)}.arkyn_input.errored svg{color:rgba(var(--spotlight-danger),1)}.arkyn_input:not(.opacity).focused svg{color:rgba(var(--spotlight-primary),1)}.arkyn_input.opacity{opacity:.5}.arkyn_input.solid{border-color:var(--border);background-color:rgba(var(--input-background),1)}.arkyn_input.solid.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_input:not(.opacity).solid.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_input.outline{border-color:var(--border)}.arkyn_input.outline.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_input:not(.opacity).outline.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_input.underline{border-radius:0;border-top:none;border-left:none;border-right:none;outline:none;border-color:var(--border)}.arkyn_input.underline .sufix,.arkyn_input.underline .prefix{display:none}.arkyn_input.underline:before{content:" ";position:absolute;height:1px;left:0;right:0;bottom:-2px;background:transparent}.arkyn_input.underline.errored{border-color:rgba(var(--spotlight-danger),1)}.arkyn_input.underline.errored:before{background:rgba(var(--spotlight-danger),1)}.arkyn_input:not(.opacity).underline.focused{border-color:rgba(var(--spotlight-primary),1)}.arkyn_input:not(.opacity).underline.focused:before{background:rgba(var(--spotlight-primary),1)}.arkyn_input.md input{min-height:40px;max-height:40px;font-size:14px;line-height:14px;font-weight:400}.arkyn_input.md input::placeholder{font-weight:400;font-size:14px;line-height:14px}.arkyn_input.md.hasPrefix{padding-left:60px}.arkyn_input.md.hasSufix{padding-right:60px}.arkyn_input.md .prefix,.arkyn_input.md .sufix{height:40px;width:44px;font-size:14px}.arkyn_input.lg input{min-height:44px;max-height:44px;line-height:16px;font-size:16px;font-weight:400}.arkyn_input.lg input::placeholder{font-weight:400;font-size:16px;line-height:16px}.arkyn_input.lg .prefix,.arkyn_input.lg .sufix{height:44px;width:48px;font-size:16px}.arkyn_input.lg.hasPrefix{padding-left:64px}.arkyn_input.lg.hasSufix{padding-right:64px}.arkyn_input .spinner{animation:spin 2s linear infinite}.arkyn_radio_group{display:flex;align-items:center;gap:32px}.arkyn_radio_box{display:flex;align-items:center;gap:8px;color:var(--text-body);font-size:14px;line-height:19.07px}.arkyn_radio_box>button{position:relative;background-color:rgba(var(--input-background),1);border:2px solid var(--border);border-radius:99999px}.arkyn_radio_box>button:not(:disabled):hover{cursor:pointer}.arkyn_radio_box.isChecked>button{border-color:rgba(var(--spotlight-primary),1)}.arkyn_radio_box.isErrored>button{border-color:rgba(var(--spotlight-danger),1)}.arkyn_radio_box.isChecked>button:before{content:" ";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:99999px;background-color:rgba(var(--spotlight-primary),1)}.arkyn_radio_box.sm>button{min-height:20px;min-width:20px;max-height:20px;max-width:20px}.arkyn_radio_box.md>button{min-height:24px;min-width:24px;max-height:24px;max-width:24px}.arkyn_radio_box.lg>button{min-height:24px;min-width:24px;max-height:24px;max-width:24px}.arkyn_radio_box.isChecked.sm>button:before{min-height:10px;min-width:10px;max-height:10px;max-width:10px}.arkyn_radio_box.isChecked.md>button:before{min-height:12px;min-width:12px;max-height:12px;max-width:12px}.arkyn_radio_box.isChecked.lg>button:before{min-height:12px;min-width:12px;max-height:12px;max-width:12px}.arkyn_radio_box.isDisabled{opacity:.5}.arkyn_radio_box.isDisabled>button{cursor:not-allowed}.arkyn_select{flex:1;position:relative;display:flex;align-items:center;padding:0 16px;gap:8px;border-radius:6px;border:1px solid transparent;outline:1px solid transparent}.arkyn_select:hover{cursor:pointer}.arkyn_select input{border:none;outline:none;background:transparent;width:100%}.arkyn_select input{color:var(--text-heading)}.arkyn_select .prefix{color:var(--text-body);background:var(--border);font-weight:400;display:flex;align-items:center;justify-content:center;position:absolute}.arkyn_select .prefix{left:0;top:0;bottom:0;border-radius:5px 0 0 5px;border-right:1px solid var(--border)}.arkyn_select.placeholder_dark_true input::placeholder{color:var(--text-heading)}.arkyn_select.placeholder_dark_false input::placeholder{color:var(--text-muted)}.arkyn_select svg{color:var(--text-muted)}.arkyn_select.errored svg{color:rgba(var(--spotlight-danger),1)}.arkyn_select:not(.opacity).focused svg{color:rgba(var(--spotlight-primary),1)}.arkyn_select.opacity{opacity:.5}.arkyn_select .arkyn_select_arrow{transition:.15s all ease-in-out;color:var(--text-muted)}.arkyn_select:not(.opacity).focused .arkyn_select_arrow{transform:rotate(180deg)}.arkyn_select.solid{border-color:var(--border);background-color:rgba(var(--input-background),1)}.arkyn_select.solid.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_select:not(.opacity).solid.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_select.outline{border-color:var(--border)}.arkyn_select.outline.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_select:not(.opacity).outline.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_select.underline{border-radius:0;border-top:none;border-left:none;border-right:none;outline:none;border-color:var(--border)}.arkyn_select.underline .prefix{display:none}.arkyn_select.underline:before{content:" ";position:absolute;height:1px;left:0;right:0;bottom:-2px;background:transparent}.arkyn_select.underline.errored{border-color:rgba(var(--spotlight-danger),1)}.arkyn_select.underline.errored:before{background:rgba(var(--spotlight-danger),1)}.arkyn_select:not(.opacity).underline.focused{border-color:rgba(var(--spotlight-primary),1)}.arkyn_select:not(.opacity).underline.focused:before{background:rgba(var(--spotlight-primary),1)}.arkyn_select.md input{min-height:40px;max-height:40px;font-size:14px;line-height:14px;font-weight:400}.arkyn_select.md input::placeholder{font-weight:400;font-size:14px;line-height:14px}.arkyn_select.md.hasPrefix{padding-left:60px}.arkyn_select.md .prefix{height:40px;width:44px;font-size:14px}.arkyn_select.lg input{min-height:44px;max-height:44px;line-height:16px;font-size:16px;font-weight:400}.arkyn_select.lg input::placeholder{font-weight:400;font-size:16px;line-height:16px}.arkyn_select.lg .prefix{height:44px;width:48px;font-size:16px}.arkyn_select.lg.hasPrefix{padding-left:64px}.arkyn_select_content{position:absolute;z-index:6;top:calc(100% + 5px);left:-2px;right:-2px;border-radius:6px;list-style:none;display:flex;flex-direction:column;flex:1;overflow:hidden;height:max-content;border:1px solid var(--border);background-color:var(--card);box-shadow:0 4px 8px #0000001a}.arkyn_select_content .arkyn_select_option{display:flex;align-items:center;justify-content:space-between;font-weight:400;line-height:21.79px;color:var(--text-body)}.arkyn_select.md .arkyn_select_content .arkyn_select_option{font-size:14px;padding:8px 16px}.arkyn_select.lg .arkyn_select_content .arkyn_select_option{font-size:16px;padding:8px 16px}.arkyn_select_content>p{font-weight:400;font-size:14px;padding:16px;text-align:center;line-height:21.79px;color:var(--text-body)}.arkyn_select_content .arkyn_select_option svg{height:20px;width:20px;color:rgba(var(--spotlight-primary),1);display:none}.arkyn_select_content .arkyn_select_option:hover{cursor:pointer;background-color:var(--card-foreground-primary)}.arkyn_select_content .arkyn_select_option.active{font-weight:600;color:var(--text-heading);background-color:var(--card-foreground-primary)}.arkyn_select_content .arkyn_select_option.active svg{display:unset}.arkyn_select .spinner{animation:spin 2s linear infinite}.arkyn_select_overlay{position:fixed;top:0;bottom:0;left:0;right:0;z-index:5}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.arkyn_textarea{flex:1;position:relative;display:flex;align-items:center;padding:16px;gap:8px;border-radius:var(--rounded-inputs);border:1px solid transparent;outline:1px solid transparent}.arkyn_textarea:hover{cursor:text}.arkyn_textarea textarea{border:none;outline:none;background:transparent;width:100%;resize:none}.arkyn_textarea textarea{color:var(--text-heading)}.arkyn_textarea textarea::placeholder{color:var(--text-muted)}.arkyn_textarea.opacity{opacity:.5}.arkyn_textarea.solid{border-color:var(--border);background-color:rgba(var(--input-background),1)}.arkyn_textarea.solid.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_textarea:not(.opacity).solid.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_textarea.outline{border-color:var(--border)}.arkyn_textarea.outline.errored{border-color:rgba(var(--spotlight-danger),1);outline-color:rgba(var(--spotlight-danger),1)}.arkyn_textarea:not(.opacity).outline.focused{border-color:rgba(var(--spotlight-primary),1);outline-color:rgba(var(--spotlight-primary),1)}.arkyn_textarea.md textarea{font-size:14px;line-height:14px;font-weight:400}.arkyn_textarea.md textarea::placeholder{font-weight:400;font-size:14px;line-height:14px}.arkyn_textarea.lg textarea{line-height:16px;font-size:16px;font-weight:400}.arkyn_textarea.lg textarea::placeholder{font-weight:400;font-size:16px;line-height:16px}.arkyn_breadcrumb_container{display:flex;align-items:center;justify-content:start;flex-wrap:wrap;gap:4px}.arkyn_breadcrumb_link.active{color:var(--text-heading)}.arkyn_breadcrumb_link.inactive:hover{cursor:pointer;color:var(--text-heading)}.arkyn_breadcrumb_link{-webkit-user-select:none;user-select:none;text-decoration:none;font-size:14px;color:var(--text-body)}.arkyn_breadcrumb_link.active{color:var(--text-muted)}.arkyn_breadcrumb_link.inactive:hover{cursor:pointer;color:var(--text-muted)}.arkyn_breadcrumb_link:first-child>svg{display:none}.arkyn_breadcrumb_link:not(:first-child){display:flex;align-items:center;gap:4px}.arkyn_breadcrumb_link:not(:first-child)>svg{display:unset;color:var(--text-body)}.arkyn_pagination{display:flex;justify-content:center;align-items:center;gap:8px}.arkyn_pagination .arkyn_pagination-icon_button,.arkyn_pagination .arkyn_pagination-page_button{background-color:var(--background-foreground);border:none;max-height:28px;max-width:28px;min-height:28px;min-width:28px;display:flex;align-items:center;justify-content:center;border-radius:var(--rounded-inputs)}.arkyn_pagination .arkyn_pagination-icon_button:hover,.arkyn_pagination .arkyn_pagination-page_button:hover{filter:brightness(.98);cursor:pointer}html.dark .arkyn_pagination .arkyn_pagination-icon_button:hover,html.dark .arkyn_pagination .arkyn_pagination-page_button:hover{filter:brightness(1.2)}.arkyn_pagination .arkyn_pagination-icon_button>svg{color:var(--text-muted);height:20px;width:20px}.arkyn_pagination .arkyn_pagination-page_button{color:var(--text-body);font-size:14px;font-weight:600}.arkyn_pagination .arkyn_pagination-icon_button:disabled{filter:brightness(1);cursor:not-allowed;opacity:.5}.arkyn_pagination .arkyn_pagination-current{background-color:rgba(var(--spotlight-primary),1);color:#fff;border:none;max-height:28px;max-width:28px;min-height:28px;min-width:28px;display:flex;align-items:center;justify-content:center;border-radius:var(--rounded-inputs)}.arkyn_pagination .arkyn_pagination-spread{background-color:transparent;color:var(--text-muted);border:none;max-height:28px;max-width:28px;min-height:28px;min-width:28px;display:flex;align-items:center;justify-content:center}.arkyn_pagination .arkyn_pagination-spread>svg{color:var(--text-muted);height:16px;width:16px}.arkyn_tab_container{position:relative;display:flex;align-items:center;justify-content:start;gap:4px;border-bottom:1px solid var(--border)}.arkyn_tab_container .active-line{position:absolute;height:1px;transition:all .3s ease-in-out;bottom:-1px;background-color:rgba(var(--spotlight-primary),1)}.arkyn_tab_button{position:relative;display:flex;align-items:center;justify-content:center;padding:8px 16px;background-color:transparent;border:none;font-size:14px;font-weight:600;text-align:center;color:var(--text-muted);transition:all .3s ease-in-out}.arkyn_tab_button.show_border_bottom:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:1px;background-color:rgba(var(--spotlight-primary),1)}.arkyn_tab_button:hover{cursor:pointer}.arkyn_tab_button.active{color:rgba(var(--spotlight-primary),1)}.arkyn_drawer_container{position:fixed;top:0;left:0;right:0;bottom:0;overflow:auto;z-index:9999}.arkyn_drawer_container-overlay{position:fixed;z-index:9997;top:0;left:0;right:0;bottom:0;background:#00000080}.arkyn_drawer_container-overlay:hover{cursor:pointer}.arkyn_drawer_container-content{z-index:9999;position:fixed;top:0;bottom:0;width:max-content;background:var(--card)}.arkyn_drawer_container.left>.arkyn_drawer_container-content{left:0}.arkyn_drawer_container.right>.arkyn_drawer_container-content{right:0}.arkyn_drawer_header{display:flex;align-items:center;height:56px;padding:16px;font-size:16px;font-weight:600;line-height:20px;color:var(--text-heading);border-bottom:1px solid var(--border)}.arkyn_drawer_header-close_button{display:flex;align-items:center;justify-content:center;margin-left:auto;padding:2px;border-radius:4px;border:none;background:none;color:var(--text-body);background-color:var(--card);transition:all .15s ease-out}.arkyn_drawer_header-close_button:hover{cursor:pointer;filter:brightness(.9)}.arkyn_modal_container{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:start;justify-content:center;padding:10vh 0;padding-bottom:2rem;overflow:auto;z-index:9999}.arkyn_modal_container-overlay{position:fixed;z-index:9997;top:0;left:0;right:0;bottom:0;background:#00000080}.arkyn_modal_container-overlay:hover{cursor:pointer}.arkyn_modal_container-content{z-index:9999;border-radius:var(--rounded-cards);background:var(--card)}.arkyn_modal_footer{display:flex;align-items:center;gap:16px;padding:16px;border-top:1px solid var(--border)}.arkyn_modal_footer.left{justify-content:flex-start}.arkyn_modal_footer.right{justify-content:flex-end}.arkyn_modal_footer.center{justify-content:center}.arkyn_modal_footer.between{justify-content:space-between}.arkyn_modal_footer.around{justify-content:space-around}.arkyn_modal_header{display:flex;align-items:center;height:56px;padding:16px;font-size:16px;font-weight:600;line-height:20px;color:var(--text-heading);border-bottom:1px solid var(--border)}.arkyn_modal_header-close_button{display:flex;align-items:center;justify-content:center;margin-left:auto;padding:2px;border-radius:4px;border:none;background:none;color:var(--text-body);background-color:var(--card);transition:all .15s ease-out}.arkyn_modal_header-close_button:hover{cursor:pointer;filter:brightness(.9)}.arkyn_popover{position:relative}.arkyn_popover .arkyn_popover-content{display:none}.arkyn_popover.show .arkyn_popover-content{display:unset}.arkyn_popover-content{position:absolute;z-index:3;background-color:var(--card);border-radius:var(--rounded-cards);box-shadow:3px 3px 8px #0003}.arkyn_popover.bottom-left .arkyn_popover-content{bottom:-5px;right:0;transform:translateY(100%)}.arkyn_popover.bottom-right .arkyn_popover-content{bottom:-5px;left:0;transform:translateY(100%)}.arkyn_popover.top-left .arkyn_popover-content{top:-5px;right:0;transform:translateY(-100%)}.arkyn_popover.top-right .arkyn_popover-content{top:-5px;left:0;transform:translateY(-100%)}.arkyn_popover.bottom .arkyn_popover-content{top:calc(100% + 5px);left:50%;transform:translate(-50%)}.arkyn_popover.top .arkyn_popover-content{bottom:calc(100% + 5px);left:50%;transform:translate(-50%)}.arkyn_popover.left .arkyn_popover-content{bottom:50%;right:calc(100% + 5px);transform:translateY(50%)}.arkyn_popover.right .arkyn_popover-content{bottom:50%;left:calc(100% + 5px);transform:translateY(50%)}.arkyn_popover-overlay{position:fixed;z-index:1;top:0;left:0;bottom:0;right:0}.arkyn_toast{display:flex;align-items:start;width:300px;padding:16px;gap:12px;flex:1;border-radius:var(--rounded-cards)}.arkyn_toast>div{display:flex;align-items:center;justify-content:center;position:relative;border-radius:90px;overflow:hidden}.arkyn_toast>div>.bg{content:" ";left:0;right:0;top:0;bottom:0;position:absolute;z-index:1}.arkyn_toast>div>svg{z-index:2}.arkyn_toast>div circle{display:none}.arkyn_toast>p{display:flex;flex-direction:column;gap:8px;width:100%;overflow:hidden}.arkyn_toast>p>strong{width:100%;overflow:hidden;text-overflow:ellipsis}.arkyn_toast.info{background-color:rgba(var(--toast-info),1);color:#fff}.arkyn_toast.info>div>.bg{background-color:rgba(var(--toast-info),1);filter:brightness(.8)}.arkyn_toast.warning{background-color:rgba(var(--toast-warning),1);color:#fff}.arkyn_toast.warning>div>.bg{background-color:rgba(var(--toast-warning),1);filter:brightness(.8)}.arkyn_toast.danger{background-color:rgba(var(--toast-danger),1);color:#fff}.arkyn_toast.danger>div>.bg{background-color:rgba(var(--toast-danger),1);filter:brightness(.8)}.arkyn_toast.success{background-color:rgba(var(--toast-success),1);color:#fff}.arkyn_toast.success>div>.bg{background-color:rgba(var(--toast-success),1);filter:brightness(.8)}.arkyn_toast.md{min-width:260px}.arkyn_toast.md>div{min-height:20px;max-height:20px;min-width:20px;max-width:20px}.arkyn_toast.md>div>svg{min-height:26px;min-width:26px}.arkyn_toast.md>p>strong{font-weight:600;font-size:14px;line-height:16px}.arkyn_toast.md>p>span{font-weight:400;font-size:12px;line-height:14px}.arkyn_toast.lg{min-width:260px}.arkyn_toast.lg>div{min-height:24px;max-height:24px;min-width:24px;max-width:24px}.arkyn_toast.lg>div>svg{min-height:30px;min-width:30px}.arkyn_toast.lg>p>strong{font-weight:600;font-size:15px;line-height:17px}.arkyn_toast.lg>p>span{font-weight:400;font-size:14px;line-height:16px}.arkyn_tooltip{position:relative;display:block}.arkyn_tooltip-text{visibility:hidden;opacity:0;position:absolute;transform:translate(-50%,-50%);white-space:nowrap;transition:.15s all ease-out;border-radius:4px;display:flex;align-items:center;justify-content:center;font-weight:400;color:var(--tooltip-text);background-color:var(--tooltip-background);z-index:9999}.arkyn_tooltip.lg .arkyn_tooltip-text{font-size:14px;line-height:14px;padding:8px 12px}.arkyn_tooltip.md .arkyn_tooltip-text{font-size:12px;line-height:12px;padding:8px 12px}.arkyn_tooltip:hover .arkyn_tooltip-text{opacity:1;visibility:visible}.arkyn_tooltip.top .arkyn_tooltip-text{bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}.arkyn_tooltip.top .arkyn_tooltip-text:before{content:"";top:100%;border-style:solid;border-color:var(--tooltip-background) transparent;border-width:6px 6px 0 6px;bottom:20px;position:absolute;left:50%;transform:translate(-50%)}.arkyn_tooltip.left .arkyn_tooltip-text{top:50%;right:calc(100% + 10px);transform:translateY(-50%)}.arkyn_tooltip.left .arkyn_tooltip-text:before{content:"";top:50%;border-style:solid;border-color:transparent var(--tooltip-background);border-width:6px 0 6px 6px;left:100%;position:absolute;transform:translateY(-50%)}.arkyn_tooltip.right .arkyn_tooltip-text{top:50%;left:calc(100% + 10px);transform:translateY(-50%)}.arkyn_tooltip.right .arkyn_tooltip-text:before{content:"";border-style:solid;border-color:transparent var(--tooltip-background);border-width:6px 6px 6px 0;top:50%;left:0;transform:translate(-100%,-50%);position:absolute}.arkyn_tooltip.bottom .arkyn_tooltip-text{top:calc(100% + 10px);left:50%;transform:translate(-50%)}.arkyn_tooltip.bottom .arkyn_tooltip-text:before{content:"";border-style:solid;border-color:var(--tooltip-background) transparent;border-width:0 6px 6px 6px;top:0;left:50%;transform:translate(-50%,-100%);position:absolute}
|
package/package.json
CHANGED
@@ -0,0 +1,43 @@
|
|
1
|
+
import { ButtonProps } from "@arkyn/types";
|
2
|
+
import { Loader2 } from "lucide-react";
|
3
|
+
|
4
|
+
import "./styles.css";
|
5
|
+
import { GenerateIcon } from "../../../services";
|
6
|
+
|
7
|
+
function AlertButton(args: ButtonProps) {
|
8
|
+
const {
|
9
|
+
isLoading = false,
|
10
|
+
scheme = "primary",
|
11
|
+
variant = "solid",
|
12
|
+
loadingText,
|
13
|
+
size = "md",
|
14
|
+
leftIcon,
|
15
|
+
rightIcon,
|
16
|
+
disabled,
|
17
|
+
className: baseClassName = "",
|
18
|
+
children,
|
19
|
+
...rest
|
20
|
+
} = args;
|
21
|
+
|
22
|
+
const iconSizes = { xs: 12, sm: 16, md: 20, lg: 24 };
|
23
|
+
const iconSize = iconSizes[size];
|
24
|
+
|
25
|
+
const className = `arkyn_button loading_text_${!!loadingText} ${variant} ${scheme} ${size} loading_${isLoading} ${baseClassName}`;
|
26
|
+
|
27
|
+
return (
|
28
|
+
<button className={className} disabled={disabled || isLoading} {...rest}>
|
29
|
+
<div className="arkyn_button-spinner">
|
30
|
+
<Loader2 size={iconSize} strokeWidth={2.5} />
|
31
|
+
{loadingText && loadingText}
|
32
|
+
</div>
|
33
|
+
|
34
|
+
<div className="arkyn_button-content">
|
35
|
+
{GenerateIcon(iconSize, leftIcon)}
|
36
|
+
{children}
|
37
|
+
{GenerateIcon(iconSize, rightIcon)}
|
38
|
+
</div>
|
39
|
+
</button>
|
40
|
+
);
|
41
|
+
}
|
42
|
+
|
43
|
+
export { AlertButton };
|
@@ -0,0 +1,214 @@
|
|
1
|
+
/* BASE */
|
2
|
+
.arkyn_button {
|
3
|
+
background: transparent;
|
4
|
+
border: 1px solid transparent;
|
5
|
+
outline: 1px solid transparent;
|
6
|
+
position: relative;
|
7
|
+
transition: 0.15s all ease-out;
|
8
|
+
}
|
9
|
+
|
10
|
+
.arkyn_button:hover {
|
11
|
+
cursor: pointer;
|
12
|
+
filter: brightness(0.95);
|
13
|
+
}
|
14
|
+
|
15
|
+
html.dark .arkyn_button:hover {
|
16
|
+
cursor: pointer;
|
17
|
+
filter: brightness(1.2);
|
18
|
+
}
|
19
|
+
|
20
|
+
.arkyn_button:disabled {
|
21
|
+
cursor: not-allowed;
|
22
|
+
opacity: 0.5;
|
23
|
+
}
|
24
|
+
|
25
|
+
.arkyn_button .arkyn_button-content {
|
26
|
+
display: flex;
|
27
|
+
align-items: center;
|
28
|
+
justify-content: center;
|
29
|
+
white-space: nowrap;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* VARIANTS */
|
33
|
+
.arkyn_button.solid {
|
34
|
+
color: #fff;
|
35
|
+
}
|
36
|
+
|
37
|
+
.arkyn_button.solid.primary {
|
38
|
+
background-color: rgba(var(--spotlight-primary), 1);
|
39
|
+
}
|
40
|
+
|
41
|
+
.arkyn_button.solid.danger {
|
42
|
+
background-color: rgba(var(--spotlight-danger), 1);
|
43
|
+
}
|
44
|
+
|
45
|
+
.arkyn_button.solid.success {
|
46
|
+
background-color: rgba(var(--spotlight-success), 1);
|
47
|
+
}
|
48
|
+
|
49
|
+
.arkyn_button.solid.warning {
|
50
|
+
background-color: rgba(var(--spotlight-warning), 1);
|
51
|
+
}
|
52
|
+
|
53
|
+
.arkyn_button.outline {
|
54
|
+
background-color: rgba(var(--input-background), 1);
|
55
|
+
border-color: var(--border);
|
56
|
+
}
|
57
|
+
|
58
|
+
.arkyn_button.outline.primary {
|
59
|
+
color: rgba(var(--spotlight-primary), 1);
|
60
|
+
}
|
61
|
+
|
62
|
+
.arkyn_button.outline.danger {
|
63
|
+
color: rgba(var(--spotlight-danger), 1);
|
64
|
+
}
|
65
|
+
|
66
|
+
.arkyn_button.outline.success {
|
67
|
+
color: rgba(var(--spotlight-success), 1);
|
68
|
+
}
|
69
|
+
|
70
|
+
.arkyn_button.outline.warning {
|
71
|
+
color: rgba(var(--spotlight-warning), 1);
|
72
|
+
}
|
73
|
+
|
74
|
+
.arkyn_button.ghost.primary {
|
75
|
+
color: rgba(var(--spotlight-primary), 1);
|
76
|
+
background-color: rgba(var(--spotlight-primary), 0.2);
|
77
|
+
}
|
78
|
+
|
79
|
+
.arkyn_button.ghost.danger {
|
80
|
+
color: rgba(var(--spotlight-danger), 1);
|
81
|
+
background-color: rgba(var(--spotlight-danger), 0.2);
|
82
|
+
}
|
83
|
+
|
84
|
+
.arkyn_button.ghost.success {
|
85
|
+
color: rgba(var(--spotlight-success), 1);
|
86
|
+
background-color: rgba(var(--spotlight-success), 0.2);
|
87
|
+
}
|
88
|
+
|
89
|
+
.arkyn_button.ghost.warning {
|
90
|
+
color: rgba(var(--spotlight-warning), 1);
|
91
|
+
background-color: rgba(var(--spotlight-warning), 0.2);
|
92
|
+
}
|
93
|
+
|
94
|
+
.arkyn_button.invisible.primary {
|
95
|
+
color: rgba(var(--spotlight-primary), 1);
|
96
|
+
}
|
97
|
+
|
98
|
+
.arkyn_button.invisible.danger {
|
99
|
+
color: rgba(var(--spotlight-danger), 1);
|
100
|
+
}
|
101
|
+
|
102
|
+
.arkyn_button.invisible.success {
|
103
|
+
color: rgba(var(--spotlight-success), 1);
|
104
|
+
}
|
105
|
+
|
106
|
+
.arkyn_button.invisible.warning {
|
107
|
+
color: rgba(var(--spotlight-warning), 1);
|
108
|
+
}
|
109
|
+
|
110
|
+
/* SIZE */
|
111
|
+
.arkyn_button.lg {
|
112
|
+
font-weight: 600;
|
113
|
+
font-size: 14px;
|
114
|
+
line-height: 14px;
|
115
|
+
|
116
|
+
border-radius: var(--rounded-inputs);
|
117
|
+
padding: 0px 20px;
|
118
|
+
height: 44px;
|
119
|
+
}
|
120
|
+
|
121
|
+
.arkyn_button.lg .arkyn_button-content,
|
122
|
+
.arkyn_button.lg .arkyn_button-spinner {
|
123
|
+
gap: 16px;
|
124
|
+
}
|
125
|
+
|
126
|
+
.arkyn_button.md {
|
127
|
+
font-weight: 600;
|
128
|
+
font-size: 14px;
|
129
|
+
line-height: 14px;
|
130
|
+
|
131
|
+
border-radius: var(--rounded-inputs);
|
132
|
+
gap: 16px;
|
133
|
+
padding: 0px 16px;
|
134
|
+
height: 40px;
|
135
|
+
}
|
136
|
+
|
137
|
+
.arkyn_button.md .arkyn_button-content,
|
138
|
+
.arkyn_button.md .arkyn_button-spinner {
|
139
|
+
gap: 14px;
|
140
|
+
}
|
141
|
+
|
142
|
+
.arkyn_button.sm {
|
143
|
+
font-weight: 600;
|
144
|
+
font-size: 12px;
|
145
|
+
line-height: 12px;
|
146
|
+
|
147
|
+
border-radius: var(--rounded-inputs);
|
148
|
+
padding: 0px 16px;
|
149
|
+
height: 32px;
|
150
|
+
}
|
151
|
+
|
152
|
+
.arkyn_button.sm .arkyn_button-content,
|
153
|
+
.arkyn_button.sm .arkyn_button-spinner {
|
154
|
+
gap: 12px;
|
155
|
+
}
|
156
|
+
|
157
|
+
.arkyn_button.xs {
|
158
|
+
font-weight: 600;
|
159
|
+
font-size: 10px;
|
160
|
+
line-height: 10px;
|
161
|
+
|
162
|
+
border-radius: calc(var(--rounded-inputs) * 0.6667);
|
163
|
+
padding: 0px 16px;
|
164
|
+
height: 24px;
|
165
|
+
}
|
166
|
+
|
167
|
+
.arkyn_button.xs .arkyn_button-content,
|
168
|
+
.arkyn_button.xs .arkyn_button-spinner {
|
169
|
+
gap: 8px;
|
170
|
+
}
|
171
|
+
|
172
|
+
/* SPIN */
|
173
|
+
.arkyn_button .arkyn_button-spinner {
|
174
|
+
display: flex;
|
175
|
+
align-items: center;
|
176
|
+
justify-content: center;
|
177
|
+
|
178
|
+
white-space: nowrap;
|
179
|
+
opacity: 0;
|
180
|
+
}
|
181
|
+
|
182
|
+
.arkyn_button .arkyn_button-spinner > svg {
|
183
|
+
animation: spin 2s linear infinite;
|
184
|
+
}
|
185
|
+
|
186
|
+
.arkyn_button.loading_text_false .arkyn_button-spinner {
|
187
|
+
position: absolute;
|
188
|
+
left: 50%;
|
189
|
+
top: 50%;
|
190
|
+
transform: translate(-50%, -50%);
|
191
|
+
}
|
192
|
+
|
193
|
+
.arkyn_button.loading_text_true .arkyn_button-spinner {
|
194
|
+
max-height: 0px;
|
195
|
+
}
|
196
|
+
|
197
|
+
.arkyn_button.loading_true .arkyn_button-content {
|
198
|
+
opacity: 0;
|
199
|
+
max-height: 0px;
|
200
|
+
}
|
201
|
+
|
202
|
+
.arkyn_button.loading_true .arkyn_button-spinner {
|
203
|
+
opacity: 1;
|
204
|
+
max-height: unset;
|
205
|
+
}
|
206
|
+
|
207
|
+
@keyframes spin {
|
208
|
+
from {
|
209
|
+
transform: rotate(0deg);
|
210
|
+
}
|
211
|
+
to {
|
212
|
+
transform: rotate(360deg);
|
213
|
+
}
|
214
|
+
}
|
@@ -16,6 +16,7 @@ function getConfig(props: SelectProps, isFocused: boolean) {
|
|
16
16
|
readOnly,
|
17
17
|
onFocus,
|
18
18
|
onBlur,
|
19
|
+
|
19
20
|
title,
|
20
21
|
style,
|
21
22
|
closeOnSelect = true,
|
@@ -36,8 +37,7 @@ function getConfig(props: SelectProps, isFocused: boolean) {
|
|
36
37
|
className,
|
37
38
|
prefix: morpheme(basePrefix, iconSize, "prefix"),
|
38
39
|
LeftIcon,
|
39
|
-
disabled,
|
40
|
-
readOnly,
|
40
|
+
disabled: disabled || isLoading || readOnly,
|
41
41
|
onFocus,
|
42
42
|
onBlur,
|
43
43
|
title,
|
@@ -29,7 +29,6 @@ function Select(props: SelectProps) {
|
|
29
29
|
LeftIcon,
|
30
30
|
value: baseValue = null,
|
31
31
|
defaultValue = "",
|
32
|
-
readOnly,
|
33
32
|
onFocus,
|
34
33
|
onBlur,
|
35
34
|
Spinner,
|
@@ -39,13 +38,14 @@ function Select(props: SelectProps) {
|
|
39
38
|
options,
|
40
39
|
optionMaxHeight,
|
41
40
|
closeOnSelect,
|
41
|
+
|
42
42
|
...rest
|
43
43
|
} = getConfig({ ...props, id, isError }, isFocused);
|
44
44
|
|
45
45
|
const [selectedValue, setSelectedValue] = useState(defaultValue);
|
46
46
|
|
47
47
|
function handleSectionClick() {
|
48
|
-
if (disabled || !ref?.current) return;
|
48
|
+
if (disabled || !ref?.current || isFocused) return;
|
49
49
|
setIsFocused(true);
|
50
50
|
ref.current.focus();
|
51
51
|
}
|
@@ -96,7 +96,7 @@ function Select(props: SelectProps) {
|
|
96
96
|
{LeftIcon && <LeftIcon size={iconSize} strokeWidth={2.5} />}
|
97
97
|
|
98
98
|
<input
|
99
|
-
disabled={disabled
|
99
|
+
disabled={disabled}
|
100
100
|
readOnly
|
101
101
|
placeholder={currentLabel || placeholder}
|
102
102
|
onFocus={handleFocus}
|