@odeyalo/uikit 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,7 @@
1
- import { ComponentPropsWithoutRef, RefAttributes } from 'react';
1
+ import { ComponentPropsWithoutRef, ComponentType, SVGProps } from 'react';
2
2
  import { DOMProps, QAProps } from '../../types';
3
- import * as React from "react";
4
3
  type IconVariant = "solid" | "outline";
5
- type IconData = React.ForwardRefExoticComponent<ComponentPropsWithoutRef<"svg"> & RefAttributes<SVGSVGElement>>;
4
+ type IconData = ComponentType<SVGProps<SVGSVGElement>>;
6
5
  export interface BaseIconProps {
7
6
  data: IconData;
8
7
  variant?: IconVariant;
@@ -14,5 +13,5 @@ export interface BaseIconProps {
14
13
  }
15
14
  type IconPropsWithoutTagAttrs = DOMProps & QAProps & BaseIconProps;
16
15
  export type IconProps = IconPropsWithoutTagAttrs & Omit<ComponentPropsWithoutRef<"svg">, keyof IconPropsWithoutTagAttrs>;
17
- export declare const Icon: React.ForwardRefExoticComponent<DOMProps & QAProps & BaseIconProps & Omit<Omit<React.SVGProps<SVGSVGElement>, "ref">, keyof DOMProps | "qa" | keyof BaseIconProps> & RefAttributes<SVGSVGElement>>;
16
+ export declare const Icon: import('react').ForwardRefExoticComponent<DOMProps & QAProps & BaseIconProps & Omit<Omit<SVGProps<SVGSVGElement>, "ref">, keyof DOMProps | "qa" | keyof BaseIconProps> & import('react').RefAttributes<SVGSVGElement>>;
18
17
  export {};
package/dist/main.css CHANGED
@@ -1 +1 @@
1
- ._text_1rxak_1{max-width:100%;white-space:break-spaces}._text_1rxak_1:where(._body-s_1rxak_5){font:var(--text-body-s)}._text_1rxak_1:where(._body-s-bold_1rxak_8){font:var(--text-body-s-bold)}._text_1rxak_1:where(._body-m_1rxak_11){font:var(--text-body-m)}._text_1rxak_1:where(._body-m-bold_1rxak_14){font:var(--text-body-m-bold)}._text_1rxak_1:where(._body-l_1rxak_17){font:var(--text-body-l)}._text_1rxak_1:where(._body-l-bold_1rxak_20){font:var(--text-body-l-bold)}._text_1rxak_1:where(._body-xl_1rxak_23){font:var(--text-body-xl)}._text_1rxak_1:where(._body-xl-bold_1rxak_26){font:var(--text-body-xl-bold)}._text_1rxak_1:where(._title-xs_1rxak_29){font:var(--text-title-xs)}._text_1rxak_1:where(._title-cygre_1rxak_32){font:var(--text-title-cygre)}._text_1rxak_1:where(._default_1rxak_35){color:inherit}._text_1rxak_1:where(._danger_1rxak_38){color:var(--red80)}._text_1rxak_1:where(._ellipsis_1rxak_41){display:-webkit-box;overflow:hidden;align-self:center;-webkit-box-orient:vertical;text-overflow:ellipsis;white-space:normal}._button_1bmym_1{display:inline-flex;height:var(--button-height);align-items:center;justify-content:center;padding:var(--button-padding);border-radius:var(--button-border-radius);background-color:var(--button-background-color);color:var(--button-text-color);text-wrap:nowrap;transition:background-color var(--transition-delay),color var(--transition-delay)}._button_1bmym_1:where(._size-xs_1bmym_13){--button-padding: 0 10px;--button-border-radius: 12px;--button-height: 32px}._button_1bmym_1:where(._size-xs_1bmym_13) ._buttonText_1bmym_18{font:var(--text-body-m)}._button_1bmym_1:where(._size-s_1bmym_21){--button-padding: 0 16px;--button-border-radius: 12px;--button-height: 36px}._button_1bmym_1:where(._size-s_1bmym_21) ._buttonText_1bmym_18{font:var(--text-body-m)}._button_1bmym_1:where(._size-m_1bmym_29){--button-padding: 0 13px;--button-border-radius: 12px;--button-height: 46px}._button_1bmym_1:where(._size-m_1bmym_29) ._buttonText_1bmym_18{font:var(--text-body-m-bold)}._button_1bmym_1:where(._size-l_1bmym_37){--button-padding: 0 20px;--button-border-radius: 12px;--button-height: 52px}._button_1bmym_1:where(._size-l_1bmym_37) ._buttonText_1bmym_18{font:var(--text-body-l-bold)}._button_1bmym_1:where(._size-xl_1bmym_45){--button-padding: 0 20px;--button-border-radius: 12px;--button-height: 60px}._button_1bmym_1:where(._size-xl_1bmym_45) ._buttonText_1bmym_18{font:var(--text-body-xl-bold)}._button_1bmym_1:where(._view-default_1bmym_53){--button-text-color: var(--black100);--button-text-color-hover: var(--black100);--button-text-color-focus: var(--white100);--button-background-color: var(--white70);--button-background-color-hover: var(--blue30);--button-background-color-focus: var(--green80)}._button_1bmym_1:where(._view-primary_1bmym_61){--button-text-color: var(--white100);--button-text-color-hover: var(--white100);--button-text-color-focus: var(--white100);--button-background-color: var(--blue80);--button-background-color-hover: var(--blue100);--button-background-color-focus: var(--green80)}._button_1bmym_1:where(._view-secondary_1bmym_69){--button-text-color: var(--black100);--button-text-color-hover: var(--black100);--button-text-color-focus: var(--white100);--button-background-color: var(--blue30);--button-background-color-hover: var(--blue40);--button-background-color-focus: var(--green60)}._button_1bmym_1:where(._view-unstyled_1bmym_77){--button-text-color: var(--black100);--button-text-color-hover: var(--black100);--button-text-color-focus: var(--black100);--button-background-color: transparent;--button-background-color-hover: transparent;--button-background-color-focus: transparent;height:auto;padding:0;border-radius:0;gap:0}._button_1bmym_1:hover{background-color:var(--button-background-color-hover);color:var(--button-text-color-hover)}._button_1bmym_1:focus{background-color:var(--button-background-color-focus);color:var(--button-text-color-focus)}._button_1bmym_1:where(._shape-circle_1bmym_97){border-radius:100px}._button_1bmym_1:where(._width-default_1bmym_100){width:max-content}._button_1bmym_1:where(._width-auto_1bmym_103){max-width:100%}._button_1bmym_1:where(._width-max_1bmym_106){width:100%}._button_1bmym_1:where(._align-left_1bmym_109){text-align:left}._button_1bmym_1:where(._align-right_1bmym_112){text-align:right}._button_1bmym_1:where(._align-center_1bmym_115){text-align:center}._button_1bmym_1:where(._onlyIcon_1bmym_118){min-width:var(--button-height);min-height:var(--button-height);max-height:var(--button-height);padding:0}._button_1bmym_1:where(._onlyIcon_1bmym_118):where(._width-default_1bmym_100),._button_1bmym_1:where(._onlyIcon_1bmym_118):where(._width-auto_1bmym_103){max-width:var(--button-height)}._button_1bmym_1:where(._onlyIcon_1bmym_118) span{padding:0}._button_1bmym_1:disabled,._button_1bmym_1:where(._loading_1bmym_130){opacity:.6;pointer-events:none}._button_1bmym_1 ._buttonText_1bmym_18{display:inline-block;width:100%;max-width:100%;text-wrap:nowrap}._button_1bmym_1 ._buttonStartIcon_1bmym_140{display:inline-flex;align-items:center;order:0}._button_1bmym_1:not(:where(._onlyIcon_1bmym_118)) ._buttonStartIcon_1bmym_140{padding-right:10px}._button_1bmym_1 ._buttonEndIcon_1bmym_148{display:inline-flex;align-items:center;order:1;padding-left:10px}._palette_14mmy_1{display:inline-flex;flex-flow:column wrap;gap:8px}._palette_14mmy_1 ._row_14mmy_6{display:inline-flex;gap:8px}._field_kz6iu_1{--field-text-color: var(--black100);--field-text-color-focus: var(--white100);--field-background-color: var(--blue20);--field-background-color-hover: var(--blue40);--field-background-color-focus: var(--green80);--field-background-color-error: var(--red20);--field-placeholder-color: var(--black60);--field-placeholder-color-focus: var(--black20);display:inline-flex;width:100%;height:fit-content;flex-direction:column;align-items:flex-start;gap:10px}._field_kz6iu_1 ._label_kz6iu_17{position:relative;display:flex;overflow:hidden;width:100%;height:52px;align-items:center;justify-content:space-between;padding:0 16px;border-radius:12px;background-color:var(--field-background-color);color:var(--field-text-color);cursor:text;gap:12px;transition:background-color var(--transition-delay),color var(--transition-delay)}._field_kz6iu_1 ._label_kz6iu_17:not(:has(:is(input,textarea):read-only)):hover{background-color:var(--field-background-color-hover)}._field_kz6iu_1 ._label_kz6iu_17:not(:has(:is(input,textarea):read-only)):has(:is(input,textarea):focus){background-color:var(--field-background-color-focus);color:var(--field-text-color-focus)}._field_kz6iu_1 ._label_kz6iu_17:has(:is(input,textarea):disabled){opacity:.6;pointer-events:none}._field_kz6iu_1 ._label_kz6iu_17:where(._error_kz6iu_44){background-color:var(--field-background-color-error)}._field_kz6iu_1 ._label_kz6iu_17{font:var(--text-body-m)}._field_kz6iu_1 ._input_kz6iu_50{width:100%;height:20px}._field_kz6iu_1 ._input_kz6iu_50::placeholder{color:var(--field-placeholder-color);transition:color var(--transition-delay)}._field_kz6iu_1 ._input_kz6iu_50:not(:read-only):focus::placeholder{color:var(--field-placeholder-color-focus)}._field_kz6iu_1 ._endContent_kz6iu_61{display:flex;min-width:40px;max-width:40px;height:40px;align-items:center;justify-content:center;margin-right:-10px}._field_kz6iu_1 ._endContent_kz6iu_61>*{pointer-events:none}._field_1n3vs_1 ._label_1n3vs_1{height:auto;min-height:52px;padding:0}._field_1n3vs_1 ._textarea_1n3vs_6{width:100%;height:auto;padding:16px;resize:none}._container_sjud1_1{display:flex;flex-direction:column;align-items:center;gap:10px}._badge_gueby_1{z-index:4;display:flex;align-items:center;justify-content:center;padding:4px 16px;border-radius:100px;margin-top:10px;background:var(--badge-bg);color:var(--badge-color);pointer-events:none;white-space:nowrap}._rangeInputContainer_1c882_1{position:relative;overflow:visible;width:100%}._rangeInputContainer_1c882_1:where(._disabled_1c882_6){opacity:.5;pointer-events:none}._rangeInputContainer_1c882_1:has(input[readonly]){pointer-events:none}._rangeInput_1c882_1{position:relative;overflow:visible;width:100%;padding-top:calc(var(--pointer-height) / 2 - var(--track-height) / 2);padding-bottom:calc(var(--pointer-height) / 2 - var(--track-height) / 2 + 10px + var(--badge-height))}._trackWrapper_1c882_22{position:relative;width:100%;height:var(--track-height, 12px)}._track_1c882_22{position:relative;overflow:visible;width:100%;height:100%;border-radius:100px;background:var(--track-bg)}._filled_1c882_37{position:absolute;height:100%;border-radius:100px;background:var(--filled-bg)}._filled_1c882_37:not(._full_1c882_43){width:max(0%,var(--value-percent, 50) * 1% - 10px)}._filled_1c882_37:where(._full_1c882_43){width:100%}._pointer_1c882_50{position:absolute;z-index:2;top:calc(-.5 * var(--pointer-height, 60px) + .5 * var(--track-height, 12px));left:calc(var(--value-percent, 50) * 1%);width:4px;height:var(--pointer-height, 60px);border-radius:100px;background:var(--pointer-bg);pointer-events:none;transform:translate(-50%)}._endDot_1c882_63{position:absolute;z-index:1;top:50%;right:4px;width:6px;height:6px;border-radius:50%;background:var(--end-dot-bg);transform:translateY(-50%)}._input_1c882_75{position:absolute;z-index:3;top:calc(.5 * var(--track-height, 12px) - 10px);left:0;width:100%;height:20px;border:none;margin:0;appearance:none;background:transparent;cursor:pointer;outline:none}._input_1c882_75:disabled{cursor:not-allowed}._input_1c882_75::-webkit-slider-thumb{width:20px;height:40px;appearance:none;background:transparent;cursor:pointer}._input_1c882_75::-moz-range-thumb{width:20px;height:40px;border:none;background:transparent;cursor:pointer}._input_1c882_75::-ms-thumb{width:20px;height:40px;border:none;background:transparent;cursor:pointer}._input_1c882_75::-webkit-slider-runnable-track{height:20px;background:transparent}._input_1c882_75::-moz-range-track{height:20px;background:transparent}._input_1c882_75::-ms-track{height:20px;border-color:transparent;background:transparent;color:transparent}._errorMessage_1c882_128{margin-top:8px;color:var(--error-color)}._container_1x46a_1{width:380px;color:var(--black100);-webkit-user-select:none;user-select:none}._header_1x46a_7{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}._nav_1x46a_14{display:flex;align-items:center}button._navButton_1x46a_19{display:flex;align-items:center;justify-content:center;border-radius:8px;transition:background-color var(--transition-delay)}button._navButton_1x46a_19:hover{background-color:var(--blue100);color:var(--white100)}button._navButton_1x46a_19:disabled{opacity:.4;pointer-events:none}._inner_1x46a_35{display:flex;justify-content:space-between}button._content_9l8bu_1{position:relative;z-index:0;display:flex;align-items:center;padding:0 10px;text-transform:capitalize}button._content_9l8bu_1:before{position:absolute;z-index:-1;border-radius:12px;content:"";inset:-5px 0;transition:background-color var(--transition-delay)}button._content_9l8bu_1:hover{color:var(--white100)}button._content_9l8bu_1:hover:before{background-color:var(--blue100)}button._content_9l8bu_1:disabled{opacity:.4;pointer-events:none}._column_1wzcb_1{display:flex;flex-direction:column;gap:4px}._title_1wzcb_7{display:flex;width:36px;height:24px;align-items:center;justify-content:center;margin-bottom:6px;text-transform:uppercase}button._cell_1wzcb_17{position:relative;display:flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:12px;transition:background-color var(--transition-delay),color var(--transition-delay)}button._cell_1wzcb_17:disabled{background-color:transparent;color:inherit;opacity:.4;pointer-events:none}button._cell_1wzcb_17:where(._current_1wzcb_33):before{position:absolute;right:12px;bottom:4px;left:12px;display:block;height:4px;border-radius:2px;background-color:var(--black100);content:""}button._cell_1wzcb_17:where(._selected_1wzcb_44){background-color:var(--blue80);color:var(--white100)}button._cell_1wzcb_17:where(._selected_1wzcb_44):before{background-color:var(--white100)}button._cell_1wzcb_17:where(._selected_1wzcb_44):hover{background-color:var(--blue80);color:var(--white100)}button._cell_1wzcb_17:not(:where(._selected_1wzcb_44)):hover{background-color:var(--blue100);color:var(--white100)}button._cell_1wzcb_17:not(:where(._selected_1wzcb_44)):hover:before{background-color:var(--white100)}._grid_vfnxx_1{display:grid;width:100%;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,44px);row-gap:16px}button._cell_vfnxx_9{width:80px;height:100%;text-transform:capitalize}button._cell_vfnxx_9:before{right:34px;left:34px}._clearButton_pzivz_1{opacity:.4;transition:opacity var(--transition-delay)}._clearButton_pzivz_1:hover{opacity:1}._value_pzivz_9{pointer-events:none}._hiddenInput_pzivz_13{display:none}._popup_pzivz_17{display:flex;align-items:center;justify-content:center;padding:16px;border-radius:8px;background-color:var(--white100);box-shadow:var(--box-shadow)}._iconButtons_pzivz_27{display:flex;align-items:center}._overlay_4v6tj_1{position:fixed;display:flex;justify-content:center;padding:16px;background-color:color-mix(in srgb,var(--black100) 32%,transparent);inset:0;overflow-x:auto}._modal_4v6tj_11{width:100%;max-width:456px;padding:24px 16px;border-radius:28px;margin:auto;background-color:var(--white100);pointer-events:auto}._header_4v6tj_21{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:12px}button._closeButton_4v6tj_29{border-radius:50%}button._closeButton_4v6tj_29:hover{background-color:var(--white70)}
1
+ ._text_1rxak_1{max-width:100%;white-space:break-spaces}._text_1rxak_1:where(._body-s_1rxak_5){font:var(--text-body-s)}._text_1rxak_1:where(._body-s-bold_1rxak_8){font:var(--text-body-s-bold)}._text_1rxak_1:where(._body-m_1rxak_11){font:var(--text-body-m)}._text_1rxak_1:where(._body-m-bold_1rxak_14){font:var(--text-body-m-bold)}._text_1rxak_1:where(._body-l_1rxak_17){font:var(--text-body-l)}._text_1rxak_1:where(._body-l-bold_1rxak_20){font:var(--text-body-l-bold)}._text_1rxak_1:where(._body-xl_1rxak_23){font:var(--text-body-xl)}._text_1rxak_1:where(._body-xl-bold_1rxak_26){font:var(--text-body-xl-bold)}._text_1rxak_1:where(._title-xs_1rxak_29){font:var(--text-title-xs)}._text_1rxak_1:where(._title-cygre_1rxak_32){font:var(--text-title-cygre)}._text_1rxak_1:where(._default_1rxak_35){color:inherit}._text_1rxak_1:where(._danger_1rxak_38){color:var(--red80)}._text_1rxak_1:where(._ellipsis_1rxak_41){display:-webkit-box;overflow:hidden;align-self:center;-webkit-box-orient:vertical;text-overflow:ellipsis;white-space:normal}._button_jseij_1{display:inline-flex;height:var(--button-height);align-items:center;justify-content:center;padding:var(--button-padding);border-radius:var(--button-border-radius);background-color:var(--button-background-color);color:var(--button-text-color);text-wrap:nowrap;transition:background-color var(--transition-delay),color var(--transition-delay)}._button_jseij_1:where(._size-xs_jseij_13){--button-padding: 0 10px;--button-border-radius: 12px;--button-height: 32px}._button_jseij_1:where(._size-xs_jseij_13) ._buttonText_jseij_18{font:var(--text-body-m)}._button_jseij_1:where(._size-s_jseij_21){--button-padding: 0 16px;--button-border-radius: 12px;--button-height: 36px}._button_jseij_1:where(._size-s_jseij_21) ._buttonText_jseij_18{font:var(--text-body-m)}._button_jseij_1:where(._size-m_jseij_29){--button-padding: 0 13px;--button-border-radius: 12px;--button-height: 46px}._button_jseij_1:where(._size-m_jseij_29) ._buttonText_jseij_18{font:var(--text-body-m-bold)}._button_jseij_1:where(._size-l_jseij_37){--button-padding: 0 20px;--button-border-radius: 12px;--button-height: 52px}._button_jseij_1:where(._size-l_jseij_37) ._buttonText_jseij_18{font:var(--text-body-l-bold)}._button_jseij_1:where(._size-xl_jseij_45){--button-padding: 0 20px;--button-border-radius: 12px;--button-height: 60px}._button_jseij_1:where(._size-xl_jseij_45) ._buttonText_jseij_18{font:var(--text-body-xl-bold)}._button_jseij_1:where(._view-default_jseij_53){--button-text-color: var(--black100);--button-text-color-hover: var(--black100);--button-text-color-focus: var(--white100);--button-background-color: var(--white70);--button-background-color-hover: var(--blue30);--button-background-color-focus: var(--green80)}._button_jseij_1:where(._view-primary_jseij_61){--button-text-color: var(--white100);--button-text-color-hover: var(--white100);--button-text-color-focus: var(--white100);--button-background-color: var(--blue80);--button-background-color-hover: var(--blue100);--button-background-color-focus: var(--green80)}._button_jseij_1:where(._view-secondary_jseij_69){--button-text-color: var(--black100);--button-text-color-hover: var(--black100);--button-text-color-focus: var(--white100);--button-background-color: var(--blue30);--button-background-color-hover: var(--blue40);--button-background-color-focus: var(--green60)}._button_jseij_1:where(._view-unstyled_jseij_77){--button-text-color: inherit;--button-text-color-hover: var(--black100);--button-text-color-focus: var(--black100);--button-background-color: transparent;--button-background-color-hover: transparent;--button-background-color-focus: transparent;height:auto;padding:0;border-radius:0;gap:0}._button_jseij_1:hover{background-color:var(--button-background-color-hover);color:var(--button-text-color-hover)}._button_jseij_1:focus{background-color:var(--button-background-color-focus);color:var(--button-text-color-focus)}._button_jseij_1:where(._shape-circle_jseij_97){border-radius:100px}._button_jseij_1:where(._width-default_jseij_100){width:max-content}._button_jseij_1:where(._width-auto_jseij_103){max-width:100%}._button_jseij_1:where(._width-max_jseij_106){width:100%}._button_jseij_1:where(._align-left_jseij_109){text-align:left}._button_jseij_1:where(._align-right_jseij_112){text-align:right}._button_jseij_1:where(._align-center_jseij_115){text-align:center}._button_jseij_1:where(._onlyIcon_jseij_118){min-width:var(--button-height);min-height:var(--button-height);max-height:var(--button-height);padding:0}._button_jseij_1:where(._onlyIcon_jseij_118):where(._width-default_jseij_100),._button_jseij_1:where(._onlyIcon_jseij_118):where(._width-auto_jseij_103){max-width:var(--button-height)}._button_jseij_1:where(._onlyIcon_jseij_118) span{padding:0}._button_jseij_1:disabled,._button_jseij_1:where(._loading_jseij_130){opacity:.6;pointer-events:none}._button_jseij_1 ._buttonText_jseij_18{display:inline-block;width:100%;max-width:100%;text-wrap:nowrap}._button_jseij_1 ._buttonStartIcon_jseij_140{display:inline-flex;align-items:center;order:0}._button_jseij_1:not(:where(._onlyIcon_jseij_118)) ._buttonStartIcon_jseij_140{padding-right:10px}._button_jseij_1 ._buttonEndIcon_jseij_148{display:inline-flex;align-items:center;order:1;padding-left:10px}._palette_14mmy_1{display:inline-flex;flex-flow:column wrap;gap:8px}._palette_14mmy_1 ._row_14mmy_6{display:inline-flex;gap:8px}._field_kz6iu_1{--field-text-color: var(--black100);--field-text-color-focus: var(--white100);--field-background-color: var(--blue20);--field-background-color-hover: var(--blue40);--field-background-color-focus: var(--green80);--field-background-color-error: var(--red20);--field-placeholder-color: var(--black60);--field-placeholder-color-focus: var(--black20);display:inline-flex;width:100%;height:fit-content;flex-direction:column;align-items:flex-start;gap:10px}._field_kz6iu_1 ._label_kz6iu_17{position:relative;display:flex;overflow:hidden;width:100%;height:52px;align-items:center;justify-content:space-between;padding:0 16px;border-radius:12px;background-color:var(--field-background-color);color:var(--field-text-color);cursor:text;gap:12px;transition:background-color var(--transition-delay),color var(--transition-delay)}._field_kz6iu_1 ._label_kz6iu_17:not(:has(:is(input,textarea):read-only)):hover{background-color:var(--field-background-color-hover)}._field_kz6iu_1 ._label_kz6iu_17:not(:has(:is(input,textarea):read-only)):has(:is(input,textarea):focus){background-color:var(--field-background-color-focus);color:var(--field-text-color-focus)}._field_kz6iu_1 ._label_kz6iu_17:has(:is(input,textarea):disabled){opacity:.6;pointer-events:none}._field_kz6iu_1 ._label_kz6iu_17:where(._error_kz6iu_44){background-color:var(--field-background-color-error)}._field_kz6iu_1 ._label_kz6iu_17{font:var(--text-body-m)}._field_kz6iu_1 ._input_kz6iu_50{width:100%;height:20px}._field_kz6iu_1 ._input_kz6iu_50::placeholder{color:var(--field-placeholder-color);transition:color var(--transition-delay)}._field_kz6iu_1 ._input_kz6iu_50:not(:read-only):focus::placeholder{color:var(--field-placeholder-color-focus)}._field_kz6iu_1 ._endContent_kz6iu_61{display:flex;min-width:40px;max-width:40px;height:40px;align-items:center;justify-content:center;margin-right:-10px}._field_kz6iu_1 ._endContent_kz6iu_61>*{pointer-events:none}._field_1n3vs_1 ._label_1n3vs_1{height:auto;min-height:52px;padding:0}._field_1n3vs_1 ._textarea_1n3vs_6{width:100%;height:auto;padding:16px;resize:none}._container_sjud1_1{display:flex;flex-direction:column;align-items:center;gap:10px}._badge_gueby_1{z-index:4;display:flex;align-items:center;justify-content:center;padding:4px 16px;border-radius:100px;margin-top:10px;background:var(--badge-bg);color:var(--badge-color);pointer-events:none;white-space:nowrap}._rangeInputContainer_1c882_1{position:relative;overflow:visible;width:100%}._rangeInputContainer_1c882_1:where(._disabled_1c882_6){opacity:.5;pointer-events:none}._rangeInputContainer_1c882_1:has(input[readonly]){pointer-events:none}._rangeInput_1c882_1{position:relative;overflow:visible;width:100%;padding-top:calc(var(--pointer-height) / 2 - var(--track-height) / 2);padding-bottom:calc(var(--pointer-height) / 2 - var(--track-height) / 2 + 10px + var(--badge-height))}._trackWrapper_1c882_22{position:relative;width:100%;height:var(--track-height, 12px)}._track_1c882_22{position:relative;overflow:visible;width:100%;height:100%;border-radius:100px;background:var(--track-bg)}._filled_1c882_37{position:absolute;height:100%;border-radius:100px;background:var(--filled-bg)}._filled_1c882_37:not(._full_1c882_43){width:max(0%,var(--value-percent, 50) * 1% - 10px)}._filled_1c882_37:where(._full_1c882_43){width:100%}._pointer_1c882_50{position:absolute;z-index:2;top:calc(-.5 * var(--pointer-height, 60px) + .5 * var(--track-height, 12px));left:calc(var(--value-percent, 50) * 1%);width:4px;height:var(--pointer-height, 60px);border-radius:100px;background:var(--pointer-bg);pointer-events:none;transform:translate(-50%)}._endDot_1c882_63{position:absolute;z-index:1;top:50%;right:4px;width:6px;height:6px;border-radius:50%;background:var(--end-dot-bg);transform:translateY(-50%)}._input_1c882_75{position:absolute;z-index:3;top:calc(.5 * var(--track-height, 12px) - 10px);left:0;width:100%;height:20px;border:none;margin:0;appearance:none;background:transparent;cursor:pointer;outline:none}._input_1c882_75:disabled{cursor:not-allowed}._input_1c882_75::-webkit-slider-thumb{width:20px;height:40px;appearance:none;background:transparent;cursor:pointer}._input_1c882_75::-moz-range-thumb{width:20px;height:40px;border:none;background:transparent;cursor:pointer}._input_1c882_75::-ms-thumb{width:20px;height:40px;border:none;background:transparent;cursor:pointer}._input_1c882_75::-webkit-slider-runnable-track{height:20px;background:transparent}._input_1c882_75::-moz-range-track{height:20px;background:transparent}._input_1c882_75::-ms-track{height:20px;border-color:transparent;background:transparent;color:transparent}._errorMessage_1c882_128{margin-top:8px;color:var(--error-color)}._container_1x46a_1{width:380px;color:var(--black100);-webkit-user-select:none;user-select:none}._header_1x46a_7{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}._nav_1x46a_14{display:flex;align-items:center}button._navButton_1x46a_19{display:flex;align-items:center;justify-content:center;border-radius:8px;transition:background-color var(--transition-delay)}button._navButton_1x46a_19:hover{background-color:var(--blue100);color:var(--white100)}button._navButton_1x46a_19:disabled{opacity:.4;pointer-events:none}._inner_1x46a_35{display:flex;justify-content:space-between}button._content_9l8bu_1{position:relative;z-index:0;display:flex;align-items:center;padding:0 10px;text-transform:capitalize}button._content_9l8bu_1:before{position:absolute;z-index:-1;border-radius:12px;content:"";inset:-5px 0;transition:background-color var(--transition-delay)}button._content_9l8bu_1:hover{color:var(--white100)}button._content_9l8bu_1:hover:before{background-color:var(--blue100)}button._content_9l8bu_1:disabled{opacity:.4;pointer-events:none}._column_1wzcb_1{display:flex;flex-direction:column;gap:4px}._title_1wzcb_7{display:flex;width:36px;height:24px;align-items:center;justify-content:center;margin-bottom:6px;text-transform:uppercase}button._cell_1wzcb_17{position:relative;display:flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:12px;transition:background-color var(--transition-delay),color var(--transition-delay)}button._cell_1wzcb_17:disabled{background-color:transparent;color:inherit;opacity:.4;pointer-events:none}button._cell_1wzcb_17:where(._current_1wzcb_33):before{position:absolute;right:12px;bottom:4px;left:12px;display:block;height:4px;border-radius:2px;background-color:var(--black100);content:""}button._cell_1wzcb_17:where(._selected_1wzcb_44){background-color:var(--blue80);color:var(--white100)}button._cell_1wzcb_17:where(._selected_1wzcb_44):before{background-color:var(--white100)}button._cell_1wzcb_17:where(._selected_1wzcb_44):hover{background-color:var(--blue80);color:var(--white100)}button._cell_1wzcb_17:not(:where(._selected_1wzcb_44)):hover{background-color:var(--blue100);color:var(--white100)}button._cell_1wzcb_17:not(:where(._selected_1wzcb_44)):hover:before{background-color:var(--white100)}._grid_vfnxx_1{display:grid;width:100%;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,44px);row-gap:16px}button._cell_vfnxx_9{width:80px;height:100%;text-transform:capitalize}button._cell_vfnxx_9:before{right:34px;left:34px}._clearButton_pzivz_1{opacity:.4;transition:opacity var(--transition-delay)}._clearButton_pzivz_1:hover{opacity:1}._value_pzivz_9{pointer-events:none}._hiddenInput_pzivz_13{display:none}._popup_pzivz_17{display:flex;align-items:center;justify-content:center;padding:16px;border-radius:8px;background-color:var(--white100);box-shadow:var(--box-shadow)}._iconButtons_pzivz_27{display:flex;align-items:center}._overlay_4v6tj_1{position:fixed;display:flex;justify-content:center;padding:16px;background-color:color-mix(in srgb,var(--black100) 32%,transparent);inset:0;overflow-x:auto}._modal_4v6tj_11{width:100%;max-width:456px;padding:24px 16px;border-radius:28px;margin:auto;background-color:var(--white100);pointer-events:auto}._header_4v6tj_21{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:12px}button._closeButton_4v6tj_29{border-radius:50%}button._closeButton_4v6tj_29:hover{background-color:var(--white70)}
package/dist/main.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as E, jsxs as N, Fragment as Ne } from "react/jsx-runtime";
2
2
  import * as e from "react";
