@pingux/astro 2.160.1-alpha.2 → 2.160.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.
Files changed (45) hide show
  1. package/lib/cjs/components/Modal/Modal.styles.js +2 -2
  2. package/lib/cjs/components/RangeCalendar/RangeCalendar.styles.d.ts +6 -0
  3. package/lib/cjs/components/RangeCalendar/RangeCalendar.styles.js +8 -1
  4. package/lib/cjs/components/RangeCalendar/RangeCalendarGrid.js +2 -1
  5. package/lib/cjs/components/RangeCalendar/RangeCalendarHeader.js +9 -4
  6. package/lib/cjs/components/TimeZonePicker/TimeZonePicker.js +1 -1
  7. package/lib/cjs/components/TimeZonePicker/timezones.d.ts +113 -0
  8. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
  9. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +5 -5
  10. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
  11. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +3 -3
  12. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/rangeCalendar.d.ts +42 -0
  13. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/rangeCalendar.js +50 -0
  14. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +41 -0
  15. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +2 -0
  16. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -0
  17. package/lib/cjs/styles/themes/astro/customProperties/index.js +2 -0
  18. package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
  19. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +1 -0
  20. package/lib/cjs/styles/themes/next-gen/customProperties/index.js +2 -0
  21. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +85 -0
  22. package/lib/cjs/styles/themes/next-gen/variants/button.js +3 -3
  23. package/lib/cjs/styles/themes/next-gen/variants/rangeCalendar.d.ts +86 -0
  24. package/lib/cjs/styles/themes/next-gen/variants/rangeCalendar.js +98 -0
  25. package/lib/cjs/styles/themes/next-gen/variants/switch.js +1 -1
  26. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +85 -0
  27. package/lib/cjs/styles/themes/next-gen/variants/variants.js +2 -0
  28. package/lib/components/Modal/Modal.styles.js +2 -2
  29. package/lib/components/RangeCalendar/RangeCalendar.styles.js +8 -1
  30. package/lib/components/RangeCalendar/RangeCalendarGrid.js +2 -1
  31. package/lib/components/RangeCalendar/RangeCalendarHeader.js +9 -4
  32. package/lib/components/TimeZonePicker/TimeZonePicker.js +1 -1
  33. package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +5 -5
  34. package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +3 -3
  35. package/lib/styles/themeOverrides/nextGenDarkMode/variants/rangeCalendar.js +43 -0
  36. package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +2 -0
  37. package/lib/styles/themes/astro/customProperties/index.js +2 -0
  38. package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
  39. package/lib/styles/themes/next-gen/customProperties/index.js +2 -0
  40. package/lib/styles/themes/next-gen/variants/button.js +3 -3
  41. package/lib/styles/themes/next-gen/variants/rangeCalendar.js +91 -0
  42. package/lib/styles/themes/next-gen/variants/switch.js +1 -1
  43. package/lib/styles/themes/next-gen/variants/variants.js +2 -0
  44. package/lib/tsconfig.lib.tsbuildinfo +1 -1
  45. package/package.json +1 -1
@@ -62,13 +62,13 @@ var content = {
62
62
  };
63
63
  var headingContainer = {
64
64
  position: 'relative',
65
- backgroundColor: 'background.base',
65
+ backgroundColor: 'backgroundBase',
66
66
  px: 'lg',
67
67
  py: 'md'
68
68
  };
