@arthurzakharov/ui-kit 1.5.6 → 1.5.8

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.
Files changed (119) hide show
  1. package/dist/assets/box-DOatBkTY.css +1 -0
  2. package/dist/assets/{main-Dz2hrn4n.css → main-BrKLCio0.css} +1 -1
  3. package/dist/components/accordion-table/accordion-table.component.js +14 -12
  4. package/dist/components/bottom-bar/bottom-bar.component.js +5 -3
  5. package/dist/components/dialog-article/dialog-article.component.js +8 -6
  6. package/dist/components/message-block/index.d.ts +1 -1
  7. package/dist/components/message-block/message-block.component.d.ts +1 -2
  8. package/dist/components/sidebar/sidebar.component.js +24 -20
  9. package/dist/components/signature/signature.component.js +6 -5
  10. package/dist/components/user-panel/user-panel.component.js +18 -15
  11. package/dist/controls/{button → buttons/button}/button.component.d.ts +2 -2
  12. package/dist/controls/{button → buttons/button}/button.component.js +5 -5
  13. package/dist/controls/{button-card → buttons/button-card}/button-card.component.d.ts +2 -2
  14. package/dist/controls/{button-card → buttons/button-card}/button-card.component.js +12 -11
  15. package/dist/controls/{button-radio → buttons/button-radio}/button-radio.component.d.ts +1 -1
  16. package/dist/controls/{button-radio → buttons/button-radio}/button-radio.component.js +17 -15
  17. package/dist/controls/{button-text → buttons/button-text}/button-text.component.d.ts +3 -3
  18. package/dist/controls/{button-text → buttons/button-text}/button-text.component.js +3 -3
  19. package/dist/controls/buttons/index.d.ts +4 -0
  20. package/dist/controls/buttons/index.js +10 -0
  21. package/dist/controls/index.d.ts +3 -21
  22. package/dist/controls/index.js +48 -48
  23. package/dist/controls/{card-image → interactives/card-image}/card-image.component.d.ts +3 -3
  24. package/dist/controls/{card-image → interactives/card-image}/card-image.component.js +23 -21
  25. package/dist/controls/{card-text → interactives/card-text}/card-text.component.d.ts +3 -3
  26. package/dist/controls/interactives/card-text/card-text.component.js +77 -0
  27. package/dist/controls/{checkbox → interactives/checkbox}/checkbox.component.d.ts +3 -3
  28. package/dist/controls/{checkbox → interactives/checkbox}/checkbox.component.js +19 -17
  29. package/dist/controls/{dropdown → interactives/dropdown}/dropdown.component.d.ts +2 -2
  30. package/dist/controls/{dropdown → interactives/dropdown}/dropdown.component.js +9 -9
  31. package/dist/controls/interactives/index.d.ts +8 -0
  32. package/dist/controls/interactives/index.js +18 -0
  33. package/dist/controls/{input → interactives/input}/input.component.d.ts +2 -2
  34. package/dist/controls/{input → interactives/input}/input.component.js +3 -3
  35. package/dist/controls/{radio → interactives/radio}/radio.component.d.ts +3 -4
  36. package/dist/controls/{radio → interactives/radio}/radio.component.js +24 -21
  37. package/dist/controls/{text-area → interactives/text-area}/text-area.component.d.ts +2 -2
  38. package/dist/controls/interactives/text-area/text-area.component.js +65 -0
  39. package/dist/controls/{text-field → interactives/text-field}/text-field.component.d.ts +2 -2
  40. package/dist/controls/{text-field → interactives/text-field}/text-field.component.js +29 -27
  41. package/dist/controls/{box → primitives/box}/box.component.d.ts +2 -2
  42. package/dist/controls/primitives/box/box.component.js +41 -0
  43. package/dist/controls/{caption → primitives/caption}/caption.component.d.ts +2 -2
  44. package/dist/controls/{caption → primitives/caption}/caption.component.js +3 -3
  45. package/dist/controls/{choice → primitives/choice}/choice.component.d.ts +2 -2
  46. package/dist/controls/{choice → primitives/choice}/choice.component.js +2 -2
  47. package/dist/controls/{error-message → primitives/error-message}/error-message.component.d.ts +1 -1
  48. package/dist/controls/{error-message → primitives/error-message}/error-message.component.js +3 -3
  49. package/dist/controls/{hidden-input → primitives/hidden-input}/hidden-input.component.d.ts +2 -2
  50. package/dist/controls/{hidden-input → primitives/hidden-input}/hidden-input.component.js +2 -2
  51. package/dist/controls/primitives/index.d.ts +8 -0
  52. package/dist/controls/primitives/index.js +18 -0
  53. package/dist/controls/{label → primitives/label}/label.component.d.ts +2 -2
  54. package/dist/controls/{label → primitives/label}/label.component.js +3 -3
  55. package/dist/controls/{radio-label → primitives/radio-label}/radio-label.component.d.ts +2 -2
  56. package/dist/controls/{radio-label → primitives/radio-label}/radio-label.component.js +2 -2
  57. package/dist/controls/{status → primitives/status}/status.component.d.ts +2 -2
  58. package/dist/controls/{status → primitives/status}/status.component.js +2 -2
  59. package/dist/controls/{hooks → utils/hooks}/use-choice/use-choice.hook.d.ts +1 -1
  60. package/dist/controls/{hooks → utils/hooks}/use-control-interaction/use-control-interaction.hook.d.ts +1 -1
  61. package/dist/controls/utils/index.d.ts +1 -0
  62. package/dist/controls/utils/index.js +8 -4
  63. package/dist/main.d.ts +21 -21
  64. package/dist/main.js +102 -101
  65. package/package.json +8 -8
  66. package/dist/assets/box-5bAcfszB.css +0 -1
  67. package/dist/controls/box/box.component.js +0 -40
  68. package/dist/controls/card-text/card-text.component.js +0 -75
  69. package/dist/controls/text-area/text-area.component.js +0 -62
  70. /package/dist/controls/{button → buttons/button}/index.d.ts +0 -0
  71. /package/dist/controls/{button → buttons/button}/index.js +0 -0
  72. /package/dist/controls/{button-card → buttons/button-card}/index.d.ts +0 -0
  73. /package/dist/controls/{button-card → buttons/button-card}/index.js +0 -0
  74. /package/dist/controls/{button-radio → buttons/button-radio}/index.d.ts +0 -0
  75. /package/dist/controls/{button-radio → buttons/button-radio}/index.js +0 -0
  76. /package/dist/controls/{button-text → buttons/button-text}/index.d.ts +0 -0
  77. /package/dist/controls/{button-text → buttons/button-text}/index.js +0 -0
  78. /package/dist/controls/{card-image → interactives/card-image}/index.d.ts +0 -0
  79. /package/dist/controls/{card-image → interactives/card-image}/index.js +0 -0
  80. /package/dist/controls/{card-text → interactives/card-text}/index.d.ts +0 -0
  81. /package/dist/controls/{card-text → interactives/card-text}/index.js +0 -0
  82. /package/dist/controls/{checkbox → interactives/checkbox}/index.d.ts +0 -0
  83. /package/dist/controls/{checkbox → interactives/checkbox}/index.js +0 -0
  84. /package/dist/controls/{dropdown → interactives/dropdown}/index.d.ts +0 -0
  85. /package/dist/controls/{dropdown → interactives/dropdown}/index.js +0 -0
  86. /package/dist/controls/{input → interactives/input}/index.d.ts +0 -0
  87. /package/dist/controls/{input → interactives/input}/index.js +0 -0
  88. /package/dist/controls/{input → interactives/input}/input.utils.d.ts +0 -0
  89. /package/dist/controls/{input → interactives/input}/input.utils.js +0 -0
  90. /package/dist/controls/{radio → interactives/radio}/index.d.ts +0 -0
  91. /package/dist/controls/{radio → interactives/radio}/index.js +0 -0
  92. /package/dist/controls/{text-area → interactives/text-area}/index.d.ts +0 -0
  93. /package/dist/controls/{text-area → interactives/text-area}/index.js +0 -0
  94. /package/dist/controls/{text-field → interactives/text-field}/index.d.ts +0 -0
  95. /package/dist/controls/{text-field → interactives/text-field}/index.js +0 -0
  96. /package/dist/controls/{box → primitives/box}/index.d.ts +0 -0
  97. /package/dist/controls/{box → primitives/box}/index.js +0 -0
  98. /package/dist/controls/{caption → primitives/caption}/index.d.ts +0 -0
  99. /package/dist/controls/{caption → primitives/caption}/index.js +0 -0
  100. /package/dist/controls/{choice → primitives/choice}/index.d.ts +0 -0
  101. /package/dist/controls/{choice → primitives/choice}/index.js +0 -0
  102. /package/dist/controls/{error-message → primitives/error-message}/index.d.ts +0 -0
  103. /package/dist/controls/{error-message → primitives/error-message}/index.js +0 -0
  104. /package/dist/controls/{hidden-input → primitives/hidden-input}/index.d.ts +0 -0
  105. /package/dist/controls/{hidden-input → primitives/hidden-input}/index.js +0 -0
  106. /package/dist/controls/{label → primitives/label}/index.d.ts +0 -0
  107. /package/dist/controls/{label → primitives/label}/index.js +0 -0
  108. /package/dist/controls/{radio-label → primitives/radio-label}/index.d.ts +0 -0
  109. /package/dist/controls/{radio-label → primitives/radio-label}/index.js +0 -0
  110. /package/dist/controls/{status → primitives/status}/index.d.ts +0 -0
  111. /package/dist/controls/{status → primitives/status}/index.js +0 -0
  112. /package/dist/controls/{hooks → utils/hooks}/index.d.ts +0 -0
  113. /package/dist/controls/{hooks → utils/hooks}/index.js +0 -0
  114. /package/dist/controls/{hooks → utils/hooks}/use-choice/index.d.ts +0 -0
  115. /package/dist/controls/{hooks → utils/hooks}/use-choice/index.js +0 -0
  116. /package/dist/controls/{hooks → utils/hooks}/use-choice/use-choice.hook.js +0 -0
  117. /package/dist/controls/{hooks → utils/hooks}/use-control-interaction/index.d.ts +0 -0
  118. /package/dist/controls/{hooks → utils/hooks}/use-control-interaction/index.js +0 -0
  119. /package/dist/controls/{hooks → utils/hooks}/use-control-interaction/use-control-interaction.hook.js +0 -0
