intergalactic 15.127.0 → 15.128.0-prerelease.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/CHANGELOG.md +29 -0
- package/add-filter/package.json +1 -1
- package/bulk-textarea/BulkTextarea.d.ts +1 -1
- package/bulk-textarea/BulkTextarea.types.d.ts +23 -21
- package/bulk-textarea/components/InputField/InputField.d.ts +4 -4
- package/bulk-textarea/components/InputField/InputField.types.d.ts +4 -4
- package/bulk-textarea/lib/cjs/BulkTextarea.js +10 -8
- package/bulk-textarea/lib/cjs/BulkTextarea.js.map +1 -1
- package/bulk-textarea/lib/cjs/BulkTextarea.types.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js +39 -26
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.types.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/inputField.shadow.css +17 -7
- package/bulk-textarea/lib/es6/BulkTextarea.js +10 -8
- package/bulk-textarea/lib/es6/BulkTextarea.js.map +1 -1
- package/bulk-textarea/lib/es6/BulkTextarea.types.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/InputField.js +39 -26
- package/bulk-textarea/lib/es6/components/InputField/InputField.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/InputField.types.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/inputField.shadow.css +17 -7
- package/bulk-textarea/lib/esm/BulkTextarea.mjs +53 -50
- package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +273 -259
- package/bulk-textarea/lib/types/BulkTextarea.d.ts +1 -1
- package/bulk-textarea/lib/types/BulkTextarea.types.d.ts +23 -21
- package/bulk-textarea/lib/types/components/InputField/InputField.d.ts +4 -4
- package/bulk-textarea/lib/types/components/InputField/InputField.types.d.ts +4 -4
- package/bulk-textarea/package.json +1 -1
- package/components.json +14 -14
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- package/errors/lib/esm/Error.mjs +40 -40
- package/errors/package.json +1 -1
- package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
- package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +10 -4
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js.map +1 -1
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +18 -14
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js.map +1 -1
- package/feedback-form/lib/cjs/style/slider-rating.shadow.css +1 -3
- package/feedback-form/lib/es6/FeedbackForm.js +7 -7
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +10 -4
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js.map +1 -1
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +18 -14
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js.map +1 -1
- package/feedback-form/lib/es6/style/slider-rating.shadow.css +1 -3
- package/feedback-form/lib/esm/FeedbackForm.mjs +39 -39
- package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +13 -13
- package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +85 -81
- package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +83 -79
- package/feedback-form/package.json +1 -1
- package/illustration/lib/cjs/index.js +1 -1
- package/illustration/lib/es6/index.js +1 -1
- package/illustration/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/lib/esm/Modal.mjs +73 -73
- package/modal/package.json +1 -1
- package/outside-click/lib/cjs/OutsideClick.js +14 -7
- package/outside-click/lib/cjs/OutsideClick.js.map +1 -1
- package/outside-click/lib/es6/OutsideClick.js +14 -7
- package/outside-click/lib/es6/OutsideClick.js.map +1 -1
- package/outside-click/lib/esm/OutsideClick.mjs +39 -35
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- package/popper/lib/esm/Popper.mjs +25 -25
- package/popper/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +15 -19
- package/select/lib/cjs/InputSearch.js.map +1 -1
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +15 -19
- package/select/lib/es6/InputSearch.js.map +1 -1
- package/select/lib/es6/Select.js +8 -8
- package/select/lib/esm/InputSearch.mjs +63 -65
- package/select/lib/esm/Select.mjs +122 -122
- package/select/package.json +1 -1
- package/side-panel/lib/cjs/SidePanel.js +16 -16
- package/side-panel/lib/es6/SidePanel.js +16 -16
- package/side-panel/lib/esm/SidePanel.mjs +77 -77
- package/side-panel/package.json +1 -1
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/time-picker/lib/esm/TimePicker.mjs +38 -38
- package/time-picker/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/tooltip/lib/esm/Tooltip.mjs +103 -103
- package/tooltip/package.json +1 -1
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- package/widget-empty/lib/esm/WidgetEmpty.mjs +32 -32
- package/widget-empty/package.json +1 -1
- package/wizard/lib/cjs/Wizard.js +12 -12
- package/wizard/lib/es6/Wizard.js +12 -12
- package/wizard/lib/esm/Wizard.mjs +103 -103
- package/wizard/package.json +1 -1
package/select/lib/es6/Select.js
CHANGED
@@ -34,14 +34,14 @@ import { selectContext } from './context';
|
|
34
34
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
35
35
|
import { isInputTriggerTag } from 'intergalactic/popper';
|
36
36
|
/*__reshadow-styles__:"./style/select.shadow.css"*/
|
37
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
38
|
-
"__SOptionCheckbox": "
|
39
|
-
"_selected": "
|
40
|
-
"_size_l": "
|
41
|
-
"_indeterminate": "
|
42
|
-
"_theme": "
|
43
|
-
"--theme": "--
|
44
|
-
"_size_m": "
|
37
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SOptionCheckbox_ar3o7_gg_{margin-top:var(--intergalactic-spacing-05x, 2px);margin-right:var(--intergalactic-spacing-2x, 8px);margin-bottom:auto;position:relative;flex-shrink:0;width:16px;height:16px}.___SOptionCheckbox_ar3o7_gg_::before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;background:var(--intergalactic-bg-primary-neutral, #ffffff);border:1px solid;border-radius:var(--intergalactic-addon-rounded, 4px);border-color:var(--intergalactic-border-primary, #c4c7cf)}.___SOptionCheckbox_ar3o7_gg_::after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;margin:0 var(--intergalactic-spacing-05x, 2px);background-repeat:no-repeat;background-position:center center}.___SOptionCheckbox_ar3o7_gg_.__selected_ar3o7_gg_::after{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDEwIDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04LjI1IDFMNCA1LjI1TDEuNzUgMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==)}.___SOptionCheckbox_ar3o7_gg_._size_l_ar3o7_gg_{width:20px;height:20px}.___SOptionCheckbox_ar3o7_gg_._size_l_ar3o7_gg_.__selected_ar3o7_gg_::after{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMSAxLjVMNC43NSA3Ljc1TDEgNCIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==)}.___SOptionCheckbox_ar3o7_gg_.__indeterminate_ar3o7_gg_:before,.___SOptionCheckbox_ar3o7_gg_.__selected_ar3o7_gg_:before{background-color:var(--intergalactic-control-primary-info, #008ff8);border-color:var(--intergalactic-control-primary-info, #008ff8)}.___SOptionCheckbox_ar3o7_gg_.__theme_ar3o7_gg_:before{border-color:var(--theme_ar3o7)}.___SOptionCheckbox_ar3o7_gg_.__theme_ar3o7_gg_.__indeterminate_ar3o7_gg_:before,.___SOptionCheckbox_ar3o7_gg_.__theme_ar3o7_gg_.__selected_ar3o7_gg_:before{background-color:var(--theme_ar3o7);border-color:var(--theme_ar3o7)}.___SOptionCheckbox_ar3o7_gg_.__selected_ar3o7_gg_{background-color:var(--intergalactic-dropdown-menu-item-selected, rgba(196, 229, 254, 0.7))}@media (hover:hover){.___SOptionCheckbox_ar3o7_gg_.__selected_ar3o7_gg_:hover{background-color:var(--intergalactic-dropdown-menu-item-selected-hover, #c4e5fe)}}.___SOptionCheckbox_ar3o7_gg_.__indeterminate_ar3o7_gg_:after{background-color:#fff;background-image:none;margin:auto;border-radius:1px}.___SOptionCheckbox_ar3o7_gg_.__indeterminate_ar3o7_gg_._size_l_ar3o7_gg_:after{width:12px;height:2px}.___SOptionCheckbox_ar3o7_gg_.__indeterminate_ar3o7_gg_._size_m_ar3o7_gg_:after{width:8px;height:2px}" /*__inner_css_end__*/, "ar3o7_gg_") /*__reshadow_css_end__*/, {
|
38
|
+
"__SOptionCheckbox": "___SOptionCheckbox_ar3o7_gg_",
|
39
|
+
"_selected": "__selected_ar3o7_gg_",
|
40
|
+
"_size_l": "_size_l_ar3o7_gg_",
|
41
|
+
"_indeterminate": "__indeterminate_ar3o7_gg_",
|
42
|
+
"_theme": "__theme_ar3o7_gg_",
|
43
|
+
"--theme": "--theme_ar3o7",
|
44
|
+
"_size_m": "_size_m_ar3o7_gg_"
|
45
45
|
});
|
46
46
|
import { callAllEventHandlers } from 'intergalactic/utils/lib/assignProps';
|
47
47
|
import { isAdvanceMode } from 'intergalactic/utils/lib/findComponent';
|
@@ -1,46 +1,46 @@
|
|
1
1
|
import _ from "@babel/runtime/helpers/esm/objectSpread2";
|
2
2
|
import x from "@babel/runtime/helpers/esm/classCallCheck";
|
3
3
|
import P from "@babel/runtime/helpers/esm/createClass";
|
4
|
-
import
|
4
|
+
import d from "@babel/runtime/helpers/esm/assertThisInitialized";
|
5
5
|
import V from "@babel/runtime/helpers/esm/inherits";
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import { sstyled as
|
9
|
-
import
|
10
|
-
import
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import
|
14
|
-
import { ButtonLink as
|
15
|
-
import { selectContext as
|
16
|
-
import
|
17
|
-
import { localizedMessages as
|
18
|
-
var
|
6
|
+
import j from "@babel/runtime/helpers/esm/createSuper";
|
7
|
+
import i from "@babel/runtime/helpers/esm/defineProperty";
|
8
|
+
import { sstyled as E } from 'intergalactic/utils/lib/core/index';
|
9
|
+
import z, { sstyled as h, assignProps as p, Component as b } from 'intergalactic/core';
|
10
|
+
import a from "react";
|
11
|
+
import R from 'intergalactic/icon/Search/m';
|
12
|
+
import T from 'intergalactic/icon/Close/m';
|
13
|
+
import S from 'intergalactic/input';
|
14
|
+
import { ButtonLink as k } from 'intergalactic/button';
|
15
|
+
import { selectContext as M } from "./context.mjs";
|
16
|
+
import O from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
17
|
+
import { localizedMessages as v } from "./translations/__intergalactic-dynamic-locales.mjs";
|
18
|
+
var w = (
|
19
19
|
/*__reshadow_css_start__*/
|
20
|
-
(
|
20
|
+
(E.insert(
|
21
21
|
/*__inner_css_start__*/
|
22
|
-
".
|
23
|
-
"
|
22
|
+
".___SInputSearch_1tr1j_gg_._size_m_1tr1j_gg_{height:32px}.___SSearchClear_1tr1j_gg_{padding:0 var(--intergalactic-spacing-2x, 8px)}.___SSearchClear_1tr1j_gg_.__hide_1tr1j_gg_{visibility:hidden}.___SOutline_1tr1j_gg_{top:-1px;left:-1px;width:100%;border-radius:var(--intergalactic-control-rounded, 6px) var(--intergalactic-control-rounded, 6px)0 0;box-sizing:content-box}",
|
23
|
+
"1tr1j_gg_"
|
24
24
|
), {
|
25
|
-
__SInputSearch: "
|
26
|
-
_size_m: "
|
27
|
-
__SSearchClear: "
|
28
|
-
_hide: "
|
29
|
-
__SOutline: "
|
25
|
+
__SInputSearch: "___SInputSearch_1tr1j_gg_",
|
26
|
+
_size_m: "_size_m_1tr1j_gg_",
|
27
|
+
__SSearchClear: "___SSearchClear_1tr1j_gg_",
|
28
|
+
_hide: "__hide_1tr1j_gg_",
|
29
|
+
__SOutline: "___SOutline_1tr1j_gg_"
|
30
30
|
})
|
31
|
-
),
|
31
|
+
), s = /* @__PURE__ */ function(u) {
|
32
32
|
V(n, u);
|
33
|
-
var
|
33
|
+
var l = j(n);
|
34
34
|
function n() {
|
35
35
|
var e;
|
36
36
|
x(this, n);
|
37
|
-
for (var
|
38
|
-
|
39
|
-
return e =
|
40
|
-
e.handlers.value("",
|
37
|
+
for (var r = arguments.length, t = new Array(r), o = 0; o < r; o++)
|
38
|
+
t[o] = arguments[o];
|
39
|
+
return e = l.call.apply(l, [this].concat(t)), i(d(e), "inputRef", /* @__PURE__ */ a.createRef()), i(d(e), "closeIconRef", /* @__PURE__ */ a.createRef()), i(d(e), "handleClear", function(m) {
|
40
|
+
e.handlers.value("", m), setTimeout(function() {
|
41
41
|
if (document.activeElement === document.body || document.activeElement === e.closeIconRef.current) {
|
42
|
-
var
|
43
|
-
(
|
42
|
+
var c;
|
43
|
+
(c = e.inputRef.current) === null || c === void 0 || c.focus();
|
44
44
|
}
|
45
45
|
}, 0);
|
46
46
|
}), e;
|
@@ -55,66 +55,64 @@ var A = (
|
|
55
55
|
}, {
|
56
56
|
key: "getValueProps",
|
57
57
|
value: function() {
|
58
|
-
var
|
58
|
+
var r = this.asProps.getI18nText;
|
59
59
|
return {
|
60
|
-
value: r,
|
61
|
-
onChange: this.handlers.value,
|
62
60
|
autoFocus: !0,
|
63
61
|
ref: this.inputRef,
|
64
|
-
placeholder:
|
65
|
-
"aria-label":
|
62
|
+
placeholder: r("Select.InputSearch.Value:placeholder"),
|
63
|
+
"aria-label": r("Select.InputSearch.Value:aria-label")
|
66
64
|
};
|
67
65
|
}
|
68
66
|
}, {
|
69
67
|
key: "getClearProps",
|
70
68
|
value: function() {
|
71
|
-
var
|
69
|
+
var r = this.asProps, t = r.value, o = r.getI18nText;
|
72
70
|
return {
|
73
71
|
ref: this.closeIconRef,
|
74
72
|
/* hide through css because the width of the input changes */
|
75
|
-
hide: !
|
76
|
-
"aria-hidden": !
|
77
|
-
"aria-label":
|
73
|
+
hide: !t,
|
74
|
+
"aria-hidden": !t,
|
75
|
+
"aria-label": o("clearSearch"),
|
78
76
|
onClick: this.handleClear
|
79
77
|
};
|
80
78
|
}
|
81
79
|
}, {
|
82
80
|
key: "render",
|
83
81
|
value: function() {
|
84
|
-
var
|
85
|
-
return
|
82
|
+
var r = this.asProps, t, o = f.Value, m = S, c = this.asProps, C = c.size, g = c.styles, I = c.children, y = c.Children;
|
83
|
+
return t = h(g), /* @__PURE__ */ a.createElement(m, t.cn("SInputSearch", {
|
86
84
|
size: C || this.context.size || "m",
|
87
|
-
styles:
|
88
|
-
}), I ? /* @__PURE__ */
|
85
|
+
styles: g
|
86
|
+
}), I ? /* @__PURE__ */ a.createElement(y, t.cn("Children", {})) : /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(f.SearchIcon, null), /* @__PURE__ */ a.createElement(o, t.cn("Value", _({}, p({}, r)))), /* @__PURE__ */ a.createElement(f.Clear, null)));
|
89
87
|
}
|
90
88
|
}]), n;
|
91
|
-
}(
|
92
|
-
s
|
93
|
-
s
|
94
|
-
s
|
95
|
-
s
|
89
|
+
}(b);
|
90
|
+
i(s, "displayName", "InputSearch");
|
91
|
+
i(s, "style", w);
|
92
|
+
i(s, "enhance", [O(v)]);
|
93
|
+
i(s, "defaultProps", {
|
96
94
|
defaultValue: "",
|
97
|
-
i18n:
|
95
|
+
i18n: v,
|
98
96
|
locale: "en"
|
99
97
|
});
|
100
|
-
s
|
101
|
-
var
|
102
|
-
var n = arguments[0], e,
|
103
|
-
return e =
|
104
|
-
},
|
105
|
-
var n = arguments[0], e,
|
106
|
-
return e =
|
107
|
-
},
|
108
|
-
var n = arguments[0], e,
|
109
|
-
return e =
|
110
|
-
addonLeft:
|
98
|
+
i(s, "contextType", M);
|
99
|
+
var A = function(l) {
|
100
|
+
var n = arguments[0], e, r = S.Addon, t = l.styles;
|
101
|
+
return e = h(t), /* @__PURE__ */ a.createElement(r, e.cn("SSearchIcon", _({}, p({}, n))), /* @__PURE__ */ a.createElement(R, e.cn("SearchM", {})));
|
102
|
+
}, F = function(l) {
|
103
|
+
var n = arguments[0], e, r = S.Value, t = l.styles;
|
104
|
+
return e = h(t), /* @__PURE__ */ a.createElement(r, e.cn("SSearchValue", _({}, p({}, n))));
|
105
|
+
}, L = function(l) {
|
106
|
+
var n = arguments[0], e, r = k, t = l.styles;
|
107
|
+
return e = h(t), /* @__PURE__ */ a.createElement(r, e.cn("SSearchClear", _({}, p({
|
108
|
+
addonLeft: T,
|
111
109
|
use: "secondary"
|
112
110
|
}, n))));
|
113
|
-
},
|
114
|
-
SearchIcon:
|
115
|
-
Value:
|
116
|
-
Clear:
|
111
|
+
}, f = z(s, {
|
112
|
+
SearchIcon: A,
|
113
|
+
Value: F,
|
114
|
+
Clear: L
|
117
115
|
});
|
118
116
|
export {
|
119
|
-
|
117
|
+
f as default
|
120
118
|
};
|