@salutejs/plasma-new-hope 0.328.0-canary.2047.15885229046.0 → 0.328.0-canary.2047.15976223953.0

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 (245) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +1 -1
  2. package/cjs/components/Calendar/utils/getDateWithModification.js +2 -2
  3. package/cjs/components/Calendar/utils/getDateWithModification.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/Combobox.css +1 -1
  5. package/cjs/components/DatePicker/RangeDate/RangeDate.css +1 -1
  6. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +1 -1
  7. package/cjs/components/DatePicker/SingleDate/SingleDate.css +1 -1
  8. package/cjs/components/Pagination/Pagination.css +1 -1
  9. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -1
  10. package/cjs/components/Range/Range.css +1 -1
  11. package/cjs/components/Select/Select.css +1 -1
  12. package/cjs/components/Select/ui/Target/Target.css +1 -1
  13. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -1
  14. package/cjs/components/Slider/Slider.css +1 -1
  15. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -1
  16. package/cjs/components/Table/Table.css +1 -1
  17. package/cjs/components/Table/ui/Cell/Cell.css +1 -1
  18. package/cjs/components/Table/ui/EditableCell/EditableCell.css +1 -1
  19. package/cjs/components/Table/ui/HeadCell/HeadCell.css +1 -1
  20. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +1 -1
  21. package/cjs/components/TextArea/TextArea.js +7 -3
  22. package/cjs/components/TextArea/TextArea.js.map +1 -1
  23. package/cjs/components/TextArea/TextArea.tokens.js +4 -1
  24. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  25. package/cjs/components/TextArea/variations/_size/base.js +1 -1
  26. package/cjs/components/TextArea/variations/_size/base.js.map +1 -1
  27. package/cjs/components/TextArea/variations/_size/base_1mq4sb2.css +1 -0
  28. package/cjs/components/TextField/TextField.js +12 -3
  29. package/cjs/components/TextField/TextField.js.map +1 -1
  30. package/cjs/components/TextField/TextField.tokens.js +4 -1
  31. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  32. package/cjs/components/TextField/variations/_size/base.js +1 -1
  33. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  34. package/cjs/components/TextField/variations/_size/base_1oec4lw.css +1 -0
  35. package/cjs/components/Tour/Tour.css +4 -0
  36. package/cjs/components/Tour/Tour.js +223 -0
  37. package/cjs/components/Tour/Tour.js.map +1 -0
  38. package/cjs/components/Tour/Tour.styles.js +58 -0
  39. package/cjs/components/Tour/Tour.styles.js.map +1 -0
  40. package/cjs/components/Tour/Tour.styles_hmd79i.css +4 -0
  41. package/cjs/components/Tour/Tour.tokens.js +21 -0
  42. package/cjs/components/Tour/Tour.tokens.js.map +1 -0
  43. package/cjs/components/Tour/utils/index.js +126 -0
  44. package/cjs/components/Tour/utils/index.js.map +1 -0
  45. package/cjs/components/Tour/variatoins/_size/base.js +9 -0
  46. package/cjs/components/Tour/variatoins/_size/base.js.map +1 -0
  47. package/cjs/components/Tour/variatoins/_view/base.js +9 -0
  48. package/cjs/components/Tour/variatoins/_view/base.js.map +1 -0
  49. package/cjs/index.css +8 -1
  50. package/cjs/index.js +6 -0
  51. package/cjs/index.js.map +1 -1
  52. package/emotion/cjs/components/Calendar/utils/getDateWithModification.js +2 -2
  53. package/emotion/cjs/components/TextArea/TextArea.js +8 -4
  54. package/emotion/cjs/components/TextArea/TextArea.tokens.js +3 -1
  55. package/emotion/cjs/components/TextArea/variations/_size/base.js +2 -1
  56. package/emotion/cjs/components/TextField/TextField.js +13 -4
  57. package/emotion/cjs/components/TextField/TextField.tokens.js +3 -1
  58. package/emotion/cjs/components/TextField/variations/_size/base.js +1 -1
  59. package/emotion/cjs/components/Tour/Tour.js +387 -0
  60. package/emotion/cjs/components/Tour/Tour.styles.js +55 -0
  61. package/emotion/cjs/components/Tour/Tour.tokens.js +31 -0
  62. package/emotion/cjs/components/Tour/Tour.types.js +4 -0
  63. package/emotion/cjs/components/Tour/index.js +26 -0
  64. package/emotion/cjs/components/Tour/utils/index.js +157 -0
  65. package/emotion/cjs/components/Tour/variatoins/_size/base.js +12 -0
  66. package/emotion/cjs/components/Tour/variatoins/_view/base.js +12 -0
  67. package/emotion/cjs/examples/plasma_b2c/components/Tour/Tour.config.js +26 -0
  68. package/emotion/cjs/examples/plasma_b2c/components/Tour/Tour.js +15 -0
  69. package/emotion/cjs/examples/plasma_web/components/Tour/Tour.config.js +26 -0
  70. package/emotion/cjs/examples/plasma_web/components/Tour/Tour.js +15 -0
  71. package/emotion/cjs/index.js +1 -0
  72. package/emotion/es/components/Calendar/utils/getDateWithModification.js +2 -2
  73. package/emotion/es/components/TextArea/TextArea.js +8 -4
  74. package/emotion/es/components/TextArea/TextArea.tokens.js +3 -1
  75. package/emotion/es/components/TextArea/variations/_size/base.js +2 -1
  76. package/emotion/es/components/TextField/TextField.js +13 -4
  77. package/emotion/es/components/TextField/TextField.tokens.js +3 -1
  78. package/emotion/es/components/TextField/variations/_size/base.js +1 -1
  79. package/emotion/es/components/Tour/Tour.js +328 -0
  80. package/emotion/es/components/Tour/Tour.styles.js +26 -0
  81. package/emotion/es/components/Tour/Tour.tokens.js +13 -0
  82. package/emotion/es/components/Tour/Tour.types.js +1 -0
  83. package/emotion/es/components/Tour/index.js +2 -0
  84. package/emotion/es/components/Tour/utils/index.js +127 -0
  85. package/emotion/es/components/Tour/variatoins/_size/base.js +2 -0
  86. package/emotion/es/components/Tour/variatoins/_view/base.js +2 -0
  87. package/emotion/es/examples/plasma_b2c/components/Tour/Tour.config.js +16 -0
  88. package/emotion/es/examples/plasma_b2c/components/Tour/Tour.js +5 -0
  89. package/emotion/es/examples/plasma_web/components/Tour/Tour.config.js +16 -0
  90. package/emotion/es/examples/plasma_web/components/Tour/Tour.js +5 -0
  91. package/emotion/es/index.js +1 -0
  92. package/es/components/Autocomplete/Autocomplete.css +1 -1
  93. package/es/components/Calendar/utils/getDateWithModification.js +2 -2
  94. package/es/components/Calendar/utils/getDateWithModification.js.map +1 -1
  95. package/es/components/Combobox/ComboboxNew/Combobox.css +1 -1
  96. package/es/components/DatePicker/RangeDate/RangeDate.css +1 -1
  97. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +1 -1
  98. package/es/components/DatePicker/SingleDate/SingleDate.css +1 -1
  99. package/es/components/Pagination/Pagination.css +1 -1
  100. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -1
  101. package/es/components/Range/Range.css +1 -1
  102. package/es/components/Select/Select.css +1 -1
  103. package/es/components/Select/ui/Target/Target.css +1 -1
  104. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -1
  105. package/es/components/Slider/Slider.css +1 -1
  106. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -1
  107. package/es/components/Table/Table.css +1 -1
  108. package/es/components/Table/ui/Cell/Cell.css +1 -1
  109. package/es/components/Table/ui/EditableCell/EditableCell.css +1 -1
  110. package/es/components/Table/ui/HeadCell/HeadCell.css +1 -1
  111. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +1 -1
  112. package/es/components/TextArea/TextArea.js +7 -3
  113. package/es/components/TextArea/TextArea.js.map +1 -1
  114. package/es/components/TextArea/TextArea.tokens.js +4 -1
  115. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  116. package/es/components/TextArea/variations/_size/base.js +1 -1
  117. package/es/components/TextArea/variations/_size/base.js.map +1 -1
  118. package/es/components/TextArea/variations/_size/base_1mq4sb2.css +1 -0
  119. package/es/components/TextField/TextField.js +12 -3
  120. package/es/components/TextField/TextField.js.map +1 -1
  121. package/es/components/TextField/TextField.tokens.js +4 -1
  122. package/es/components/TextField/TextField.tokens.js.map +1 -1
  123. package/es/components/TextField/variations/_size/base.js +1 -1
  124. package/es/components/TextField/variations/_size/base.js.map +1 -1
  125. package/es/components/TextField/variations/_size/base_1oec4lw.css +1 -0
  126. package/es/components/Tour/Tour.css +4 -0
  127. package/es/components/Tour/Tour.js +214 -0
  128. package/es/components/Tour/Tour.js.map +1 -0
  129. package/es/components/Tour/Tour.styles.js +51 -0
  130. package/es/components/Tour/Tour.styles.js.map +1 -0
  131. package/es/components/Tour/Tour.styles_hmd79i.css +4 -0
  132. package/es/components/Tour/Tour.tokens.js +16 -0
  133. package/es/components/Tour/Tour.tokens.js.map +1 -0
  134. package/es/components/Tour/utils/index.js +117 -0
  135. package/es/components/Tour/utils/index.js.map +1 -0
  136. package/es/components/Tour/variatoins/_size/base.js +5 -0
  137. package/es/components/Tour/variatoins/_size/base.js.map +1 -0
  138. package/es/components/Tour/variatoins/_size/base_x642ct.css +1 -0
  139. package/es/components/Tour/variatoins/_view/base.js +5 -0
  140. package/es/components/Tour/variatoins/_view/base.js.map +1 -0
  141. package/es/components/Tour/variatoins/_view/base_x642ct.css +1 -0
  142. package/es/index.css +8 -1
  143. package/es/index.js +2 -0
  144. package/es/index.js.map +1 -1
  145. package/package.json +5 -5
  146. package/styled-components/cjs/components/Calendar/utils/getDateWithModification.js +2 -2
  147. package/styled-components/cjs/components/TextArea/TextArea.js +7 -3
  148. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +3 -1
  149. package/styled-components/cjs/components/TextArea/variations/_size/base.js +5 -2
  150. package/styled-components/cjs/components/TextField/TextField.js +12 -3
  151. package/styled-components/cjs/components/TextField/TextField.tokens.js +3 -1
  152. package/styled-components/cjs/components/TextField/variations/_size/base.js +3 -1
  153. package/styled-components/cjs/components/Tour/Tour.js +387 -0
  154. package/styled-components/cjs/components/Tour/Tour.styles.js +66 -0
  155. package/styled-components/cjs/components/Tour/Tour.tokens.js +31 -0
  156. package/styled-components/cjs/components/Tour/Tour.types.js +4 -0
  157. package/styled-components/cjs/components/Tour/index.js +26 -0
  158. package/styled-components/cjs/components/Tour/utils/index.js +157 -0
  159. package/styled-components/cjs/components/Tour/variatoins/_size/base.js +14 -0
  160. package/styled-components/cjs/components/Tour/variatoins/_view/base.js +14 -0
  161. package/styled-components/cjs/examples/plasma_b2c/components/Tour/Tour.config.js +33 -0
  162. package/styled-components/cjs/examples/plasma_b2c/components/Tour/Tour.js +15 -0
  163. package/styled-components/cjs/examples/plasma_web/components/Tour/Tour.config.js +33 -0
  164. package/styled-components/cjs/examples/plasma_web/components/Tour/Tour.js +15 -0
  165. package/styled-components/cjs/index.js +1 -0
  166. package/styled-components/es/components/Calendar/utils/getDateWithModification.js +2 -2
  167. package/styled-components/es/components/TextArea/TextArea.js +7 -3
  168. package/styled-components/es/components/TextArea/TextArea.tokens.js +3 -1
  169. package/styled-components/es/components/TextArea/variations/_size/base.js +5 -2
  170. package/styled-components/es/components/TextField/TextField.js +12 -3
  171. package/styled-components/es/components/TextField/TextField.tokens.js +3 -1
  172. package/styled-components/es/components/TextField/variations/_size/base.js +3 -1
  173. package/styled-components/es/components/Tour/Tour.js +328 -0
  174. package/styled-components/es/components/Tour/Tour.styles.js +37 -0
  175. package/styled-components/es/components/Tour/Tour.tokens.js +13 -0
  176. package/styled-components/es/components/Tour/Tour.types.js +1 -0
  177. package/styled-components/es/components/Tour/index.js +2 -0
  178. package/styled-components/es/components/Tour/utils/index.js +127 -0
  179. package/styled-components/es/components/Tour/variatoins/_size/base.js +4 -0
  180. package/styled-components/es/components/Tour/variatoins/_view/base.js +4 -0
  181. package/styled-components/es/examples/plasma_b2c/components/Tour/Tour.config.js +23 -0
  182. package/styled-components/es/examples/plasma_b2c/components/Tour/Tour.js +5 -0
  183. package/styled-components/es/examples/plasma_web/components/Tour/Tour.config.js +23 -0
  184. package/styled-components/es/examples/plasma_web/components/Tour/Tour.js +5 -0
  185. package/styled-components/es/index.js +1 -0
  186. package/types/components/Autocomplete/Autocomplete.d.ts +1 -1
  187. package/types/components/Autocomplete/Autocomplete.types.d.ts +1 -1
  188. package/types/components/Carousel/CarouselNew/Carousel.d.ts +1 -1
  189. package/types/components/Carousel/CarouselOld/Carousel.d.ts +1 -1
  190. package/types/components/Carousel/CarouselOld/Carousel.types.d.ts +1 -1
  191. package/types/components/CodeField/CodeField.d.ts +1 -1
  192. package/types/components/CodeInput/CodeInput.d.ts +1 -1
  193. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +1 -1
  194. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts +1 -1
  195. package/types/components/DatePicker/SingleDate/SingleDate.d.ts +2 -2
  196. package/types/components/Drawer/Drawer.d.ts +1 -1
  197. package/types/components/Dropdown/ui/DropdownDivider/DropdownDivider.d.ts +1 -1
  198. package/types/components/Dropdown/ui/DropdownFooter/DropdownFooter.d.ts +1 -1
  199. package/types/components/Dropdown/ui/DropdownGroup/DropdownGroup.d.ts +1 -1
  200. package/types/components/Dropdown/ui/DropdownHeader/DropdownHeader.d.ts +1 -1
  201. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts +1 -1
  202. package/types/components/Dropdown/ui/DropdownOld/DropdownOld.d.ts +1 -1
  203. package/types/components/Modal/Modal.d.ts +1 -1
  204. package/types/components/Popup/Popup.d.ts +1 -1
  205. package/types/components/Radiobox/Radiobox.d.ts +2 -2
  206. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.d.ts +1 -1
  207. package/types/components/Segment/ui/SegmentItem/SegmentItem.d.ts +1 -1
  208. package/types/components/Select/Select.d.ts +1 -1
  209. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +1 -1
  210. package/types/components/Select/ui/Target/ui/Button/Button.styles.d.ts +2 -2
  211. package/types/components/Spinner/Spinner.d.ts +1 -1
  212. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +1 -1
  213. package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.d.ts +1 -1
  214. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  215. package/types/components/TextArea/TextArea.tokens.d.ts +1 -0
  216. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  217. package/types/components/TextArea/variations/_size/base.d.ts.map +1 -1
  218. package/types/components/TextField/TextField.d.ts +1 -1
  219. package/types/components/TextField/TextField.d.ts.map +1 -1
  220. package/types/components/TextField/TextField.tokens.d.ts +1 -0
  221. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  222. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  223. package/types/components/Toast/ToastNew/ToastNew.d.ts +1 -1
  224. package/types/components/Tour/Tour.d.ts +23 -0
  225. package/types/components/Tour/Tour.d.ts.map +1 -0
  226. package/types/components/Tour/Tour.styles.d.ts +11 -0
  227. package/types/components/Tour/Tour.styles.d.ts.map +1 -0
  228. package/types/components/Tour/Tour.tokens.d.ts +14 -0
  229. package/types/components/Tour/Tour.tokens.d.ts.map +1 -0
  230. package/types/components/Tour/Tour.types.d.ts +86 -0
  231. package/types/components/Tour/Tour.types.d.ts.map +1 -0
  232. package/types/components/Tour/index.d.ts +4 -0
  233. package/types/components/Tour/index.d.ts.map +1 -0
  234. package/types/components/Tour/utils/index.d.ts +7 -0
  235. package/types/components/Tour/utils/index.d.ts.map +1 -0
  236. package/types/components/Tour/variatoins/_size/base.d.ts +2 -0
  237. package/types/components/Tour/variatoins/_size/base.d.ts.map +1 -0
  238. package/types/components/Tour/variatoins/_view/base.d.ts +2 -0
  239. package/types/components/Tour/variatoins/_view/base.d.ts.map +1 -0
  240. package/types/index.d.ts +1 -0
  241. package/types/index.d.ts.map +1 -1
  242. package/cjs/components/TextField/variations/_size/base_uulqii.css +0 -1
  243. package/es/components/TextField/variations/_size/base_uulqii.css +0 -1
  244. /package/cjs/components/{TextArea/variations → Tour/variatoins}/_size/base_x642ct.css +0 -0
  245. /package/{es/components/TextArea/variations/_size → cjs/components/Tour/variatoins/_view}/base_x642ct.css +0 -0