@@ -0,0 +1 @@
1
+ ._Box_1nqm1_1{flex-basis:100%;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;align-self:stretch;border-radius:var(--rm-ui-box-border-radius);border:1px solid transparent;background-color:var(--rm-ui-card-background);transition:border-color .15s ease-out}._Checked_1nqm1_14{border-color:var(--rm-ui-color-action)}._Idle_1nqm1_18{border-color:var(--rm-ui-grey-300)}._Focused_1nqm1_22{border-color:var(--rm-ui-color-focus);border-color:-webkit-focus-ring-color}._Error_1nqm1_27{border-color:var(--rm-ui-color-error)}._Success_1nqm1_31{border-color:var(--rm-ui-color-success)}
@@ -1 +1 @@
1
- *,*:before,*:after{margin:0;padding:0;box-sizing:border-box}body{background-color:var(--rm-ui-body-bg);font-family:Lato,sans-serif;font-weight:var(--rm-ui-font-weight-regular);font-size:16px;line-height:24px;-webkit-hyphens:manual;hyphens:manual;white-space:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}ul,ol{list-style:none;margin:0;padding:0}h1,h2,h3,h4,h5,h6,b,strong{font-weight:var(--rm-ui-font-weight-medium)}h1{font-size:var(--rm-ui-font-size-hl1);line-height:var(--rm-ui-line-height-hl1)}h2{font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2)}h3{font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3)}h4{font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4)}h5,h6{font-size:var(--rm-ui-font-size-hl5);line-height:var(--rm-ui-line-height-hl5)}a{text-decoration:none;color:inherit;border-radius:var(--rm-ui-border-radius-sm);outline:2px solid transparent}button,*[role=button]{border:none;border-radius:0;background-color:transparent;font-family:inherit;font-weight:inherit;font-size:inherit;line-height:inherit;color:inherit;-webkit-hyphens:inherit;hyphens:inherit;white-space:inherit;outline-offset:-2px;outline:2px solid transparent}a:hover,button:hover,*[role=button]:hover{cursor:pointer}a:active,button:active,*[role=button]:active{outline:none}a:focus-visible,button:focus-visible,*[role=button]:focus-visible{outline-color:var(--rm-ui-color-focus);outline-offset:-2px;transition:outline-color var(--rm-ui-amimation-speed-primary) ease-in-out;transition-delay:calc(var(--rm-ui-amimation-speed-primary) / 2)}.text-primary{color:var(--rm-ui-color-text-primary)}.text-secondary{color:var(--rm-ui-color-text-secondary)}.fw-light{font-weight:var(--rm-ui-font-weight-light)}.fw-regular{font-weight:var(--rm-ui-font-weight-regular)}.fw-medium{font-weight:var(--rm-ui-font-weight-medium)}.fw-bold{font-weight:var(--rm-ui-font-weight-bold)}:root{--rm-ui-padding-xxs: 4px;--rm-ui-padding-xs: 8px;--rm-ui-padding-sm: 12px;--rm-ui-padding-md: 16px;--rm-ui-padding-lg: 24px;--rm-ui-padding-xl: 32px;--rm-ui-padding-xxl: 40px;--rm-ui-padding-xxxl: 48px;--rm-ui-border-radius-sm: 8px;--rm-ui-border-radius-md: 12px;--rm-ui-border-radius-lg: 16px;--rm-ui-border-radius-xl: 24px;--rm-ui-font-size-body-extra-small: 12px;--rm-ui-line-height-body-extra-small: 16px;--rm-ui-font-size-body-small: 14px;--rm-ui-line-height-body-small: 20px;--rm-ui-font-size-body: 16px;--rm-ui-line-height-body: 24px;--rm-ui-font-size-body-large: 20px;--rm-ui-line-height-body-large: 30px;--rm-ui-font-size-hl5: 14px;--rm-ui-line-height-hl5: 22px;--rm-ui-font-size-hl4: 18px;--rm-ui-line-height-hl4: 24px;--rm-ui-font-size-hl3: 20px;--rm-ui-line-height-hl3: 30px;--rm-ui-font-size-hl2: 24px;--rm-ui-line-height-hl2: 32px;--rm-ui-font-size-hl1: 28px;--rm-ui-line-height-hl1: 36px;--rm-ui-font-weight-light: 300;--rm-ui-font-weight-regular: 400;--rm-ui-font-weight-medium: 700;--rm-ui-font-weight-bold: 900;--rm-ui-grey-950: #0a0a0a;--rm-ui-grey-900: #171717;--rm-ui-grey-800: #262626;--rm-ui-grey-700: #404040;--rm-ui-grey-600: #525252;--rm-ui-grey-500: #737373;--rm-ui-grey-400: #a3a3a3;--rm-ui-grey-300: #d4d4d4;--rm-ui-grey-200: #e5e5e5;--rm-ui-grey-100: #f5f5f5;--rm-ui-grey-50: #fafafa;--rm-ui-color-text-primary: var(--rm-ui-grey-800);--rm-ui-color-text-secondary: var(--rm-ui-grey-500);--rm-ui-color-accent-primary: #23bf96;--rm-ui-color-accent-secondary: #ff9900;--rm-ui-color-theme-primary: #302677;--rm-ui-color-theme-secondary: #302677;--rm-ui-color-action: #006cff;--rm-ui-color-inverted: #ffffff;--rm-ui-color-error: #dc2626;--rm-ui-color-success: #00b649;--rm-ui-color-focus: #ff8d02;--rm-ui-color-link: #ff8206;--rm-ui-body-color: #f0faff;--rm-ui-header-logo-height: 30px;--rm-ui-header-phone: #ff9900;--rm-ui-header-phone-size: 22px;--rm-ui-header-text: var(--rm-ui-color-text-primary);--rm-ui-header-check-icon: var(--rm-ui-color-text-primary);--rm-ui-certifications-color: #b1b4c7;--rm-ui-certifications-size: 20px;--rm-ui-message-success-primary: #29c667;--rm-ui-message-success-secondary: #f1fdf4;--rm-ui-message-question-primary: #a76000;--rm-ui-message-question-secondary: #fefce8;--rm-ui-message-error-primary: var(--rm-ui-color-error);--rm-ui-message-error-secondary: #fef3f3;--rm-ui-message-info-primary: #3289c4;--rm-ui-message-info-secondary: #f3f7fe;--rm-ui-payment-sidebar-bg: #f8fcff;--rm-ui-payment-text-blocks-gap: var(--rm-ui-padding-lg);--rm-ui-data-protected-label-icon: var(--rm-ui-next-btn-bg);--rm-ui-data-protected-label-text: var(--rm-ui-color-text-primary);--rm-ui-status-idle-color: #82868f;--rm-ui-status-success-color: var(--rm-ui-color-accent-primary);--rm-ui-status-error-color: var(--rm-ui-color-error);--rm-ui-not-found-color: var(--rm-ui-color-text-primary);--rm-ui-not-found-border: var(--rm-ui-grey-300);--rm-ui-card-background: #ffffff;--rm-ui-next-btn-bg: #23bf96;--rm-ui-next-btn-bg-hover: #3adbb1;--rm-ui-info-panel-bg: var(--rm-ui-body-color);--rm-ui-sidebar-bg: #f6f6f6;--rm-ui-sidebar-line-color: var(--rm-ui-grey-200);--rm-ui-loading-screen-height: 400px;--rm-ui-body-bg: #f9fcff;--rm-ui-content-bg: #ffffff;--rm-ui-amimation-speed-primary: .15s;--rm-ui-amimation-speed-secondary: .3s;--rm-ui-amimation-speed-tertiary: .45s;--rm-ui-amimation-cubic-primary: cubic-bezier(.3, 0, 0, 1);--rm-ui-amimation-cubic-secondary: cubic-bezier(.65, 0, .35, 1);--rm-ui-amimation-cubic-tertiary: cubic-bezier(.68, -.6, .32, 1.6);--rm-ui-warranty-bg: #f9fcff}
1
+ *,*:before,*:after{margin:0;padding:0;box-sizing:border-box}body{background-color:var(--rm-ui-body-bg);font-family:Lato,sans-serif;font-weight:var(--rm-ui-font-weight-regular);font-size:16px;line-height:24px;-webkit-hyphens:manual;hyphens:manual;white-space:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}ul,ol{list-style:none;margin:0;padding:0}h1,h2,h3,h4,h5,h6,b,strong{font-weight:var(--rm-ui-font-weight-medium)}h1{font-size:var(--rm-ui-font-size-hl1);line-height:var(--rm-ui-line-height-hl1)}h2{font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2)}h3{font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3)}h4{font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4)}h5,h6{font-size:var(--rm-ui-font-size-hl5);line-height:var(--rm-ui-line-height-hl5)}a{text-decoration:none;color:inherit;border-radius:var(--rm-ui-border-radius-sm);outline:2px solid transparent}button,*[role=button]{border:none;border-radius:0;background-color:transparent;font-family:inherit;font-weight:inherit;font-size:inherit;line-height:inherit;color:inherit;-webkit-hyphens:inherit;hyphens:inherit;white-space:inherit;outline-offset:-2px;outline:2px solid transparent}a:hover,button:hover,*[role=button]:hover{cursor:pointer}a:active,button:active,*[role=button]:active{outline:none}a:focus-visible,button:focus-visible,*[role=button]:focus-visible{outline-color:var(--rm-ui-color-focus);outline-offset:-2px;transition:outline-color var(--rm-ui-amimation-speed-primary) ease-in-out;transition-delay:calc(var(--rm-ui-amimation-speed-primary) / 2)}.text-primary{color:var(--rm-ui-color-text-primary)}.text-secondary{color:var(--rm-ui-color-text-secondary)}.fw-light{font-weight:var(--rm-ui-font-weight-light)}.fw-regular{font-weight:var(--rm-ui-font-weight-regular)}.fw-medium{font-weight:var(--rm-ui-font-weight-medium)}.fw-bold{font-weight:var(--rm-ui-font-weight-bold)}:root{--rm-ui-padding-xxs: 4px;--rm-ui-padding-xs: 8px;--rm-ui-padding-sm: 12px;--rm-ui-padding-md: 16px;--rm-ui-padding-lg: 24px;--rm-ui-padding-xl: 32px;--rm-ui-padding-xxl: 40px;--rm-ui-padding-xxxl: 48px;--rm-ui-border-radius-sm: 8px;--rm-ui-border-radius-md: 12px;--rm-ui-border-radius-lg: 16px;--rm-ui-border-radius-xl: 24px;--rm-ui-font-size-body-extra-small: 12px;--rm-ui-line-height-body-extra-small: 16px;--rm-ui-font-size-body-small: 14px;--rm-ui-line-height-body-small: 20px;--rm-ui-font-size-body: 16px;--rm-ui-line-height-body: 24px;--rm-ui-font-size-body-large: 20px;--rm-ui-line-height-body-large: 30px;--rm-ui-font-size-hl5: 14px;--rm-ui-line-height-hl5: 22px;--rm-ui-font-size-hl4: 18px;--rm-ui-line-height-hl4: 24px;--rm-ui-font-size-hl3: 20px;--rm-ui-line-height-hl3: 30px;--rm-ui-font-size-hl2: 24px;--rm-ui-line-height-hl2: 32px;--rm-ui-font-size-hl1: 28px;--rm-ui-line-height-hl1: 36px;--rm-ui-font-weight-light: 300;--rm-ui-font-weight-regular: 400;--rm-ui-font-weight-medium: 700;--rm-ui-font-weight-bold: 900;--rm-ui-grey-950: #0a0a0a;--rm-ui-grey-900: #171717;--rm-ui-grey-800: #262626;--rm-ui-grey-700: #404040;--rm-ui-grey-600: #525252;--rm-ui-grey-500: #737373;--rm-ui-grey-400: #a3a3a3;--rm-ui-grey-300: #d4d4d4;--rm-ui-grey-200: #e5e5e5;--rm-ui-grey-100: #f5f5f5;--rm-ui-grey-50: #fafafa;--rm-ui-color-text-primary: var(--rm-ui-grey-800);--rm-ui-color-text-secondary: var(--rm-ui-grey-500);--rm-ui-color-accent-primary: #23bf96;--rm-ui-color-accent-secondary: #ff9900;--rm-ui-color-theme-primary: #302677;--rm-ui-color-theme-secondary: #302677;--rm-ui-color-action: #006cff;--rm-ui-color-inverted: #ffffff;--rm-ui-color-error: #dc2626;--rm-ui-color-success: #00b649;--rm-ui-color-focus: #ff8d02;--rm-ui-color-link: #ff8206;--rm-ui-body-color: #f0faff;--rm-ui-box-border-radius: 10px;--rm-ui-header-logo-height: 30px;--rm-ui-header-phone: #ff9900;--rm-ui-header-phone-size: 22px;--rm-ui-header-text: var(--rm-ui-color-text-primary);--rm-ui-header-check-icon: var(--rm-ui-color-text-primary);--rm-ui-certifications-color: #b1b4c7;--rm-ui-certifications-size: 20px;--rm-ui-message-success-primary: #29c667;--rm-ui-message-success-secondary: #f1fdf4;--rm-ui-message-question-primary: #a76000;--rm-ui-message-question-secondary: #fefce8;--rm-ui-message-error-primary: var(--rm-ui-color-error);--rm-ui-message-error-secondary: #fef3f3;--rm-ui-message-info-primary: #3289c4;--rm-ui-message-info-secondary: #f3f7fe;--rm-ui-payment-sidebar-bg: #f8fcff;--rm-ui-payment-text-blocks-gap: var(--rm-ui-padding-lg);--rm-ui-data-protected-label-icon: var(--rm-ui-next-btn-bg);--rm-ui-data-protected-label-text: var(--rm-ui-color-text-primary);--rm-ui-status-idle-color: #82868f;--rm-ui-status-success-color: var(--rm-ui-color-accent-primary);--rm-ui-status-error-color: var(--rm-ui-color-error);--rm-ui-not-found-color: var(--rm-ui-color-text-primary);--rm-ui-not-found-border: var(--rm-ui-grey-300);--rm-ui-card-background: #ffffff;--rm-ui-next-btn-bg: #23bf96;--rm-ui-next-btn-bg-hover: #3adbb1;--rm-ui-info-panel-bg: var(--rm-ui-body-color);--rm-ui-sidebar-bg: #f6f6f6;--rm-ui-sidebar-line-color: var(--rm-ui-grey-200);--rm-ui-loading-screen-height: 400px;--rm-ui-body-bg: #f9fcff;--rm-ui-content-bg: #ffffff;--rm-ui-amimation-speed-primary: .15s;--rm-ui-amimation-speed-secondary: .3s;--rm-ui-amimation-speed-tertiary: .45s;--rm-ui-amimation-cubic-primary: cubic-bezier(.3, 0, 0, 1);--rm-ui-amimation-cubic-secondary: cubic-bezier(.65, 0, .35, 1);--rm-ui-amimation-cubic-tertiary: cubic-bezier(.68, -.6, .32, 1.6);--rm-ui-warranty-bg: #f9fcff}
@@ -1,11 +1,13 @@
1
1
  import { jsxs as n, jsx as a } from "react/jsx-runtime";
2
- import { useState as H, Fragment as B } from "react";
3
- import { ChevronDown as p } from "lucide-react";
2
+ import { useState as H, Fragment as p } from "react";
3
+ import { ChevronDown as B } from "lucide-react";
4
4
  import s from "clsx";
5
5
  import { FadeGrow as g } from "../../animations/fade-grow/fade-grow.component.js";
6
6
  import { Rotate as C } from "../../animations/rotate/rotate.component.js";
7
- import { ButtonText as w } from "../../controls/button-text/button-text.component.js";
8
7
  import { baseProps as _ } from "../../utils/functions/functions.util.js";
8
+ import "usehooks-ts";
9
+ import "../../controls/primitives/box/box.component.js";
10
+ import { ButtonText as w } from "../../controls/buttons/button-text/button-text.component.js";
9
11
  import '../../assets/accordion-table-Ci3u6qTN.css';const b = "_AccordionTable_gmtv3_1", $ = "_Head_gmtv3_11", u = "_HeadRow_gmtv3_15", R = "_DataRow_gmtv3_16", f = "_BodyRow_gmtv3_21", N = "_HeadCell_gmtv3_25", A = "_BodyCell_gmtv3_26", T = "_BodyHeadCell_gmtv3_41", D = "_BodyHead_gmtv3_41", t = {
10
12
  AccordionTable: b,
11
13
  Head: $,
@@ -16,7 +18,7 @@ import '../../assets/accordion-table-Ci3u6qTN.css';const b = "_AccordionTable_gm
16
18
  BodyCell: A,
17
19
  BodyHeadCell: T,
18
20
  BodyHead: D
19
- }, L = ({ table: d, active: l = 0, ...r }) => {
21
+ }, E = ({ table: d, active: l = 0, ...r }) => {
20
22
  const [m, h] = H(l >= 0 && l < d.body.length ? l : null);
21
23
  return /* @__PURE__ */ n(
22
24
  "div",
@@ -34,7 +36,7 @@ import '../../assets/accordion-table-Ci3u6qTN.css';const b = "_AccordionTable_gm
34
36
  },
35
37
  e
36
38
  )) }) }),
