@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.
- package/cjs/components/Autocomplete/Autocomplete.css +1 -1
- package/cjs/components/Calendar/utils/getDateWithModification.js +2 -2
- package/cjs/components/Calendar/utils/getDateWithModification.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +1 -1
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +1 -1
- package/cjs/components/Pagination/Pagination.css +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -1
- package/cjs/components/Range/Range.css +1 -1
- package/cjs/components/Select/Select.css +1 -1
- package/cjs/components/Select/ui/Target/Target.css +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -1
- package/cjs/components/Slider/Slider.css +1 -1
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -1
- package/cjs/components/Table/Table.css +1 -1
- package/cjs/components/Table/ui/Cell/Cell.css +1 -1
- package/cjs/components/Table/ui/EditableCell/EditableCell.css +1 -1
- package/cjs/components/Table/ui/HeadCell/HeadCell.css +1 -1
- package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +1 -1
- package/cjs/components/TextArea/TextArea.js +7 -3
- package/cjs/components/TextArea/TextArea.js.map +1 -1
- package/cjs/components/TextArea/TextArea.tokens.js +4 -1
- package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
- package/cjs/components/TextArea/variations/_size/base.js +1 -1
- package/cjs/components/TextArea/variations/_size/base.js.map +1 -1
- package/cjs/components/TextArea/variations/_size/base_1mq4sb2.css +1 -0
- package/cjs/components/TextField/TextField.js +12 -3
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.tokens.js +4 -1
- package/cjs/components/TextField/TextField.tokens.js.map +1 -1
- package/cjs/components/TextField/variations/_size/base.js +1 -1
- package/cjs/components/TextField/variations/_size/base.js.map +1 -1
- package/cjs/components/TextField/variations/_size/base_1oec4lw.css +1 -0
- package/cjs/components/Tour/Tour.css +4 -0
- package/cjs/components/Tour/Tour.js +223 -0
- package/cjs/components/Tour/Tour.js.map +1 -0
- package/cjs/components/Tour/Tour.styles.js +58 -0
- package/cjs/components/Tour/Tour.styles.js.map +1 -0
- package/cjs/components/Tour/Tour.styles_hmd79i.css +4 -0
- package/cjs/components/Tour/Tour.tokens.js +21 -0
- package/cjs/components/Tour/Tour.tokens.js.map +1 -0
- package/cjs/components/Tour/utils/index.js +126 -0
- package/cjs/components/Tour/utils/index.js.map +1 -0
- package/cjs/components/Tour/variatoins/_size/base.js +9 -0
- package/cjs/components/Tour/variatoins/_size/base.js.map +1 -0
- package/cjs/components/Tour/variatoins/_view/base.js +9 -0
- package/cjs/components/Tour/variatoins/_view/base.js.map +1 -0
- package/cjs/index.css +8 -1
- package/cjs/index.js +6 -0
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/Calendar/utils/getDateWithModification.js +2 -2
- package/emotion/cjs/components/TextArea/TextArea.js +8 -4
- package/emotion/cjs/components/TextArea/TextArea.tokens.js +3 -1
- package/emotion/cjs/components/TextArea/variations/_size/base.js +2 -1
- package/emotion/cjs/components/TextField/TextField.js +13 -4
- package/emotion/cjs/components/TextField/TextField.tokens.js +3 -1
- package/emotion/cjs/components/TextField/variations/_size/base.js +1 -1
- package/emotion/cjs/components/Tour/Tour.js +387 -0
- package/emotion/cjs/components/Tour/Tour.styles.js +55 -0
- package/emotion/cjs/components/Tour/Tour.tokens.js +31 -0
- package/emotion/cjs/components/Tour/Tour.types.js +4 -0
- package/emotion/cjs/components/Tour/index.js +26 -0
- package/emotion/cjs/components/Tour/utils/index.js +157 -0
- package/emotion/cjs/components/Tour/variatoins/_size/base.js +12 -0
- package/emotion/cjs/components/Tour/variatoins/_view/base.js +12 -0
- package/emotion/cjs/examples/plasma_b2c/components/Tour/Tour.config.js +26 -0
- package/emotion/cjs/examples/plasma_b2c/components/Tour/Tour.js +15 -0
- package/emotion/cjs/examples/plasma_web/components/Tour/Tour.config.js +26 -0
- package/emotion/cjs/examples/plasma_web/components/Tour/Tour.js +15 -0
- package/emotion/cjs/index.js +1 -0
- package/emotion/es/components/Calendar/utils/getDateWithModification.js +2 -2
- package/emotion/es/components/TextArea/TextArea.js +8 -4
- package/emotion/es/components/TextArea/TextArea.tokens.js +3 -1
- package/emotion/es/components/TextArea/variations/_size/base.js +2 -1
- package/emotion/es/components/TextField/TextField.js +13 -4
- package/emotion/es/components/TextField/TextField.tokens.js +3 -1
- package/emotion/es/components/TextField/variations/_size/base.js +1 -1
- package/emotion/es/components/Tour/Tour.js +328 -0
- package/emotion/es/components/Tour/Tour.styles.js +26 -0
- package/emotion/es/components/Tour/Tour.tokens.js +13 -0
- package/emotion/es/components/Tour/Tour.types.js +1 -0
- package/emotion/es/components/Tour/index.js +2 -0
- package/emotion/es/components/Tour/utils/index.js +127 -0
- package/emotion/es/components/Tour/variatoins/_size/base.js +2 -0
- package/emotion/es/components/Tour/variatoins/_view/base.js +2 -0
- package/emotion/es/examples/plasma_b2c/components/Tour/Tour.config.js +16 -0
- package/emotion/es/examples/plasma_b2c/components/Tour/Tour.js +5 -0
- package/emotion/es/examples/plasma_web/components/Tour/Tour.config.js +16 -0
- package/emotion/es/examples/plasma_web/components/Tour/Tour.js +5 -0
- package/emotion/es/index.js +1 -0
- package/es/components/Autocomplete/Autocomplete.css +1 -1
- package/es/components/Calendar/utils/getDateWithModification.js +2 -2
- package/es/components/Calendar/utils/getDateWithModification.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.css +1 -1
- package/es/components/DatePicker/RangeDate/RangeDate.css +1 -1
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +1 -1
- package/es/components/DatePicker/SingleDate/SingleDate.css +1 -1
- package/es/components/Pagination/Pagination.css +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -1
- package/es/components/Range/Range.css +1 -1
- package/es/components/Select/Select.css +1 -1
- package/es/components/Select/ui/Target/Target.css +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -1
- package/es/components/Slider/Slider.css +1 -1
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -1
- package/es/components/Table/Table.css +1 -1
- package/es/components/Table/ui/Cell/Cell.css +1 -1
- package/es/components/Table/ui/EditableCell/EditableCell.css +1 -1
- package/es/components/Table/ui/HeadCell/HeadCell.css +1 -1
- package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +1 -1
- package/es/components/TextArea/TextArea.js +7 -3
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/TextArea/TextArea.tokens.js +4 -1
- package/es/components/TextArea/TextArea.tokens.js.map +1 -1
- package/es/components/TextArea/variations/_size/base.js +1 -1
- package/es/components/TextArea/variations/_size/base.js.map +1 -1
- package/es/components/TextArea/variations/_size/base_1mq4sb2.css +1 -0
- package/es/components/TextField/TextField.js +12 -3
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.tokens.js +4 -1
- package/es/components/TextField/TextField.tokens.js.map +1 -1
- package/es/components/TextField/variations/_size/base.js +1 -1
- package/es/components/TextField/variations/_size/base.js.map +1 -1
- package/es/components/TextField/variations/_size/base_1oec4lw.css +1 -0
- package/es/components/Tour/Tour.css +4 -0
- package/es/components/Tour/Tour.js +214 -0
- package/es/components/Tour/Tour.js.map +1 -0
- package/es/components/Tour/Tour.styles.js +51 -0
- package/es/components/Tour/Tour.styles.js.map +1 -0
- package/es/components/Tour/Tour.styles_hmd79i.css +4 -0
- package/es/components/Tour/Tour.tokens.js +16 -0
- package/es/components/Tour/Tour.tokens.js.map +1 -0
- package/es/components/Tour/utils/index.js +117 -0
- package/es/components/Tour/utils/index.js.map +1 -0
- package/es/components/Tour/variatoins/_size/base.js +5 -0
- package/es/components/Tour/variatoins/_size/base.js.map +1 -0
- package/es/components/Tour/variatoins/_size/base_x642ct.css +1 -0
- package/es/components/Tour/variatoins/_view/base.js +5 -0
- package/es/components/Tour/variatoins/_view/base.js.map +1 -0
- package/es/components/Tour/variatoins/_view/base_x642ct.css +1 -0
- package/es/index.css +8 -1
- package/es/index.js +2 -0
- package/es/index.js.map +1 -1
- package/package.json +5 -5
- package/styled-components/cjs/components/Calendar/utils/getDateWithModification.js +2 -2
- package/styled-components/cjs/components/TextArea/TextArea.js +7 -3
- package/styled-components/cjs/components/TextArea/TextArea.tokens.js +3 -1
- package/styled-components/cjs/components/TextArea/variations/_size/base.js +5 -2
- package/styled-components/cjs/components/TextField/TextField.js +12 -3
- package/styled-components/cjs/components/TextField/TextField.tokens.js +3 -1
- package/styled-components/cjs/components/TextField/variations/_size/base.js +3 -1
- package/styled-components/cjs/components/Tour/Tour.js +387 -0
- package/styled-components/cjs/components/Tour/Tour.styles.js +66 -0
- package/styled-components/cjs/components/Tour/Tour.tokens.js +31 -0
- package/styled-components/cjs/components/Tour/Tour.types.js +4 -0
- package/styled-components/cjs/components/Tour/index.js +26 -0
- package/styled-components/cjs/components/Tour/utils/index.js +157 -0
- package/styled-components/cjs/components/Tour/variatoins/_size/base.js +14 -0
- package/styled-components/cjs/components/Tour/variatoins/_view/base.js +14 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Tour/Tour.config.js +33 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Tour/Tour.js +15 -0
- package/styled-components/cjs/examples/plasma_web/components/Tour/Tour.config.js +33 -0
- package/styled-components/cjs/examples/plasma_web/components/Tour/Tour.js +15 -0
- package/styled-components/cjs/index.js +1 -0
- package/styled-components/es/components/Calendar/utils/getDateWithModification.js +2 -2
- package/styled-components/es/components/TextArea/TextArea.js +7 -3
- package/styled-components/es/components/TextArea/TextArea.tokens.js +3 -1
- package/styled-components/es/components/TextArea/variations/_size/base.js +5 -2
- package/styled-components/es/components/TextField/TextField.js +12 -3
- package/styled-components/es/components/TextField/TextField.tokens.js +3 -1
- package/styled-components/es/components/TextField/variations/_size/base.js +3 -1
- package/styled-components/es/components/Tour/Tour.js +328 -0
- package/styled-components/es/components/Tour/Tour.styles.js +37 -0
- package/styled-components/es/components/Tour/Tour.tokens.js +13 -0
- package/styled-components/es/components/Tour/Tour.types.js +1 -0
- package/styled-components/es/components/Tour/index.js +2 -0
- package/styled-components/es/components/Tour/utils/index.js +127 -0
- package/styled-components/es/components/Tour/variatoins/_size/base.js +4 -0
- package/styled-components/es/components/Tour/variatoins/_view/base.js +4 -0
- package/styled-components/es/examples/plasma_b2c/components/Tour/Tour.config.js +23 -0
- package/styled-components/es/examples/plasma_b2c/components/Tour/Tour.js +5 -0
- package/styled-components/es/examples/plasma_web/components/Tour/Tour.config.js +23 -0
- package/styled-components/es/examples/plasma_web/components/Tour/Tour.js +5 -0
- package/styled-components/es/index.js +1 -0
- package/types/components/Autocomplete/Autocomplete.d.ts +1 -1
- package/types/components/Autocomplete/Autocomplete.types.d.ts +1 -1
- package/types/components/Carousel/CarouselNew/Carousel.d.ts +1 -1
- package/types/components/Carousel/CarouselOld/Carousel.d.ts +1 -1
- package/types/components/Carousel/CarouselOld/Carousel.types.d.ts +1 -1
- package/types/components/CodeField/CodeField.d.ts +1 -1
- package/types/components/CodeInput/CodeInput.d.ts +1 -1
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts +1 -1
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.d.ts +2 -2
- package/types/components/Drawer/Drawer.d.ts +1 -1
- package/types/components/Dropdown/ui/DropdownDivider/DropdownDivider.d.ts +1 -1
- package/types/components/Dropdown/ui/DropdownFooter/DropdownFooter.d.ts +1 -1
- package/types/components/Dropdown/ui/DropdownGroup/DropdownGroup.d.ts +1 -1
- package/types/components/Dropdown/ui/DropdownHeader/DropdownHeader.d.ts +1 -1
- package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts +1 -1
- package/types/components/Dropdown/ui/DropdownOld/DropdownOld.d.ts +1 -1
- package/types/components/Modal/Modal.d.ts +1 -1
- package/types/components/Popup/Popup.d.ts +1 -1
- package/types/components/Radiobox/Radiobox.d.ts +2 -2
- package/types/components/Segment/ui/SegmentGroup/SegmentGroup.d.ts +1 -1
- package/types/components/Segment/ui/SegmentItem/SegmentItem.d.ts +1 -1
- package/types/components/Select/Select.d.ts +1 -1
- package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +1 -1
- package/types/components/Select/ui/Target/ui/Button/Button.styles.d.ts +2 -2
- package/types/components/Spinner/Spinner.d.ts +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +1 -1
- package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.d.ts +1 -1
- package/types/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.tokens.d.ts +1 -0
- package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
- package/types/components/TextArea/variations/_size/base.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts +1 -1
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.tokens.d.ts +1 -0
- package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
- package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
- package/types/components/Toast/ToastNew/ToastNew.d.ts +1 -1
- package/types/components/Tour/Tour.d.ts +23 -0
- package/types/components/Tour/Tour.d.ts.map +1 -0
- package/types/components/Tour/Tour.styles.d.ts +11 -0
- package/types/components/Tour/Tour.styles.d.ts.map +1 -0
- package/types/components/Tour/Tour.tokens.d.ts +14 -0
- package/types/components/Tour/Tour.tokens.d.ts.map +1 -0
- package/types/components/Tour/Tour.types.d.ts +86 -0
- package/types/components/Tour/Tour.types.d.ts.map +1 -0
- package/types/components/Tour/index.d.ts +4 -0
- package/types/components/Tour/index.d.ts.map +1 -0
- package/types/components/Tour/utils/index.d.ts +7 -0
- package/types/components/Tour/utils/index.d.ts.map +1 -0
- package/types/components/Tour/variatoins/_size/base.d.ts +2 -0
- package/types/components/Tour/variatoins/_size/base.d.ts.map +1 -0
- package/types/components/Tour/variatoins/_view/base.d.ts +2 -0
- package/types/components/Tour/variatoins/_view/base.d.ts.map +1 -0
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/cjs/components/TextField/variations/_size/base_uulqii.css +0 -1
- package/es/components/TextField/variations/_size/base_uulqii.css +0 -1
- /package/cjs/components/{TextArea/variations → Tour/variatoins}/_size/base_x642ct.css +0 -0
- /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,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,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,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
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { InputHTMLAttributes, ReactNode } from 'react';
|
2
|
-
import { DistributiveOmit } from '
|
2
|
+
import { DistributiveOmit } from '../../types';
|
3
3
|
import { TextFieldPropsBase } from '../TextField/TextField.types';
|
4
4
|
export type SuggestionItemType = {
|
5
5
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
2
|
-
import { AsProps } from '
|
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 '
|
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 '
|
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 '
|
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 '
|
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 '
|
3
|
-
import type { RootProps } from '
|
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 '
|
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 { RootProps } from '
|
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 '
|
3
|
-
import type { Filter, RootProps } from '
|
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 '
|
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 '
|
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,4 +1,4 @@
|
|
1
|
-
import type { SelectProps } from '
|
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("
|
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("
|
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 '
|
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 '
|
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 '
|
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,
|
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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextArea.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tokens.ts"],"names":[],"mappings":"
|
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":"
|
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 '
|
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,
|
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":"
|
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,
|
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 '
|
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"}
|