@pingux/astro 2.37.1-alpha.3 → 2.37.1-alpha.4
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.
@@ -12,6 +12,7 @@ exports["default"] = void 0;
|
|
12
12
|
var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
|
13
13
|
var _react = _interopRequireWildcard(require("react"));
|
14
14
|
var _visuallyHidden = require("@react-aria/visually-hidden");
|
15
|
+
var _lodash = require("lodash");
|
15
16
|
var _themeUi = require("theme-ui");
|
16
17
|
var _Box = _interopRequireDefault(require("../Box"));
|
17
18
|
var _react2 = require("@emotion/react");
|
@@ -37,7 +38,7 @@ var IndeterminateCheckboxIcon = function IndeterminateCheckboxIcon(props) {
|
|
37
38
|
fill: "none",
|
38
39
|
xmlns: "http://www.w3.org/2000/svg",
|
39
40
|
"aria-labelledby": "checkbox-icon-title"
|
40
|
-
}, props), (0, _react2.jsx)("title", {
|
41
|
+
}, (0, _lodash.omit)(props, 'id', 'aria-checked')), (0, _react2.jsx)("title", {
|
41
42
|
id: "checkbox-icon-title"
|
42
43
|
}, "Indeterminate Checkbox Icon"), (0, _react2.jsx)("rect", {
|
43
44
|
x: "3.5",
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
2
2
|
import React, { forwardRef } from 'react';
|
3
3
|
import { VisuallyHidden } from '@react-aria/visually-hidden';
|
4
|
+
import { omit } from 'lodash';
|
4
5
|
import { Checkbox as ThemeUICheckbox } from 'theme-ui';
|
5
6
|
import Box from '../Box';
|
6
7
|
|
@@ -26,7 +27,7 @@ var IndeterminateCheckboxIcon = function IndeterminateCheckboxIcon(props) {
|
|
26
27
|
fill: "none",
|
27
28
|
xmlns: "http://www.w3.org/2000/svg",
|
28
29
|
"aria-labelledby": "checkbox-icon-title"
|
29
|
-
}, props), ___EmotionJSX("title", {
|
30
|
+
}, omit(props, 'id', 'aria-checked')), ___EmotionJSX("title", {
|
30
31
|
id: "checkbox-icon-title"
|
31
32
|
}, "Indeterminate Checkbox Icon"), ___EmotionJSX("rect", {
|
32
33
|
x: "3.5",
|