@pingux/astro 2.37.1-alpha.3 → 2.37.1-alpha.5
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.
@@ -6,6 +6,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
6
6
|
});
|
7
7
|
exports["default"] = void 0;
|
8
8
|
var calendarBody = {
|
9
|
+
pb: '10px',
|
9
10
|
borderTop: '1px solid',
|
10
11
|
borderTopColor: 'neutral.80',
|
11
12
|
'& > tr:nth-of-type(odd) ': {
|
@@ -18,7 +19,7 @@ var calendarButton = {
|
|
18
19
|
fontWeight: 1,
|
19
20
|
color: 'neutral.10',
|
20
21
|
lineHeight: '16px',
|
21
|
-
width: '
|
22
|
+
width: '40px',
|
22
23
|
height: '40px',
|
23
24
|
'&.is-hovered': {
|
24
25
|
bg: 'accent.99',
|
@@ -48,7 +49,8 @@ var calendarCell = {
|
|
48
49
|
cursor: 'default',
|
49
50
|
textAlign: 'center',
|
50
51
|
position: 'relative',
|
51
|
-
color: '#333'
|
52
|
+
color: '#333',
|
53
|
+
padding: '0'
|
52
54
|
};
|
53
55
|
var columnHeader = {
|
54
56
|
fontSize: '13px',
|
@@ -65,7 +67,7 @@ var calendarContainer = {
|
|
65
67
|
var calendarHeader = {
|
66
68
|
justifyContent: 'space-between',
|
67
69
|
mt: '10px',
|
68
|
-
mb: '
|
70
|
+
mb: '16px',
|
69
71
|
alignItems: 'center'
|
70
72
|
};
|
71
73
|
var _default = {
|
@@ -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,4 +1,5 @@
|
|
1
1
|
var calendarBody = {
|
2
|
+
pb: '10px',
|
2
3
|
borderTop: '1px solid',
|
3
4
|
borderTopColor: 'neutral.80',
|
4
5
|
'& > tr:nth-of-type(odd) ': {
|
@@ -11,7 +12,7 @@ var calendarButton = {
|
|
11
12
|
fontWeight: 1,
|
12
13
|
color: 'neutral.10',
|
13
14
|
lineHeight: '16px',
|
14
|
-
width: '
|
15
|
+
width: '40px',
|
15
16
|
height: '40px',
|
16
17
|
'&.is-hovered': {
|
17
18
|
bg: 'accent.99',
|
@@ -41,7 +42,8 @@ var calendarCell = {
|
|
41
42
|
cursor: 'default',
|
42
43
|
textAlign: 'center',
|
43
44
|
position: 'relative',
|
44
|
-
color: '#333'
|
45
|
+
color: '#333',
|
46
|
+
padding: '0'
|
45
47
|
};
|
46
48
|
var columnHeader = {
|
47
49
|
fontSize: '13px',
|
@@ -58,7 +60,7 @@ var calendarContainer = {
|
|
58
60
|
var calendarHeader = {
|
59
61
|
justifyContent: 'space-between',
|
60
62
|
mt: '10px',
|
61
|
-
mb: '
|
63
|
+
mb: '16px',
|
62
64
|
alignItems: 'center'
|
63
65
|
};
|
64
66
|
export default {
|
@@ -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",
|