@sprinklrjs/spaceweb 14.13.2 → 14.14.1
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/a11y/accessibilityIsolation.d.ts +5 -0
- package/a11y/accessibilityIsolation.js +12 -0
- package/asyncSelect/hooks/useAsyncSelect.d.ts +54 -0
- package/asyncSelect/hooks/useGroupedAsyncSelect.d.ts +54 -0
- package/banner/banner.js +4 -4
- package/baseui/modal/modal.d.ts +4 -0
- package/baseui/modal/modal.js +24 -2
- package/baseui/select/default-props.d.ts +1 -0
- package/baseui/select/default-props.js +2 -0
- package/baseui/select/select-component.d.ts +4 -0
- package/baseui/select/select-component.js +14 -3
- package/baseui/select/stateful-select.d.ts +1 -0
- package/baseui/select/types.d.ts +5 -0
- package/esm/a11y/accessibilityIsolation.d.ts +5 -0
- package/esm/a11y/accessibilityIsolation.js +8 -0
- package/esm/asyncSelect/hooks/useAsyncSelect.d.ts +54 -0
- package/esm/asyncSelect/hooks/useGroupedAsyncSelect.d.ts +54 -0
- package/esm/banner/banner.js +3 -3
- package/esm/baseui/modal/modal.d.ts +4 -0
- package/esm/baseui/modal/modal.js +24 -2
- package/esm/baseui/select/default-props.d.ts +1 -0
- package/esm/baseui/select/default-props.js +2 -0
- package/esm/baseui/select/select-component.d.ts +4 -0
- package/esm/baseui/select/select-component.js +12 -2
- package/esm/baseui/select/stateful-select.d.ts +1 -0
- package/esm/baseui/select/types.d.ts +5 -0
- package/esm/form-control/form-control.js +3 -3
- package/esm/icon/components/{alert-solid.d.ts → error-solid.d.ts} +1 -1
- package/esm/icon/components/error-solid.js +8 -0
- package/{icon/components/alert-solid.d.ts → esm/icon/components/warning-clr.d.ts} +1 -1
- package/esm/icon/components/warning-clr.js +8 -0
- package/esm/menu/menu-item.js +2 -2
- package/esm/modal/modal.d.ts +3 -3
- package/esm/modal/modal.js +3 -3
- package/esm/progressSteps/step.js +2 -2
- package/esm/select/index.d.ts +1 -1
- package/esm/select/index.js +1 -1
- package/esm/select/multi-value.d.ts +1 -0
- package/esm/select/multi-value.js +4 -3
- package/esm/select/selectMenuAdapter/CollapsibleSelectMenu.js +28 -7
- package/esm/select/selectMenuAdapter/SelectMenuItem.d.ts +1 -1
- package/esm/select/selectMenuAdapter/SelectMenuItem.js +13 -6
- package/esm/select/selectMenuAdapter/hooks/useRootSelectAllKeyboardNav.d.ts +22 -0
- package/esm/select/selectMenuAdapter/hooks/useRootSelectAllKeyboardNav.js +113 -0
- package/esm/select/types.d.ts +1 -0
- package/esm/snackbar/constants.js +3 -3
- package/esm/time-range-picker/RangeSelectorContainer.js +2 -4
- package/form-control/form-control.js +4 -4
- package/{esm/icon/components/alert.d.ts → icon/components/error-solid.d.ts} +1 -1
- package/icon/components/{alert-solid.js → error-solid.js} +3 -3
- package/{esm/icon/components/error.d.ts → icon/components/warning-clr.d.ts} +1 -1
- package/icon/components/warning-clr.js +11 -0
- package/menu/menu-item.js +2 -2
- package/modal/modal.d.ts +3 -3
- package/modal/modal.js +4 -4
- package/package.json +3 -2
- package/progressSteps/step.js +2 -2
- package/select/index.d.ts +1 -1
- package/select/index.js +2 -1
- package/select/multi-value.d.ts +1 -0
- package/select/multi-value.js +4 -3
- package/select/selectMenuAdapter/CollapsibleSelectMenu.js +27 -6
- package/select/selectMenuAdapter/SelectMenuItem.d.ts +1 -1
- package/select/selectMenuAdapter/SelectMenuItem.js +13 -6
- package/select/selectMenuAdapter/hooks/useRootSelectAllKeyboardNav.d.ts +22 -0
- package/select/selectMenuAdapter/hooks/useRootSelectAllKeyboardNav.js +117 -0
- package/select/types.d.ts +1 -0
- package/snackbar/constants.js +4 -4
- package/time-range-picker/RangeSelectorContainer.js +3 -5
- package/tsconfig.build.tsbuildinfo +1 -1
- package/esm/icon/components/alert-solid.js +0 -8
- package/esm/icon/components/alert.js +0 -8
- package/esm/icon/components/error-clr.d.ts +0 -3
- package/esm/icon/components/error-clr.js +0 -8
- package/esm/icon/components/error.js +0 -8
- package/esm/icon/components/warning-solid.d.ts +0 -3
- package/esm/icon/components/warning-solid.js +0 -8
- package/icon/components/alert.d.ts +0 -3
- package/icon/components/alert.js +0 -11
- package/icon/components/error-clr.d.ts +0 -3
- package/icon/components/error-clr.js +0 -11
- package/icon/components/error.d.ts +0 -3
- package/icon/components/error.js +0 -11
- package/icon/components/warning-solid.d.ts +0 -3
- package/icon/components/warning-solid.js +0 -11
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useStyle } from '../../style';
|
|
4
|
-
import Icon from '../icon';
|
|
5
|
-
export default function AlertSolid(props) {
|
|
6
|
-
var _a = useStyle(), theme = _a.theme, isRTL = _a.isRTL;
|
|
7
|
-
return (_jsx(Icon, __assign({ viewBox: "0 0 14 14", "data-icon-name": "AlertSolid" }, props, { children: _jsx("path", { d: "M7.063.012a6.994 6.994 0 1 0 6.994 6.994A6.996 6.996 0 0 0 7.063.012zm0 7.693a.701.701 0 0 1-.7-.699V4.21a.701.701 0 0 1 .7-.7.701.701 0 0 1 .7.7v2.797a.701.701 0 0 1-.7.7zm0 2.798a.701.701 0 0 1-.7-.7.701.701 0 0 1 .7-.699.701.701 0 0 1 .7.7.701.701 0 0 1-.7.699z" }) })));
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useStyle } from '../../style';
|
|
4
|
-
import Icon from '../icon';
|
|
5
|
-
export default function Alert(props) {
|
|
6
|
-
var _a = useStyle(), theme = _a.theme, isRTL = _a.isRTL;
|
|
7
|
-
return (_jsxs(Icon, __assign({ viewBox: "0 0 12 12", "data-icon-name": "Alert" }, props, { children: [_jsx("path", { d: "M5.904 6.5a.5.5 0 0 1-.5-.5V3.25a.5.5 0 1 1 1 0V6a.5.5 0 0 1-.5.5z" }), _jsx("circle", { cx: "5.904", cy: "8.161", r: ".589" }), _jsx("path", { d: "M6 12c-3.308 0-6-2.69-6-6s2.692-6 6-6 6 2.692 6 6-2.691 6-6 6zM6 1C3.244 1 1 3.243 1 6s2.244 5 5 5 5-2.243 5-5-2.243-5-5-5z" })] })));
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useStyle } from '../../style';
|
|
4
|
-
import Icon from '../icon';
|
|
5
|
-
export default function ErrorClr(props) {
|
|
6
|
-
var _a = useStyle(), theme = _a.theme, isRTL = _a.isRTL;
|
|
7
|
-
return (_jsxs(Icon, __assign({ viewBox: "0 0 14 14", "data-icon-name": "ErrorClr" }, props, { children: [_jsx("path", { fill: theme.spr.supportError, d: "M6.304 1.636c.385-.63 1.008-.63 1.391-.002l2.147 3.52 3.987 6.541c.385.63.097 1.142-.64 1.142H.81c-.737 0-1.024-.51-.639-1.142l6.133-10.06z" }), _jsx("path", { fill: "#FFF", d: "M6.69 9.895h.843v.841H6.69zm0-4.624h.843v3.783H6.69z" })] })));
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useStyle } from '../../style';
|
|
4
|
-
import Icon from '../icon';
|
|
5
|
-
export default function Error(props) {
|
|
6
|
-
var _a = useStyle(), theme = _a.theme, isRTL = _a.isRTL;
|
|
7
|
-
return (_jsxs(Icon, __assign({ viewBox: "0 0 14 11.98", "data-icon-name": "Error" }, props, { children: [_jsx("path", { d: "M13.78 9.73L8.26.7a1.48 1.48 0 00-2.53 0L.22 9.73a1.48 1.48 0 001.26 2.25h11.04a1.48 1.48 0 001.26-2.25zm-1 1.2a.5.5 0 01-.26.06H1.48a.5.5 0 01-.42-.75l5.52-9.02A.5.5 0 017 1a.49.49 0 01.26.07.48.48 0 01.16.16l5.52 9.02a.5.5 0 01-.16.68z" }), _jsx("path", { d: "M7 7.6a.44.44 0 00.48-.37V4.55A.44.44 0 007 4.17a.44.44 0 00-.48.38v2.68A.44.44 0 007 7.6zM7 8.63a.72.72 0 10.72.72.72.72 0 00-.72-.72z" })] })));
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useStyle } from '../../style';
|
|
4
|
-
import Icon from '../icon';
|
|
5
|
-
export default function WarningSolid(props) {
|
|
6
|
-
var _a = useStyle(), theme = _a.theme, isRTL = _a.isRTL;
|
|
7
|
-
return (_jsxs(Icon, __assign({ viewBox: "0 0 16 16", "data-icon-name": "WarningSolid" }, props, { children: [_jsx("path", { fillRule: "evenodd", d: "M16 13.518c0 .96-.778 1.738-1.738 1.738H1.738a1.738 1.738 0 0 1-1.515-2.59L6.405 1.677l.064-.105a1.83 1.83 0 0 1 3.126.105l6.182 10.99.052.098c.112.235.171.492.171.753", clipRule: "evenodd" }), _jsx("path", { fill: "currentColor", d: "M8 .744c.661 0 1.271.357 1.596.934l6.181 10.988.051.1a1.738 1.738 0 0 1-1.565 2.49H1.737a1.738 1.738 0 0 1-1.514-2.59L6.405 1.678l.064-.106A1.83 1.83 0 0 1 8 .744m0 1a.83.83 0 0 0-.694.376l-.03.048-6.181 10.988a.738.738 0 0 0 .643 1.1h12.525a.738.738 0 0 0 .664-1.058l-.022-.042L8.724 2.168A.83.83 0 0 0 8 1.744" }), _jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M8 9.99a.75.75 0 0 1-.75-.75V5.868a.75.75 0 0 1 1.5 0V9.24a.75.75 0 0 1-.75.75m-.75 1.88a.75.75 0 1 0 1.5-.007.75.75 0 1 0-1.5.007", clipRule: "evenodd" })] })));
|
|
8
|
-
}
|
package/icon/components/alert.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
var style_1 = require("../../style");
|
|
6
|
-
var icon_1 = tslib_1.__importDefault(require("../icon"));
|
|
7
|
-
function Alert(props) {
|
|
8
|
-
var _a = (0, style_1.useStyle)(), theme = _a.theme, isRTL = _a.isRTL;
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)(icon_1.default, tslib_1.__assign({ viewBox: "0 0 12 12", "data-icon-name": "Alert" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M5.904 6.5a.5.5 0 0 1-.5-.5V3.25a.5.5 0 1 1 1 0V6a.5.5 0 0 1-.5.5z" }), (0, jsx_runtime_1.jsx)("circle", { cx: "5.904", cy: "8.161", r: ".589" }), (0, jsx_runtime_1.jsx)("path", { d: "M6 12c-3.308 0-6-2.69-6-6s2.692-6 6-6 6 2.692 6 6-2.691 6-6 6zM6 1C3.244 1 1 3.243 1 6s2.244 5 5 5 5-2.243 5-5-2.243-5-5-5z" })] })));
|
|
10
|
-
}
|
|
11
|
-
exports.default = Alert;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
var style_1 = require("../../style");
|
|
6
|
-
var icon_1 = tslib_1.__importDefault(require("../icon"));
|
|
7
|
-
function ErrorClr(props) {
|
|
8
|
-
var _a = (0, style_1.useStyle)(), theme = _a.theme, isRTL = _a.isRTL;
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)(icon_1.default, tslib_1.__assign({ viewBox: "0 0 14 14", "data-icon-name": "ErrorClr" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { fill: theme.spr.supportError, d: "M6.304 1.636c.385-.63 1.008-.63 1.391-.002l2.147 3.52 3.987 6.541c.385.63.097 1.142-.64 1.142H.81c-.737 0-1.024-.51-.639-1.142l6.133-10.06z" }), (0, jsx_runtime_1.jsx)("path", { fill: "#FFF", d: "M6.69 9.895h.843v.841H6.69zm0-4.624h.843v3.783H6.69z" })] })));
|
|
10
|
-
}
|
|
11
|
-
exports.default = ErrorClr;
|
package/icon/components/error.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
var style_1 = require("../../style");
|
|
6
|
-
var icon_1 = tslib_1.__importDefault(require("../icon"));
|
|
7
|
-
function Error(props) {
|
|
8
|
-
var _a = (0, style_1.useStyle)(), theme = _a.theme, isRTL = _a.isRTL;
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)(icon_1.default, tslib_1.__assign({ viewBox: "0 0 14 11.98", "data-icon-name": "Error" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M13.78 9.73L8.26.7a1.48 1.48 0 00-2.53 0L.22 9.73a1.48 1.48 0 001.26 2.25h11.04a1.48 1.48 0 001.26-2.25zm-1 1.2a.5.5 0 01-.26.06H1.48a.5.5 0 01-.42-.75l5.52-9.02A.5.5 0 017 1a.49.49 0 01.26.07.48.48 0 01.16.16l5.52 9.02a.5.5 0 01-.16.68z" }), (0, jsx_runtime_1.jsx)("path", { d: "M7 7.6a.44.44 0 00.48-.37V4.55A.44.44 0 007 4.17a.44.44 0 00-.48.38v2.68A.44.44 0 007 7.6zM7 8.63a.72.72 0 10.72.72.72.72 0 00-.72-.72z" })] })));
|
|
10
|
-
}
|
|
11
|
-
exports.default = Error;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
var style_1 = require("../../style");
|
|
6
|
-
var icon_1 = tslib_1.__importDefault(require("../icon"));
|
|
7
|
-
function WarningSolid(props) {
|
|
8
|
-
var _a = (0, style_1.useStyle)(), theme = _a.theme, isRTL = _a.isRTL;
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)(icon_1.default, tslib_1.__assign({ viewBox: "0 0 16 16", "data-icon-name": "WarningSolid" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M16 13.518c0 .96-.778 1.738-1.738 1.738H1.738a1.738 1.738 0 0 1-1.515-2.59L6.405 1.677l.064-.105a1.83 1.83 0 0 1 3.126.105l6.182 10.99.052.098c.112.235.171.492.171.753", clipRule: "evenodd" }), (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M8 .744c.661 0 1.271.357 1.596.934l6.181 10.988.051.1a1.738 1.738 0 0 1-1.565 2.49H1.737a1.738 1.738 0 0 1-1.514-2.59L6.405 1.678l.064-.106A1.83 1.83 0 0 1 8 .744m0 1a.83.83 0 0 0-.694.376l-.03.048-6.181 10.988a.738.738 0 0 0 .643 1.1h12.525a.738.738 0 0 0 .664-1.058l-.022-.042L8.724 2.168A.83.83 0 0 0 8 1.744" }), (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", fillRule: "evenodd", d: "M8 9.99a.75.75 0 0 1-.75-.75V5.868a.75.75 0 0 1 1.5 0V9.24a.75.75 0 0 1-.75.75m-.75 1.88a.75.75 0 1 0 1.5-.007.75.75 0 1 0-1.5.007", clipRule: "evenodd" })] })));
|
|
10
|
-
}
|
|
11
|
-
exports.default = WarningSolid;
|