@semcore/icon 4.1.0 → 4.3.0-beta.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 +12 -0
- package/GoogleGenerativeAI/l/index.d.ts +6 -0
- package/GoogleGenerativeAI/l/index.js +38 -0
- package/GoogleGenerativeAI/l/index.mjs +26 -0
- package/GoogleGenerativeAI/m/index.d.ts +6 -0
- package/GoogleGenerativeAI/m/index.js +38 -0
- package/GoogleGenerativeAI/m/index.mjs +26 -0
- package/lib/cjs/Icon.js +7 -7
- package/lib/cjs/Icon.js.map +1 -1
- package/lib/es6/Icon.js +7 -7
- package/lib/es6/Icon.js.map +1 -1
- package/package.json +5 -5
- package/svg/icon/GoogleGenerativeAI/l.svg +3 -0
- package/svg/icon/GoogleGenerativeAI/m.svg +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [4.3.0-beta.0] - 2023-08-07
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version preminor update due to children dependencies update (`@semcore/flex-box` [5.1.0 ~> 5.2.0], `@semcore/utils` [4.0.0 ~> 4.1.0]).
|
|
10
|
+
|
|
11
|
+
## [4.2.0] - 2023-08-01
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Added new `GoogleGenerativeAI` icon.
|
|
16
|
+
|
|
5
17
|
## [4.1.0] - 2023-07-27
|
|
6
18
|
|
|
7
19
|
### Changed
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _core = require("@semcore/core");
|
|
12
|
+
var _icon = _interopRequireDefault(require("@semcore/icon"));
|
|
13
|
+
var _excluded = ["width", "height", "viewBox"];
|
|
14
|
+
function GoogleGenerativeAI(_ref, ref) {
|
|
15
|
+
var _ref$width = _ref.width,
|
|
16
|
+
width = _ref$width === void 0 ? '24' : _ref$width,
|
|
17
|
+
_ref$height = _ref.height,
|
|
18
|
+
height = _ref$height === void 0 ? '24' : _ref$height,
|
|
19
|
+
_ref$viewBox = _ref.viewBox,
|
|
20
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 24 24' : _ref$viewBox,
|
|
21
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
22
|
+
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
23
|
+
ref: ref,
|
|
24
|
+
"data-name": "GoogleGenerativeAI",
|
|
25
|
+
"data-group": "l",
|
|
26
|
+
width: width,
|
|
27
|
+
height: height,
|
|
28
|
+
viewBox: viewBox
|
|
29
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
30
|
+
fillRule: "evenodd",
|
|
31
|
+
d: "M22 12.048c0-2.718-2.284-4.979-5.002-4.952C17.077 4.345 14.803 2 12.048 2c-2.756 0-5.03 2.346-4.95 5.098C4.346 7.018 2 9.292 2 12.048c0 2.755 2.345 5.029 5.096 4.95C7.07 19.716 9.33 22 12.048 22s4.978-2.283 4.952-5c2.717.026 5-2.234 5-4.952ZM5.318 12A8.713 8.713 0 0 0 12 5.318 8.713 8.713 0 0 0 18.682 12 8.713 8.713 0 0 0 12 18.682 8.713 8.713 0 0 0 5.318 12Z",
|
|
32
|
+
clipRule: "evenodd",
|
|
33
|
+
shapeRendering: "geometricPrecision"
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
GoogleGenerativeAI.displayName = 'GoogleGenerativeAI';
|
|
37
|
+
var _default = (0, _core.createBaseComponent)(GoogleGenerativeAI);
|
|
38
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { createBaseComponent } from '@semcore/core';
|
|
4
|
+
import Icon from '@semcore/icon';
|
|
5
|
+
function GoogleGenerativeAI({
|
|
6
|
+
width = '24',
|
|
7
|
+
height = '24',
|
|
8
|
+
viewBox = '0 0 24 24',
|
|
9
|
+
...props
|
|
10
|
+
}, ref) {
|
|
11
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
ref: ref,
|
|
13
|
+
"data-name": "GoogleGenerativeAI",
|
|
14
|
+
"data-group": "l",
|
|
15
|
+
width: width,
|
|
16
|
+
height: height,
|
|
17
|
+
viewBox: viewBox
|
|
18
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
fillRule: "evenodd",
|
|
20
|
+
d: "M22 12.048c0-2.718-2.284-4.979-5.002-4.952C17.077 4.345 14.803 2 12.048 2c-2.756 0-5.03 2.346-4.95 5.098C4.346 7.018 2 9.292 2 12.048c0 2.755 2.345 5.029 5.096 4.95C7.07 19.716 9.33 22 12.048 22s4.978-2.283 4.952-5c2.717.026 5-2.234 5-4.952ZM5.318 12A8.713 8.713 0 0 0 12 5.318 8.713 8.713 0 0 0 18.682 12 8.713 8.713 0 0 0 12 18.682 8.713 8.713 0 0 0 5.318 12Z",
|
|
21
|
+
clipRule: "evenodd",
|
|
22
|
+
shapeRendering: "geometricPrecision"
|
|
23
|
+
}));
|
|
24
|
+
}
|
|
25
|
+
GoogleGenerativeAI.displayName = 'GoogleGenerativeAI';
|
|
26
|
+
export default createBaseComponent(GoogleGenerativeAI);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _core = require("@semcore/core");
|
|
12
|
+
var _icon = _interopRequireDefault(require("@semcore/icon"));
|
|
13
|
+
var _excluded = ["width", "height", "viewBox"];
|
|
14
|
+
function GoogleGenerativeAI(_ref, ref) {
|
|
15
|
+
var _ref$width = _ref.width,
|
|
16
|
+
width = _ref$width === void 0 ? '16' : _ref$width,
|
|
17
|
+
_ref$height = _ref.height,
|
|
18
|
+
height = _ref$height === void 0 ? '16' : _ref$height,
|
|
19
|
+
_ref$viewBox = _ref.viewBox,
|
|
20
|
+
viewBox = _ref$viewBox === void 0 ? '0 0 16 16' : _ref$viewBox,
|
|
21
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
22
|
+
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
23
|
+
ref: ref,
|
|
24
|
+
"data-name": "GoogleGenerativeAI",
|
|
25
|
+
"data-group": "m",
|
|
26
|
+
width: width,
|
|
27
|
+
height: height,
|
|
28
|
+
viewBox: viewBox
|
|
29
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
30
|
+
fillRule: "evenodd",
|
|
31
|
+
d: "M16 8.038c0-2.174-1.828-3.982-4.002-3.96C12.061 1.875 10.243 0 8.038 0c-2.204 0-4.023 1.877-3.96 4.079C1.878 4.015 0 5.834 0 8.039c0 2.204 1.876 4.022 4.077 3.96C4.056 14.171 5.864 16 8.038 16c2.175 0 3.983-1.827 3.962-4 2.173.02 4-1.787 4-3.962ZM2.655 8A6.97 6.97 0 0 0 8 2.655 6.97 6.97 0 0 0 13.345 8 6.97 6.97 0 0 0 8 13.345 6.97 6.97 0 0 0 2.655 8Z",
|
|
32
|
+
clipRule: "evenodd",
|
|
33
|
+
shapeRendering: "geometricPrecision"
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
GoogleGenerativeAI.displayName = 'GoogleGenerativeAI';
|
|
37
|
+
var _default = (0, _core.createBaseComponent)(GoogleGenerativeAI);
|
|
38
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { createBaseComponent } from '@semcore/core';
|
|
4
|
+
import Icon from '@semcore/icon';
|
|
5
|
+
function GoogleGenerativeAI({
|
|
6
|
+
width = '16',
|
|
7
|
+
height = '16',
|
|
8
|
+
viewBox = '0 0 16 16',
|
|
9
|
+
...props
|
|
10
|
+
}, ref) {
|
|
11
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
12
|
+
ref: ref,
|
|
13
|
+
"data-name": "GoogleGenerativeAI",
|
|
14
|
+
"data-group": "m",
|
|
15
|
+
width: width,
|
|
16
|
+
height: height,
|
|
17
|
+
viewBox: viewBox
|
|
18
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
fillRule: "evenodd",
|
|
20
|
+
d: "M16 8.038c0-2.174-1.828-3.982-4.002-3.96C12.061 1.875 10.243 0 8.038 0c-2.204 0-4.023 1.877-3.96 4.079C1.878 4.015 0 5.834 0 8.039c0 2.204 1.876 4.022 4.077 3.96C4.056 14.171 5.864 16 8.038 16c2.175 0 3.983-1.827 3.962-4 2.173.02 4-1.787 4-3.962ZM2.655 8A6.97 6.97 0 0 0 8 2.655 6.97 6.97 0 0 0 13.345 8 6.97 6.97 0 0 0 8 13.345 6.97 6.97 0 0 0 2.655 8Z",
|
|
21
|
+
clipRule: "evenodd",
|
|
22
|
+
shapeRendering: "geometricPrecision"
|
|
23
|
+
}));
|
|
24
|
+
}
|
|
25
|
+
GoogleGenerativeAI.displayName = 'GoogleGenerativeAI';
|
|
26
|
+
export default createBaseComponent(GoogleGenerativeAI);
|
package/lib/cjs/Icon.js
CHANGED
|
@@ -22,12 +22,12 @@ var _ref = require("@semcore/utils/lib/ref");
|
|
|
22
22
|
var _hasLabels = _interopRequireDefault(require("@semcore/utils/lib/hasLabels"));
|
|
23
23
|
var _excluded = ["keyboardFocused"];
|
|
24
24
|
/*__reshadow-styles__:"./style/icon.shadow.css"*/
|
|
25
|
-
var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
26
|
-
"__SIcon": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_keyboardFocused": "
|
|
29
|
-
"_interactive": "
|
|
30
|
-
"--color-interactive": "--color-
|
|
25
|
+
var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SIcon_18ifx_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_18ifx)}.___SIcon_18ifx_gg_.__keyboardFocused_18ifx_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SIcon_18ifx_gg_.__interactive_18ifx_gg_{cursor:pointer}@media (hover:hover){.___SIcon_18ifx_gg_.__interactive_18ifx_gg_:hover{color:var(--color-interactive_18ifx)}}" /*__inner_css_end__*/, "18ifx_gg_") /*__reshadow_css_end__*/, {
|
|
26
|
+
"__SIcon": "___SIcon_18ifx_gg_",
|
|
27
|
+
"--color": "--color_18ifx",
|
|
28
|
+
"_keyboardFocused": "__keyboardFocused_18ifx_gg_",
|
|
29
|
+
"_interactive": "__interactive_18ifx_gg_",
|
|
30
|
+
"--color-interactive": "--color-interactive_18ifx"
|
|
31
31
|
});
|
|
32
32
|
function Icon(props, ref) {
|
|
33
33
|
var _useBox = (0, _flexBox.useBox)((0, _objectSpread2["default"])({
|
|
@@ -71,7 +71,7 @@ function Icon(props, ref) {
|
|
|
71
71
|
_react["default"].useEffect(function () {
|
|
72
72
|
if (!interactive) return;
|
|
73
73
|
if (process.env.NODE_ENV !== 'production') {
|
|
74
|
-
_logger["default"].warn(!(0, _hasLabels["default"])(labelCheckRef.current), "'aria-label' or 'aria-labelledby' are required props for interactive icons", props['data-ui-name'] || Icon.displayName);
|
|
74
|
+
_logger["default"].warn(labelCheckRef.current && !(0, _hasLabels["default"])(labelCheckRef.current), "'aria-label' or 'aria-labelledby' are required props for interactive icons", props['data-ui-name'] || Icon.displayName);
|
|
75
75
|
}
|
|
76
76
|
}, [interactive]);
|
|
77
77
|
var forkedRef = (0, _ref.useForkRef)(ref, labelCheckRef);
|
package/lib/cjs/Icon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","names":["_core","require","_react","_interopRequireDefault","_classnames","_flexBox","_color","_interopRequireWildcard","_keyboardFocusEnhance2","_propsForElement","_logger","_ref","_hasLabels","_excluded","styles","sstyled","insert","Icon","props","ref","_useBox","useBox","_objectSpread2","tag","width","height","viewBox","focusable","interactive","_useBox2","_slicedToArray2","SIcon","other","colorProps","color","resolveColor","_keyboardFocusEnhance","keyboardFocusEnhance","disabled","keyboardFocused","propsEnhance","_objectWithoutProperties2","sstyles","_sstyles$cn","cn","shade","className","style","onKeyDown","event","key","_propsEnhance$onClick","onClick","call","labelCheckRef","React","useRef","useEffect","process","env","NODE_ENV","logger","warn","
|
|
1
|
+
{"version":3,"file":"Icon.js","names":["_core","require","_react","_interopRequireDefault","_classnames","_flexBox","_color","_interopRequireWildcard","_keyboardFocusEnhance2","_propsForElement","_logger","_ref","_hasLabels","_excluded","styles","sstyled","insert","Icon","props","ref","_useBox","useBox","_objectSpread2","tag","width","height","viewBox","focusable","interactive","_useBox2","_slicedToArray2","SIcon","other","colorProps","color","resolveColor","_keyboardFocusEnhance","keyboardFocusEnhance","disabled","keyboardFocused","propsEnhance","_objectWithoutProperties2","sstyles","_sstyles$cn","cn","shade","className","style","onKeyDown","event","key","_propsEnhance$onClick","onClick","call","labelCheckRef","React","useRef","useEffect","process","env","NODE_ENV","logger","warn","current","hasLabels","displayName","forkedRef","useForkRef","createElement","_extends2","role","undefined","propsForElement","Object","assign","_default","createBaseComponent","exports"],"sources":["../../src/Icon.jsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\nimport { createBaseComponent, sstyled } from '@semcore/core';\nimport { useBox } from '@semcore/flex-box';\nimport resolveColor, { shade } from '@semcore/utils/lib/color';\nimport keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\nimport propsForElement from '@semcore/utils/lib/propsForElement';\nimport logger from '@semcore/utils/lib/logger';\nimport { useForkRef } from '@semcore/utils/lib/ref';\nimport hasLabels from '@semcore/utils/lib/hasLabels';\n\nimport styles from './style/icon.shadow.css';\n\nfunction Icon(props, ref) {\n const [SIcon, other] = useBox(\n {\n tag: 'svg',\n 'data-ui-name': 'Icon',\n width: 16,\n height: 16,\n viewBox: '0 0 16 16',\n focusable: props.interactive,\n ...props,\n },\n ref,\n );\n\n const { interactive, color: colorProps } = props;\n const color = resolveColor(colorProps);\n const { keyboardFocused, ...propsEnhance } = keyboardFocusEnhance()({\n disabled: !interactive,\n ...other,\n });\n const sstyles = sstyled(styles);\n const { className, style } = sstyles.cn('SIcon', {\n 'color-interactive': shade(color, -0.12),\n 'use:color': color,\n interactive: interactive,\n keyboardFocused: keyboardFocused,\n });\n\n function onKeyDown(event) {\n if (propsEnhance.onKeyDown) {\n return propsEnhance.onKeyDown(event);\n }\n\n if (interactive && event.key === 'Enter') {\n propsEnhance.onClick?.(event);\n }\n }\n\n const labelCheckRef = React.useRef();\n React.useEffect(() => {\n if (!interactive) return;\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(\n labelCheckRef.current && !hasLabels(labelCheckRef.current),\n `'aria-label' or 'aria-labelledby' are required props for interactive icons`,\n props['data-ui-name'] || Icon.displayName,\n );\n }\n }, [interactive]);\n const forkedRef = useForkRef(ref, labelCheckRef);\n\n return (\n <SIcon\n role={interactive ? 'button' : undefined}\n aria-hidden={interactive ? undefined : 'true'}\n {...propsForElement(propsEnhance)}\n style={Object.assign({}, style, propsEnhance.style)}\n className={cn(className, propsEnhance.className) || undefined}\n onKeyDown={onKeyDown}\n ref={forkedRef}\n />\n );\n}\n\nIcon.displayName = 'Icon';\n\nexport default createBaseComponent(Icon);\n"],"mappings":";;;;;;;;;;;;AAEA,IAAAA,KAAA,GAAAC,OAAA;AAFA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAC,uBAAA,CAAAN,OAAA;AACA,IAAAO,sBAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,gBAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,OAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,IAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAT,sBAAA,CAAAF,OAAA;AAAqD,IAAAY,SAAA;AAAA;AAAA,IAAAC,MAAA,+BAAAd,KAAA,CAAAe,OAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAA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,MAAM;AAAC,IAAAU,QAAA,GAEX,IAAAC,yBAAmB,EAAC3D,IAAI,CAAC;AAAA4D,OAAA,cAAAF,QAAA"}
|
package/lib/es6/Icon.js
CHANGED
|
@@ -15,12 +15,12 @@ import logger from '@semcore/utils/lib/logger';
|
|
|
15
15
|
import { useForkRef } from '@semcore/utils/lib/ref';
|
|
16
16
|
import hasLabels from '@semcore/utils/lib/hasLabels';
|
|
17
17
|
/*__reshadow-styles__:"./style/icon.shadow.css"*/
|
|
18
|
-
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
19
|
-
"__SIcon": "
|
|
20
|
-
"--color": "--
|
|
21
|
-
"_keyboardFocused": "
|
|
22
|
-
"_interactive": "
|
|
23
|
-
"--color-interactive": "--color-
|
|
18
|
+
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SIcon_18ifx_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_18ifx)}.___SIcon_18ifx_gg_.__keyboardFocused_18ifx_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SIcon_18ifx_gg_.__interactive_18ifx_gg_{cursor:pointer}@media (hover:hover){.___SIcon_18ifx_gg_.__interactive_18ifx_gg_:hover{color:var(--color-interactive_18ifx)}}" /*__inner_css_end__*/, "18ifx_gg_") /*__reshadow_css_end__*/, {
|
|
19
|
+
"__SIcon": "___SIcon_18ifx_gg_",
|
|
20
|
+
"--color": "--color_18ifx",
|
|
21
|
+
"_keyboardFocused": "__keyboardFocused_18ifx_gg_",
|
|
22
|
+
"_interactive": "__interactive_18ifx_gg_",
|
|
23
|
+
"--color-interactive": "--color-interactive_18ifx"
|
|
24
24
|
});
|
|
25
25
|
function Icon(props, ref) {
|
|
26
26
|
var _useBox = useBox(_objectSpread({
|
|
@@ -64,7 +64,7 @@ function Icon(props, ref) {
|
|
|
64
64
|
React.useEffect(function () {
|
|
65
65
|
if (!interactive) return;
|
|
66
66
|
if (process.env.NODE_ENV !== 'production') {
|
|
67
|
-
logger.warn(!hasLabels(labelCheckRef.current), "'aria-label' or 'aria-labelledby' are required props for interactive icons", props['data-ui-name'] || Icon.displayName);
|
|
67
|
+
logger.warn(labelCheckRef.current && !hasLabels(labelCheckRef.current), "'aria-label' or 'aria-labelledby' are required props for interactive icons", props['data-ui-name'] || Icon.displayName);
|
|
68
68
|
}
|
|
69
69
|
}, [interactive]);
|
|
70
70
|
var forkedRef = useForkRef(ref, labelCheckRef);
|
package/lib/es6/Icon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","names":["React","cn","createBaseComponent","sstyled","useBox","resolveColor","shade","keyboardFocusEnhance","propsForElement","logger","useForkRef","hasLabels","styles","_sstyled","insert","Icon","props","ref","_useBox","_objectSpread","tag","width","height","viewBox","focusable","interactive","_useBox2","_slicedToArray","SIcon","other","colorProps","color","_keyboardFocusEnhance","disabled","keyboardFocused","propsEnhance","_objectWithoutProperties","_excluded","sstyles","_sstyles$cn","className","style","onKeyDown","event","key","_propsEnhance$onClick","onClick","call","labelCheckRef","useRef","useEffect","process","env","NODE_ENV","warn","current","displayName","forkedRef","createElement","_extends","role","undefined","Object","assign"],"sources":["../../src/Icon.jsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\nimport { createBaseComponent, sstyled } from '@semcore/core';\nimport { useBox } from '@semcore/flex-box';\nimport resolveColor, { shade } from '@semcore/utils/lib/color';\nimport keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\nimport propsForElement from '@semcore/utils/lib/propsForElement';\nimport logger from '@semcore/utils/lib/logger';\nimport { useForkRef } from '@semcore/utils/lib/ref';\nimport hasLabels from '@semcore/utils/lib/hasLabels';\n\nimport styles from './style/icon.shadow.css';\n\nfunction Icon(props, ref) {\n const [SIcon, other] = useBox(\n {\n tag: 'svg',\n 'data-ui-name': 'Icon',\n width: 16,\n height: 16,\n viewBox: '0 0 16 16',\n focusable: props.interactive,\n ...props,\n },\n ref,\n );\n\n const { interactive, color: colorProps } = props;\n const color = resolveColor(colorProps);\n const { keyboardFocused, ...propsEnhance } = keyboardFocusEnhance()({\n disabled: !interactive,\n ...other,\n });\n const sstyles = sstyled(styles);\n const { className, style } = sstyles.cn('SIcon', {\n 'color-interactive': shade(color, -0.12),\n 'use:color': color,\n interactive: interactive,\n keyboardFocused: keyboardFocused,\n });\n\n function onKeyDown(event) {\n if (propsEnhance.onKeyDown) {\n return propsEnhance.onKeyDown(event);\n }\n\n if (interactive && event.key === 'Enter') {\n propsEnhance.onClick?.(event);\n }\n }\n\n const labelCheckRef = React.useRef();\n React.useEffect(() => {\n if (!interactive) return;\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(\n !hasLabels(labelCheckRef.current),\n `'aria-label' or 'aria-labelledby' are required props for interactive icons`,\n props['data-ui-name'] || Icon.displayName,\n );\n }\n }, [interactive]);\n const forkedRef = useForkRef(ref, labelCheckRef);\n\n return (\n <SIcon\n role={interactive ? 'button' : undefined}\n aria-hidden={interactive ? undefined : 'true'}\n {...propsForElement(propsEnhance)}\n style={Object.assign({}, style, propsEnhance.style)}\n className={cn(className, propsEnhance.className) || undefined}\n onKeyDown={onKeyDown}\n ref={forkedRef}\n />\n );\n}\n\nIcon.displayName = 'Icon';\n\nexport default createBaseComponent(Icon);\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,EAAE,MAAM,YAAY;AAC3B,SAASC,mBAAmB,EAAEC,OAAO,QAAQ,eAAe;AAC5D,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,OAAOC,YAAY,IAAIC,KAAK,QAAQ,0BAA0B;AAC9D,OAAOC,oBAAoB,MAAM,kDAAkD;AACnF,OAAOC,eAAe,MAAM,oCAAoC;AAChE,OAAOC,MAAM,MA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AF,WAAA,CAALE,KAAK;EAOxB,SAASC,SAASA,CAACC,KAAK,EAAE;IACxB,IAAIR,YAAY,CAACO,SAAS,EAAE;MAC1B,OAAOP,YAAY,CAACO,SAAS,CAACC,KAAK,CAAC;IACtC;IAEA,IAAIlB,WAAW,IAAIkB,KAAK,CAACC,GAAG,KAAK,OAAO,EAAE;MAAA,IAAAC,qBAAA;MACxC,CAAAA,qBAAA,GAAAV,YAAY,CAACW,OAAO,cAAAD,qBAAA,uBAApBA,qBAAA,CAAAE,IAAA,CAAAZ,YAAY,EAAWQ,KAAK,CAAC;IAC/B;EACF;EAEA,IAAMK,aAAa,GAAGhD,KAAK,CAACiD,MAAM,EAAE;EACpCjD,KAAK,CAACkD,SAAS,CAAC,YAAM;IACpB,IAAI,CAACzB,WAAW,EAAE;IAClB,IAAI0B,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;MACzC5C,MAAM,CAAC6C,IAAI,
|
|
1
|
+
{"version":3,"file":"Icon.js","names":["React","cn","createBaseComponent","sstyled","useBox","resolveColor","shade","keyboardFocusEnhance","propsForElement","logger","useForkRef","hasLabels","styles","_sstyled","insert","Icon","props","ref","_useBox","_objectSpread","tag","width","height","viewBox","focusable","interactive","_useBox2","_slicedToArray","SIcon","other","colorProps","color","_keyboardFocusEnhance","disabled","keyboardFocused","propsEnhance","_objectWithoutProperties","_excluded","sstyles","_sstyles$cn","className","style","onKeyDown","event","key","_propsEnhance$onClick","onClick","call","labelCheckRef","useRef","useEffect","process","env","NODE_ENV","warn","current","displayName","forkedRef","createElement","_extends","role","undefined","Object","assign"],"sources":["../../src/Icon.jsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\nimport { createBaseComponent, sstyled } from '@semcore/core';\nimport { useBox } from '@semcore/flex-box';\nimport resolveColor, { shade } from '@semcore/utils/lib/color';\nimport keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\nimport propsForElement from '@semcore/utils/lib/propsForElement';\nimport logger from '@semcore/utils/lib/logger';\nimport { useForkRef } from '@semcore/utils/lib/ref';\nimport hasLabels from '@semcore/utils/lib/hasLabels';\n\nimport styles from './style/icon.shadow.css';\n\nfunction Icon(props, ref) {\n const [SIcon, other] = useBox(\n {\n tag: 'svg',\n 'data-ui-name': 'Icon',\n width: 16,\n height: 16,\n viewBox: '0 0 16 16',\n focusable: props.interactive,\n ...props,\n },\n ref,\n );\n\n const { interactive, color: colorProps } = props;\n const color = resolveColor(colorProps);\n const { keyboardFocused, ...propsEnhance } = keyboardFocusEnhance()({\n disabled: !interactive,\n ...other,\n });\n const sstyles = sstyled(styles);\n const { className, style } = sstyles.cn('SIcon', {\n 'color-interactive': shade(color, -0.12),\n 'use:color': color,\n interactive: interactive,\n keyboardFocused: keyboardFocused,\n });\n\n function onKeyDown(event) {\n if (propsEnhance.onKeyDown) {\n return propsEnhance.onKeyDown(event);\n }\n\n if (interactive && event.key === 'Enter') {\n propsEnhance.onClick?.(event);\n }\n }\n\n const labelCheckRef = React.useRef();\n React.useEffect(() => {\n if (!interactive) return;\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(\n labelCheckRef.current && !hasLabels(labelCheckRef.current),\n `'aria-label' or 'aria-labelledby' are required props for interactive icons`,\n props['data-ui-name'] || Icon.displayName,\n );\n }\n }, [interactive]);\n const forkedRef = useForkRef(ref, labelCheckRef);\n\n return (\n <SIcon\n role={interactive ? 'button' : undefined}\n aria-hidden={interactive ? undefined : 'true'}\n {...propsForElement(propsEnhance)}\n style={Object.assign({}, style, propsEnhance.style)}\n className={cn(className, propsEnhance.className) || undefined}\n onKeyDown={onKeyDown}\n ref={forkedRef}\n />\n );\n}\n\nIcon.displayName = 'Icon';\n\nexport default createBaseComponent(Icon);\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,EAAE,MAAM,YAAY;AAC3B,SAASC,mBAAmB,EAAEC,OAAO,QAAQ,eAAe;AAC5D,SAASC,MAAM,QAAQ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ACC,MAAM,CAAC,CAAC,CAAC,EAAEtB,KAAK,EAAEN,YAAY,CAACM,KAAK,CAAE;IACpDD,SAAS,EAAEvC,EAAE,CAACuC,SAAS,EAAEL,YAAY,CAACK,SAAS,CAAC,IAAIqB,SAAU;IAC9DnB,SAAS,EAAEA,SAAU;IACrBzB,GAAG,EAAEwC;EAAU,GACf;AAEN;AAEA1C,IAAI,CAACyC,WAAW,GAAG,MAAM;AAEzB,eAAetD,mBAAmB,CAACa,IAAI,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/icon",
|
|
3
3
|
"description": "Semrush Icon Component",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.3.0-beta.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@semcore/flex-box": "5.0.0",
|
|
13
|
-
"@semcore/icon": "4.
|
|
14
|
-
"@semcore/utils": "4.0.0",
|
|
12
|
+
"@semcore/flex-box": "5.2.0-beta.0",
|
|
13
|
+
"@semcore/icon": "4.3.0-beta.0",
|
|
14
|
+
"@semcore/utils": "4.1.0-beta.0",
|
|
15
15
|
"classnames": "2.2.6"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@semcore/core": "2
|
|
18
|
+
"@semcore/core": "^2",
|
|
19
19
|
"react": "16.8 - 18",
|
|
20
20
|
"react-dom": "16.8 - 18"
|
|
21
21
|
},
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
+
<path fill-rule="evenodd" d="M22 12.048c0-2.718-2.284-4.979-5.002-4.952C17.077 4.345 14.803 2 12.048 2c-2.756 0-5.03 2.346-4.95 5.098C4.346 7.018 2 9.292 2 12.048c0 2.755 2.345 5.029 5.096 4.95C7.07 19.716 9.33 22 12.048 22s4.978-2.283 4.952-5c2.717.026 5-2.234 5-4.952ZM5.318 12A8.713 8.713 0 0 0 12 5.318 8.713 8.713 0 0 0 18.682 12 8.713 8.713 0 0 0 12 18.682 8.713 8.713 0 0 0 5.318 12Z" clip-rule="evenodd"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M16 8.038c0-2.174-1.828-3.982-4.002-3.96C12.061 1.875 10.243 0 8.038 0c-2.204 0-4.023 1.877-3.96 4.079C1.878 4.015 0 5.834 0 8.039c0 2.204 1.876 4.022 4.077 3.96C4.056 14.171 5.864 16 8.038 16c2.175 0 3.983-1.827 3.962-4 2.173.02 4-1.787 4-3.962ZM2.655 8A6.97 6.97 0 0 0 8 2.655 6.97 6.97 0 0 0 13.345 8 6.97 6.97 0 0 0 8 13.345 6.97 6.97 0 0 0 2.655 8Z" clip-rule="evenodd"/>
|
|
3
|
+
</svg>
|