@@ -0,0 +1,13 @@
1
+ export var classes = {
2
+ mask: 'tour-mask'
3
+ };
4
+ export var tokens = {
5
+ cardPadding: '--plasma-tour-card-padding',
6
+ cardRadius: '--plasma-tour-card-radius',
7
+ cardBgColor: '--plasma-tour-card-bg',
8
+ cardShadow: '--plasma-tour-card-shadow',
9
+ maskBgColor: '--plasma-tour-mask-bg',
10
+ titleColor: '--plasma-tour-title-color',
11
+ descriptionColor: '--plasma-tour-description-color',
12
+ highlightRadius: '--plasma-tour-highlight-radius'
13
+ };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,2 @@
1
+ export { tourRoot, tourConfig } from "./Tour";
2
+ export { tokens as tourTokens, classes as tourClasses } from "./Tour.tokens";
@@ -0,0 +1,127 @@
1
+ import { canUseDOM } from "../../../utils";
2
+ export var TOUR_FINDER_MARK = 'data-tour';
3
+ export var ROOT_COMPONENT = 'data-root';
4
+ export var TOUR_BORDER_RADIUS_TOKEN = '--plasma-tour__border-radius';
5
+ export var getHTMLElement = function(target) {
6
+ if (!target || !canUseDOM) {
7
+ return null;
8
+ }
9
+ if (typeof target === 'string') {
10
+ return document.querySelector(target);
11
+ }
12
+ if ('current' in target) {
13
+ return target.current;
14
+ }
15
+ return target;
16
+ };
17
+ export var getIncreasedRadius = function(ref, offset) {
18
+ if (!ref.current) {
19
+ return '';
20
+ }
21
+ var element = ref.current;
22
+ var computedStyle = getComputedStyle(element);
23
+ var borderRadiusComponent = computedStyle.getPropertyValue(TOUR_BORDER_RADIUS_TOKEN);
24
+ var currentRadius = computedStyle.borderRadius !== undefined && computedStyle.borderRadius !== null && computedStyle.borderRadius !== '0px' ? computedStyle.borderRadius : borderRadiusComponent;
25
+ var parseValue = function(value, context) {
26
+ var num = parseFloat(value);
27
+ if (Number.isNaN(num)) return 0;
28
+ if (value.endsWith('px')) return num;
29
+ if (value.endsWith('%')) return num / 100 * context.width;
30
+ if (value.endsWith('em')) return num * parseFloat(computedStyle.fontSize);
31
+ if (value.endsWith('rem')) {
32
+ return num * parseFloat(getComputedStyle(document.documentElement).fontSize);
33
+ }
34
+ if (value.endsWith('vw')) return num / 100 * window.innerWidth;
35
+ if (value.endsWith('vh')) return num / 100 * window.innerHeight;
36
+ if (value.endsWith('vmin')) return num / 100 * Math.min(window.innerWidth, window.innerHeight);
37
+ if (value.endsWith('vmax')) return num / 100 * Math.max(window.innerWidth, window.innerHeight);
38
+ return num;
39
+ };
40
+ var context = {
41
+ width: element.offsetWidth,
42
+ height: element.offsetHeight
43
+ };
44
+ var parseRadius = function(radius) {
45
+ var parts = radius.split('/').map(function(part) {
46
+ return part.trim();
47
+ });
48
+ var horizontal = parts[0].split(/\s+/).map(function(val) {
49
+ return parseValue(val, context);
50
+ });
51
+ var normalize = function(values) {
52
+ if (values.length === 1) return [
53
+ values[0],
54
+ values[0],
55
+ values[0],
56
+ values[0]
57
+ ];
58
+ if (values.length === 2) return [
59
+ values[0],
60
+ values[1],
61
+ values[0],
62
+ values[1]
63
+ ];
64
+ if (values.length === 3) return [
65
+ values[0],
66
+ values[1],
67
+ values[2],
68
+ values[1]
69
+ ];
70
+ return values.slice(0, 4);
71
+ };
72
+ return {
73
+ horizontal: normalize(horizontal),
74
+ vertical: parts[1] ? normalize(parts[1].split(/\s+/).map(function(val) {
75
+ return parseValue(val, context);
76
+ })) : normalize(horizontal)
77
+ };
78
+ };
79
+ try {
80
+ var parsed = parseRadius(currentRadius);
81
+ var newHorizontal = parsed.horizontal.map(function(val) {
82
+ return val !== 0 ? Math.max(0, val + offset) : 0;
83
+ });
84
+ var newVertical = parsed.vertical.map(function(val) {
85
+ return val !== 0 ? Math.max(0, val + offset) : 0;
86
+ });
87
+ var format = function(values) {
88
+ return values.map(function(v) {
89
+ return "".concat(v, "px");
90
+ }).join(' ');
91
+ };
92
+ var horizontalStr = format(newHorizontal);
93
+ var verticalStr = format(newVertical);
94
+ return horizontalStr === verticalStr ? horizontalStr : "".concat(horizontalStr, " / ").concat(verticalStr);
95
+ } catch (error) {
96
+ return '';
97
+ }
98
+ };
99
+ export var findRootElement = function(ref) {
100
+ if (!ref.current) {
101
+ return '';
102
+ }
103
+ var currentElement = ref.current;
104
+ if (!(currentElement === null || currentElement === void 0 ? void 0 : currentElement.hasAttribute(TOUR_FINDER_MARK))) {
105
+ return {
106
+ current: currentElement
107
+ };
108
+ }
109
+ while(currentElement !== null && currentElement !== document.documentElement){
110
+ if (currentElement.hasAttribute(ROOT_COMPONENT)) {
111
+ return {
112
+ current: currentElement
113
+ };
114
+ }
115
+ var parent = currentElement.parentElement;
116
+ if (parent === null) {
117
+ break;
118
+ }
119
+ currentElement = parent;
120
+ }
121
+ if (currentElement === null || currentElement === void 0 ? void 0 : currentElement.hasAttribute(ROOT_COMPONENT)) {
122
+ return {
123
+ current: currentElement
124
+ };
125
+ }
126
+ return ref;
127
+ };
@@ -0,0 +1,4 @@
1
+ import { css } from "styled-components";
2
+ export var base = css([
3
+ ""
4
+ ]);
@@ -0,0 +1,4 @@
1
+ import { css } from "styled-components";
2
+ export var base = css([
3
+ ""
4
+ ]);
@@ -0,0 +1,23 @@
1
+ import { css } from "styled-components";
2
+ import { tokens } from "../../../../components/Tour/Tour.tokens";
3
+ export var config = {
4
+ defaults: {
5
+ view: 'accent',
6
+ size: 's'
7
+ },
8
+ variations: {
9
+ view: {
10
+ default: css([
11
+ ""
12
+ ])
13
+ },
14
+ size: {
15
+ s: css([
16
+ "",
17
+ ":0.75rem;",
18
+ ":0.75rem;",
19
+ ":0.75rem;"
20
+ ], tokens.cardPadding, tokens.cardRadius, tokens.highlightRadius)
21
+ }
22
+ }
23
+ };
@@ -0,0 +1,5 @@
1
+ import { tourConfig } from "../../../../components/Tour";
2
+ import { component, mergeConfig } from "../../../../engines";
3
+ import { config } from "./Tour.config";
4
+ var mergedConfig = mergeConfig(tourConfig, config);
5
+ export var Tour = component(mergedConfig);
@@ -0,0 +1,23 @@
1
+ import { css } from "styled-components";
2
+ import { tokens } from "../../../../components/Tour/Tour.tokens";
3
+ export var config = {
4
+ defaults: {
5
+ view: 'accent',
6
+ size: 's'
7
+ },
8
+ variations: {
9
+ view: {
10
+ default: css([
11
+ ""
12
+ ])
13
+ },
14
+ size: {
15
+ s: css([
16
+ "",
17
+ ":0.75rem;",
18
+ ":0.75rem;",
19
+ ":0.75rem;"
20
+ ], tokens.cardPadding, tokens.cardRadius, tokens.highlightRadius)
21
+ }
22
+ }
23
+ };
@@ -0,0 +1,5 @@
1
+ import { tourConfig } from "../../../../components/Tour";
2
+ import { component, mergeConfig } from "../../../../engines";
3
+ import { config } from "./Tour.config";
4
+ var mergedConfig = mergeConfig(tourConfig, config);
5
+ export var Tour = component(mergedConfig);
@@ -80,3 +80,4 @@ export * from "./components/PaginationDots";
80
80
  export * from "./components/CodeInput";
