@arkyn/components 1.3.70 → 1.3.72

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. package/dist/bundle.js +1093 -1056
  2. package/dist/bundle.umd.cjs +12 -12
  3. package/dist/components/Alert/AlertButton/index.d.ts +5 -0
  4. package/dist/components/Alert/AlertButton/index.d.ts.map +1 -0
  5. package/dist/components/Alert/AlertButton/index.js +12 -0
  6. package/dist/components/Alert/AlertContainer/index.d.ts +6 -0
  7. package/dist/components/Alert/AlertContainer/index.d.ts.map +1 -0
  8. package/dist/components/Alert/AlertContainer/index.js +13 -0
  9. package/dist/components/Alert/AlertContent/index.d.ts +5 -0
  10. package/dist/components/Alert/AlertContent/index.d.ts.map +1 -0
  11. package/dist/components/Alert/AlertContent/index.js +8 -0
  12. package/dist/components/Alert/AlertDescription/index.d.ts +5 -0
  13. package/dist/components/Alert/AlertDescription/index.d.ts.map +1 -0
  14. package/dist/components/Alert/AlertDescription/index.js +8 -0
  15. package/dist/components/Alert/AlertIcon/index.d.ts +5 -0
  16. package/dist/components/Alert/AlertIcon/index.d.ts.map +1 -0
  17. package/dist/components/Alert/AlertIcon/index.js +20 -0
  18. package/dist/components/Alert/AlertTitle/index.d.ts +5 -0
  19. package/dist/components/Alert/AlertTitle/index.d.ts.map +1 -0
  20. package/dist/components/Alert/AlertTitle/index.js +8 -0
  21. package/dist/components/Alert/index.d.ts +7 -0
  22. package/dist/components/Alert/index.d.ts.map +1 -0
  23. package/dist/components/Alert/index.js +6 -0
  24. package/dist/components/Input/CpfCpnjInput/getConfig.d.ts +47 -47
  25. package/dist/components/Input/CurrencyInput/getConfig.d.ts +46 -46
  26. package/dist/components/Input/MaskInput/getConfig.d.ts +47 -47
  27. package/dist/components/Input/MaskInput/index.d.ts.map +1 -1
  28. package/dist/components/Input/MaskInput/index.js +1 -1
  29. package/dist/components/Input/SimpleInput/getConfig.d.ts +48 -48
  30. package/dist/components/Select/getConfig.d.ts +45 -46
  31. package/dist/components/Select/getConfig.d.ts.map +1 -1
  32. package/dist/components/Select/getConfig.js +1 -2
  33. package/dist/components/Select/index.js +3 -3
  34. package/dist/index.d.ts +1 -0
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +1 -0
  37. package/dist/style.css +1 -1
  38. package/package.json +1 -1
  39. package/src/components/Alert/AlertButton/index.tsx +43 -0
  40. package/src/components/Alert/AlertButton/styles.css +214 -0
  41. package/src/components/Alert/AlertContainer/index.tsx +25 -0
  42. package/src/components/Alert/AlertContainer/styles.css +29 -0
  43. package/src/components/Alert/AlertContent/index.tsx +16 -0
  44. package/src/components/Alert/AlertContent/styles.css +5 -0
  45. package/src/components/Alert/AlertDescription/index.tsx +15 -0
  46. package/src/components/Alert/AlertDescription/styles.css +8 -0
  47. package/src/components/Alert/AlertIcon/index.tsx +25 -0
  48. package/src/components/Alert/AlertIcon/styles.css +23 -0
  49. package/src/components/Alert/AlertTitle/index.tsx +15 -0
  50. package/src/components/Alert/AlertTitle/styles.css +8 -0
  51. package/src/components/Alert/index.ts +13 -0
  52. package/src/components/Input/MaskInput/index.tsx +1 -0
  53. package/src/components/Select/getConfig.tsx +2 -2
  54. package/src/components/Select/index.tsx +3 -3
  55. package/src/index.ts +8 -0