69
69
  var header = {
70
70
  position: 'relative',
71
- backgroundColor: 'background.base',
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: 25,
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: 25,
97
+ size: calendarIconSize,
93
98
  title: {
94
99
  name: 'Chevron Right Icon'
95
100
  }
@@ -31,7 +31,7 @@ var _react = _interopRequireWildcard(require("react"));
31
31
  var _propTypes = _interopRequireDefault(require("prop-types"));
32
32
  var _index = require("../../index");
33
33
  var _pendoID = require("../../utils/devUtils/constants/pendoID");
34
- var _timezones = _interopRequireWildcard(require("./timezones.jsx"));
34
+ var _timezones = _interopRequireWildcard(require("./timezones"));
35
35
  var _react2 = require("@emotion/react");
36
36
  var _excluded = ["additionalTimeZones", "emptySearchText", "locales", "localeOptions"];
37
37
  function _interopRequireWildcard(e, t) { if ("function" == typeof _WeakMap) var r = new _WeakMap(), n = new _WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = _Object$defineProperty) && _Object$getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
@@ -0,0 +1,113 @@
1
+ declare const _default: {
2
+ '(GMT-11:00) Pago Pago': string;
3
+ '(GMT-10:00) Hawaii Time': string;
4
+ '(GMT-08:00) Pacific Time': string;
5
+ '(GMT-08:00) Pacific Time - Tijuana': string;
6
+ '(GMT-07:00) Mountain Time': string;
7
+ '(GMT-07:00) Mountain Time - Arizona': string;
8
+ '(GMT-07:00) Mountain Time - Chihuahua, Mazatlan': string;
9
+ '(GMT-06:00) Central Time': string;
10
+ '(GMT-06:00) Central Time - Mexico City': string;
11
+ '(GMT-06:00) Central Time - Regina': string;
12
+ '(GMT-06:00) Guatemala': string;
13
+ '(GMT-05:00) Bogota': string;
14
+ '(GMT-05:00) Eastern Time': string;
15
+ '(GMT-05:00) Lima': string;
16
+ '(GMT-04:30) Caracas': string;
17
+ '(GMT-04:00) Atlantic Time - Halifax': string;
18
+ '(GMT-04:00) Guyana': string;
19
+ '(GMT-04:00) La Paz': string;
20
+ '(GMT-03:00) Buenos Aires': string;
21
+ '(GMT-03:00) Godthab': string;
22
+ '(GMT-03:00) Montevideo': string;
23
+ '(GMT-03:30) Newfoundland Time - St. Johns': string;
24
+ '(GMT-03:00) Santiago': string;
25
+ '(GMT-02:00) Sao Paulo': string;
26
+ '(GMT-02:00) South Georgia': string;
27
+ '(GMT-01:00) Azores': string;
28
+ '(GMT-01:00) Cape Verde': string;
29
+ '(GMT+00:00) Casablanca': string;
30
+ '(GMT+00:00) Dublin': string;
31
+ '(GMT+00:00) Lisbon': string;
32
+ '(GMT+00:00) London': string;
33
+ '(GMT+00:00) Monrovia': string;
34
+ '(GMT+01:00) Algiers': string;
35
+ '(GMT+01:00) Amsterdam': string;
36
+ '(GMT+01:00) Berlin': string;
37
+ '(GMT+01:00) Brussels': string;
38
+ '(GMT+01:00) Budapest': string;
39
+ '(GMT+01:00) Central European Time - Belgrade': string;
40
+ '(GMT+01:00) Central European Time - Prague': string;
41
+ '(GMT+01:00) Copenhagen': string;
42
+ '(GMT+01:00) Madrid': string;
43
+ '(GMT+01:00) Paris': string;
44
+ '(GMT+01:00) Rome': string;
45
+ '(GMT+01:00) Stockholm': string;
46
+ '(GMT+01:00) Vienna': string;
47
+ '(GMT+01:00) Warsaw': string;
48
+ '(GMT+02:00) Athens': string;
49
+ '(GMT+02:00) Bucharest': string;
50
+ '(GMT+02:00) Cairo': string;
51
+ '(GMT+02:00) Jerusalem': string;
52
+ '(GMT+02:00) Johannesburg': string;
53
+ '(GMT+02:00) Helsinki': string;
54
+ '(GMT+02:00) Kiev': string;
55
+ '(GMT+02:00) Moscow-01 - Kaliningrad': string;
56
+ '(GMT+02:00) Riga': string;
57
+ '(GMT+02:00) Sofia': string;
58
+ '(GMT+02:00) Tallinn': string;
59
+ '(GMT+02:00) Vilnius': string;
60
+ '(GMT+03:00) Istanbul': string;
61
+ '(GMT+03:00) Baghdad': string;
62
+ '(GMT+03:00) Nairobi': string;
63
+ '(GMT+03:00) Minsk': string;
64
+ '(GMT+03:00) Riyadh': string;
65
+ '(GMT+03:00) Moscow+00 - Moscow': string;
66
+ '(GMT+03:30) Tehran': string;
67
+ '(GMT+04:00) Baku': string;
68
+ '(GMT+04:00) Moscow+01 - Samara': string;
69
+ '(GMT+04:00) Tbilisi': string;
70
+ '(GMT+04:00) Yerevan': string;
71
+ '(GMT+04:30) Kabul': string;
72
+ '(GMT+05:00) Karachi': string;
73
+ '(GMT+05:00) Moscow+02 - Yekaterinburg': string;
74
+ '(GMT+05:00) Tashkent': string;
75
+ '(GMT+05:30) Colombo': string;
76
+ '(GMT+06:00) Almaty': string;
77
+ '(GMT+06:00) Dhaka': string;
78
+ '(GMT+06:30) Rangoon': string;
79
+ '(GMT+07:00) Bangkok': string;
80
+ '(GMT+07:00) Jakarta': string;
81
+ '(GMT+07:00) Moscow+04 - Krasnoyarsk': string;
82
+ '(GMT+08:00) China Time - Beijing': string;
83
+ '(GMT+08:00) Hong Kong': string;
84
+ '(GMT+08:00) Kuala Lumpur': string;
85
+ '(GMT+08:00) Moscow+05 - Irkutsk': string;
86
+ '(GMT+08:00) Singapore': string;
87
+ '(GMT+08:00) Taipei': string;
88
+ '(GMT+08:00) Ulaanbaatar': string;
89
+ '(GMT+08:00) Western Time - Perth': string;
90
+ '(GMT+09:00) Moscow+06 - Yakutsk': string;
91
+ '(GMT+09:00) Seoul': string;
92
+ '(GMT+09:00) Tokyo': string;
93
+ '(GMT+09:30) Central Time - Darwin': string;
94
+ '(GMT+10:00) Eastern Time - Brisbane': string;
95
+ '(GMT+10:00) Guam': string;
96
+ '(GMT+10:00) Moscow+07 - Magadan': string;
97
+ '(GMT+10:00) Moscow+07 - Yuzhno-Sakhalinsk': string;
98
+ '(GMT+10:00) Port Moresby': string;
99
+ '(GMT+10:30) Central Time - Adelaide': string;
100
+ '(GMT+11:00) Eastern Time - Hobart': string;
101
+ '(GMT+11:00) Eastern Time - Melbourne, Sydney': string;
102
+ '(GMT+11:00) Guadalcanal': string;
103
+ '(GMT+11:00) Noumea': string;
104
+ '(GMT+12:00) Majuro': string;
105
+ '(GMT+12:00) Moscow+09 - Petropavlovsk-Kamchatskiy': string;
106
+ '(GMT+13:00) Auckland': string;
107
+ '(GMT+13:00) Fakaofo': string;
108
+ '(GMT+13:00) Fiji': string;
109
+ '(GMT+13:00) Tongatapu': string;
110
+ '(GMT+14:00) Apia': string;
111
+ };
112
+ export default _default;
113
+ export declare const usCities: string[];
@@ -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: _chromaJs["default"].mix('#23282e', 'white', 0.25, 'rgb').hex(),
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: 'background.secondary'
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: 'background.secondary'
56
+ backgroundColor: 'backgroundSecondary'
57
57
  },