3
- import { useLayoutEffect as qe, createContext as D1, useContext as P1, useCallback as z5, useEffect as M5, forwardRef as R0, isValidElement as T1, Children as W1, useState as f0, useMemo as _1, useRef as X5, useId as U1 } from "react";
3
+ import { useLayoutEffect as qe, createContext as D1, useContext as P1, useCallback as z5, useEffect as M5, forwardRef as E0, isValidElement as T1, Children as W1, useState as f0, useMemo as _1, useRef as X5, useId as U1 } from "react";
4
4
  import * as Ge from "react-dom";
5
5
  function A5() {
6
6
  return typeof window < "u";
@@ -12,7 +12,7 @@ function o0(a) {
12
12
  var r;
13
13
  return (a == null || (r = a.ownerDocument) == null ? void 0 : r.defaultView) || window;
14
14
  }
15
- function E0(a) {
15
+ function Z0(a) {
16
16
  var r;
17
17
  return (r = (te(a) ? a.ownerDocument : a.document) || window.document) == null ? void 0 : r.documentElement;
18
18
  }
@@ -59,20 +59,20 @@ function le(a) {
59
59
  return V0(r.transform) || V0(r.translate) || V0(r.scale) || V0(r.rotate) || V0(r.perspective) || !$5() && (V0(r.backdropFilter) || V0(r.filter)) || q1.test(r.willChange || "") || G1.test(r.contain || "");
60
60
  }
61
61
  function z1(a) {
62
- let r = A0(a);
63
- for (; K(r) && !M0(r); ) {
62
+ let r = C0(a);
63
+ for (; K(r) && !A0(r); ) {
64
64
  if (le(r))
65
65
  return r;
66
66
  if (C5(r))
67
67
  return null;
68
- r = A0(r);
68
+ r = C0(r);
69
69
  }
70
70
  return null;
71
71
  }
72
72
  function $5() {
73
73
  return S5 == null && (S5 = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), S5;
74
74
  }
75
- function M0(a) {
75
+ function A0(a) {
76
76
  return /^(html|body|#document)$/.test(F0(a));
77
77
  }
78
78
  function w0(a) {
@@ -87,7 +87,7 @@ function y5(a) {
87
87
  scrollTop: a.scrollY
88
88
  };
89
89
  }
90
- function A0(a) {
90
+ function C0(a) {
91
91
  if (F0(a) === "html")
92
92
  return a;
93
93
  const r = (
@@ -95,13 +95,13 @@ function A0(a) {
95
95
  a.assignedSlot || // DOM Element detected.
96
96
  a.parentNode || // ShadowRoot detected.
97
97
  u5(a) && a.host || // Fallback.
98
- E0(a)
98
+ Z0(a)
99
99
  );
100
100
  return u5(r) ? r.host : r;
101
101
  }
102
102
  function ze(a) {
103
- const r = A0(a);
104
- return M0(r) ? a.ownerDocument ? a.ownerDocument.body : a.body : K(r) && J0(r) ? r : ze(r);
103
+ const r = C0(a);
104
+ return A0(r) ? a.ownerDocument ? a.ownerDocument.body : a.body : K(r) && J0(r) ? r : ze(r);
105
105
  }
106
106
  function H0(a, r, n) {
107
107
  var t;
@@ -116,7 +116,7 @@ function H0(a, r, n) {
116
116
  function Y5(a) {
117
117
  return a.parent && Object.getPrototypeOf(a.parent) ? a.frameElement : null;
118
118
  }
119
- const f5 = Math.min, S0 = Math.max, w5 = Math.round, n5 = Math.floor, b0 = (a) => ({
119
+ const f5 = Math.min, S0 = Math.max, w5 = Math.round, n5 = Math.floor, R0 = (a) => ({
120
120
  x: a,
121
121
  y: a
122
122
  }), X1 = {
@@ -487,7 +487,7 @@ function D5(a, r) {
487
487
  function Za(a) {
488
488
  return a.matches("html,body");
489
489
  }
490
- function v0(a) {
490
+ function m0(a) {
491
491
  return a?.ownerDocument || document;
492
492
  }
493
493
  function xa(a) {
@@ -539,7 +539,7 @@ function T5(a) {
539
539
  }), r;
540
540
  }
541
541
  const Ba = ka.useInsertionEffect, La = Ba || ((a) => a());
542
- function p0(a) {
542
+ function b0(a) {
543
543
  const r = e.useRef(() => {
544
544
  if (process.env.NODE_ENV !== "production")
545
545
  throw new Error("Cannot call an event handler while rendering.");
@@ -564,14 +564,14 @@ const e5 = () => ({
564
564
  function c1(a, r) {
565
565
  const n = L5(a, e5()), t = n.length;
566
566
  if (t === 0) return;
567
- const l = _0(v0(a)), o = n.indexOf(l), c = o === -1 ? r === 1 ? 0 : t - 1 : o + r;
567
+ const l = _0(m0(a)), o = n.indexOf(l), c = o === -1 ? r === 1 ? 0 : t - 1 : o + r;
568
568
  return n[c];
569
569
  }
570
570
  function i1(a) {
571
- return c1(v0(a).body, 1) || a;
571
+ return c1(m0(a).body, 1) || a;
572
572
  }
573
573
  function d1(a) {
574
- return c1(v0(a).body, -1) || a;
574
+ return c1(m0(a).body, -1) || a;
575
575
  }
576
576
  function X0(a, r) {
577
577
  const n = r || a.currentTarget, t = a.relatedTarget;
@@ -950,7 +950,7 @@ function oe(a) {
950
950
  function N0(a) {
951
951
  const r = oe(a);
952
952
  if (!K(r))
953
- return b0(1);
953
+ return R0(1);
954
954
  const n = r.getBoundingClientRect(), {
955
955
  width: t,
956
956
  height: l,
@@ -962,7 +962,7 @@ function N0(a) {
962
962
  y: i
963
963
  };
964
964
  }
965
- const Ta = /* @__PURE__ */ b0(0);
965
+ const Ta = /* @__PURE__ */ R0(0);
966
966
  function u1(a) {
967
967
  const r = o0(a);
968
968
  return !$5() || !r.visualViewport ? Ta : {
@@ -976,9 +976,9 @@ function Wa(a, r, n) {
976
976
  function P0(a, r, n, t) {
977
977
  r === void 0 && (r = !1), n === void 0 && (n = !1);
978
978
  const l = a.getBoundingClientRect(), o = oe(a);
979
- let c = b0(1);
979
+ let c = R0(1);
980
980
  r && (t ? U(t) && (c = N0(t)) : c = N0(a));
981
- const i = Wa(o, n, t) ? u1(o) : b0(0);
981
+ const i = Wa(o, n, t) ? u1(o) : R0(0);
982
982
  let s = (l.left + i.x) / c.x, d = (l.top + i.y) / c.y, u = l.width / c.x, f = l.height / c.y;
983
983
  if (o) {
984
984
  const h = o0(o), w = t && U(t) ? o0(t) : t;
@@ -997,7 +997,7 @@ function P0(a, r, n, t) {
997
997
  }
998
998
  function j5(a, r) {
999
999
  const n = y5(a).scrollLeft;
1000
- return r ? r.left + n : P0(E0(a)).left + n;
1000
+ return r ? r.left + n : P0(Z0(a)).left + n;
1001
1001
  }
1002
1002
  function f1(a, r) {
1003
1003
  const n = a.getBoundingClientRect(), t = n.left + r.scrollLeft - j5(a, n), l = n.top + r.scrollTop;
@@ -1013,19 +1013,19 @@ function _a(a) {
1013
1013
  offsetParent: t,
1014
1014
  strategy: l
1015
1015
  } = a;
1016
- const o = l === "fixed", c = E0(t), i = r ? C5(r.floating) : !1;
1016
+ const o = l === "fixed", c = Z0(t), i = r ? C5(r.floating) : !1;
1017
1017
  if (t === c || i && o)
1018
1018
  return n;
1019
1019
  let s = {
1020
1020
  scrollLeft: 0,
1021
1021
  scrollTop: 0
1022
- }, d = b0(1);
1023
- const u = b0(0), f = K(t);
1022
+ }, d = R0(1);
1023
+ const u = R0(0), f = K(t);
1024
1024
  if ((f || !f && !o) && ((F0(t) !== "body" || J0(c)) && (s = y5(t)), f)) {
1025
1025
  const w = P0(t);
1026
1026
  d = N0(t), u.x = w.x + t.clientLeft, u.y = w.y + t.clientTop;
1027
1027
  }
1028
- const h = c && !f && !o ? f1(c, s) : b0(0);
1028
+ const h = c && !f && !o ? f1(c, s) : R0(0);
1029
1029
  return {
1030
1030
  width: n.width * d.x,
1031
1031
  height: n.height * d.y,
@@ -1037,7 +1037,7 @@ function Ua(a) {
1037
1037
  return Array.from(a.getClientRects());
1038
1038
  }
1039
1039
  function Na(a) {
1040
- const r = E0(a), n = y5(a), t = a.ownerDocument.body, l = S0(r.scrollWidth, r.clientWidth, t.scrollWidth, t.clientWidth), o = S0(r.scrollHeight, r.clientHeight, t.scrollHeight, t.clientHeight);
1040
+ const r = Z0(a), n = y5(a), t = a.ownerDocument.body, l = S0(r.scrollWidth, r.clientWidth, t.scrollWidth, t.clientWidth), o = S0(r.scrollHeight, r.clientHeight, t.scrollHeight, t.clientHeight);
1041
1041
  let c = -n.scrollLeft + j5(a);
1042
1042
  const i = -n.scrollTop;
1043
1043
  return w0(t).direction === "rtl" && (c += S0(r.clientWidth, t.clientWidth) - l), {
@@ -1049,7 +1049,7 @@ function Na(a) {
1049
1049
  }
1050
1050
  const Me = 25;
1051
1051
  function qa(a, r) {
1052
- const n = o0(a), t = E0(a), l = n.visualViewport;
1052
+ const n = o0(a), t = Z0(a), l = n.visualViewport;
1053
1053
  let o = t.clientWidth, c = t.clientHeight, i = 0, s = 0;
1054
1054
  if (l) {
1055
1055
  o = l.width, c = l.height;
@@ -1069,7 +1069,7 @@ function qa(a, r) {
1069
1069
  };
1070
1070
  }
1071
1071
  function Ga(a, r) {
1072
- const n = P0(a, !0, r === "fixed"), t = n.top + a.clientTop, l = n.left + a.clientLeft, o = K(a) ? N0(a) : b0(1), c = a.clientWidth * o.x, i = a.clientHeight * o.y, s = l * o.x, d = t * o.y;
1072
+ const n = P0(a, !0, r === "fixed"), t = n.top + a.clientTop, l = n.left + a.clientLeft, o = K(a) ? N0(a) : R0(1), c = a.clientWidth * o.x, i = a.clientHeight * o.y, s = l * o.x, d = t * o.y;
1073
1073
  return {
1074
1074
  width: c,
1075
1075
  height: i,
@@ -1082,7 +1082,7 @@ function Ae(a, r, n) {
1082
1082
  if (r === "viewport")
1083
1083
  t = qa(a, n);
1084
1084
  else if (r === "document")
1085
- t = Na(E0(a));
1085
+ t = Na(Z0(a));
1086
1086
  else if (U(r))
1087
1087
  t = Ga(r, n);
1088
1088
  else {
@@ -1097,8 +1097,8 @@ function Ae(a, r, n) {
1097
1097
  return v5(t);
1098
1098
  }
1099
1099
  function w1(a, r) {
1100
- const n = A0(a);
1101
- return n === r || !U(n) || M0(n) ? !1 : w0(n).position === "fixed" || w1(n, r);
1100
+ const n = C0(a);
1101
+ return n === r || !U(n) || A0(n) ? !1 : w0(n).position === "fixed" || w1(n, r);
1102
1102
  }
1103
1103
  function za(a, r) {
1104
1104
  const n = r.get(a);
@@ -1106,10 +1106,10 @@ function za(a, r) {
1106
1106
  return n;
1107
1107
  let t = H0(a, [], !1).filter((i) => U(i) && F0(i) !== "body"), l = null;
1108
1108
  const o = w0(a).position === "fixed";
1109
- let c = o ? A0(a) : a;
1110
- for (; U(c) && !M0(c); ) {
1109
+ let c = o ? C0(a) : a;
1110
+ for (; U(c) && !A0(c); ) {
1111
1111
  const i = w0(c), s = le(c);
1112
- !s && i.position === "fixed" && (l = null), (o ? !s && !l : !s && i.position === "static" && !!l && (l.position === "absolute" || l.position === "fixed") || J0(c) && !s && w1(a, c)) ? t = t.filter((u) => u !== c) : l = i, c = A0(c);
1112
+ !s && i.position === "fixed" && (l = null), (o ? !s && !l : !s && i.position === "static" && !!l && (l.position === "absolute" || l.position === "fixed") || J0(c) && !s && w1(a, c)) ? t = t.filter((u) => u !== c) : l = i, c = C0(c);
1113
1113
  }
1114
1114
  return r.set(a, t), t;
1115
1115
  }
@@ -1144,12 +1144,12 @@ function Ya(a) {
1144
1144
  };
1145
1145
  }
1146
1146
  function Ka(a, r, n) {
1147
- const t = K(r), l = E0(r), o = n === "fixed", c = P0(a, !0, o, r);
1147
+ const t = K(r), l = Z0(r), o = n === "fixed", c = P0(a, !0, o, r);
1148
1148
  let i = {
1149
1149
  scrollLeft: 0,
1150
1150
  scrollTop: 0
1151
1151
  };
1152
- const s = b0(0);
1152
+ const s = R0(0);
1153
1153
  function d() {
1154
1154
  s.x = j5(l);
1155
1155
  }
@@ -1159,7 +1159,7 @@ function Ka(a, r, n) {
1159
1159
  s.x = w.x + r.clientLeft, s.y = w.y + r.clientTop;
1160
1160
  } else l && d();
1161
1161
  o && !t && l && d();
1162
- const u = l && !t && !o ? f1(l, i) : b0(0), f = c.left + i.scrollLeft - s.x - u.x, h = c.top + i.scrollTop - s.y - u.y;
1162
+ const u = l && !t && !o ? f1(l, i) : R0(0), f = c.left + i.scrollLeft - s.x - u.x, h = c.top + i.scrollTop - s.y - u.y;
1163
1163
  return {
1164
1164
  x: f,
1165
1165
  y: h,
@@ -1176,25 +1176,25 @@ function Ce(a, r) {
1176
1176
  if (r)
1177
1177
  return r(a);
1178
1178
  let n = a.offsetParent;
1179
- return E0(a) === n && (n = n.ownerDocument.body), n;
1179
+ return Z0(a) === n && (n = n.ownerDocument.body), n;
1180
1180
  }
1181
1181
  function h1(a, r) {
1182
1182
  const n = o0(a);
1183
1183
  if (C5(a))
1184
1184
  return n;
1185
1185
  if (!K(a)) {
1186
- let l = A0(a);
1187
- for (; l && !M0(l); ) {
1186
+ let l = C0(a);
1187
+ for (; l && !A0(l); ) {
1188
1188
  if (U(l) && !W5(l))
1189
1189
  return l;
1190
- l = A0(l);
1190
+ l = C0(l);
1191
1191
  }
1192
1192
  return n;
1193
1193
  }
1194
1194
  let t = Ce(a, r);
1195
1195
  for (; t && N1(t) && W5(t); )
1196
1196
  t = Ce(t, r);
1197
- return t && M0(t) && W5(t) && !le(t) ? n : t || z1(a) || n;
1197
+ return t && A0(t) && W5(t) && !le(t) ? n : t || z1(a) || n;
1198
1198
  }
1199
1199
  const Qa = async function(a) {
1200
1200
  const r = this.getOffsetParent || h1, n = this.getDimensions, t = await n(a.floating);
@@ -1213,7 +1213,7 @@ function Ja(a) {
1213
1213
  }
1214
1214
  const e2 = {
1215
1215
  convertOffsetParentRelativeRectToViewportRelativeRect: _a,
1216
- getDocumentElement: E0,
1216
+ getDocumentElement: Z0,
1217
1217
  getClippingRect: Xa,
1218
1218
  getOffsetParent: h1,
1219
1219
  getElementRects: Qa,
@@ -1228,7 +1228,7 @@ function v1(a, r) {
1228
1228
  }
1229
1229
  function a2(a, r) {
1230
1230
  let n = null, t;
1231
- const l = E0(a);
1231
+ const l = Z0(a);
1232
1232
  function o() {
1233
1233
  var i;
1234
1234
  clearTimeout(t), (i = n) == null || i.disconnect(), n = null;
@@ -1837,38 +1837,38 @@ function ue(a) {
1837
1837
  domReference: v,
1838
1838
  floating: p
1839
1839
  }
1840
- } = r, Z = p0(() => {
1840
+ } = r, Z = b0(() => {
1841
1841
  var L;
1842
1842
  return (L = b.current.floatingContext) == null ? void 0 : L.nodeId;
1843
- }), C = p0(w), $ = typeof c == "number" && c < 0, B = Re(v) && $, D = R2(), k = D ? o : !0, y = !k || D && h, F = T5(l), _ = T5(c), W = T5(i), M = F5(), A = x1(), I = e.useRef(null), S = e.useRef(null), x = e.useRef(!1), j = e.useRef(!1), T = e.useRef(-1), a0 = e.useRef(-1), J = A != null, O = ae(p), g0 = p0(function(L) {
1843
+ }), C = b0(w), $ = typeof c == "number" && c < 0, B = Re(v) && $, D = R2(), k = D ? o : !0, y = !k || D && h, F = T5(l), _ = T5(c), W = T5(i), M = F5(), A = x1(), I = e.useRef(null), S = e.useRef(null), x = e.useRef(!1), j = e.useRef(!1), T = e.useRef(-1), a0 = e.useRef(-1), J = A != null, O = ae(p), p0 = b0(function(L) {
1844
1844
  return L === void 0 && (L = O), L ? L5(L, e5()) : [];
1845
- }), G = p0((L) => {
1846
- const V = g0(L);
1845
+ }), G = b0((L) => {
1846
+ const V = p0(L);
1847
1847
  return F.current.map((H) => v && H === "reference" ? v : O && H === "floating" ? O : V).filter(Boolean).flat();
1848
1848
  });
1849
1849
  e.useEffect(() => {
1850
1850
  if (t || !d) return;
1851
1851
  function L(H) {
1852
1852
  if (H.key === "Tab") {
1853
- t0(O, _0(v0(O))) && g0().length === 0 && !B && P5(H);
1853
+ t0(O, _0(m0(O))) && p0().length === 0 && !B && P5(H);
1854
1854
  const q = G(), X = L0(H);
1855
1855
  F.current[0] === "reference" && X === v && (P5(H), H.shiftKey ? T0(q[q.length - 1]) : T0(q[1])), F.current[1] === "floating" && X === O && H.shiftKey && (P5(H), T0(q[0]));
1856
1856
  }
1857
1857
  }
1858
- const V = v0(O);
1858
+ const V = m0(O);
1859
1859
  return V.addEventListener("keydown", L), () => {
1860
1860
  V.removeEventListener("keydown", L);
1861
1861
  };
1862
- }, [t, v, O, d, F, B, g0, G]), e.useEffect(() => {
1862
+ }, [t, v, O, d, F, B, p0, G]), e.useEffect(() => {
1863
1863
  if (t || !p) return;
1864
1864
  function L(V) {
1865
- const H = L0(V), X = g0().indexOf(H);
1865
+ const H = L0(V), X = p0().indexOf(H);
1866
1866
  X !== -1 && (T.current = X);
1867
1867
  }
1868
1868
  return p.addEventListener("focusin", L), () => {
1869
1869
  p.removeEventListener("focusin", L);
1870
1870
  };
1871
- }, [t, p, g0]), e.useEffect(() => {
1871
+ }, [t, p, p0]), e.useEffect(() => {
1872
1872
  if (t || !f) return;
1873
1873
  function L() {
1874
1874
  j.current = !0, setTimeout(() => {
@@ -1876,18 +1876,18 @@ function ue(a) {
1876
1876
  });
1877
1877
  }
1878
1878
  function V(X) {
1879
- const P = X.relatedTarget, Z0 = X.currentTarget, d0 = L0(X);
1879
+ const P = X.relatedTarget, x0 = X.currentTarget, d0 = L0(X);
1880
1880
  queueMicrotask(() => {
1881
1881
  const r0 = Z(), I0 = !(t0(v, P) || t0(p, P) || t0(P, p) || t0(A?.portalNode, P) || P != null && P.hasAttribute(Q0("focus-guard")) || M && (U0(M.nodesRef.current, r0).find((k0) => {
1882
- var x0, B0;
1883
- return t0((x0 = k0.context) == null ? void 0 : x0.elements.floating, P) || t0((B0 = k0.context) == null ? void 0 : B0.elements.domReference, P);
1882
+ var M0, B0;
1883
+ return t0((M0 = k0.context) == null ? void 0 : M0.elements.floating, P) || t0((B0 = k0.context) == null ? void 0 : B0.elements.domReference, P);
1884
1884
  }) || Ee(M.nodesRef.current, r0).find((k0) => {
1885
- var x0, B0, he;
1886
- return [(x0 = k0.context) == null ? void 0 : x0.elements.floating, ae((B0 = k0.context) == null ? void 0 : B0.elements.floating)].includes(P) || ((he = k0.context) == null ? void 0 : he.elements.domReference) === P;
1885
+ var M0, B0, he;
1886
+ return [(M0 = k0.context) == null ? void 0 : M0.elements.floating, ae((B0 = k0.context) == null ? void 0 : B0.elements.floating)].includes(P) || ((he = k0.context) == null ? void 0 : he.elements.domReference) === P;
1887
1887
  })));
1888
- if (Z0 === v && O && De(O, F), s && Z0 !== v && !(d0 != null && d0.isConnected) && _0(v0(O)) === v0(O).body) {
1888
+ if (x0 === v && O && De(O, F), s && x0 !== v && !(d0 != null && d0.isConnected) && _0(m0(O)) === m0(O).body) {
1889
1889
  K(O) && O.focus();
1890
- const k0 = T.current, x0 = g0(), B0 = x0[k0] || x0[x0.length - 1] || O;
1890
+ const k0 = T.current, M0 = p0(), B0 = M0[k0] || M0[M0.length - 1] || O;
1891
1891
  K(B0) && B0.focus();
1892
1892
  }
1893
1893
  if (b.current.insideReactTree) {
@@ -1908,7 +1908,7 @@ function ue(a) {
1908
1908
  return v.addEventListener("focusout", V), v.addEventListener("pointerdown", L), p.addEventListener("focusout", V), H && p.addEventListener("focusout", q, !0), () => {
1909
1909
  v.removeEventListener("focusout", V), v.removeEventListener("pointerdown", L), p.removeEventListener("focusout", V), H && p.removeEventListener("focusout", q, !0);
1910
1910
  };
1911
- }, [t, v, p, O, d, M, A, g, f, s, g0, B, Z, F, b]);
1911
+ }, [t, v, p, O, d, M, A, g, f, s, p0, B, Z, F, b]);
1912
1912
  const i0 = e.useRef(null), y0 = e.useRef(null), I5 = Ie([i0, A?.beforeInsideRef]), V5 = Ie([y0, A?.afterInsideRef]);
1913
1913
  e.useEffect(() => {
1914
1914
  var L, V;
@@ -1916,13 +1916,13 @@ function ue(a) {
1916
1916
  const H = Array.from((A == null || (L = A.portalNode) == null ? void 0 : L.querySelectorAll("[" + Q0("portal") + "]")) || []), X = (V = (M ? Ee(M.nodesRef.current, Z()) : []).find((d0) => {
1917
1917
  var r0;
1918
1918
  return Re(((r0 = d0.context) == null ? void 0 : r0.elements.domReference) || null);
1919
- })) == null || (V = V.context) == null ? void 0 : V.elements.domReference, P = [p, X, ...H, ...C(), I.current, S.current, i0.current, y0.current, A?.beforeOutsideRef.current, A?.afterOutsideRef.current, F.current.includes("reference") || B ? v : null].filter((d0) => d0 != null), Z0 = d || B ? He(P, !y, y) : He(P);
1919
+ })) == null || (V = V.context) == null ? void 0 : V.elements.domReference, P = [p, X, ...H, ...C(), I.current, S.current, i0.current, y0.current, A?.beforeOutsideRef.current, A?.afterOutsideRef.current, F.current.includes("reference") || B ? v : null].filter((d0) => d0 != null), x0 = d || B ? He(P, !y, y) : He(P);
1920
1920
  return () => {
1921
- Z0();
1921
+ x0();
1922
1922
  };
1923
1923
  }, [t, v, p, d, F, A, B, k, y, M, Z, C]), e0(() => {
1924
1924
  if (t || !K(O)) return;
1925
- const L = v0(O), V = _0(L);
1925
+ const L = m0(O), V = _0(L);
1926
1926
  queueMicrotask(() => {
1927
1927
  const H = G(O), q = _.current, X = (typeof q == "number" ? H[q] : q.current) || O, P = t0(O, V);
1928
1928
  !$ && !P && m && T0(X, {
@@ -1931,15 +1931,15 @@ function ue(a) {
1931
1931
  });
1932
1932
  }, [t, m, O, $, G, _]), e0(() => {
1933
1933
  if (t || !O) return;
1934
- const L = v0(O), V = _0(L);
1934
+ const L = m0(O), V = _0(L);
1935
1935
  C2(V);
1936
1936
  function H(P) {
1937
1937
  let {
1938
- reason: Z0,
1938
+ reason: x0,
1939
1939
  event: d0,
1940
1940
  nested: r0
1941
1941
  } = P;
1942
- if (["hover", "safe-polygon"].includes(Z0) && d0.type === "mouseleave" && (x.current = !0), Z0 === "outside-press")
1942
+ if (["hover", "safe-polygon"].includes(x0) && d0.type === "mouseleave" && (x.current = !0), x0 === "outside-press")
1943
1943
  if (r0)
1944
1944
  x.current = !1;
1945
1945
  else if (Aa(d0) || Ca(d0))
@@ -1965,7 +1965,7 @@ function ue(a) {
1965
1965
  }
1966
1966
  return () => {
1967
1967
  R.off("openchange", H);
1968
- const P = _0(L), Z0 = t0(p, P) || M && U0(M.nodesRef.current, Z(), !1).some((r0) => {
1968
+ const P = _0(L), x0 = t0(p, P) || M && U0(M.nodesRef.current, Z(), !1).some((r0) => {
1969
1969
  var I0;
1970
1970
  return t0((I0 = r0.context) == null ? void 0 : I0.elements.floating, P);
1971
1971
  }), d0 = X();
@@ -1975,7 +1975,7 @@ function ue(a) {
1975
1975
  W.current && !x.current && K(r0) && // If the focus moved somewhere else after mount, avoid returning focus
1976
1976
  // since it likely entered a different element which should be
1977
1977
  // respected: https://github.com/floating-ui/floating-ui/issues/2607
1978
- (!(r0 !== P && P !== L.body) || Z0) && r0.focus({
1978
+ (!(r0 !== P && P !== L.body) || x0) && r0.focus({
1979
1979
  preventScroll: !0
1980
1980
  }), q.remove();
1981
1981
  });
@@ -2125,13 +2125,13 @@ function M1(a, r) {
2125
2125
  ancestorScroll: h = !1,
2126
2126
  bubbles: w,
2127
2127
  capture: m
2128
- } = r, g = F5(), R = p0(typeof s == "function" ? s : () => !1), b = typeof s == "function" ? R : s, v = e.useRef(!1), {
2128
+ } = r, g = F5(), R = b0(typeof s == "function" ? s : () => !1), b = typeof s == "function" ? R : s, v = e.useRef(!1), {
2129
2129
  escapeKey: p,
2130
2130
  outsidePress: Z
2131
2131
  } = We(w), {
2132
2132
  escapeKey: C,
2133
2133
  outsidePress: $
2134
- } = We(m), B = e.useRef(!1), D = p0((M) => {
2134
+ } = We(m), B = e.useRef(!1), D = b0((M) => {
2135
2135
  var A;
2136
2136
  if (!n || !c || !i || M.key !== "Escape" || B.current)
2137
2137
  return;
@@ -2148,25 +2148,25 @@ function M1(a, r) {
2148
2148
  return;
2149
2149
  }
2150
2150
  t(!1, Ma(M) ? M.nativeEvent : M, "escape-key");
2151
- }), k = p0((M) => {
2151
+ }), k = b0((M) => {
2152
2152
  var A;
2153
2153
  const I = () => {
2154
2154
  var S;
2155
2155
  D(M), (S = L0(M)) == null || S.removeEventListener("keydown", I);
2156
2156
  };
2157
2157
  (A = L0(M)) == null || A.addEventListener("keydown", I);
2158
- }), y = p0((M) => {
2158
+ }), y = b0((M) => {
2159
2159
  var A;
2160
2160
  const I = o.current.insideReactTree;
2161
2161
  o.current.insideReactTree = !1;
2162
2162
  const S = v.current;
2163
2163
  if (v.current = !1, d === "click" && S || I || typeof b == "function" && !b(M))
2164
2164
  return;
2165
- const x = L0(M), j = "[" + Q0("inert") + "]", T = v0(l.floating).querySelectorAll(j);
2165
+ const x = L0(M), j = "[" + Q0("inert") + "]", T = m0(l.floating).querySelectorAll(j);
2166
2166
  let a0 = U(x) ? x : null;
2167
- for (; a0 && !M0(a0); ) {
2168
- const G = A0(a0);
2169
- if (M0(G) || !U(G))
2167
+ for (; a0 && !A0(a0); ) {
2168
+ const G = C0(a0);
2169
+ if (A0(G) || !U(G))
2170
2170
  break;
2171
2171
  a0 = G;
2172
2172
  }
@@ -2176,7 +2176,7 @@ function M1(a, r) {
2176
2176
  Array.from(T).every((G) => !t0(a0, G)))
2177
2177
  return;
2178
2178
  if (K(x) && W) {
2179
- const G = M0(x), i0 = w0(x), y0 = /auto|scroll/, I5 = G || y0.test(i0.overflowX), V5 = G || y0.test(i0.overflowY), a5 = I5 && x.clientWidth > 0 && x.scrollWidth > x.clientWidth, r5 = V5 && x.clientHeight > 0 && x.scrollHeight > x.clientHeight, L = i0.direction === "rtl", V = r5 && (L ? M.offsetX <= x.offsetWidth - x.clientWidth : M.offsetX > x.clientWidth), H = a5 && M.offsetY > x.clientHeight;
2179
+ const G = A0(x), i0 = w0(x), y0 = /auto|scroll/, I5 = G || y0.test(i0.overflowX), V5 = G || y0.test(i0.overflowY), a5 = I5 && x.clientWidth > 0 && x.scrollWidth > x.clientWidth, r5 = V5 && x.clientHeight > 0 && x.scrollHeight > x.clientHeight, L = i0.direction === "rtl", V = r5 && (L ? M.offsetX <= x.offsetWidth - x.clientWidth : M.offsetX > x.clientWidth), H = a5 && M.offsetY > x.clientHeight;
2180
2180
  if (V || H)
2181
2181
  return;
2182
2182
  }
@@ -2186,10 +2186,10 @@ function M1(a, r) {
2186
2186
  });
2187
2187
  if (D5(M, l.floating) || D5(M, l.domReference) || O)
2188
2188
  return;
2189
- const g0 = g ? U0(g.nodesRef.current, J) : [];
2190
- if (g0.length > 0) {
2189
+ const p0 = g ? U0(g.nodesRef.current, J) : [];
2190
+ if (p0.length > 0) {
2191
2191
  let G = !0;
2192
- if (g0.forEach((i0) => {
2192
+ if (p0.forEach((i0) => {
2193
2193
  var y0;
2194
2194
  if ((y0 = i0.context) != null && y0.open && !i0.context.dataRef.current.__outsidePressBubbles) {
2195
2195
  G = !1;
@@ -2199,7 +2199,7 @@ function M1(a, r) {
2199
2199
  return;
2200
2200
  }
2201
2201
  t(!1, M, "outside-press");
2202
- }), F = p0((M) => {
2202
+ }), F = b0((M) => {
2203
2203
  var A;
2204
2204
  const I = () => {
2205
2205
  var S;
@@ -2228,7 +2228,7 @@ function M1(a, r) {
2228
2228
  $5() ? 5 : 0
2229
2229
  );
2230
2230
  }
2231
- const x = v0(l.floating);
2231
+ const x = m0(l.floating);
2232
2232
  i && (x.addEventListener("keydown", C ? k : D, C), x.addEventListener("compositionstart", I), x.addEventListener("compositionend", S)), b && x.addEventListener(d, $ ? F : y, $);
2233
2233
  let j = [];
2234
2234
  return h && (U(l.domReference) && (j = H0(l.domReference)), U(l.floating) && (j = j.concat(H0(l.floating))), !U(l.reference) && l.reference && l.reference.contextElement && (j = j.concat(H0(l.reference.contextElement)))), j = j.filter((T) => {
@@ -2286,7 +2286,7 @@ function O2(a) {
2286
2286
  const w = t.reference;
2287
2287
  w && !U(w) && v2("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
2288
2288
  }
2289
- const [s, d] = e.useState(t.reference), u = p0((w, m, g) => {
2289
+ const [s, d] = e.useState(t.reference), u = b0((w, m, g) => {
2290
2290
  o.current.openEvent = w ? m : void 0, c.emit("openchange", {
2291
2291
  open: w,
2292
2292
  event: m,
@@ -2658,7 +2658,7 @@ const z = /* @__PURE__ */ P2(W2), _2 = "_text_1rxak_1", U2 = "_danger_1rxak_38",
2658
2658
  default: "_default_1rxak_35",
2659
2659
  danger: U2,
2660
2660
  ellipsis: N2
2661
- }, c0 = R0(
2661
+ }, c0 = E0(
2662
2662
  ({
2663
2663
  as: a,
2664
2664
  qa: r,
@@ -2688,7 +2688,7 @@ const z = /* @__PURE__ */ P2(W2), _2 = "_text_1rxak_1", U2 = "_danger_1rxak_38",
2688
2688
  ...s
2689
2689
  }
2690
2690
  )
2691
- ), C0 = R0(
2691
+ ), $0 = E0(
2692
2692
  ({
2693
2693
  qa: a,
2694
2694
  data: r,
@@ -2696,8 +2696,8 @@ const z = /* @__PURE__ */ P2(W2), _2 = "_text_1rxak_1", U2 = "_danger_1rxak_38",
2696
2696
  size: t = 24,
2697
2697
  width: l = t,
2698
2698
  height: o = t,
2699
- fill: c = "currentColor",
2700
- stroke: i = "none",
2699
+ fill: c,
2700
+ stroke: i,
2701
2701
  ...s
2702
2702
  }, d) => /* @__PURE__ */ E(
2703
2703
  r,
@@ -2711,25 +2711,25 @@ const z = /* @__PURE__ */ P2(W2), _2 = "_text_1rxak_1", U2 = "_danger_1rxak_38",
2711
2711
  ...s
2712
2712
  }
2713
2713
  )
2714
- ), q2 = "_button_1bmym_1", G2 = "_buttonText_1bmym_18", z2 = "_onlyIcon_1bmym_118", X2 = "_loading_1bmym_130", Y2 = "_buttonStartIcon_1bmym_140", K2 = "_buttonEndIcon_1bmym_148", h0 = {
2714
+ ), q2 = "_button_jseij_1", G2 = "_buttonText_jseij_18", z2 = "_onlyIcon_jseij_118", X2 = "_loading_jseij_130", Y2 = "_buttonStartIcon_jseij_140", K2 = "_buttonEndIcon_jseij_148", v0 = {
2715
2715
  button: q2,
2716
- "size-xs": "_size-xs_1bmym_13",
2716
+ "size-xs": "_size-xs_jseij_13",
2717
2717
  buttonText: G2,
2718
- "size-s": "_size-s_1bmym_21",
2719
- "size-m": "_size-m_1bmym_29",
2720
- "size-l": "_size-l_1bmym_37",
2721
- "size-xl": "_size-xl_1bmym_45",
2722
- "view-default": "_view-default_1bmym_53",
2723
- "view-primary": "_view-primary_1bmym_61",
2724
- "view-secondary": "_view-secondary_1bmym_69",
2725
- "view-unstyled": "_view-unstyled_1bmym_77",
2726
- "shape-circle": "_shape-circle_1bmym_97",
2727
- "width-default": "_width-default_1bmym_100",
2728
- "width-auto": "_width-auto_1bmym_103",
2729
- "width-max": "_width-max_1bmym_106",
2730
- "align-left": "_align-left_1bmym_109",
2731
- "align-right": "_align-right_1bmym_112",
2732
- "align-center": "_align-center_1bmym_115",
2718
+ "size-s": "_size-s_jseij_21",
2719
+ "size-m": "_size-m_jseij_29",
2720
+ "size-l": "_size-l_jseij_37",
2721
+ "size-xl": "_size-xl_jseij_45",
2722
+ "view-default": "_view-default_jseij_53",
2723
+ "view-primary": "_view-primary_jseij_61",
2724
+ "view-secondary": "_view-secondary_jseij_69",
2725
+ "view-unstyled": "_view-unstyled_jseij_77",
2726
+ "shape-circle": "_shape-circle_jseij_97",
2727
+ "width-default": "_width-default_jseij_100",
2728
+ "width-auto": "_width-auto_jseij_103",
2729
+ "width-max": "_width-max_jseij_106",
2730
+ "align-left": "_align-left_jseij_109",
2731
+ "align-right": "_align-right_jseij_112",
2732
+ "align-center": "_align-center_jseij_115",
2733
2733
  onlyIcon: z2,
2734
2734
  loading: X2,
2735
2735
  buttonStartIcon: Y2,
@@ -2744,7 +2744,7 @@ const z = /* @__PURE__ */ P2(W2), _2 = "_text_1rxak_1", U2 = "_danger_1rxak_38",
2744
2744
  return !1;
2745
2745
  const t = n.displayName;
2746
2746
  return !!(t && t === a.displayName);
2747
- }, Q2 = k1("svg"), J2 = k1(C0), $0 = R0((a, r) => {
2747
+ }, Q2 = k1("svg"), J2 = k1($0), h0 = E0((a, r) => {
2748
2748
  const {
2749
2749
  qa: n,
2750
2750
  view: t = "default",
@@ -2762,14 +2762,14 @@ const z = /* @__PURE__ */ P2(W2), _2 = "_text_1rxak_1", U2 = "_danger_1rxak_38",
2762
2762
  children: m,
2763
2763
  style: f,
2764
2764
  className: z(
2765
- h0.button,
2766
- s ? h0.loading : null,
2767
- h0[`view-${t}`],
2768
- h0[`size-${l}`],
2769
- h0[`shape-${o}`],
2770
- h0[`width-${c}`],
2771
- h0[`align-${d}`],
2772
- m[0] && !m[1] && !m[2] ? h0.onlyIcon : null,
2765
+ v0.button,
2766
+ s ? v0.loading : null,
2767
+ v0[`view-${t}`],
2768
+ v0[`size-${l}`],
2769
+ v0[`shape-${o}`],
2770
+ v0[`width-${c}`],
2771
+ v0[`align-${d}`],
2772
+ m[0] && !m[1] && !m[2] ? v0.onlyIcon : null,
2773
2773
  h
2774
2774
  )
2775
2775
  };
@@ -2801,14 +2801,14 @@ const z = /* @__PURE__ */ P2(W2), _2 = "_text_1rxak_1", U2 = "_danger_1rxak_38",
2801
2801
  J2(c) || Q2(c) ? !n && !o.length ? n = /* @__PURE__ */ E(
2802
2802
  "span",
2803
2803
  {
2804
- className: h0.buttonStartIcon,
2804
+ className: v0.buttonStartIcon,
2805
2805
  children: c
2806
2806
  },
2807
2807
  "start-icon"
2808
2808
  ) : !t && o.length > 0 && (t = /* @__PURE__ */ E(
2809
2809
  "span",
2810
2810
  {
2811
- className: h0.buttonEndIcon,
2811
+ className: v0.buttonEndIcon,
2812
2812
  children: c
2813
2813
  },
2814
2814
  "end-icon"
@@ -2816,7 +2816,7 @@ const z = /* @__PURE__ */ P2(W2), _2 = "_text_1rxak_1", U2 = "_danger_1rxak_38",
2816
2816
  return o.length && (l = /* @__PURE__ */ E(
2817
2817
  c0,
2818
2818
  {
2819
- className: h0.buttonText,
2819
+ className: v0.buttonText,
2820
2820
  ellipsis: !0,
2821
2821
  children: o
2822
2822
  },
@@ -2837,7 +2837,7 @@ function nr(a, r) {
2837
2837
  t.push(o), l += 1, l >= r && (n.push(t), t = [], l = 0);
2838
2838
  return t.length > 0 && n.push(t), n;
2839
2839
  }
2840
- const JU = R0((a, r) => {
2840
+ const JU = E0((a, r) => {
2841
2841
  const {
2842
2842
  size: n = "m",
2843
2843
  multiple: t = !0,
@@ -2882,7 +2882,7 @@ const JU = R0((a, r) => {
2882
2882
  role: "gridcell",
2883
2883
  "aria-disabled": Z.disabled || c,
2884
2884
  children: /* @__PURE__ */ E(
2885
- $0,
2885
+ h0,
2886
2886
  {
2887
2887
  className: u,
2888
2888
  disabled: c || Z.disabled,
@@ -10005,7 +10005,7 @@ const rs = /* @__PURE__ */ e.forwardRef(as), ns = "_field_kz6iu_1", ts = "_label
10005
10005
  error: ls,
10006
10006
  input: os,
10007
10007
  endContent: cs
10008
- }, eN = R0(
10008
+ }, eN = E0(
10009
10009
  ({
10010
10010
  wrapperRef: a,
10011
10011
  qa: r,
@@ -10020,14 +10020,15 @@ const rs = /* @__PURE__ */ e.forwardRef(as), ns = "_field_kz6iu_1", ts = "_label
10020
10020
  }, u) => {
10021
10021
  const [f, h] = f0(!0);
10022
10022
  !c && l === "password" && (c = /* @__PURE__ */ E(
10023
- "button",
10023
+ h0,
10024
10024
  {
10025
+ view: "unstyled",
10025
10026
  onClick: () => {
10026
10027
  h((m) => !m);
10027
10028
  },
10028
10029
  className: Y.endContent,
10029
10030
  children: /* @__PURE__ */ E(
10030
- C0,
10031
+ $0,
10031
10032
  {
10032
10033
  data: f ? B1 : L1,
10033
10034
  size: 20
@@ -10054,7 +10055,7 @@ const rs = /* @__PURE__ */ e.forwardRef(as), ns = "_field_kz6iu_1", ts = "_label
10054
10055
  {
10055
10056
  ref: u,
10056
10057
  ...d,
10057
- type: l === "password" && f ? "password" : "text",
10058
+ type: l === "password" && f ? "password" : l,
10058
10059
  className: Y.input
10059
10060
  }
10060
10061
  ),
@@ -10071,7 +10072,7 @@ const rs = /* @__PURE__ */ e.forwardRef(as), ns = "_field_kz6iu_1", ts = "_label
10071
10072
  field: us,
10072
10073
  label: fs,
10073
10074
  textarea: ws
10074
- }, hs = R0(
10075
+ }, hs = E0(
10075
10076
  ({
10076
10077
  qa: a,
10077
10078
  style: r,
@@ -10137,7 +10138,7 @@ const rs = /* @__PURE__ */ e.forwardRef(as), ns = "_field_kz6iu_1", ts = "_label
10137
10138
  digits: n,
10138
10139
  phone: O1 + n
10139
10140
  };
10140
- }, aN = R0(
10141
+ }, aN = E0(
10141
10142
  ({
10142
10143
  qa: a,
10143
10144
  style: r,
@@ -10184,7 +10185,7 @@ const rs = /* @__PURE__ */ e.forwardRef(as), ns = "_field_kz6iu_1", ts = "_label
10184
10185
  }
10185
10186
  ), bs = "_container_sjud1_1", Rs = {
10186
10187
  container: bs
10187
- }, Es = (a) => a.filter((r) => r.length), rN = R0(
10188
+ }, Es = (a) => a.filter((r) => r.length), rN = E0(
10188
10189
  ({
10189
10190
  initialValues: a,
10190
10191
  onChange: r,
@@ -10241,13 +10242,13 @@ const rs = /* @__PURE__ */ e.forwardRef(as), ns = "_field_kz6iu_1", ts = "_label
10241
10242
  p
10242
10243
  )),
10243
10244
  b && /* @__PURE__ */ E(
10244
- $0,
10245
+ h0,
10245
10246
  {
10246
10247
  disabled: R,
10247
10248
  width: "max",
10248
10249
  onClick: g,
10249
10250
  children: /* @__PURE__ */ E(
10250
- C0,
10251
+ $0,
10251
10252
  {
10252
10253
  size: 20,
10253
10254
  data: j1
@@ -10345,7 +10346,7 @@ const rs = /* @__PURE__ */ e.forwardRef(as), ns = "_field_kz6iu_1", ts = "_label
10345
10346
  endDot: Hs,
10346
10347
  input: Fs,
10347
10348
  errorMessage: Is
10348
- }, nN = R0(
10349
+ }, nN = E0(
10349
10350
  ({
10350
10351
  size: a = "m",
10351
10352
  min: r = 0,
@@ -17904,7 +17905,7 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
17904
17905
  }) => {
17905
17906
  const l = a.getFullYear(), o = a.getMonth();
17906
17907
  return /* @__PURE__ */ N(
17907
- $0,
17908
+ h0,
17908
17909
  {
17909
17910
  view: "unstyled",
17910
17911
  className: WR.content,
@@ -17917,7 +17918,7 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
17917
17918
  r === "years" && `${String(l).padStart(4, l0)} — ${String(l + Y0 - 1).padStart(4, l0)}`
17918
17919
  ] }),
17919
17920
  r !== "years" && /* @__PURE__ */ E(
17920
- C0,
17921
+ $0,
17921
17922
  {
17922
17923
  data: F1,
17923
17924
  size: 24
@@ -17926,7 +17927,7 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
17926
17927
  ]
17927
17928
  }
17928
17929
  );
17929
- }, UR = "_column_1wzcb_1", NR = "_title_1wzcb_7", qR = "_cell_1wzcb_17", GR = "_current_1wzcb_33", zR = "_selected_1wzcb_44", m0 = {
17930
+ }, UR = "_column_1wzcb_1", NR = "_title_1wzcb_7", qR = "_cell_1wzcb_17", GR = "_current_1wzcb_33", zR = "_selected_1wzcb_44", g0 = {
17930
17931
  column: UR,
17931
17932
  title: NR,
17932
17933
  cell: qR,
@@ -17952,24 +17953,24 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
17952
17953
  /* @__PURE__ */ N(
17953
17954
  "div",
17954
17955
  {
17955
- className: m0.column,
17956
+ className: g0.column,
17956
17957
  children: [
17957
17958
  /* @__PURE__ */ E(
17958
17959
  c0,
17959
17960
  {
17960
17961
  variant: "body-xl-bold",
17961
- className: m0.title,
17962
+ className: g0.title,
17962
17963
  children: s5[u].shortRu
17963
17964
  }
17964
17965
  ),
17965
17966
  s[u].map((f, h) => /* @__PURE__ */ E(
17966
- $0,
17967
+ h0,
17967
17968
  {
17968
17969
  view: "unstyled",
17969
17970
  className: z(
17970
- m0.cell,
17971
- f.current ? m0.current : null,
17972
- f.selected ? m0.selected : null
17971
+ g0.cell,
17972
+ f.current ? g0.current : null,
17973
+ f.selected ? g0.selected : null
17973
17974
  ),
17974
17975
  disabled: f.disabled,
17975
17976
  onClick: () => !!f.date && a(Q(c, i, f.date)),
@@ -18000,14 +18001,14 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
18000
18001
  const u = K0[d], f = !!r || n && Q(i, u.number, 1) > n || t && Q(i, u.number + 1, 0) < t, h = c.getFullYear() === i && c.getMonth() === u.number, w = l && l.getFullYear() === i && l.getMonth() === u.number;
18001
18002
  s.push(
18002
18003
  /* @__PURE__ */ E(
18003
- $0,
18004
+ h0,
18004
18005
  {
18005
18006
  view: "unstyled",
18006
18007
  className: z(
18007
- m0.cell,
18008
+ g0.cell,
18008
18009
  x5.cell,
18009
- h ? m0.current : null,
18010
- w ? m0.selected : null
18010
+ h ? g0.current : null,
18011
+ w ? g0.selected : null
18011
18012
  ),
18012
18013
  disabled: f,
18013
18014
  onClick: () => a(Q(i, u.number)),
@@ -18031,14 +18032,14 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
18031
18032
  const d = o.getFullYear() + s, u = !!r || n && Q(d) > n || t && Q(d + 1, 0, 0) < t, f = c.getFullYear() === d, h = l && l.getFullYear() === d;
18032
18033
  i.push(
18033
18034
  /* @__PURE__ */ E(
18034
- $0,
18035
+ h0,
18035
18036
  {
18036
18037
  view: "unstyled",
18037
18038
  className: z(
18038
- m0.cell,
18039
+ g0.cell,
18039
18040
  x5.cell,
18040
- f ? m0.current : null,
18041
- h ? m0.selected : null
18041
+ f ? g0.current : null,
18042
+ h ? g0.selected : null
18042
18043
  ),
18043
18044
  disabled: u,
18044
18045
  onClick: () => a(Q(d)),
@@ -18049,7 +18050,7 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
18049
18050
  );
18050
18051
  }
18051
18052
  return /* @__PURE__ */ E("div", { className: x5.grid, children: i });
18052
- }, eE = "days", aE = R0(
18053
+ }, eE = "days", aE = E0(
18053
18054
  ({
18054
18055
  disabled: a,
18055
18056
  maxValue: r,
@@ -18126,7 +18127,7 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
18126
18127
  ),
18127
18128
  /* @__PURE__ */ N("nav", { className: W0.nav, children: [
18128
18129
  /* @__PURE__ */ E(
18129
- $0,
18130
+ h0,
18130
18131
  {
18131
18132
  view: "unstyled",
18132
18133
  size: "s",
@@ -18134,7 +18135,7 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
18134
18135
  disabled: a || R === 0 && b === 0,
18135
18136
  onClick: Z,
18136
18137
  children: /* @__PURE__ */ E(
18137
- C0,
18138
+ $0,
18138
18139
  {
18139
18140
  data: I1,
18140
18141
  size: 24
@@ -18143,7 +18144,7 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
18143
18144
  }
18144
18145
  ),
18145
18146
  /* @__PURE__ */ E(
18146
- $0,
18147
+ h0,
18147
18148
  {
18148
18149
  view: "unstyled",
18149
18150
  size: "s",
@@ -18151,7 +18152,7 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
18151
18152
  disabled: a,
18152
18153
  onClick: p,
18153
18154
  children: /* @__PURE__ */ E(
18154
- C0,
18155
+ $0,
18155
18156
  {
18156
18157
  data: V1,
18157
18158
  size: 24
@@ -18234,12 +18235,13 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
18234
18235
  ),
18235
18236
  /* @__PURE__ */ N("div", { className: z0.iconButtons, children: [
18236
18237
  w && !!Z && /* @__PURE__ */ E(
18237
- "button",
18238
+ h0,
18238
18239
  {
18240
+ view: "unstyled",
18239
18241
  onClick: $,
18240
18242
  className: z(Y.endContent, z0.clearButton),
18241
18243
  children: /* @__PURE__ */ E(
18242
- C0,
18244
+ $0,
18243
18245
  {
18244
18246
  data: we,
18245
18247
  size: 20
@@ -18248,13 +18250,14 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
18248
18250
  }
18249
18251
  ),
18250
18252
  /* @__PURE__ */ E(
18251
- "button",
18253
+ h0,
18252
18254
  {
18255
+ view: "unstyled",
18253
18256
  id: g,
18254
18257
  onClick: B,
18255
18258
  className: Y.endContent,
18256
18259
  children: /* @__PURE__ */ E(
18257
- C0,
18260
+ $0,
18258
18261
  {
18259
18262
  data: H1,
18260
18263
  size: 20
@@ -18364,13 +18367,13 @@ const we = /* @__PURE__ */ e.forwardRef(jR), OR = "_container_1x46a_1", HR = "_h
18364
18367
  }
18365
18368
  ),
18366
18369
  f && /* @__PURE__ */ E(
18367
- $0,
18370
+ h0,
18368
18371
  {
18369
18372
  view: "unstyled",
18370
18373
  className: i5.closeButton,
18371
18374
  onClick: C,
18372
18375
  children: /* @__PURE__ */ E(
18373
- C0,
18376
+ $0,
18374
18377
  {
18375
18378
  data: we,
18376
18379
  size: 24
@@ -34443,10 +34446,10 @@ const YU = /* @__PURE__ */ e.forwardRef(XU), iN = /* @__PURE__ */ Object.freeze(
34443
34446
  }, Symbol.toStringTag, { value: "Module" }));
34444
34447
  export {
34445
34448
  rN as AddableInputGroup,
34446
- $0 as Button,
34449
+ h0 as Button,
34447
34450
  aE as Calendar,
34448
34451
  tN as DatePicker,
34449
- C0 as Icon,
34452
+ $0 as Icon,
34450
34453
  oN as Icons16,
34451
34454
  cN as Icons20,
34452
34455
  iN as Icons24Outline,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odeyalo/uikit",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",