@@ -15,8 +15,7 @@ function getConfig(props, isFocused) {
15
15
  className,
16
16
  prefix: morpheme(basePrefix, iconSize, "prefix"),
17
17
  LeftIcon,
18
- disabled,
19
- readOnly,
18
+ disabled: disabled || isLoading || readOnly,
20
19
  onFocus,
21
20
  onBlur,
22
21
  title,
@@ -10,10 +10,10 @@ function Select(props) {
10
10
  const baseRef = useRef(null);
11
11
  const ref = inputRef || baseRef;
12
12
  const isError = props.isError || !!error;
13
- const { disabled, title, style, className, prefix, iconSize, isLoading, LeftIcon, value: baseValue = null, defaultValue = "", readOnly, onFocus, onBlur, Spinner, name, placeholder, onSelect, options, optionMaxHeight, closeOnSelect, ...rest } = getConfig({ ...props, id, isError }, isFocused);
13
+ const { disabled, title, style, className, prefix, iconSize, isLoading, LeftIcon, value: baseValue = null, defaultValue = "", onFocus, onBlur, Spinner, name, placeholder, onSelect, options, optionMaxHeight, closeOnSelect, ...rest } = getConfig({ ...props, id, isError }, isFocused);
14
14
  const [selectedValue, setSelectedValue] = useState(defaultValue);
15
15
  function handleSectionClick() {
16
- if (disabled || !ref?.current)
16
+ if (disabled || !ref?.current || isFocused)
17
17
  return;
18
18
  setIsFocused(true);
19
19
  ref.current.focus();
@@ -53,7 +53,7 @@ function Select(props) {
53
53
  if (isFocused && !currentLabel)
54
54
  return false;
55
55
  };
56
- return (_jsxs(_Fragment, { children: [_jsxs("section", { title: title, style: style, onClick: handleSectionClick, className: `${className} placeholder_dark_${placeholderDark()}`, children: [prefix, LeftIcon && _jsx(LeftIcon, { size: iconSize, strokeWidth: 2.5 }), _jsx("input", { disabled: disabled || isLoading, readOnly: true, placeholder: currentLabel || placeholder, onFocus: handleFocus, ...rest }), _jsx("input", { type: "hidden", ref: ref, name: name, value: currentValue || "", readOnly: true }), isFocused && (_jsxs("div", { className: "arkyn_select_content", style: { overflow: "auto", maxHeight: optionMaxHeight }, children: [options.map(({ label, value }) => (_jsxs("div", { onClick: () => handleChangeValue({ label, value }), className: currentValue === value
56
+ return (_jsxs(_Fragment, { children: [_jsxs("section", { title: title, style: style, onClick: handleSectionClick, className: `${className} placeholder_dark_${placeholderDark()}`, children: [prefix, LeftIcon && _jsx(LeftIcon, { size: iconSize, strokeWidth: 2.5 }), _jsx("input", { disabled: disabled, readOnly: true, placeholder: currentLabel || placeholder, onFocus: handleFocus, ...rest }), _jsx("input", { type: "hidden", ref: ref, name: name, value: currentValue || "", readOnly: true }), isFocused && (_jsxs("div", { className: "arkyn_select_content", style: { overflow: "auto", maxHeight: optionMaxHeight }, children: [options.map(({ label, value }) => (_jsxs("div", { onClick: () => handleChangeValue({ label, value }), className: currentValue === value
57
57
  ? "arkyn_select_option active"
58
58
  : "arkyn_select_option", children: [label, " ", _jsx(Check, {})] }, value))), options.length <= 0 && _jsx("p", { children: "Sem op\u00E7\u00F5es dispon\u00EDveis" })] })), !isLoading && (_jsx(ChevronDown, { className: "arkyn_select_arrow", size: iconSize, strokeWidth: 2.5 })), isLoading && Spinner] }), isFocused && (_jsx("aside", { className: "arkyn_select_overlay", onClick: handleBlur }))] }));
59
59
  }
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export { AlertContainer, AlertContent, AlertDescription, AlertIcon, AlertTitle, } from "./components/Alert";
1
2
  export { Badge } from "./components/Badge";
2
3
  export { Divider } from "./components/Divider";
3
4
  export { Skeleton } from "./components/Skeleton";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EACL,SAAS,EACT,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAG/C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,UAAU,GACX,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EACL,SAAS,EACT,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG5D,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAG/C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  // Data Display
2
+ export { AlertContainer, AlertContent, AlertDescription, AlertIcon, AlertTitle, } from "./components/Alert";
2
3
  export { Badge } from "./components/Badge";
3
4
  export { Divider } from "./components/Divider";
4
5
  export { Skeleton } from "./components/Skeleton";
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkyn/components",
3
- "version": "1.3.70",
3
+ "version": "1.3.72",
4
4
  "main": "./dist/bundle.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Lucas Gonçalves",
@@ -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
+ }
@@ -0,0 +1,25 @@
1
+ import { AlertContainerProps } from "@arkyn/types";
2
+ import { createContext, useContext } from "react";
3
+
4
+ import "./styles.css";
5
+
6
+ const AlertContainerContext = createContext({} as AlertContainerProps);
7
+
8
+ function useAlertContainer() {
9
+ return useContext(AlertContainerContext);
10
+ }
11
+
12
+ function AlertContainer(props: AlertContainerProps) {
13
+ const { schema, children, className: baseClassName, ...rest } = props;
14
+ const className = `arkyn_alert ${schema} ${baseClassName}`;
15
+
16
+ return (
17
+ <AlertContainerContext.Provider value={props}>
18
+ <div className={className.trim()} {...rest}>
19
+ {children}
20
+ </div>
21
+ </AlertContainerContext.Provider>
22
+ );
23
+ }
24
+
25
+ export { AlertContainer, useAlertContainer };
@@ -0,0 +1,29 @@
1
+ .arkyn_alert {
2
+ display: flex;
3
+ align-items: start;
4
+ gap: 16px;
5
+ padding: 16px;
6
+
7
+ border: 1px solid transparent;
8
+ border-radius: var(--rounded-cards);
9
+ }
10
+
11
+ .arkyn_alert.danger {
12
+ background: rgba(var(--spotlight-danger), 0.1);
13
+ border-color: rgba(var(--spotlight-danger), 0.4);
14
+ }
15
+
16
+ .arkyn_alert.success {
17
+ background: rgba(var(--spotlight-success), 0.1);
18
+ border-color: rgba(var(--spotlight-success), 0.4);
19
+ }
20
+
21
+ .arkyn_alert.info {
22
+ background: rgba(var(--spotlight-info), 0.1);
23
+ border-color: rgba(var(--spotlight-info), 0.4);
24
+ }
25
+
26
+ .arkyn_alert.warning {
27
+ background: rgba(var(--spotlight-warning), 0.1);
28
+ border-color: rgba(var(--spotlight-warning), 0.4);
29
+ }
@@ -0,0 +1,16 @@
1
+ import { AlertContentProps } from "@arkyn/types";
2
+
3
+ import "./styles.css";
4
+
5
+ function AlertContent(props: AlertContentProps) {
6
+ const { children, className: baseClassName, ...rest } = props;
7
+ const className = `arkyn_content ${baseClassName}`;
8
+
9
+ return (
10
+ <div className={className.trim()} {...rest}>
11
+ {children}
12
+ </div>
13
+ );
14
+ }
15
+
16
+ export { AlertContent };
@@ -0,0 +1,5 @@
1
+ .arkyn_alert_content {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 16px;
5
+ }
@@ -0,0 +1,15 @@
1
+ import { AlertDescriptionProps } from "@arkyn/types";
2
+ import "./styles.css";
3
+
4
+ function AlertDescription(props: AlertDescriptionProps) {
5
+ const { children, className: baseClassName, ...rest } = props;
6
+ const className = `arkyn_description ${baseClassName}`;
7
+
8
+ return (
9
+ <div className={className.trim()} {...rest}>
10
+ {children}
11
+ </div>
12
+ );
13
+ }
14
+
15
+ export { AlertDescription };
@@ -0,0 +1,8 @@
1
+ .arkyn_description {
2
+ font-size: 14px;
3
+ font-weight: 400;
4
+ line-height: 15px;
5
+ text-align: left;
6
+
7
+ color: var(--text-body);
8
+ }
@@ -0,0 +1,25 @@
1
+ import { AlertIconProps } from "@arkyn/types";
2
+ import { AlertTriangle, CheckCircle2, Info, XCircle } from "lucide-react";
3
+
4
+ import { useAlertContainer } from "../AlertContainer";
5
+ import "./styles.css";
6
+
7
+ function AlertIcon(props: AlertIconProps) {
8
+ const { className: baseClassName, ...rest } = props;
9
+ const { schema } = useAlertContainer();
10
+
11
+ const className = `arkyn_alert_icon ${schema} ${baseClassName}`;
12
+
13
+ switch (schema) {
14
+ case "success":
15
+ return <CheckCircle2 className={className} {...rest} />;
16
+ case "danger":
17
+ return <XCircle className={className} {...rest} />;
18
+ case "warning":
19
+ return <AlertTriangle className={className} {...rest} />;
20
+ case "info":
21
+ return <Info className={className} {...rest} />;
22
+ }
23
+ }
24
+
25
+ export { AlertIcon };
@@ -0,0 +1,23 @@
1
+ .arkyn_alert_icon {
2
+ min-width: 28px;
3
+ min-height: 28px;
4
+
5
+ max-width: 28px;
6
+ max-height: 28px;
7
+ }
8
+
9
+ .arkyn_alert_icon.danger {
10
+ color: rgba(var(--spotlight-danger), 1);
11
+ }
12
+
13
+ .arkyn_alert_icon.success {
14
+ color: rgba(var(--spotlight-success), 1);
15
+ }
16
+
17
+ .arkyn_alert_icon.info {
18
+ color: rgba(var(--spotlight-info), 1);
19
+ }
20
+
21
+ .arkyn_alert_icon.warning {
22
+ color: rgba(var(--spotlight-warning), 1);
23
+ }
@@ -0,0 +1,15 @@
1
+ import { AlertTitleProps } from "@arkyn/types";
2
+ import "./styles.css";
3
+
4
+ function AlertTitle(props: AlertTitleProps) {
5
+ const { children, className: baseClassName, ...rest } = props;
6
+ const className = `arkyn_title ${baseClassName}`;
7
+
8
+ return (
9
+ <div className={className.trim()} {...rest}>
10
+ {children}
11
+ </div>
12
+ );
13
+ }
14
+
15
+ export { AlertTitle };