@pingux/astro 2.160.1-alpha.3 → 2.161.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/lib/cjs/components/Modal/Modal.styles.js +2 -2
- package/lib/cjs/components/RangeCalendar/RangeCalendar.styles.d.ts +6 -0
- package/lib/cjs/components/RangeCalendar/RangeCalendar.styles.js +8 -1
- package/lib/cjs/components/RangeCalendar/RangeCalendarGrid.js +2 -1
- package/lib/cjs/components/RangeCalendar/RangeCalendarHeader.js +9 -4
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +5 -5
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +3 -3
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/rangeCalendar.d.ts +42 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/rangeCalendar.js +50 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +41 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +2 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.js +2 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/index.js +2 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +85 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +3 -3
- package/lib/cjs/styles/themes/next-gen/variants/rangeCalendar.d.ts +86 -0
- package/lib/cjs/styles/themes/next-gen/variants/rangeCalendar.js +98 -0
- package/lib/cjs/styles/themes/next-gen/variants/switch.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +85 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +2 -0
- package/lib/components/Modal/Modal.styles.js +2 -2
- package/lib/components/RangeCalendar/RangeCalendar.styles.js +8 -1
- package/lib/components/RangeCalendar/RangeCalendarGrid.js +2 -1
- package/lib/components/RangeCalendar/RangeCalendarHeader.js +9 -4
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +5 -5
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +3 -3
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/rangeCalendar.js +43 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +2 -0
- package/lib/styles/themes/astro/customProperties/index.js +2 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/styles/themes/next-gen/customProperties/index.js +2 -0
- package/lib/styles/themes/next-gen/variants/button.js +3 -3
- package/lib/styles/themes/next-gen/variants/rangeCalendar.js +91 -0
- package/lib/styles/themes/next-gen/variants/switch.js +1 -1
- package/lib/styles/themes/next-gen/variants/variants.js +2 -0
- package/lib/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -62,13 +62,13 @@ var content = {
|
|
|
62
62
|
};
|
|
63
63
|
var headingContainer = {
|
|
64
64
|
position: 'relative',
|
|
65
|
-
backgroundColor: '
|
|
65
|
+
backgroundColor: 'backgroundBase',
|
|
66
66
|
px: 'lg',
|
|
67
67
|
py: 'md'
|
|
68
68
|
};
|
|
69
69
|
var header = {
|
|
70
70
|
position: 'relative',
|
|
71
|
-
backgroundColor: '
|
|
71
|
+
backgroundColor: 'backgroundBase',
|
|
72
72
|
pb: 'md'
|
|
73
73
|
};
|
|
74
74
|
var body = {};
|
|
@@ -64,6 +64,8 @@ declare const _default: {
|
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
66
|
calendarCell: {
|
|
67
|
+
alignItems: string;
|
|
68
|
+
justifyContent: string;
|
|
67
69
|
cursor: string;
|
|
68
70
|
textAlign: string;
|
|
69
71
|
position: string;
|
|
@@ -100,5 +102,9 @@ declare const _default: {
|
|
|
100
102
|
width: string;
|
|
101
103
|
height: string;
|
|
102
104
|
};
|
|
105
|
+
calendarRow: {
|
|
106
|
+
width: string;
|
|
107
|
+
flexDirection: string;
|
|
108
|
+
};
|
|
103
109
|
};
|
|
104
110
|
export default _default;
|
|
@@ -70,6 +70,8 @@ var calendarButton = {
|
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
var calendarCell = {
|
|
73
|
+
alignItems: 'center',
|
|
74
|
+
justifyContent: 'center',
|
|
73
75
|
cursor: 'default',
|
|
74
76
|
textAlign: 'center',
|
|
75
77
|
position: 'relative',
|
|
@@ -88,6 +90,10 @@ var columnHeader = {
|
|
|
88
90
|
width: '40px',
|
|
89
91
|
height: '40px'
|
|
90
92
|
};
|
|
93
|
+
var calendarRow = {
|
|
94
|
+
width: '100%',
|
|
95
|
+
flexDirection: 'row !important'
|
|
96
|
+
};
|
|
91
97
|
var calendarHeaderContainer = {
|
|
92
98
|
justifyContent: 'space-between',
|
|
93
99
|
mt: 'sm',
|
|
@@ -113,5 +119,6 @@ var _default = exports["default"] = {
|
|
|
113
119
|
calendarContainer: calendarContainer,
|
|
114
120
|
calendarHeader: calendarHeader,
|
|
115
121
|
calendarHeaderContainer: calendarHeaderContainer,
|
|
116
|
-
columnHeader: columnHeader
|
|
122
|
+
columnHeader: columnHeader,
|
|
123
|
+
calendarRow: calendarRow
|
|
117
124
|
};
|
|
@@ -52,7 +52,8 @@ var RangeCalendarGrid = function RangeCalendarGrid(props) {
|
|
|
52
52
|
}, (0, _map["default"])(_context2 = (0, _from["default"])((0, _keys["default"])(_context3 = Array(weeksInMonth)).call(_context3))).call(_context2, function (weekIndex) {
|
|
53
53
|
var _context4;
|
|
54
54
|
return (0, _react2.jsx)(_index.TableRow, {
|
|
55
|
-
key: weekIndex
|
|
55
|
+
key: weekIndex,
|
|
56
|
+
variant: "rangeCalendar.calendarRow"
|
|
56
57
|
}, (0, _map["default"])(_context4 = getDatesInWeek(weekIndex, startDate)).call(_context4, function (date) {
|
|
57
58
|
return (date === null || date === void 0 ? void 0 : date.day) && (0, _react2.jsx)(_RangeCalendarCell["default"], {
|
|
58
59
|
key: date.toString(),
|
|
@@ -13,6 +13,7 @@ var _ChevronLeftIcon = _interopRequireDefault(require("@pingux/mdi-react/Chevron
|
|
|
13
13
|
var _ChevronRightIcon = _interopRequireDefault(require("@pingux/mdi-react/ChevronRightIcon"));
|
|
14
14
|
var _i18n = require("@react-aria/i18n");
|
|
15
15
|
var _visuallyHidden = require("@react-aria/visually-hidden");
|
|
16
|
+
var _hooks = require("../../hooks");
|
|
16
17
|
var _index = require("../../index");
|
|
17
18
|
var _react2 = require("@emotion/react");
|
|
18
19
|
var _excluded = ["onFocusChange"];
|
|
@@ -42,6 +43,8 @@ var RangeCalendarHeader = function RangeCalendarHeader(props) {
|
|
|
42
43
|
return onFocusChange === null || onFocusChange === void 0 ? void 0 : onFocusChange(false);
|
|
43
44
|
}
|
|
44
45
|
};
|
|
46
|
+
var _useGetTheme = (0, _hooks.useGetTheme)(),
|
|
47
|
+
calendarIconSize = _useGetTheme.calendarIconSize;
|
|
45
48
|
return (0, _react2.jsx)(_index.Box, {
|
|
46
49
|
variant: "rangeCalendar.calendarHeaderContainer",
|
|
47
50
|
isRow: true
|
|
@@ -49,17 +52,19 @@ var RangeCalendarHeader = function RangeCalendarHeader(props) {
|
|
|
49
52
|
"aria-live": "assertive"
|
|
50
53
|
}, (0, _react2.jsx)(_index.Text, null, calendarProps['aria-label'])), (0, _react2.jsx)(_index.Box, {
|
|
51
54
|
isRow: true,
|
|
52
|
-
variant: "rangeCalendar.calendarHeader"
|
|
55
|
+
variant: "rangeCalendar.calendarHeader",
|
|
56
|
+
color: "magenta"
|
|
53
57
|
}, (0, _react2.jsx)(_index.Box, {
|
|
54
58
|
style: {
|
|
55
59
|
position: 'absolute',
|
|
56
60
|
left: '10px'
|
|
57
61
|
}
|
|
58
62
|
}, (0, _react2.jsx)(_index.IconButton, (0, _extends2["default"])({}, prevButtonProps, {
|
|
59
|
-
"aria-label": "Previous month navigation"
|
|
63
|
+
"aria-label": "Previous month navigation",
|
|
64
|
+
color: "pink"
|
|
60
65
|
}), (0, _react2.jsx)(_index.Icon, {
|
|
61
66
|
icon: _ChevronLeftIcon["default"],
|
|
62
|
-
size:
|
|
67
|
+
size: calendarIconSize,
|
|
63
68
|
title: {
|
|
64
69
|
name: 'Chevron Left Icon'
|
|
65
70
|
}
|
|
@@ -89,7 +94,7 @@ var RangeCalendarHeader = function RangeCalendarHeader(props) {
|
|
|
89
94
|
"aria-label": "Next month navigation"
|
|
90
95
|
}), (0, _react2.jsx)(_index.Icon, {
|
|
91
96
|
icon: _ChevronRightIcon["default"],
|
|
92
|
-
size:
|
|
97
|
+
size: calendarIconSize,
|
|
93
98
|
title: {
|
|
94
99
|
name: 'Chevron Right Icon'
|
|
95
100
|
}
|
|
@@ -47,6 +47,7 @@ declare const useGetTheme: () => {
|
|
|
47
47
|
defaultLoaderSize: number;
|
|
48
48
|
defaultIconColor: string;
|
|
49
49
|
defaultIconSize: import("../..").IconSize;
|
|
50
|
+
calendarIconSize: import("../..").IconSize;
|
|
50
51
|
buttonLoaderSize: import("../..").LoaderSize;
|
|
51
52
|
name: string;
|
|
52
53
|
themeState: {
|
|
@@ -106,6 +107,7 @@ declare const useGetTheme: () => {
|
|
|
106
107
|
accordionItemDefaultLabelTag: string;
|
|
107
108
|
rockerButtonGap: string;
|
|
108
109
|
defaultIconSize: import("../..").IconSize;
|
|
110
|
+
calendarIconSize: import("../..").IconSize;
|
|
109
111
|
buttonLoaderSize: import("../..").LoaderSize;
|
|
110
112
|
name: string;
|
|
111
113
|
themeState: {
|
|
@@ -33,7 +33,7 @@ var font = {
|
|
|
33
33
|
var hoverDark = _chromaJs["default"].mix('#23282e', 'white', 0.04, 'rgb').hex();
|
|
34
34
|
var border = {
|
|
35
35
|
base: _chromaJs["default"].mix('#23282e', 'white', 0.15, 'rgb').hex(),
|
|
36
|
-
dark:
|
|
36
|
+
dark: '#46505C',
|
|
37
37
|
input: _colorTokens.nextGenColors['gray-500'],
|
|
38
38
|
separator: _chromaJs["default"].mix('#23282e', 'white', 0.15, 'rgb').hex(),
|
|
39
39
|
attachment: '#39414b',
|
|
@@ -49,10 +49,6 @@ var background = {
|
|
|
49
49
|
card: '#1a1e22',
|
|
50
50
|
hover: hoverDark
|
|
51
51
|
};
|
|
52
|
-
var codeEditor = {
|
|
53
|
-
backgroundColor: background.secondary,
|
|
54
|
-
headerColor: _colorTokens.nextGenColors['gray-900']
|
|
55
|
-
};
|
|
56
52
|
var twoTone = {
|
|
57
53
|
bg: {
|
|
58
54
|
orange: _colorTokens.nextGenColors['orange-500'],
|
|
@@ -115,6 +111,10 @@ var backgroundSecondary = _colorTokens.nextGenColors['gray-900'];
|
|
|
115
111
|
var backgroundCard = '#1a1e22';
|
|
116
112
|
var backgroundSuggestion = '#ecf0f5';
|
|
117
113
|
var backgroundHover = hoverDark;
|
|
114
|
+
var codeEditor = {
|
|
115
|
+
backgroundColor: backgroundSecondary,
|
|
116
|
+
headerColor: _colorTokens.nextGenColors['gray-900']
|
|
117
|
+
};
|
|
118
118
|
var colors = exports.colors = _objectSpread(_objectSpread({
|
|
119
119
|
border: border,
|
|
120
120
|
iconWrapper: iconWrapper
|
|
@@ -49,5 +49,6 @@ export declare const nextGenDarkThemeValues: {
|
|
|
49
49
|
accordionItemDefaultLabelTag: string;
|
|
50
50
|
rockerButtonGap: string;
|
|
51
51
|
defaultIconSize: import("../../../..").IconSize;
|
|
52
|
+
calendarIconSize: import("../../../..").IconSize;
|
|
52
53
|
buttonLoaderSize: import("../../../..").LoaderSize;
|
|
53
54
|
};
|
|
@@ -26,7 +26,7 @@ var baseIconButton = {
|
|
|
26
26
|
path: {
|
|
27
27
|
fill: 'gray-400'
|
|
28
28
|
},
|
|
29
|
-
backgroundColor: '
|
|
29
|
+
backgroundColor: 'backgroundSecondary'
|
|
30
30
|
},
|
|
31
31
|
'&.is-pressed': {
|
|
32
32
|
backgroundColor: 'gray-800',
|
|
@@ -53,10 +53,10 @@ var iconButtons = {
|
|
|
53
53
|
},
|
|
54
54
|
searchClearButton: {
|
|
55
55
|
'&.is-hovered': {
|
|
56
|
-
backgroundColor: '
|
|
56
|
+
backgroundColor: 'backgroundSecondary'
|
|
57
57
|
},
|
|
58
58
|
'&.is-pressed': {
|
|
59
|
-
backgroundColor: '
|
|
59
|
+
backgroundColor: 'backgroundSecondary'
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
hintButton: hintButton,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
calendarButton: {
|
|
3
|
+
color: string;
|
|
4
|
+
'&.is-hovered': {
|
|
5
|
+
bg: string;
|
|
6
|
+
color: string;
|
|
7
|
+
cursor: string;
|
|
8
|
+
};
|
|
9
|
+
'&.is-selected': {
|
|
10
|
+
color: string;
|
|
11
|
+
'&.is-hovered': {
|
|
12
|
+
bg: string;
|
|
13
|
+
color: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
'&.is-range-ends': {
|
|
17
|
+
bg: string;
|
|
18
|
+
color: string;
|
|
19
|
+
outline: string;
|
|
20
|
+
boxShadow: string;
|
|
21
|
+
};
|
|
22
|
+
'&.is-unavailable': {
|
|
23
|
+
color: string;
|
|
24
|
+
bg: string;
|
|
25
|
+
};
|
|
26
|
+
'&:not(.is-outside-visible-range)&.is-extreme&:not(.is-completely-disabled)': {
|
|
27
|
+
color: string;
|
|
28
|
+
bg: string;
|
|
29
|
+
opacity: number;
|
|
30
|
+
};
|
|
31
|
+
'&.is-disabled': {
|
|
32
|
+
'&.is-hovered': {
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
color: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
columnHeader: {
|
|
39
|
+
color: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
4
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var calendarButton = {
|
|
9
|
+
color: 'text.secondary',
|
|
10
|
+
'&.is-hovered': {
|
|
11
|
+
bg: 'active',
|
|
12
|
+
color: 'black',
|
|
13
|
+
cursor: 'pointer'
|
|
14
|
+
},
|
|
15
|
+
'&.is-selected': {
|
|
16
|
+
color: 'text.secondary',
|
|
17
|
+
'&.is-hovered': {
|
|
18
|
+
bg: 'active',
|
|
19
|
+
color: 'black'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
'&.is-range-ends': {
|
|
23
|
+
bg: 'active',
|
|
24
|
+
color: 'black',
|
|
25
|
+
outline: 'none',
|
|
26
|
+
boxShadow: 'none'
|
|
27
|
+
},
|
|
28
|
+
'&.is-unavailable': {
|
|
29
|
+
color: 'text.secondary',
|
|
30
|
+
bg: 'border.dark'
|
|
31
|
+
},
|
|
32
|
+
'&:not(.is-outside-visible-range)&.is-extreme&:not(.is-completely-disabled)': {
|
|
33
|
+
color: 'text.secondary',
|
|
34
|
+
bg: 'border.dark',
|
|
35
|
+
opacity: 1
|
|
36
|
+
},
|
|
37
|
+
'&.is-disabled': {
|
|
38
|
+
'&.is-hovered': {
|
|
39
|
+
backgroundColor: 'unset',
|
|
40
|
+
color: 'gray-100'
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
var columnHeader = {
|
|
45
|
+
color: 'text.secondary'
|
|
46
|
+
};
|
|
47
|
+
var _default = exports["default"] = {
|
|
48
|
+
calendarButton: calendarButton,
|
|
49
|
+
columnHeader: columnHeader
|
|
50
|
+
};
|
|
@@ -20,6 +20,47 @@ declare const _default: {
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
+
rangeCalendar: {
|
|
24
|
+
calendarButton: {
|
|
25
|
+
color: string;
|
|
26
|
+
'&.is-hovered': {
|
|
27
|
+
bg: string;
|
|
28
|
+
color: string;
|
|
29
|
+
cursor: string;
|
|
30
|
+
};
|
|
31
|
+
'&.is-selected': {
|
|
32
|
+
color: string;
|
|
33
|
+
'&.is-hovered': {
|
|
34
|
+
bg: string;
|
|
35
|
+
color: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
'&.is-range-ends': {
|
|
39
|
+
bg: string;
|
|
40
|
+
color: string;
|
|
41
|
+
outline: string;
|
|
42
|
+
boxShadow: string;
|
|
43
|
+
};
|
|
44
|
+
'&.is-unavailable': {
|
|
45
|
+
color: string;
|
|
46
|
+
bg: string;
|
|
47
|
+
};
|
|
48
|
+
'&:not(.is-outside-visible-range)&.is-extreme&:not(.is-completely-disabled)': {
|
|
49
|
+
color: string;
|
|
50
|
+
bg: string;
|
|
51
|
+
opacity: number;
|
|
52
|
+
};
|
|
53
|
+
'&.is-disabled': {
|
|
54
|
+
'&.is-hovered': {
|
|
55
|
+
backgroundColor: string;
|
|
56
|
+
color: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
columnHeader: {
|
|
61
|
+
color: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
23
64
|
attachment: {
|
|
24
65
|
container: {
|
|
25
66
|
backgroundColor: string;
|
|
@@ -15,6 +15,7 @@ var _listview = require("./listview");
|
|
|
15
15
|
var _menu = require("./menu");
|
|
16
16
|
var _message = require("./message");
|
|
17
17
|
var _navbar = require("./navbar");
|
|
18
|
+
var _rangeCalendar = _interopRequireDefault(require("./rangeCalendar"));
|
|
18
19
|
var _skeleton = _interopRequireDefault(require("./skeleton"));
|
|
19
20
|
var listBox = {
|
|
20
21
|
container: {
|
|
@@ -174,6 +175,7 @@ var statusIcon = {
|
|
|
174
175
|
};
|
|
175
176
|
var _default = exports["default"] = {
|
|
176
177
|
rockerButton: rockerButton,
|
|
178
|
+
rangeCalendar: _rangeCalendar["default"],
|
|
177
179
|
attachment: attachment,
|
|
178
180
|
avatar: _avatar.avatar,
|
|
179
181
|
message: _message.message,
|
|
@@ -28,6 +28,7 @@ var buttonLoaderSize = '0.5em';
|
|
|
28
28
|
var iFrameContentDivBackgroundColor = '#F7F8FD';
|
|
29
29
|
var defaultIconColor = 'currentColor';
|
|
30
30
|
var defaultIconSize = 'sm';
|
|
31
|
+
var calendarIconSize = 25;
|
|
31
32
|
var astroThemeValues = exports.astroThemeValues = {
|
|
32
33
|
accordionItemDefaultLabelTag: accordionItemDefaultLabelTag,
|
|
33
34
|
activeColor: activeColor,
|
|
@@ -47,5 +48,6 @@ var astroThemeValues = exports.astroThemeValues = {
|
|
|
47
48
|
defaultLoaderSize: defaultLoaderSize,
|
|
48
49
|
defaultIconColor: defaultIconColor,
|
|
49
50
|
defaultIconSize: defaultIconSize,
|
|
51
|
+
calendarIconSize: calendarIconSize,
|
|
50
52
|
buttonLoaderSize: buttonLoaderSize
|
|
51
53
|
};
|
|
@@ -5,7 +5,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.nextGenOnlyComponents = exports["default"] = exports.componentSpecificNextGenBlacklist = exports.astroBlacklistStory = void 0;
|
|
8
|
-
var nextGenConvertedComponents = ['AccordionGridGroup', 'AccordionGroup', 'ArrayField', 'AstroProvider', 'Avatar', 'Badge', 'Base Components', 'Breadcrumbs', 'Button', 'ButtonBar', 'Callout', 'Card', 'CheckboxField', 'CodeView', 'ColorField', 'ComboBoxField', 'CopyText', 'DataTable', 'EnvironmentBreadcrumb', 'GridList', 'HelpHint', 'Icon', 'IconBadge', 'IconButton', 'IconWrapper', 'ImageUploadField', 'Loader', 'Link', 'LinkSelectField', 'ListView', 'ListViewItem', 'Message', 'Messages', 'Modal', 'MultiValuesField', 'MultivaluesField', 'NavBar', 'NavigationHeader', 'NextGen ListViewItem', 'NumberField', 'OverlayPanel', 'PageHeader', 'Pagination', 'PanelHeader', 'PasswordField', 'PopoverMenu', 'ProgressBar', 'RadioField', 'RadioGroupField', 'RequirementsList', 'RockerButtonGroup', 'SearchField', 'SearchNav', 'SelectField', 'Skeleton', 'SliderField', 'Stepper', 'Sticker Sheet', 'SwitchField', 'StatusIcon', 'Table', 'TableBase', 'Tabs', 'Text', 'TextAreaField', 'TextField', 'TooltipTrigger', 'ArrayField', 'ColorField', 'LinkSelectField', 'NumberField', 'SwitchField', 'Base Components', 'SliderField', 'ServerErrorBoundary', 'Avatar', 'Box'];
|
|
8
|
+
var nextGenConvertedComponents = ['AccordionGridGroup', 'AccordionGroup', 'ArrayField', 'AstroProvider', 'Avatar', 'Badge', 'Base Components', 'Breadcrumbs', 'Button', 'ButtonBar', 'Callout', 'Card', 'CheckboxField', 'CodeView', 'ColorField', 'ComboBoxField', 'CopyText', 'DataTable', 'EnvironmentBreadcrumb', 'GridList', 'HelpHint', 'Icon', 'IconBadge', 'IconButton', 'IconWrapper', 'ImageUploadField', 'Loader', 'Link', 'LinkSelectField', 'ListView', 'ListViewItem', 'Message', 'Messages', 'Modal', 'MultiValuesField', 'MultivaluesField', 'NavBar', 'NavigationHeader', 'NextGen ListViewItem', 'NumberField', 'OverlayPanel', 'PageHeader', 'Pagination', 'PanelHeader', 'PasswordField', 'PopoverMenu', 'ProgressBar', 'RadioField', 'RadioGroupField', 'RangeCalendar', 'RequirementsList', 'RockerButtonGroup', 'SearchField', 'SearchNav', 'SelectField', 'Skeleton', 'SliderField', 'Stepper', 'Sticker Sheet', 'SwitchField', 'StatusIcon', 'Table', 'TableBase', 'Tabs', 'Text', 'TextAreaField', 'TextField', 'TooltipTrigger', 'ArrayField', 'ColorField', 'LinkSelectField', 'NumberField', 'SwitchField', 'Base Components', 'SliderField', 'ServerErrorBoundary', 'Avatar', 'Box'];
|
|
9
9
|
var componentSpecificNextGenBlacklist = exports.componentSpecificNextGenBlacklist = {
|
|
10
10
|
AstroProvider: ['Default', 'With Custom Theme Override'],
|
|
11
11
|
Messages: ['Customization'],
|
|
@@ -31,6 +31,7 @@ var iFrameContentDivBackgroundColor = backgroundBaseColor;
|
|
|
31
31
|
var defaultIconColor = 'gray-800';
|
|
32
32
|
var defaultIconSize = 'md';
|
|
33
33
|
var buttonLoaderSize = 'sm';
|
|
34
|
+
var calendarIconSize = 'sm';
|
|
34
35
|
var nextGenThemeValues = exports.nextGenThemeValues = _objectSpread({
|
|
35
36
|
activeColor: activeColor,
|
|
36
37
|
backgroundBaseColor: backgroundBaseColor,
|
|
@@ -44,5 +45,6 @@ var nextGenThemeValues = exports.nextGenThemeValues = _objectSpread({
|
|
|
44
45
|
iFrameContentDivBackgroundColor: iFrameContentDivBackgroundColor,
|
|
45
46
|
rockerButtonGap: '0px',
|
|
46
47
|
defaultIconSize: defaultIconSize,
|
|
48
|
+
calendarIconSize: calendarIconSize,
|
|
47
49
|
buttonLoaderSize: buttonLoaderSize
|
|
48
50
|
}, _customSizes["default"]);
|
|
@@ -4934,6 +4934,91 @@ declare const _default: {
|
|
|
4934
4934
|
marginLeft: string;
|
|
4935
4935
|
};
|
|
4936
4936
|
};
|
|
4937
|
+
rangeCalendar: {
|
|
4938
|
+
calendarBody: {
|
|
4939
|
+
py: string;
|
|
4940
|
+
borderTop: string;
|
|
4941
|
+
borderTopColor: string;
|
|
4942
|
+
backgroundColor: string;
|
|
4943
|
+
'& > tr:nth-of-type(odd) ': {
|
|
4944
|
+
backgroundColor: string;
|
|
4945
|
+
};
|
|
4946
|
+
};
|
|
4947
|
+
calendarButton: {
|
|
4948
|
+
height: string;
|
|
4949
|
+
width: string;
|
|
4950
|
+
fontWeight: string;
|
|
4951
|
+
borderRadius: string;
|
|
4952
|
+
color: string;
|
|
4953
|
+
'&.is-hovered': {
|
|
4954
|
+
bg: string;
|
|
4955
|
+
color: string;
|
|
4956
|
+
cursor: string;
|
|
4957
|
+
};
|
|
4958
|
+
'&.is-selected': {
|
|
4959
|
+
bg: string;
|
|
4960
|
+
'&.is-hovered': {
|
|
4961
|
+
bg: string;
|
|
4962
|
+
color: string;
|
|
4963
|
+
};
|
|
4964
|
+
};
|
|
4965
|
+
'&.is-range-ends': {
|
|
4966
|
+
bg: string;
|
|
4967
|
+
color: string;
|
|
4968
|
+
outline: string;
|
|
4969
|
+
boxShadow: string;
|
|
4970
|
+
};
|
|
4971
|
+
'&.is-selection-start': {
|
|
4972
|
+
borderRadius: string;
|
|
4973
|
+
};
|
|
4974
|
+
'&.is-selection-end': {
|
|
4975
|
+
borderRadius: string;
|
|
4976
|
+
};
|
|
4977
|
+
'&.is-start-and-end': {
|
|
4978
|
+
borderRadius: string;
|
|
4979
|
+
};
|
|
4980
|
+
'&.is-focused': {
|
|
4981
|
+
outline: string;
|
|
4982
|
+
outlineStyle: string;
|
|
4983
|
+
outlineColor: string;
|
|
4984
|
+
outlineOffset: string;
|
|
4985
|
+
};
|
|
4986
|
+
'&.is-unavailable': {
|
|
4987
|
+
backgroundColor: string;
|
|
4988
|
+
color: string;
|
|
4989
|
+
};
|
|
4990
|
+
'&:not(.is-outside-visible-range)&.is-extreme&:not(.is-completely-disabled)': {
|
|
4991
|
+
backgroundColor: string;
|
|
4992
|
+
color: string;
|
|
4993
|
+
opacity: number;
|
|
4994
|
+
};
|
|
4995
|
+
'&.is-disabled': {
|
|
4996
|
+
'&.is-hovered': {
|
|
4997
|
+
color: string;
|
|
4998
|
+
backgroundColor: string;
|
|
4999
|
+
};
|
|
5000
|
+
};
|
|
5001
|
+
};
|
|
5002
|
+
calendarCell: {
|
|
5003
|
+
height: string;
|
|
5004
|
+
};
|
|
5005
|
+
calendarContainer: {
|
|
5006
|
+
width: string;
|
|
5007
|
+
textAlign: string;
|
|
5008
|
+
color: string;
|
|
5009
|
+
border: string;
|
|
5010
|
+
borderColor: string;
|
|
5011
|
+
boxShadow: string;
|
|
5012
|
+
borderRadius: string;
|
|
5013
|
+
p: string;
|
|
5014
|
+
};
|
|
5015
|
+
columnHeader: {
|
|
5016
|
+
color: string;
|
|
5017
|
+
};
|
|
5018
|
+
calendarRow: {
|
|
5019
|
+
bg: string;
|
|
5020
|
+
};
|
|
5021
|
+
};
|
|
4937
5022
|
response: {
|
|
4938
5023
|
iconWrapper: {
|
|
4939
5024
|
border: string;
|
|
@@ -129,14 +129,14 @@ var tertiary = _objectSpread(_objectSpread({}, buttonBase), {}, {
|
|
|
129
129
|
color: 'font.base',
|
|
130
130
|
'&.is-focused': _objectSpread(_objectSpread({}, defaultFocus), {}, {
|
|
131
131
|
outlineColor: 'gray-700',
|
|
132
|
-
backgroundColor: '
|
|
132
|
+
backgroundColor: 'backgroundSecondary'
|
|
133
133
|
}),
|
|
134
134
|
'&.is-pressed': {
|
|
135
|
-
backgroundColor: '
|
|
135
|
+
backgroundColor: 'backgroundSecondary',
|
|
136
136
|
color: 'font.base'
|
|
137
137
|
},
|
|
138
138
|
'&.is-hovered': _objectSpread({
|
|
139
|
-
backgroundColor: '
|
|
139
|
+
backgroundColor: 'backgroundSecondary',
|
|
140
140
|
color: 'font.base'
|
|
141
141
|
}, boxShadowNone)
|
|
142
142
|
});
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
calendarBody: {
|
|
3
|
+
py: string;
|
|
4
|
+
borderTop: string;
|
|
5
|
+
borderTopColor: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
'& > tr:nth-of-type(odd) ': {
|
|
8
|
+
backgroundColor: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
calendarButton: {
|
|
12
|
+
height: string;
|
|
13
|
+
width: string;
|
|
14
|
+
fontWeight: string;
|
|
15
|
+
borderRadius: string;
|
|
16
|
+
color: string;
|
|
17
|
+
'&.is-hovered': {
|
|
18
|
+
bg: string;
|
|
19
|
+
color: string;
|
|
20
|
+
cursor: string;
|
|
21
|
+
};
|
|
22
|
+
'&.is-selected': {
|
|
23
|
+
bg: string;
|
|
24
|
+
'&.is-hovered': {
|
|
25
|
+
bg: string;
|
|
26
|
+
color: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
'&.is-range-ends': {
|
|
30
|
+
bg: string;
|
|
31
|
+
color: string;
|
|
32
|
+
outline: string;
|
|
33
|
+
boxShadow: string;
|
|
34
|
+
};
|
|
35
|
+
'&.is-selection-start': {
|
|
36
|
+
borderRadius: string;
|
|
37
|
+
};
|
|
38
|
+
'&.is-selection-end': {
|
|
39
|
+
borderRadius: string;
|
|
40
|
+
};
|
|
41
|
+
'&.is-start-and-end': {
|
|
42
|
+
borderRadius: string;
|
|
43
|
+
};
|
|
44
|
+
'&.is-focused': {
|
|
45
|
+
outline: string;
|
|
46
|
+
outlineStyle: string;
|
|
47
|
+
outlineColor: string;
|
|
48
|
+
outlineOffset: string;
|
|
49
|
+
};
|
|
50
|
+
'&.is-unavailable': {
|
|
51
|
+
backgroundColor: string;
|
|
52
|
+
color: string;
|
|
53
|
+
};
|
|
54
|
+
'&:not(.is-outside-visible-range)&.is-extreme&:not(.is-completely-disabled)': {
|
|
55
|
+
backgroundColor: string;
|
|
56
|
+
color: string;
|
|
57
|
+
opacity: number;
|
|
58
|
+
};
|
|
59
|
+
'&.is-disabled': {
|
|
60
|
+
'&.is-hovered': {
|
|
61
|
+
color: string;
|
|
62
|
+
backgroundColor: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
calendarCell: {
|
|
67
|
+
height: string;
|
|
68
|
+
};
|
|
69
|
+
calendarContainer: {
|
|
70
|
+
width: string;
|
|
71
|
+
textAlign: string;
|
|
72
|
+
color: string;
|
|
73
|
+
border: string;
|
|
74
|
+
borderColor: string;
|
|
75
|
+
boxShadow: string;
|
|
76
|
+
borderRadius: string;
|
|
77
|
+
p: string;
|
|
78
|
+
};
|
|
79
|
+
columnHeader: {
|
|
80
|
+
color: string;
|
|
81
|
+
};
|
|
82
|
+
calendarRow: {
|
|
83
|
+
bg: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
export default _default;
|