58
58
  '&.is-pressed': {
59
- backgroundColor: 'background.secondary'
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,
@@ -42,5 +42,6 @@ export declare const astroThemeValues: {
42
42
  defaultLoaderSize: number;
43
43
  defaultIconColor: string;
44
44
  defaultIconSize: IconSize;
45
+ calendarIconSize: IconSize;
45
46
  buttonLoaderSize: LoaderSize;
46
47
  };
@@ -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'],
@@ -52,5 +52,6 @@ export declare const nextGenThemeValues: {
52
52
  iFrameContentDivBackgroundColor: string;
53
53
  rockerButtonGap: string;
54
54
  defaultIconSize: IconSize;
55
+ calendarIconSize: IconSize;
55
56
  buttonLoaderSize: LoaderSize;
56
57
  };
@@ -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: 'background.secondary'
132
+ backgroundColor: 'backgroundSecondary'
133
133
  }),
134
134
  '&.is-pressed': {
135
- backgroundColor: 'background.secondary',
135
+ backgroundColor: 'backgroundSecondary',
136
136
  color: 'font.base'
137
137
  },
138
138
  '&.is-hovered': _objectSpread({
139
- backgroundColor: 'background.secondary',
139
+ backgroundColor: 'backgroundSecondary',
140
140
  color: 'font.base'
141
141
  }, boxShadowNone)
142
142
  });