37
- /* @__PURE__ */ a("div", { children: d.body.map((e, o) => /* @__PURE__ */ n(B, { children: [
39
+ /* @__PURE__ */ a("div", { children: d.body.map((e, o) => /* @__PURE__ */ n(p, { children: [
38
40
  /* @__PURE__ */ a("div", { className: t.BodyRow, children: /* @__PURE__ */ a("div", { className: s(t.BodyCell, t.BodyHead, t.BodyHeadCell), children: /* @__PURE__ */ a(
39
41
  w,
40
42
  {
@@ -53,20 +55,20 @@ import '../../assets/accordion-table-Ci3u6qTN.css';const b = "_AccordionTable_gm
53
55
  condition: m === o,
54
56
  from: "top",
55
57
  to: "bottom",
56
- children: /* @__PURE__ */ a(p, { size: 24 })
58
+ children: /* @__PURE__ */ a(B, { size: 24 })
57
59
  }
58
60
  ),
59
- onClick: () => h((c) => o !== c ? o : null)
61
+ onClick: () => h((i) => o !== i ? o : null)
60
62
  }
61
63
  ) }) }),
62
- /* @__PURE__ */ a(g, { name: `visible-section-${o}`, condition: m === o, children: /* @__PURE__ */ a("div", { "data-testid": `accordion-table-section-content-${o}`, children: e.rows.map((c, i) => /* @__PURE__ */ a(
64
+ /* @__PURE__ */ a(g, { name: `visible-section-${o}`, condition: m === o, children: /* @__PURE__ */ a("div", { "data-testid": `accordion-table-section-content-${o}`, children: e.rows.map((i, c) => /* @__PURE__ */ a(
63
65
  "div",
64
66
  {
65
67
  className: t.DataRow,
66
- "data-testid": `accordion-table-data-row-${o}-${i}`,
67
- children: c.map((v, y) => /* @__PURE__ */ a("div", { className: t.BodyCell, children: v }, `tr-${o}-${i}-${y}`))
68
+ "data-testid": `accordion-table-data-row-${o}-${c}`,
69
+ children: i.map((v, y) => /* @__PURE__ */ a("div", { className: t.BodyCell, children: v }, `tr-${o}-${c}-${y}`))
68
70
  },
69
- `tr-${o}-${i}`
71
+ `tr-${o}-${c}`
70
72
  )) }) })
71
73
  ] }, `${e.title}-${o}`)) })
72
74
  ]
@@ -74,5 +76,5 @@ import '../../assets/accordion-table-Ci3u6qTN.css';const b = "_AccordionTable_gm
74
76
  );
75
77
  };
76
78
  export {
77
- L as AccordionTable
79
+ E as AccordionTable
78
80
  };
@@ -2,9 +2,11 @@ import { jsxs as l, jsx as i } from "react/jsx-runtime";
2
2
  import { useRef as p, useEffect as B, useMemo as u } from "react";
3
3
  import b from "clsx";
4
4
  import { useResizeObserver as _, useWindowSize as k } from "usehooks-ts";
5
- import { Button as y } from "../../controls/button/button.component.js";
6
5
  import { Text as c } from "../text/text.component.js";
6
+ import { Button as y } from "../../controls/buttons/button/button.component.js";
7
+ import "../../controls/primitives/box/box.component.js";
7
8
  import { baseProps as g } from "../../utils/functions/functions.util.js";
9
+ import "lucide-react";
8
10
  import '../../assets/bottom-bar-B35eeXqR.css';const f = "_BottomBar_xd6ok_1", w = "_Fixed_xd6ok_7", R = "_Static_xd6ok_16", z = "_TopBlock_xd6ok_20", L = "_LeftBlock_xd6ok_24", v = "_RightBlock_xd6ok_31", N = "_Message_xd6ok_38", M = "_Button_xd6ok_43", r = {
9
11
  BottomBar: f,
10
12
  Fixed: w,
@@ -32,7 +34,7 @@ import '../../assets/bottom-bar-B35eeXqR.css';const f = "_BottomBar_xd6ok_1", w
32
34
  weight: t.weight || "regular",
33
35
  size: t.size || "body",
34
36
  color: t.color || "text-primary"
35
- }, j = ({ button: o, info: t, message: a = "", staticFrom: h = 768, ...m }) => {
37
+ }, I = ({ button: o, info: t, message: a = "", staticFrom: h = 768, ...m }) => {
36
38
  const d = p(null), { height: n } = _({
37
39
  ref: d,
38
40
  box: "border-box"
@@ -87,5 +89,5 @@ import '../../assets/bottom-bar-B35eeXqR.css';const f = "_BottomBar_xd6ok_1", w
87
89
  );
88
90
  };
89
91
  export {
90
- j as BottomBar
92
+ I as BottomBar
91
93
  };
@@ -1,17 +1,19 @@
1
1
  import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
- import { useRef as p, useState as h } from "react";
2
+ import { useRef as g, useState as h } from "react";
3
3
  import { useWindowSize as x, useResizeObserver as b } from "usehooks-ts";
4
4
  import y from "clsx";
5
- import { Button as l } from "../../controls/button/button.component.js";
5
+ import { Button as l } from "../../controls/buttons/button/button.component.js";
6
+ import "../../controls/primitives/box/box.component.js";
6
7
  import { baseProps as c } from "../../utils/functions/functions.util.js";
8
+ import "lucide-react";
7
9
  import '../../assets/dialog-article-WnyHZI47.css';const A = "_DialogArticle_1dy7y_1", B = "_Buttons_1dy7y_8", n = {
8
10
  DialogArticle: A,
9
11
  Buttons: B
10
- }, R = (d) => {
11
- const { children: m, cancel: t, confirm: e, ...i } = d, o = p(null), [u, f] = h(0), { width: g } = x();
12
+ }, j = (d) => {
13
+ const { children: m, cancel: t, confirm: e, ...i } = d, o = g(null), [u, f] = h(0), { width: p } = x();
12
14
  return b({
13
15
  ref: o,
14
- onResize: (r) => f(g < 768 && r.height ? r.height : 0)
16
+ onResize: (r) => f(p < 768 && r.height ? r.height : 0)
15
17
  }), /* @__PURE__ */ s(
16
18
  "div",
17
19
  {
@@ -51,5 +53,5 @@ import '../../assets/dialog-article-WnyHZI47.css';const A = "_DialogArticle_1dy7
51
53
  );
52
54
  };
53
55
  export {
54
- R as DialogArticle
56
+ j as DialogArticle
55
57
  };
@@ -1 +1 @@
1
- export { MessageBlock } from './message-block.component';
1
+ export { MessageBlock, type MessageBlockProps } from './message-block.component';
@@ -1,9 +1,8 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { Base } from '../../utils/types';
3
- interface MessageBlockProps extends PropsWithChildren<Base> {
3
+ export interface MessageBlockProps extends PropsWithChildren<Base> {
4
4
  emoji?: string;
5
5
  title?: string;
6
6
  subtitle?: string;
7
7
  }
8
8
  export declare const MessageBlock: ({ children, emoji, title, subtitle, ...base }: MessageBlockProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,13 +1,17 @@
1
1
  import { jsx as t, jsxs as o, Fragment as u } from "react/jsx-runtime";
2
2
  import l from "clsx";
3
- import { FadeScale as p } from "../../animations/fade-scale/fade-scale.component.js";
3
+ import { FadeScale as _ } from "../../animations/fade-scale/fade-scale.component.js";
4
4
  import { Certifications as x } from "../certifications/certifications.component.js";
5
5
  import { Line as s } from "../line/line.component.js";
6
6
  import { Text as n } from "../text/text.component.js";
7
7
  import { UserPanel as B } from "../user-panel/user-panel.component.js";
8
- import { Status as w } from "../../controls/status/status.component.js";
8
+ import "../../controls/primitives/box/box.component.js";
9
+ import "react";
9
10
  import { baseProps as f } from "../../utils/functions/functions.util.js";
10
- import '../../assets/sidebar-DyDlIXV0.css';const y = "_Sidebar_17t5d_1", A = "_Board_17t5d_5", T = "_SidebarTitle_17t5d_11", R = "_SidebarButton_17t5d_12", z = "_Steps_17t5d_16", C = "_Info_17t5d_17", $ = "_Step_17t5d_16", j = "_InfoRow_17t5d_30", F = "_NothingAbove_17t5d_44", e = {
11
+ import "lucide-react";
12
+ import "usehooks-ts";
13
+ import { Status as w } from "../../controls/primitives/status/status.component.js";
14
+ import '../../assets/sidebar-DyDlIXV0.css';const y = "_Sidebar_17t5d_1", A = "_Board_17t5d_5", T = "_SidebarTitle_17t5d_11", R = "_SidebarButton_17t5d_12", z = "_Steps_17t5d_16", C = "_Info_17t5d_17", $ = "_Step_17t5d_16", j = "_InfoRow_17t5d_30", F = "_NothingAbove_17t5d_44", i = {
11
15
  Sidebar: y,
12
16
  Board: A,
13
17
  SidebarTitle: T,
@@ -17,7 +21,7 @@ import '../../assets/sidebar-DyDlIXV0.css';const y = "_Sidebar_17t5d_1", A = "_B
17
21
  Step: $,
18
22
  InfoRow: j,
19
23
  NothingAbove: F
20
- }, K = ({
24
+ }, W = ({
21
25
  // Sidebar props
22
26
  children: h,
23
27
  isButtonVisible: m = !1,
@@ -30,45 +34,45 @@ import '../../assets/sidebar-DyDlIXV0.css';const y = "_Sidebar_17t5d_1", A = "_B
30
34
  // Base props
31
35
  ...b
32
36
  }) => {
33
- const _ = g.filter(([, i]) => i.trim() !== ""), d = _.length > 0;
37
+ const p = g.filter(([, e]) => e.trim() !== ""), d = p.length > 0;
34
38
  return /* @__PURE__ */ t(
35
39
  "div",
36
40
  {
37
41
  "data-testid": f(b, "data-testid", "sidebar"),
38
- className: l(e.Sidebar, f(b, "className")),
39
- children: /* @__PURE__ */ o("div", { className: e.Board, children: [
40
- /* @__PURE__ */ t(n, { preset: "sidebar-title", className: e.SidebarTitle, children: S }),
41
- /* @__PURE__ */ t("div", { className: e.Steps, "data-testid": "sidebar-steps", children: N.map(({ state: i, text: r }) => /* @__PURE__ */ o("div", { className: e.Step, "data-testid": "sidebar-step", children: [
42
- /* @__PURE__ */ t(w, { state: i }),
42
+ className: l(i.Sidebar, f(b, "className")),
43
+ children: /* @__PURE__ */ o("div", { className: i.Board, children: [
44
+ /* @__PURE__ */ t(n, { preset: "sidebar-title", className: i.SidebarTitle, children: S }),
45
+ /* @__PURE__ */ t("div", { className: i.Steps, "data-testid": "sidebar-steps", children: N.map(({ state: e, text: r }) => /* @__PURE__ */ o("div", { className: i.Step, "data-testid": "sidebar-step", children: [
46
+ /* @__PURE__ */ t(w, { state: e }),
43
47
  /* @__PURE__ */ t(
44
48
  n,
45
49
  {
46
50
  tag: "span",
47
51
  weight: "medium",
48
52
  size: "body-small",
49
- color: i === "idle" ? "text-secondary" : "text-primary",
53
+ color: e === "idle" ? "text-secondary" : "text-primary",
50
54
  children: r
51
55
  }
52
56
  )
53
57
  ] }, r)) }),
54
58
  d && /* @__PURE__ */ o(u, { children: [
55
59
  /* @__PURE__ */ t(s, {}),
56
- /* @__PURE__ */ t("div", { className: e.Info, "data-testid": "sidebar-info", children: _.map(([i, r], I) => /* @__PURE__ */ o("div", { className: e.InfoRow, "data-testid": "sidebar-info-row", children: [
57
- /* @__PURE__ */ t(n, { tag: "span", size: "body-small", color: "text-secondary", children: i }),
60
+ /* @__PURE__ */ t("div", { className: i.Info, "data-testid": "sidebar-info", children: p.map(([e, r], I) => /* @__PURE__ */ o("div", { className: i.InfoRow, "data-testid": "sidebar-info-row", children: [
61
+ /* @__PURE__ */ t(n, { tag: "span", size: "body-small", color: "text-secondary", children: e }),
58
62
  /* @__PURE__ */ t(n, { tag: "span", size: "body-small", align: "right", children: r })
59
- ] }, `${i}-${I}`)) }),
63
+ ] }, `${e}-${I}`)) }),
60
64
  /* @__PURE__ */ t(s, {})
61
65
  ] }),
62
- /* @__PURE__ */ o(p, { name: "user", condition: c, children: [
66
+ /* @__PURE__ */ o(_, { name: "user", condition: c, children: [
63
67
  !d && /* @__PURE__ */ t(s, {}),
64
68
  /* @__PURE__ */ t(B, { title: a.title, button: a.button, data: a.data, onClick: a.onClick }),
65
69
  /* @__PURE__ */ t(s, {})
66
70
  ] }),
67
- /* @__PURE__ */ t(p, { name: "button", condition: m, children: /* @__PURE__ */ t(
71
+ /* @__PURE__ */ t(_, { name: "button", condition: m, children: /* @__PURE__ */ t(
68
72
  "div",
69
73
  {
70
- className: l(e.SidebarButton, {
71
- [e.NothingAbove]: !d && !c
74
+ className: l(i.SidebarButton, {
75
+ [i.NothingAbove]: !d && !c
72
76
  }),
73
77
  children: h
74
78
  }
@@ -78,7 +82,7 @@ import '../../assets/sidebar-DyDlIXV0.css';const y = "_Sidebar_17t5d_1", A = "_B
78
82
  {
79
83
  icons: v,
80
84
  className: l({
81
- [e.NothingAbove]: !d && !c && !m
85
+ [i.NothingAbove]: !d && !c && !m
82
86
  })
83
87
  }
84
88
  )
@@ -87,5 +91,5 @@ import '../../assets/sidebar-DyDlIXV0.css';const y = "_Sidebar_17t5d_1", A = "_B
87
91
  );
88
92
  };
89
93
  export {
90
- K as Sidebar
94
+ W as Sidebar
91
95
  };
@@ -3,10 +3,11 @@ import ze, { useRef as xe, useState as oe, useCallback as te, useEffect as Pe }
3
3
  import { useResizeObserver as Ne } from "usehooks-ts";
4
4
  import { RefreshCw as Fe, RotateCcw as qe, Check as Be } from "lucide-react";
5
5
  import fe from "clsx";
6
- import { Button as we } from "../../controls/button/button.component.js";
7
- import { ButtonText as ie } from "../../controls/button-text/button-text.component.js";
8
- import { Loader as Ue } from "../loader/loader.component.js";
6
+ import { Button as we } from "../../controls/buttons/button/button.component.js";
7
+ import "../../controls/primitives/box/box.component.js";
9
8
  import { baseProps as Ee } from "../../utils/functions/functions.util.js";
9
+ import { ButtonText as ie } from "../../controls/buttons/button-text/button-text.component.js";
10
+ import { Loader as Ue } from "../loader/loader.component.js";
10
11
  import '../../assets/signature-D9gYlpze.css';function He(e) {
11
12
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
12
13
  }
@@ -1094,7 +1095,7 @@ const ut = /* @__PURE__ */ He(st), ct = "_Signature_1nnjp_1", lt = "_Main_1nnjp_
1094
1095
  AutoPanelLabelText: Ct,
1095
1096
  AutoPanelError: Ot,
1096
1097
  AutoPanelErrorTitle: Rt
1097
- }, zt = ({
1098
+ }, Nt = ({
1098
1099
  // Signature props
1099
1100
  auto: e,
1100
1101
  manual: a,
@@ -1256,5 +1257,5 @@ const ut = /* @__PURE__ */ He(st), ct = "_Signature_1nnjp_1", lt = "_Main_1nnjp_
1256
1257
  );
1257
1258
  };
1258
1259
  export {
1259
- zt as Signature
1260
+ Nt as Signature
1260
1261
  };
@@ -1,26 +1,29 @@
1
- import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
- import { Pencil as m } from "lucide-react";
1
+ import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
+ import { Pencil as d } from "lucide-react";
3
3
  import p from "clsx";
4
- import { ButtonText as f } from "../../controls/button-text/button-text.component.js";
5
- import { baseProps as o } from "../../utils/functions/functions.util.js";
6
- import '../../assets/user-panel-DbR0J2Ct.css';const u = "_Head_svj2j_13", x = "_Info_svj2j_26", t = {
4
+ import "react";
5
+ import { baseProps as i } from "../../utils/functions/functions.util.js";
6
+ import "usehooks-ts";
7
+ import "../../controls/primitives/box/box.component.js";
8
+ import { ButtonText as f } from "../../controls/buttons/button-text/button-text.component.js";
9
+ import '../../assets/user-panel-DbR0J2Ct.css';const u = "_Head_svj2j_13", x = "_Info_svj2j_26", e = {
7
10
  Head: u,
8
11
  Info: x
9
- }, H = ({ title: a, button: i, data: n, onClick: l, ...r }) => /* @__PURE__ */ s(
12
+ }, U = ({ title: s, button: a, data: n, onClick: l, ...r }) => /* @__PURE__ */ o(
10
13
  "div",
11
14
  {
12
- "data-testid": o(r, "data-testid", "user-panel"),
13
- className: p(t.UserPanel, o(r, "className")),
15
+ "data-testid": i(r, "data-testid", "user-panel"),
16
+ className: p(e.UserPanel, i(r, "className")),
14
17
  children: [
15
- /* @__PURE__ */ s("div", { className: t.Head, children: [
16
- /* @__PURE__ */ e("span", { "data-testid": "user-panel-title", children: a }),
17
- /* @__PURE__ */ e(
18
+ /* @__PURE__ */ o("div", { className: e.Head, children: [
19
+ /* @__PURE__ */ t("span", { "data-testid": "user-panel-title", children: s }),
20
+ /* @__PURE__ */ t(
18
21
  f,
19
22
  {
20
- text: i,
23
+ text: a,
21
24
  preventDefault: !0,
22
25
  blurAfterClick: !0,
23
- icon: /* @__PURE__ */ e(m, {}),
26
+ icon: /* @__PURE__ */ t(d, {}),
24
27
  iconPosition: "right",
25
28
  size: "md",
26
29
  color: "text-primary",
@@ -28,10 +31,10 @@ import '../../assets/user-panel-DbR0J2Ct.css';const u = "_Head_svj2j_13", x = "_
28
31
  }
29
32
  )
30
33
  ] }),
31
- /* @__PURE__ */ e("ul", { className: t.Info, children: n.map((c, d) => /* @__PURE__ */ e("li", { children: c }, d)) })
34
+ /* @__PURE__ */ t("ul", { className: e.Info, children: n.map((c, m) => /* @__PURE__ */ t("li", { children: c }, m)) })
32
35
  ]
33
36
  }
34
37
  );
35
38
  export {
36
- H as UserPanel
39
+ U as UserPanel
37
40
  };
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
- import { ControlButtonColor, ControlButtonSize, ControlButtonType } from '../utils';
3
- import { Base } from '../../utils/types';
2
+ import { ControlButtonColor, ControlButtonSize, ControlButtonType } from '../../utils';
3
+ import { Base } from '../../../utils/types';
4
4
  export interface ButtonProps extends Base {
5
5
  text: string;
6
6
  color?: ControlButtonColor;
@@ -1,10 +1,10 @@
1
1
  import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
2
  import h from "clsx";
3
- import { FadeScale as c } from "../../animations/fade-scale/fade-scale.component.js";
4
- import { Loader as x } from "../../components/loader/loader.component.js";
5
- import { Content as M } from "../../utils/content/content.component.js";
6
- import { withControl as S, baseProps as i } from "../../utils/functions/functions.util.js";
7
- import '../../assets/button-Tzg6F5Dp.css';const C = "_Button_1b52a_1", T = "_SM_1b52a_11", B = "_LG_1b52a_16", F = "_Tertiary_1b52a_16", N = "_Text_1b52a_20", P = "_MD_1b52a_26", D = "_Primary_1b52a_54", G = "_Info_1b52a_59", I = "_Secondary_1b52a_63", W = "_Loading_1b52a_82", w = "_FullWidth_1b52a_90", $ = "_Content_1b52a_94", g = "_Loader_1b52a_110", t = {
3
+ import { FadeScale as c } from "../../../animations/fade-scale/fade-scale.component.js";
4
+ import { Loader as x } from "../../../components/loader/loader.component.js";
5
+ import { Content as M } from "../../../utils/content/content.component.js";
6
+ import { withControl as S, baseProps as i } from "../../../utils/functions/functions.util.js";
7
+ import '../../../assets/button-Tzg6F5Dp.css';const C = "_Button_1b52a_1", T = "_SM_1b52a_11", B = "_LG_1b52a_16", F = "_Tertiary_1b52a_16", N = "_Text_1b52a_20", P = "_MD_1b52a_26", D = "_Primary_1b52a_54", G = "_Info_1b52a_59", I = "_Secondary_1b52a_63", W = "_Loading_1b52a_82", w = "_FullWidth_1b52a_90", $ = "_Content_1b52a_94", g = "_Loader_1b52a_110", t = {
8
8
  Button: C,
9
9
  SM: T,
10
10
  LG: B,
@@ -1,5 +1,5 @@
1
- import { SvgProps } from '../../utils/svg';
2
- import { Base, FontSize } from '../../utils/types';
1
+ import { SvgProps } from '../../../utils/svg';
2
+ import { Base, FontSize } from '../../../utils/types';
3
3
  export interface ButtonCardProps extends Base {
4
4
  text: string;
5
5
  textSize?: Extract<FontSize, 'body' | 'body-small'>;
@@ -2,25 +2,26 @@ import { jsx as t, jsxs as B } from "react/jsx-runtime";
2
2
  import { useRef as g } from "react";
3
3
  import { useHover as v, useToggle as k } from "usehooks-ts";
4
4
  import L from "clsx";
5
- import { Box as N } from "../box/box.component.js";
6
- import { Caption as h } from "../caption/caption.component.js";
7
- import { baseProps as i } from "../../utils/functions/functions.util.js";
8
- import { Svg as y } from "../../utils/svg/svg.component.js";
9
- import '../../assets/button-card-B-nlEbJU.css';const F = "_ButtonCard_10os6_1", j = "_Icon_10os6_10", z = "_IconTop_10os6_14", D = "_Text_10os6_21", H = "_IconLeft_10os6_25", o = {
5
+ import { Box as N } from "../../primitives/box/box.component.js";
6
+ import { Caption as h } from "../../primitives/caption/caption.component.js";
7
+ import "lucide-react";
8
+ import { baseProps as i } from "../../../utils/functions/functions.util.js";
9
+ import { Svg as y } from "../../../utils/svg/svg.component.js";
10
+ import '../../../assets/button-card-B-nlEbJU.css';const F = "_ButtonCard_10os6_1", j = "_Icon_10os6_10", z = "_IconTop_10os6_14", D = "_Text_10os6_21", H = "_IconLeft_10os6_25", o = {
10
11
  ButtonCard: F,
11
12
  Icon: j,
12
13
  IconTop: z,
13
14
  Text: D,
14
15
  IconLeft: H
15
- }, G = (f) => {
16
+ }, J = (f) => {
16
17
  const {
17
18
  text: u,
18
19
  textSize: m = "body",
19
- icon: d = null,
20
+ icon: p = null,
20
21
  iconPosition: e = "top",
21
22
  active: n = !1,
22
23
  disabled: s = !1,
23
- preventDefault: p = !1,
24
+ preventDefault: d = !1,
24
25
  blurAfterClick: _ = !1,
25
26
  onClick: x,
26
27
  onFocus: I,
@@ -47,7 +48,7 @@ import '../../assets/button-card-B-nlEbJU.css';const F = "_ButtonCard_10os6_1",
47
48
  [o.IconLeft]: e === "left"
48
49
  }),
49
50
  onClick: (l) => {
50
- p && l.preventDefault(), _ && l.currentTarget.blur(), x?.();
51
+ d && l.preventDefault(), _ && l.currentTarget.blur(), x?.();
51
52
  },
52
53
  onFocus: () => {
53
54
  a(), I?.();
@@ -56,7 +57,7 @@ import '../../assets/button-card-B-nlEbJU.css';const F = "_ButtonCard_10os6_1",
56
57
  a(), b?.();
57
58
  },
58
59
  children: [
59
- /* @__PURE__ */ t(y, { icon: d, className: o.Icon }),
60
+ /* @__PURE__ */ t(y, { icon: p, className: o.Icon }),
60
61
  /* @__PURE__ */ t(
61
62
  h,
62
63
  {
@@ -75,5 +76,5 @@ import '../../assets/button-card-B-nlEbJU.css';const F = "_ButtonCard_10os6_1",
75
76
  );
76
77
  };
77
78
  export {
78
- G as ButtonCard
79
+ J as ButtonCard
79
80
  };
@@ -1,4 +1,4 @@
1
- import { Base, FontSize } from '../../utils/types';
1
+ import { Base, FontSize } from '../../../utils/types';
2
2
  type ButtonRadioInfo = {
3
3
  text?: string;
4
4
  hintLeft?: string;
@@ -1,22 +1,24 @@
1
1
  import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
2
  import { useRef as y } from "react";
3
3
  import { useHover as N, useToggle as g } from "usehooks-ts";
4
- import { Box as B } from "../box/box.component.js";
5
- import { Caption as H } from "../caption/caption.component.js";
6
- import { Status as C } from "../status/status.component.js";
7
- import { baseProps as d } from "../../utils/functions/functions.util.js";
8
- import '../../assets/button-radio-CPeNePW2.css';const T = "_ButtonRadio_iwy6t_1", b = "_Row_iwy6t_14", v = "_Wrap_iwy6t_23", W = "_Content_iwy6t_32", k = "_Text_iwy6t_42", L = "_Hint_iwy6t_50", t = {
4
+ import { Box as B } from "../../primitives/box/box.component.js";
5
+ import { Caption as H } from "../../primitives/caption/caption.component.js";
6
+ import "lucide-react";
7
+ import "clsx";
8
+ import { baseProps as d } from "../../../utils/functions/functions.util.js";
9
+ import { Status as C } from "../../primitives/status/status.component.js";
10
+ import '../../../assets/button-radio-CPeNePW2.css';const T = "_ButtonRadio_iwy6t_1", b = "_Row_iwy6t_14", v = "_Wrap_iwy6t_23", W = "_Content_iwy6t_32", k = "_Text_iwy6t_42", L = "_Hint_iwy6t_50", t = {
9
11
  ButtonRadio: T,
10
12
  Row: b,
11
13
  Wrap: v,
12
14
  Content: W,
13
15
  Text: k,
14
16
  Hint: L
15
- }, q = ({
17
+ }, E = ({
16
18
  text: m,
17
19
  textSize: u = "body",
18
20
  active: n = !1,
19
- disabled: a = !1,
21
+ disabled: i = !1,
20
22
  info: o,
21
23
  preventDefault: p = !1,
22
24
  blurAfterClick: _ = !1,
@@ -24,23 +26,23 @@ import '../../assets/button-radio-CPeNePW2.css';const T = "_ButtonRadio_iwy6t_1"
24
26
  onFocus: f,
25
27
  onBlur: R,
26
28
  // Base props
27
- ...i
29
+ ...r
28
30
  }) => {
29
- const r = y(null), x = N(r), [w, c] = g(!1);
31
+ const a = y(null), x = N(a), [w, c] = g(!1);
30
32
  return /* @__PURE__ */ e(
31
33
  B,
32
34
  {
33
- "data-testid": d(i, "data-testid", "button-radio"),
34
- ref: r,
35
+ "data-testid": d(r, "data-testid", "button-radio"),
36
+ ref: a,
35
37
  checked: n || x,
36
38
  state: "idle",
37
39
  focused: w,
38
- className: d(i, "className"),
40
+ className: d(r, "className"),
39
41
  children: /* @__PURE__ */ e(
40
42
  "button",
41
43
  {
42
44
  type: "button",
43
- disabled: a,
45
+ disabled: i,
44
46
  className: t.ButtonRadio,
45
47
  onClick: (l) => {
46
48
  p && l.preventDefault(), _ && l.currentTarget.blur(), h?.();
@@ -62,7 +64,7 @@ import '../../assets/button-radio-CPeNePW2.css';const T = "_ButtonRadio_iwy6t_1"
62
64
  text: m,
63
65
  size: u,
64
66
  checked: n,
65
- color: a ? "text-secondary" : "text-primary"
67
+ color: i ? "text-secondary" : "text-primary"
66
68
  }
67
69
  ),
68
70
  o?.text ? /* @__PURE__ */ e("span", { className: t.Text, children: o.text }) : null
@@ -79,5 +81,5 @@ import '../../assets/button-radio-CPeNePW2.css';const T = "_ButtonRadio_iwy6t_1"
79
81
  );
80
82
  };
81
83
  export {
82
- q as ButtonRadio
84
+ E as ButtonRadio
83
85
  };
@@ -1,6 +1,6 @@
1
- import { ControlButtonSize, ControlButtonType, ControlButtonTypeColor } from '../utils';
2
- import { SvgProps } from '../../utils/svg';
3
- import { Base, FontWeight } from '../../utils/types';
1
+ import { ControlButtonSize, ControlButtonType, ControlButtonTypeColor } from '../../utils';
2
+ import { SvgProps } from '../../../utils/svg';
3
+ import { Base, FontWeight } from '../../../utils/types';
4
4
  export interface ButtonTextProps extends Base {
5
5
  text: string;
6
6
  color?: ControlButtonTypeColor;
@@ -1,8 +1,8 @@
1
1
  import { jsxs as S, jsx as _ } from "react/jsx-runtime";
2
2
  import a from "clsx";
3
- import { withControl as f, baseProps as m } from "../../utils/functions/functions.util.js";
4
- import { Svg as g } from "../../utils/svg/svg.component.js";
5
- import '../../assets/button-text-BKSERdhL.css';const L = "_ButtonText_14p1n_1", M = "_TextPrimary_14p1n_11", P = "_TextSecondary_14p1n_15", B = "_AccentPrimary_14p1n_19", A = "_AccentSecondary_14p1n_23", R = "_ThemePrimary_14p1n_27", C = "_ThemeSecondary_14p1n_31", b = "_Left_14p1n_35", D = "_Right_14p1n_39", G = "_Icon_14p1n_43", I = "_SM_14p1n_47", N = "_MD_14p1n_52", U = "_LG_14p1n_57", j = "_Content_14p1n_62", v = "_Light_14p1n_81", k = "_Regular_14p1n_85", F = "_Medium_14p1n_89", $ = "_Bold_14p1n_93", q = "_Underlined_14p1n_97", t = {
3
+ import { withControl as f, baseProps as m } from "../../../utils/functions/functions.util.js";
4
+ import { Svg as g } from "../../../utils/svg/svg.component.js";
5
+ import '../../../assets/button-text-BKSERdhL.css';const L = "_ButtonText_14p1n_1", M = "_TextPrimary_14p1n_11", P = "_TextSecondary_14p1n_15", B = "_AccentPrimary_14p1n_19", A = "_AccentSecondary_14p1n_23", R = "_ThemePrimary_14p1n_27", C = "_ThemeSecondary_14p1n_31", b = "_Left_14p1n_35", D = "_Right_14p1n_39", G = "_Icon_14p1n_43", I = "_SM_14p1n_47", N = "_MD_14p1n_52", U = "_LG_14p1n_57", j = "_Content_14p1n_62", v = "_Light_14p1n_81", k = "_Regular_14p1n_85", F = "_Medium_14p1n_89", $ = "_Bold_14p1n_93", q = "_Underlined_14p1n_97", t = {
6
6
  ButtonText: L,
7
7
  TextPrimary: M,
8
8
  TextSecondary: P,
@@ -0,0 +1,4 @@
1
+ export * from './button';
2
+ export * from './button-card';
3
+ export * from './button-radio';
4
+ export * from './button-text';
@@ -0,0 +1,10 @@
1
+ import { Button as r } from "./button/button.component.js";
2
+ import { ButtonCard as x } from "./button-card/button-card.component.js";
3
+ import { ButtonRadio as m } from "./button-radio/button-radio.component.js";
4
+ import { ButtonText as p } from "./button-text/button-text.component.js";
5
+ export {
6
+ r as Button,
7
+ x as ButtonCard,
8
+ m as ButtonRadio,
9
+ p as ButtonText
10
+ };
@@ -1,22 +1,4 @@
1
- export * from './box';
2
- export * from './button';
3
- export * from './button-card';
4
- export * from './button-radio';
5
- export * from './button-text';
6
- export * from './caption';
7
- export * from './card-image';
8
- export * from './card-text';
9
- export * from './checkbox';
10
- export * from './choice';
11
- export * from './dropdown';
12
- export * from './error-message';
13
- export * from './hidden-input';
14
- export * from './input';
15
- export * from './label';
16
- export * from './radio';
17
- export * from './radio-label';
18
- export * from './status';
19
- export * from './text-area';
20
- export * from './text-field';
21
- export * from './hooks';
1
+ export * from './buttons';
2
+ export * from './interactives';
3
+ export * from './primitives';
22
4
  export * from './utils';