81
81
  export * from "./components/CodeField";
82
82
  export * from "./components/List";
83
+ export * from "./components/Tour";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { RootProps } from '../../../src/engines';
2
+ import { RootProps } from '../../engines';
3
3
  import type { AutocompleteProps } from './Autocomplete.types';
4
4
  /**
5
5
  * Компонент Autocomplete. Поле ввода с подсказками в выпадающем списке.
@@ -1,5 +1,5 @@
1
1
  import React, { InputHTMLAttributes, ReactNode } from 'react';
2
- import { DistributiveOmit } from '../../../src/types';
2
+ import { DistributiveOmit } from '../../types';
3
3
  import { TextFieldPropsBase } from '../TextField/TextField.types';
4
4
  export type SuggestionItemType = {
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { RootProps } from '../../../../src/engines';
1
+ import { RootProps } from '../../../engines';
2
2
  import React from 'react';
3
3
  import { CarouselNewProps } from './Carousel.types';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { RootProps } from '../../../../src/engines';
1
+ import { RootProps } from '../../../engines';
2
2
  import React from 'react';
3
3
  import { CarouselProps } from './Carousel.types';
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import type { HTMLAttributes } from 'react';
2
- import { AsProps } from '../../../../src/types';
2
+ import { AsProps } from '../../../types';
3
3
  export type SnapType = 'mandatory' | 'proximity' | 'none';
4
4
  export type SnapAlign = 'start' | 'center' | 'end';
5
5
  export type SnapStop = 'normal' | 'always';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from '../../../src/engines';
2
+ import type { RootProps } from '../../engines';
3
3
  import type { CodeFieldProps } from './CodeField.types';
4
4
  export declare const codeFieldRoot: (Root: RootProps<HTMLDivElement, CodeFieldProps>) => React.ForwardRefExoticComponent<{
5
5
  value?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from '../../../src/engines';
2
+ import type { RootProps } from '../../engines';
3
3
  import type { CodeInputProps } from './CodeInput.types';
4
4
  export declare const codeInputRoot: (Root: RootProps<HTMLDivElement, CodeInputProps>) => React.ForwardRefExoticComponent<{
5
5
  view?: string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { FocusEvent } from 'react';
3
- import type { RootProps } from '../../../../src/engines';
3
+ import type { RootProps } from '../../../engines';
4
4
  import type { RangeInputRefs } from '../../Range/Range.types';
5
5
  import type { DateType } from '../../Calendar/Calendar.types';
6
6
  import type { DatePickerRangeProps } from './RangeDate.types';
@@ -1,4 +1,4 @@
1
- import type { CalendarDoubleProps, CalendarBaseProps } from '../../../../../src/components/Calendar';
1
+ import type { CalendarDoubleProps, CalendarBaseProps } from '../../../../components/Calendar';
2
2
  export declare const StyledCalendarDouble: import("@linaria/react").StyledComponent<{
3
3
  innerWidth?: string;
4
4
  innerHeight?: string;
@@ -1,6 +1,6 @@
1
1
  import React, { SyntheticEvent } from 'react';
2
- import type { DateInfo, DateType } from 'src/components/Calendar/Calendar.types';
3
- import type { RootProps } from '../../../../src/engines';
2
+ import type { DateInfo, DateType } from '../../../components/Calendar/Calendar.types';
3
+ import type { RootProps } from '../../../engines';
4
4
  import type { DatePickerProps } from './SingleDate.types';
5
5
  export declare const datePickerRoot: (Root: RootProps<HTMLDivElement, Omit<DatePickerProps, "opened" | "defaultValue" | "onChangeValue">>) => React.ForwardRefExoticComponent<import("../DatePickerBase.types").DatePickerVariationProps & {
6
6
  requiredPlacement?: "left" | "right";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from '../../../src/engines';
2
+ import type { RootProps } from '../../engines';
3
3
  import type { DrawerProps } from './Drawer.types';
4
4
  export declare const drawerRoot: (Root: RootProps<HTMLDivElement, DrawerProps>) => React.ForwardRefExoticComponent<import("../Popup").PopupProps & import("../Panel").PanelProps & {
5
5
  placement?: import("./Drawer.types").DrawerPlacement;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from '../../../../../src/engines';
2
+ import type { RootProps } from '../../../../engines';
3
3
  import type { DropdownDividerProps } from './DropdownDivider.types';
4
4
  /**
5
5
  * Элемент выпадающего списка
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from '../../../../../src/engines';
2
+ import type { RootProps } from '../../../../engines';
3
3
  import type { DropdownFooterProps } from './DropdownFooter.type';
4
4
  /**
5
5
  * Элемент выпадающего списка
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from '../../../../../src/engines';
2
+ import type { RootProps } from '../../../../engines';
3
3
  import type { DropdownGroupProps } from './DropdownGroup.type';
4
4
  /**
5
5
  * Элемент группы выпадающего списка
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from '../../../../../src/engines';
2
+ import type { RootProps } from '../../../../engines';
3
3
  import type { DropdownHeaderProps } from './DropdownHeader.type';
4
4
  /**
5
5
  * Элемент выпадающего списка
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from '../../../../../src/engines';
2
+ import type { RootProps } from '../../../../engines';
3
3
  import type { DropdownItemProps } from './DropdownItem.type';
4
4
  /**
5
5
  * Элемент выпадающего списка
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from '../../../../../src/engines';
2
+ import type { RootProps } from '../../../../engines';
3
3
  import type { DropdownProps } from './Dropdown.types';
4
4
  /**
5
5
  * Выпадающий список без внешнего контроля видимости.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { RootProps } from '../../../src/engines';
2
+ import { RootProps } from '../../engines';
3
3
  import { ModalProps } from './Modal.types';
4
4
  /**
5
5
  * Modal.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { RootProps } from 'src/engines/types';
2
+ import { RootProps } from '../../engines/types';
3
3
  import type { PopupPlacement, PopupPositionType, PopupProps } from './Popup.types';
4
4
  export declare const handlePosition: (placement: PopupPlacement, offset: [number, number] | [string, string]) => PopupPositionType;
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import type { InputHTMLAttributes } from '../../../src/types';
3
- import type { Filter, RootProps } from 'src/engines/types';
2
+ import type { InputHTMLAttributes } from '../../types';
3
+ import type { Filter, RootProps } from '../../engines/types';
4
4
  import { BaseboxProps } from '../Checkbox/Checkbox.types';
5
5
  type RadioboxProps = Filter<InputHTMLAttributes<HTMLInputElement>, 'size'> & Omit<BaseboxProps, 'indeterminate' | 'appearance'>;
6
6
  export declare const radioboxRoot: (Root: RootProps<HTMLInputElement, RadioboxProps>) => React.ForwardRefExoticComponent<Filter<InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<BaseboxProps, "indeterminate" | "appearance"> & React.RefAttributes<HTMLInputElement>>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from 'src/engines/types';
2
+ import type { RootProps } from '../../../../engines/types';
3
3
  import type { SegmentGroupProps } from './SegmentGroup.types';
4
4
  export declare const getChildNodes: (wrapper: HTMLElement | null) => HTMLElement[];
5
5
  export declare const segmentGroupRoot: (Root: RootProps<HTMLDivElement, SegmentGroupProps>) => React.ForwardRefExoticComponent<SegmentGroupProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { MouseEvent } from 'react';
3
- import type { RootProps } from 'src/engines/types';
3
+ import type { RootProps } from '../../../../engines/types';
4
4
  import type { SegmentItemProps } from './SegmentItem.types';
5
5
  export declare const segmentItemRoot: (Root: RootProps<HTMLLabelElement, SegmentItemProps>) => React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
6
6
  value: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { RootProps } from '../../../src/engines';
2
+ import { RootProps } from '../../engines';
3
3
  import type { MergedSelectProps } from './Select.types';
4
4
  /**
5
5
  * Выпадающий список. Поддерживает выбор одного или нескольких значений.
@@ -1,4 +1,4 @@
1
- import type { SelectProps } from '../../../../../../../src/components/Select';
1
+ import type { SelectProps } from '../../../../../../components/Select';
2
2
  export declare const StyledWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3
3
  disabled?: boolean;
4
4
  }>;
@@ -15,7 +15,7 @@ export declare const StyledButton: import("@linaria/react").StyledMeta & import(
15
15
  outlined?: boolean;
16
16
  shiftLeft?: boolean;
17
17
  shiftRight?: boolean;
18
- blur?: import("../../../../../../../src/mixins").Blur;
18
+ blur?: import("../../../../../../mixins").Blur;
19
19
  } & {
20
20
  value?: string | number;
21
21
  contentRight?: never;
@@ -36,7 +36,7 @@ export declare const StyledButton: import("@linaria/react").StyledMeta & import(
36
36
  outlined?: boolean;
37
37
  shiftLeft?: boolean;
38
38
  shiftRight?: boolean;
39
- blur?: import("../../../../../../../src/mixins").Blur;
39
+ blur?: import("../../../../../../mixins").Blur;
40
40
  } & {
41
41
  value?: never;
42
42
  contentRight?: import("react").ReactNode;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from 'src/engines/types';
2
+ import type { RootProps } from '../../engines/types';
3
3
  import type { SpinnerProps } from './Spinner.types';
4
4
  export declare const spinnerRoot: (Root: RootProps<HTMLDivElement, SpinnerProps>) => React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export declare const spinnerConfig: {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from 'src/engines/types';
2
+ import type { RootProps } from '../../../../../engines/types';
3
3
  import type { HorizontalTabsProps } from '../../../Tabs.types';
4
4
  export declare const horizontalTabsRoot: (Root: RootProps<HTMLDivElement, HorizontalTabsProps>) => React.ForwardRefExoticComponent<HorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export declare const horizontalTabsConfig: {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from 'src/engines/types';
2
+ import type { RootProps } from '../../../../../engines/types';
3
3
  import type { VerticalTabsProps } from '../../../Tabs.types';
4
4
  export declare const verticalTabsRoot: (Root: RootProps<HTMLDivElement, VerticalTabsProps>) => React.ForwardRefExoticComponent<import("../../../Tabs.types").BaseTabsProps & import("../../../Tabs.types").CustomVerticalTabsProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export declare const verticalTabsConfig: {
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmG,MAAM,OAAO,CAAC;AAKxH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAgCrD,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAkCzE,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA2B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,8FA2T9E,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBA7TQ,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgWnF,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmG,MAAM,OAAO,CAAC;AAKxH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAgCrD,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAkCzE,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA2B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,8FA6T9E,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBA/TQ,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkWnF,CAAC"}
@@ -255,5 +255,6 @@ export declare const tokens: {
255
255
  tooltipArrowHeight: string;
256
256
  tooltipArrowEdgeMargin: string;
257
257
  tooltipArrowBackground: string;
258
+ tourBorderRadius: string;
258
259
  };
259
260
  //# sourceMappingURL=TextArea.tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;IAChB,6DAA6D;;IAE7D,kEAAkE;;IAElE,+CAA+C;;IAE/C,6CAA6C;;IAE7C,4CAA4C;;IAE5C,mDAAmD;;IAEnD,+CAA+C;;IAE/C,2CAA2C;;;;IAI3C,6BAA6B;;;;;;CAMhC,CAAC;AAEF,eAAO,MAAM,MAAM;IACf,qCAAqC;;IAErC,uDAAuD;;IAEvD,wDAAwD;;IAExD,uDAAuD;;IAEvD,sCAAsC;;IAEtC,wDAAwD;;IAExD,yDAAyD;;IAEzD,wDAAwD;;IAExD,0CAA0C;;IAE1C,4DAA4D;;IAE5D,6DAA6D;;IAE7D,4DAA4D;;IAE5D,yCAAyC;;IAEzC,2DAA2D;;IAE3D,4DAA4D;;IAE5D,2DAA2D;;IAE3D,wCAAwC;;;;;;IAOxC,0DAA0D;;IAE1D,yCAAyC;;IAEzC,gCAAgC;;;IAGhC,kDAAkD;;;IAGlD,6BAA6B;;IAE7B,0CAA0C;;IAE1C,2CAA2C;;IAE3C,yCAAyC;;;IAIzC,2DAA2D;;IAE3D,2DAA2D;;IAG3D,+BAA+B;;IAE/B,+BAA+B;;IAE/B,2CAA2C;;IAE3C,qCAAqC;;IAErC,+CAA+C;;IAE/C,4FAA4F;;IAE5F,0CAA0C;;IAE1C,0CAA0C;;IAE1C,qEAAqE;;;IAGrE,yCAAyC;;IAEzC,mEAAmE;;IAEnE,yCAAyC;;IAEzC,uCAAuC;;;IAGvC,uCAAuC;;IAEvC,sCAAsC;;IAEtC,sCAAsC;;IAEtC,+FAA+F;;IAE/F,wCAAwC;;IAExC,wCAAwC;;IAExC,6BAA6B;;IAE7B,2DAA2D;;IAE3D,2DAA2D;;IAE3D,mEAAmE;;IAEnE,kEAAkE;;IAElE,uEAAuE;;IAEvE,8EAA8E;;IAE9E,mEAAmE;;IAEnE,mEAAmE;;;IAGnE,2DAA2D;;IAE3D,mEAAmE;;IAEnE,kEAAkE;;IAElE,uEAAuE;;IAEvE,8EAA8E;;IAE9E,mEAAmE;;IAEnE,qDAAqD;;IAErD,8FAA8F;;IAE9F,oCAAoC;;IAEpC,kCAAkC;;IAElC,0CAA0C;;IAE1C,yCAAyC;;IAEzC,8CAA8C;;IAE9C,4DAA4D;;IAE5D,iDAAiD;;IAEjD,8CAA8C;;IAE9C,sDAAsD;;IAEtD,qDAAqD;;IAErD,0DAA0D;;IAE1D,iEAAiE;;IAEjE,sDAAsD;;IAGtD,WAAW;;;IAKX,6DAA6D;;IAE7D,6DAA6D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwC7D,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B5B,CAAC"}
1
+ {"version":3,"file":"TextArea.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tokens.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;IAChB,6DAA6D;;IAE7D,kEAAkE;;IAElE,+CAA+C;;IAE/C,6CAA6C;;IAE7C,4CAA4C;;IAE5C,mDAAmD;;IAEnD,+CAA+C;;IAE/C,2CAA2C;;;;IAI3C,6BAA6B;;;;;;CAMhC,CAAC;AAEF,eAAO,MAAM,MAAM;IACf,qCAAqC;;IAErC,uDAAuD;;IAEvD,wDAAwD;;IAExD,uDAAuD;;IAEvD,sCAAsC;;IAEtC,wDAAwD;;IAExD,yDAAyD;;IAEzD,wDAAwD;;IAExD,0CAA0C;;IAE1C,4DAA4D;;IAE5D,6DAA6D;;IAE7D,4DAA4D;;IAE5D,yCAAyC;;IAEzC,2DAA2D;;IAE3D,4DAA4D;;IAE5D,2DAA2D;;IAE3D,wCAAwC;;;;;;IAOxC,0DAA0D;;IAE1D,yCAAyC;;IAEzC,gCAAgC;;;IAGhC,kDAAkD;;;IAGlD,6BAA6B;;IAE7B,0CAA0C;;IAE1C,2CAA2C;;IAE3C,yCAAyC;;;IAIzC,2DAA2D;;IAE3D,2DAA2D;;IAG3D,+BAA+B;;IAE/B,+BAA+B;;IAE/B,2CAA2C;;IAE3C,qCAAqC;;IAErC,+CAA+C;;IAE/C,4FAA4F;;IAE5F,0CAA0C;;IAE1C,0CAA0C;;IAE1C,qEAAqE;;;IAGrE,yCAAyC;;IAEzC,mEAAmE;;IAEnE,yCAAyC;;IAEzC,uCAAuC;;;IAGvC,uCAAuC;;IAEvC,sCAAsC;;IAEtC,sCAAsC;;IAEtC,+FAA+F;;IAE/F,wCAAwC;;IAExC,wCAAwC;;IAExC,6BAA6B;;IAE7B,2DAA2D;;IAE3D,2DAA2D;;IAE3D,mEAAmE;;IAEnE,kEAAkE;;IAElE,uEAAuE;;IAEvE,8EAA8E;;IAE9E,mEAAmE;;IAEnE,mEAAmE;;;IAGnE,2DAA2D;;IAE3D,mEAAmE;;IAEnE,kEAAkE;;IAElE,uEAAuE;;IAEvE,8EAA8E;;IAE9E,mEAAmE;;IAEnE,qDAAqD;;IAErD,8FAA8F;;IAE9F,oCAAoC;;IAEpC,kCAAkC;;IAElC,0CAA0C;;IAE1C,yCAAyC;;IAEzC,8CAA8C;;IAE9C,4DAA4D;;IAE5D,iDAAiD;;IAEjD,8CAA8C;;IAE9C,sDAAsD;;IAEtD,qDAAqD;;IAErD,0DAA0D;;IAE1D,iEAAiE;;IAEjE,sDAAsD;;IAGtD,WAAW;;;IAKX,6DAA6D;;IAE7D,6DAA6D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwC7D,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextArea/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextArea/variations/_size/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAEhB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from '../../../src/engines';
2
+ import type { RootProps } from '../../engines';
3
3
  import type { TextFieldProps, TextFieldRootProps } from './TextField.types';
4
4
  export declare const base: import("@linaria/core").LinariaClassName;
5
5
  export declare const textFieldRoot: (Root: RootProps<HTMLDivElement, TextFieldRootProps>) => React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,KAAK,EAAuC,cAAc,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAuCjH,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAIF,eAAO,MAAM,aAAa,SAAU,SAAS,CAAC,cAAc,EAAE,kBAAkB,CAAC,4FAyf5E,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBA3fQ,SAAS,CAAC,cAAc,EAAE,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoiBhF,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,KAAK,EAAuC,cAAc,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAuCjH,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAIF,eAAO,MAAM,aAAa,SAAU,SAAS,CAAC,cAAc,EAAE,kBAAkB,CAAC,4FA+f5E,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBAjgBQ,SAAS,CAAC,cAAc,EAAE,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0iBhF,CAAC"}
@@ -185,5 +185,6 @@ export declare const tokens: {
185
185
  clearIndicatorLabelPlacementInner: string;
186
186
  clearIndicatorLabelPlacementInnerRight: string;
187
187
  clearIndicatorHintInnerRight: string;
188
+ tourBorderRadius: string;
188
189
  };
189
190
  //# sourceMappingURL=TextField.tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;IAiBf,oCAAoC;;;;;;IAOpC,mBAAmB;;;;;;;;;;IAYnB,kCAAkC;;;;;;;;;;;;;;;;;;;;IA4BlC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8CpB,qCAAqC;;;;;IAMrC,6DAA6D;;;IAI7D,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgCzB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CrB,CAAC"}
1
+ {"version":3,"file":"TextField.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tokens.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;IAiBf,oCAAoC;;;;;;IAOpC,mBAAmB;;;;;;;;;;IAYnB,kCAAkC;;;;;;;;;;;;;;;;;;;;IA4BlC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8CpB,qCAAqC;;;;;IAMrC,6DAA6D;;;IAI7D,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgCzB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_size/base.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,IAAI,0CAsGhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_size/base.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,IAAI,0CAwGhB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RootProps } from '../../../../src/engines';
2
+ import type { RootProps } from '../../../engines';
3
3
  import { ToastContainerProps, ShowToastProps } from './ToastNew.types';
4
4
  export declare const toastContainerRoot: (Root: RootProps<HTMLDivElement, ToastContainerProps>) => React.ForwardRefExoticComponent<ToastContainerProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export declare const showToast: ShowToastProps;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { RootProps } from '../../engines';
3
+ import type { TourProps } from './Tour.types';
4
+ export declare const tourRoot: (Root: RootProps<HTMLDivElement, TourProps>) => React.ForwardRefExoticComponent<TourProps & React.RefAttributes<HTMLDivElement>>;
5
+ export declare const tourConfig: {
6
+ name: string;
7
+ tag: string;
8
+ layout: (Root: RootProps<HTMLDivElement, TourProps>) => React.ForwardRefExoticComponent<TourProps & React.RefAttributes<HTMLDivElement>>;
9
+ base: string;
10
+ variations: {
11
+ view: {
12
+ css: import("@linaria/core").LinariaClassName;
13
+ };
14
+ size: {
15
+ css: import("@linaria/core").LinariaClassName;
16
+ };
17
+ };
18
+ defaults: {
19
+ view: string;
20
+ size: string;
21
+ };
22
+ };
23
+ //# sourceMappingURL=Tour.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tour.d.ts","sourceRoot":"","sources":["../../../src/components/Tour/Tour.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAItF,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAM9C,eAAO,MAAM,QAAQ,SAAU,SAAS,CAAC,cAAc,EAAE,SAAS,CAAC,qFA4M9D,CAAC;AAEN,eAAO,MAAM,UAAU;;;mBA9MQ,SAAS,CAAC,cAAc,EAAE,SAAS,CAAC;;;;;;;;;;;;;;CA+NlE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'react';
2
+ export declare const MaskContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3
+ zIndex: CSSProperties["zIndex"];
4
+ }>;
5
+ export declare const Mask: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
+ export declare const Highlight: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
7
+ overlayColor?: CSSProperties["color"];
8
+ borderRadius?: CSSProperties["borderRadius"] | null;
9
+ }>;
10
+ export declare const TourPortal: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
11
+ //# sourceMappingURL=Tour.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tour.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Tour/Tour.styles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,aAAa;YAAwB,aAAa,CAAC,QAAQ,CAAC;EAExE,CAAC;AAEF,eAAO,MAAM,IAAI,qKAIhB,CAAC;AAEF,eAAO,MAAM,SAAS;mBACH,aAAa,CAAC,OAAO,CAAC;mBACtB,aAAa,CAAC,cAAc,CAAC,GAAG,IAAI;EAStD,CAAC;AAEF,eAAO,MAAM,UAAU,qKAEtB,CAAC"}
@@ -0,0 +1,14 @@
1
+ export declare const classes: {
2
+ mask: string;
3
+ };
4
+ export declare const tokens: {
5
+ cardPadding: string;
6
+ cardRadius: string;
7
+ cardBgColor: string;
8
+ cardShadow: string;
9
+ maskBgColor: string;
10
+ titleColor: string;
11
+ descriptionColor: string;
12
+ highlightRadius: string;
13
+ };
14
+ //# sourceMappingURL=Tour.tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tour.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Tour/Tour.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;CASlB,CAAC"}