@alixpartners/ui-components 1.20.64 → 1.20.65

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.20.65 (March 24, 2022)
2
+
3
+ - Export `ApDatePicker` component
4
+
1
5
  ## 1.20.64 (March 23, 2022)
2
6
 
3
7
  - Added `ApDatePicker` component
@@ -24,9 +24,9 @@ var __assign = (this && this.__assign) || function () {
24
24
  return __assign.apply(this, arguments);
25
25
  };
26
26
  Object.defineProperty(exports, "__esModule", { value: true });
27
- var react_1 = require("react");
28
- var react_day_picker_1 = require("react-day-picker");
29
- require("react-day-picker/lib/style.css");
27
+ exports.ApDatePicker = void 0;
28
+ var React = require("react");
29
+ var DayPicker = require("react-day-picker/DayPicker");
30
30
  var ApDatePicker_styles_1 = require("./ApDatePicker.styles");
31
31
  var NavBar_1 = require("./NavBar");
32
32
  var utils_1 = require("./utils");
@@ -81,14 +81,14 @@ var ApDatePicker = /** @class */ (function (_super) {
81
81
  to: selectedDays[selectedDays.length - 1],
82
82
  }, selectedRangeStart: selectedDays[0], selectedRangeEnd: selectedDays[selectedDays.length - 1] });
83
83
  }
84
- return (react_1.default.createElement(ApDatePicker_styles_1.Container, null,
85
- react_1.default.createElement(react_day_picker_1.default, __assign({ month: month, firstDayOfWeek: 1, showOutsideDays: true, pagedNavigation: true, modifiers: modifiers, onDayClick: this.handleDayChange, onDayMouseEnter: this.handleDayEnter, onDayMouseLeave: this.handleDayLeave, onMonthChange: function (m) { return _this.setState({ month: m }); }, captionElement: function (_a) {
84
+ return (React.createElement(ApDatePicker_styles_1.Container, null,
85
+ React.createElement(DayPicker.default, __assign({ month: month, firstDayOfWeek: 1, showOutsideDays: true, pagedNavigation: true, modifiers: modifiers, onDayClick: this.handleDayChange, onDayMouseEnter: this.handleDayEnter, onDayMouseLeave: this.handleDayLeave, onMonthChange: function (m) { return _this.setState({ month: m }); }, captionElement: function (_a) {
86
86
  var date = _a.date, localeUtils = _a.localeUtils;
87
- return (react_1.default.createElement(YearMonthForm_1.YearMonthForm, { date: date, localeUtils: localeUtils, srcRange: srcRange, onChange: _this.handleYearMonthChange }));
88
- }, navbarElement: function (props) { return (react_1.default.createElement(NavBar_1.Navbar, __assign({}, props, { srcRange: srcRange, date: month }))); } }, this.props))));
87
+ return (React.createElement(YearMonthForm_1.YearMonthForm, { date: date, localeUtils: localeUtils, srcRange: srcRange, onChange: _this.handleYearMonthChange }));
88
+ }, navbarElement: function (props) { return (React.createElement(NavBar_1.Navbar, __assign({}, props, { srcRange: srcRange, date: month }))); } }, this.props))));
89
89
  };
90
90
  return ApDatePicker;
91
- }(react_1.default.Component));
92
- exports.default = ApDatePicker;
91
+ }(React.Component));
92
+ exports.ApDatePicker = ApDatePicker;
93
93
  ;
94
94
  //# sourceMappingURL=ApDatePicker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApDatePicker.js","sourceRoot":"","sources":["../../../../src/components/ApDatePicker/ApDatePicker.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA0B;AAC1B,qDAAwD;AACxD,0CAAwC;AACxC,6DAAkD;AAClD,mCAAkC;AAClC,iCAAuC;AACvC,iDAA+C;AAoB/C;IAA0C,gCAAuD;IAChG,sBAAY,KAAyB;QAArC,YACC,kBAAM,KAAK,CAAC,SASZ;QAEM,qBAAe,GAAG,UAAC,IAAU;YACnC,KAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAC7B,CAAC,CAAC;QAEK,oBAAc,GAAG,UAAC,IAAU;YAC1B,IAAA,KAAK,GAAK,KAAI,CAAC,KAAK,MAAf,CAAgB;YAC7B,KAAI,CAAC,QAAQ,CAAC;gBACb,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC,oBAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;oBAC/C,IAA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BAP0C,CAO1C,EACD,aAAa,EAAE,UAAC,KAAK,IAAK,OAAA,CAAC,oBAAC,eAAM,eAAK,KAAK,IAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC,EAAxD,CAAwD,IAC9E,IAAI,CAAC,KAAK,EACb,CACS,CACZ,CAAC;IACH,CAAC;IACF,mBAAC;AAAD,CAAC,AAvFD,CAAkC,KAAK,CAAC,SAAS,GAuFhD;AAvFY,oCAAY;AAuFxB,CAAC"}
@@ -4,18 +4,18 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
4
4
  return cooked;
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.PrevNavButton = exports.NextNavButton = exports.NavButton = exports.NavContainer = exports.MonthYearContainer = exports.Container = exports.Wrapper = exports.Dropdown = void 0;
7
+ exports.Container = exports.Wrapper = exports.PrevNavButton = exports.NextNavButton = exports.NavButton = exports.NavContainer = exports.MonthYearContainer = exports.Dropdown = void 0;
8
8
  var styled_components_1 = require("styled-components");
9
9
  var ApButtons_1 = require("../../components/ApButtons");
10
10
  var ApSimpleDropdown_1 = require("../../components/ApSimpleDropdown");
11
11
  var theme_1 = require("../../utils/theme");
12
12
  exports.Dropdown = styled_components_1.default(ApSimpleDropdown_1.ApSimpleDropdown)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tdisplay: flex;\n\tmax-width: 80px;\n"], ["\n\tdisplay: flex;\n\tmax-width: 80px;\n"])));
13
- exports.Wrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\tmax-width: calc(100% - 40px);\n\tdisplay: flex;\n"], ["\n\tmax-width: calc(100% - 40px);\n\tdisplay: flex;\n"])));
14
- exports.Container = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n\t.DayPicker-Month {\n\t\tborder-collapse: separate;\n\t}\n\t.DayPicker-WeekNumber {\n\t\toutline: none;\n\t}\n\t.DayPicker-Day {\n\t\toutline: none;\n\t\tborder: 1px solid ", ";\n\t\tborder-radius: 0;\n\t}\n\t.DayPicker-Day--hoverRange {\n\t\tbackground-color: ", " !important;\n\t}\n\n\t.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside),\n\t.DayPicker-Day--selectedRange {\n\t\tbackground-color: ", " !important;\n\t\tcolor: ", ";\n\t\tborder-top-color: ", ";\n\t\tborder-bottom-color: ", ";\n\t\tborder-left-color: ", ";\n\t\tborder-right-color: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRangeStart {\n\t\tbackground-color: ", " !important;\n\t\tborder-left: 1px solid ", ";\n\t\tcolors: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRangeEnd {\n\t\tbackground-color: ", " !important;\n\t\tborder-right: 1px solid ", ";\n\t\tcolors: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRange:not(.DayPicker-Day--outside).DayPicker-Day--selected,\n\t.DayPicker-Day--hoverRange:not(.DayPicker-Day--outside).DayPicker-Day--selected {\n\t\tborder-radius: 0 !important;\n\t}\n\t.DayPicker:not(.DayPicker--interactionDisabled) .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover {\n\t\tbackground-color: ", ";\n\t}\n\t.DayPicker-Day--hoverRange:hover {\n\t\tborder-radius: 0 !important;\n\t}\n\n\t.DayPicker-Day--today {\n\t\tcolor: ", ";\n\t}\n\n\t.DayPicker-Weekday {\n\t\tcolor: ", ";\n\t\tfont-size: 13px;\n\t\tfont-weight: 500;\n\t}\n\n\t.DayPicker-NavButton {\n\t\ttop: 24px;\n\t}\n"], ["\n\t.DayPicker-Month {\n\t\tborder-collapse: separate;\n\t}\n\t.DayPicker-WeekNumber {\n\t\toutline: none;\n\t}\n\t.DayPicker-Day {\n\t\toutline: none;\n\t\tborder: 1px solid ", ";\n\t\tborder-radius: 0;\n\t}\n\t.DayPicker-Day--hoverRange {\n\t\tbackground-color: ", " !important;\n\t}\n\n\t.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside),\n\t.DayPicker-Day--selectedRange {\n\t\tbackground-color: ", " !important;\n\t\tcolor: ", ";\n\t\tborder-top-color: ", ";\n\t\tborder-bottom-color: ", ";\n\t\tborder-left-color: ", ";\n\t\tborder-right-color: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRangeStart {\n\t\tbackground-color: ", " !important;\n\t\tborder-left: 1px solid ", ";\n\t\tcolors: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRangeEnd {\n\t\tbackground-color: ", " !important;\n\t\tborder-right: 1px solid ", ";\n\t\tcolors: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRange:not(.DayPicker-Day--outside).DayPicker-Day--selected,\n\t.DayPicker-Day--hoverRange:not(.DayPicker-Day--outside).DayPicker-Day--selected {\n\t\tborder-radius: 0 !important;\n\t}\n\t.DayPicker:not(.DayPicker--interactionDisabled) .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover {\n\t\tbackground-color: ", ";\n\t}\n\t.DayPicker-Day--hoverRange:hover {\n\t\tborder-radius: 0 !important;\n\t}\n\n\t.DayPicker-Day--today {\n\t\tcolor: ", ";\n\t}\n\n\t.DayPicker-Weekday {\n\t\tcolor: ", ";\n\t\tfont-size: 13px;\n\t\tfont-weight: 500;\n\t}\n\n\t.DayPicker-NavButton {\n\t\ttop: 24px;\n\t}\n"])), theme_1.colors.white, theme_1.colors.green0, theme_1.colors.green1, theme_1.colors.white, theme_1.colors.white, theme_1.colors.white, theme_1.colors.white, theme_1.colors.white, theme_1.colors.green1, theme_1.colors.green1, theme_1.colors.white, theme_1.colors.green1, theme_1.colors.green1, theme_1.colors.white, theme_1.colors.white, theme_1.colors.red1, theme_1.colors.green1);
15
- exports.MonthYearContainer = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n\tdisplay: flex;\n\theight: 40px;\n"], ["\n\tdisplay: flex;\n\theight: 40px;\n"])));
16
- exports.NavContainer = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n\tposition: relative;\n\tright: 0px;\n\ttop: 18px;\n"], ["\n\tposition: relative;\n\tright: 0px;\n\ttop: 18px;\n"])));
17
- exports.NavButton = styled_components_1.default(ApButtons_1.ApButtonIcon)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n\tposition: absolute;\n\ttop: 0px;\n"], ["\n\tposition: absolute;\n\ttop: 0px;\n"])));
18
- exports.NextNavButton = styled_components_1.default(exports.NavButton)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n\tright: 16px;\n"], ["\n\tright: 16px;\n"])));
19
- exports.PrevNavButton = styled_components_1.default(exports.NavButton)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n\tright: 48px;\n"], ["\n\tright: 48px;\n"])));
13
+ exports.MonthYearContainer = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\tdisplay: flex;\n\theight: 40px;\n"], ["\n\tdisplay: flex;\n\theight: 40px;\n"])));
14
+ exports.NavContainer = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n\tposition: relative;\n\tright: 0px;\n\ttop: 18px;\n"], ["\n\tposition: relative;\n\tright: 0px;\n\ttop: 18px;\n"])));
15
+ exports.NavButton = styled_components_1.default(ApButtons_1.ApButtonIcon)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n\tposition: absolute;\n\ttop: 0px;\n"], ["\n\tposition: absolute;\n\ttop: 0px;\n"])));
16
+ exports.NextNavButton = styled_components_1.default(exports.NavButton)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n\tright: 16px;\n"], ["\n\tright: 16px;\n"])));
17
+ exports.PrevNavButton = styled_components_1.default(exports.NavButton)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n\tright: 48px;\n"], ["\n\tright: 48px;\n"])));
18
+ exports.Wrapper = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n\tmax-width: calc(100% - 40px);\n\tdisplay: flex;\n"], ["\n\tmax-width: calc(100% - 40px);\n\tdisplay: flex;\n"])));
19
+ exports.Container = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n\t/* DayPicker styles */\n\n\t.DayPicker {\n\t\tdisplay: inline-block;\n\t\tfont-size: 1rem;\n\t}\n\n\t.DayPicker-wrapper {\n\t\tposition: relative;\n\n\t\tflex-direction: row;\n\t\tpadding-bottom: 1em;\n\n\t\t-webkit-user-select: none;\n\n\t\t\t-moz-user-select: none;\n\n\t\t\t\t-ms-user-select: none;\n\n\t\t\t\t\t\tuser-select: none;\n\t}\n\n\t.DayPicker-Months {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t}\n\n\t.DayPicker-Month {\n\t\tdisplay: table;\n\t\tmargin: 0 1em;\n\t\tmargin-top: 1em;\n\t\tborder-spacing: 0;\n\t\tborder-collapse: collapse;\n\n\t\t-webkit-user-select: none;\n\n\t\t\t-moz-user-select: none;\n\n\t\t\t\t-ms-user-select: none;\n\n\t\t\t\t\t\tuser-select: none;\n\t}\n\n\t.DayPicker-NavBar {\n\t}\n\n\t.DayPicker-NavButton {\n\t\tposition: absolute;\n\t\ttop: 1em;\n\t\tright: 1.5em;\n\t\tleft: auto;\n\n\t\tdisplay: inline-block;\n\t\tmargin-top: 2px;\n\t\twidth: 1.25em;\n\t\theight: 1.25em;\n\t\tbackground-position: center;\n\t\tbackground-size: 50%;\n\t\tbackground-repeat: no-repeat;\n\t\tcolor: #8B9898;\n\t\tcursor: pointer;\n\t}\n\n\t.DayPicker-NavButton:hover {\n\t\topacity: 0.8;\n\t}\n\n\t.DayPicker-NavButton--prev {\n\t\tmargin-right: 1.5em;\n\t\tbackground-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAwCAYAAAB5R9gVAAAABGdBTUEAALGP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4SDmKoEgTirXAcJVGkFSVVpgoSrXICGUMUH/QBZNSUy5XWUhwAAAABJRU5ErkJggg==');\n\t}\n\n\t.DayPicker-NavButton--interactionDisabled {\n\t\tdisplay: none;\n\t}\n\n\t.DayPicker-Caption {\n\t\tdisplay: table-caption;\n\t\tmargin-bottom: 0.5em;\n\t\tpadding: 0 0.5em;\n\t\ttext-align: left;\n\t}\n\n\t.DayPicker-Caption > div {\n\t\tfont-weight: 500;\n\t\tfont-size: 1.15em;\n\t}\n\n\t.DayPicker-Weekdays {\n\t\tdisplay: table-header-group;\n\t\tmargin-top: 1em;\n\t}\n\n\t.DayPicker-WeekdaysRow {\n\t\tdisplay: table-row;\n\t}\n\n\t.DayPicker-Weekday {\n\t\tdisplay: table-cell;\n\t\tpadding: 0.5em;\n\t\tcolor: #8B9898;\n\t\ttext-align: center;\n\t\tfont-size: 0.875em;\n\t}\n\n\t.DayPicker-Weekday abbr[title] {\n\t\tborder-bottom: none;\n\t\ttext-decoration: none;\n\t}\n\n\t.DayPicker-Body {\n\t\tdisplay: table-row-group;\n\t}\n\n\t.DayPicker-Week {\n\t\tdisplay: table-row;\n\t}\n\n\t.DayPicker-Day {\n\t\tdisplay: table-cell;\n\t\tpadding: 0.5em;\n\t\tborder-radius: 50%;\n\t\tvertical-align: middle;\n\t\ttext-align: center;\n\t\tcursor: pointer;\n\t}\n\n\t.DayPicker-WeekNumber {\n\t\tdisplay: table-cell;\n\t\tpadding: 0.5em;\n\t\tmin-width: 1em;\n\t\tborder-right: 1px solid #EAECEC;\n\t\tcolor: #8B9898;\n\t\tvertical-align: middle;\n\t\ttext-align: right;\n\t\tfont-size: 0.75em;\n\t\tcursor: pointer;\n\t}\n\n\t.DayPicker--interactionDisabled .DayPicker-Day {\n\t\tcursor: default;\n\t}\n\n\t.DayPicker-Footer {\n\t\tpadding-top: 0.5em;\n\t}\n\n\t.DayPicker-TodayButton {\n\t\tborder: none;\n\t\tbackground-color: transparent;\n\t\tbackground-image: none;\n\t\tbox-shadow: none;\n\t\tcolor: #4A90E2;\n\t\tfont-size: 0.875em;\n\t\tcursor: pointer;\n\t}\n\n\t/* Default modifiers */\n\n\t.DayPicker-Day--today {\n\t\tcolor: #D0021B;\n\t\tfont-weight: 700;\n\t}\n\n\t.DayPicker-Day--outside {\n\t\tcolor: #8B9898;\n\t\tcursor: default;\n\t}\n\n\t.DayPicker-Day--disabled {\n\t\tcolor: #DCE0E0;\n\t\tcursor: default;\n\t\t/* background-color: #eff1f1; */\n\t}\n\n\t/* Example modifiers */\n\n\t.DayPicker-Day--sunday {\n\t\tbackground-color: #F7F8F8;\n\t}\n\n\t.DayPicker-Day--sunday:not(.DayPicker-Day--today) {\n\t\tcolor: #DCE0E0;\n\t}\n\n\t.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {\n\t\tposition: relative;\n\n\t\tbackground-color: #4A90E2;\n\t\tcolor: #F0F8FF;\n\t}\n\n\t.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside):hover {\n\t\tbackground-color: #51A0FA;\n\t}\n\n\t.DayPicker:not(.DayPicker--interactionDisabled)\n\t\t.DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover {\n\t\tbackground-color: #F0F8FF;\n\t}\n\n\t/* DayPickerInput */\n\n\t.DayPickerInput {\n\t\tdisplay: inline-block;\n\t}\n\n\t.DayPickerInput-OverlayWrapper {\n\t\tposition: relative;\n\t}\n\n\t.DayPickerInput-Overlay {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tz-index: 1;\n\n\t\tbackground: white;\n\t\tbox-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);\n\t}\n\n\t.DayPicker-Month {\n\t\tborder-collapse: separate;\n\t}\n\t.DayPicker-WeekNumber {\n\t\toutline: none;\n\t}\n\t.DayPicker-Day {\n\t\toutline: none;\n\t\tborder: 1px solid ", ";\n\t\tborder-radius: 0;\n\t}\n\t.DayPicker-Day--hoverRange {\n\t\tbackground-color: ", " !important;\n\t}\n\n\t.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside),\n\t.DayPicker-Day--selectedRange {\n\t\tbackground-color: ", " !important;\n\t\tcolor: ", ";\n\t\tborder-top-color: ", ";\n\t\tborder-bottom-color: ", ";\n\t\tborder-left-color: ", ";\n\t\tborder-right-color: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRangeStart {\n\t\tbackground-color: ", " !important;\n\t\tborder-left: 1px solid ", ";\n\t\tcolors: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRangeEnd {\n\t\tbackground-color: ", " !important;\n\t\tborder-right: 1px solid ", ";\n\t\tcolors: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRange:not(.DayPicker-Day--outside).DayPicker-Day--selected,\n\t.DayPicker-Day--hoverRange:not(.DayPicker-Day--outside).DayPicker-Day--selected {\n\t\tborder-radius: 0 !important;\n\t}\n\t.DayPicker:not(.DayPicker--interactionDisabled) .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover {\n\t\tbackground-color: ", ";\n\t}\n\t.DayPicker-Day--hoverRange:hover {\n\t\tborder-radius: 0 !important;\n\t}\n\n\t.DayPicker-Day--today {\n\t\tcolor: ", ";\n\t}\n\n\t.DayPicker-Weekday {\n\t\tcolor: ", ";\n\t\tfont-size: 13px;\n\t\tfont-weight: 500;\n\t}\n\n\t.DayPicker-NavButton {\n\t\ttop: 24px;\n\t}\n"], ["\n\t/* DayPicker styles */\n\n\t.DayPicker {\n\t\tdisplay: inline-block;\n\t\tfont-size: 1rem;\n\t}\n\n\t.DayPicker-wrapper {\n\t\tposition: relative;\n\n\t\tflex-direction: row;\n\t\tpadding-bottom: 1em;\n\n\t\t-webkit-user-select: none;\n\n\t\t\t-moz-user-select: none;\n\n\t\t\t\t-ms-user-select: none;\n\n\t\t\t\t\t\tuser-select: none;\n\t}\n\n\t.DayPicker-Months {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t}\n\n\t.DayPicker-Month {\n\t\tdisplay: table;\n\t\tmargin: 0 1em;\n\t\tmargin-top: 1em;\n\t\tborder-spacing: 0;\n\t\tborder-collapse: collapse;\n\n\t\t-webkit-user-select: none;\n\n\t\t\t-moz-user-select: none;\n\n\t\t\t\t-ms-user-select: none;\n\n\t\t\t\t\t\tuser-select: none;\n\t}\n\n\t.DayPicker-NavBar {\n\t}\n\n\t.DayPicker-NavButton {\n\t\tposition: absolute;\n\t\ttop: 1em;\n\t\tright: 1.5em;\n\t\tleft: auto;\n\n\t\tdisplay: inline-block;\n\t\tmargin-top: 2px;\n\t\twidth: 1.25em;\n\t\theight: 1.25em;\n\t\tbackground-position: center;\n\t\tbackground-size: 50%;\n\t\tbackground-repeat: no-repeat;\n\t\tcolor: #8B9898;\n\t\tcursor: pointer;\n\t}\n\n\t.DayPicker-NavButton:hover {\n\t\topacity: 0.8;\n\t}\n\n\t.DayPicker-NavButton--prev {\n\t\tmargin-right: 1.5em;\n\t\tbackground-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAwCAYAAAB5R9gVAAAABGdBTUEAALGPC/xhBQAAAVVJREFUWAnN2G0KgjAYwPHpGfRkaZeqvgQaK+hY3SUHrk1YzNLay/OiEFp92I+/Mp2F2Mh2lLISWnflFjzH263RQjzMZ19wgs73ez0o1WmtW+dgA01VxrE3p6l2GLsnBy1VYQOtVSEH/atCCgqpQgKKqYIOiq2CBkqtggLKqQIKgqgCBjpJ2Y5CdJ+zrT9A7HHSTA1dxUdHgzCqJIEwq0SDsKsEg6iqBIEoq/wEcVRZBXFV+QJxV5mBtlDFB5VjYTaGZ2sf4R9PM7U9ZU+lLuaetPP/5Die3ToO1+u+MKtHs06qODB2zBnI/jBd4MPQm1VkY79Tb18gB+C62FdBFsZR6yeIo1YQiLJWMIiqVjQIu1YSCLNWFgijVjYIuhYYCKoWKAiiFgoopxYaKLUWOii2FgkophYp6F3r42W5A9s9OcgNvva8xQaysKXlFytoqdYmQH6tF3toSUo0INq9AAAAAElFTkSuQmCC');\n\t}\n\n\t.DayPicker-NavButton--next {\n\t\tbackground-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAwCAYAAAB5R9gVAAAABGdBTUEAALGPC/xhBQAAAXRJREFUWAnN119ugjAcwPHWzJ1gnmxzB/BBE0n24m4xfNkTaOL7wOtsl3AXMMb+Vjaa1BG00N8fSEibPpAP3xAKKs2yjzTPH9RAjhEo9WzPr/Vm8zgE0+gXATAxxuxtqeJ9t5tIwv5AtQAApsfT6TPdbp+kUBcgVwvO51KqVhMkXKsVJFXrOkigVhCIs1Y4iKlWZxB1rX4gwlpRIIpa8SDkWmggrFq4IIRaJKCYWnSgnrXIQV1r8YD+1Vrn+bReagysIFfLABRt31v8oBu1xEBttfRbltmfjgEcWh9snUS2kNdBK6WN1vrOWxObWsz+fjxevsxmB1GQDfINWiev83nhaoiB/CoOU438oPrhXS0WpQ9xc1ZQWxWHqUYe0I0qrKCQKjygDlXIQV2r0IF6ViEBxVTBBSFUQQNhVYkHIVeJAtkNsbQ7c1LtzP6FsObhb2rCKv7NBIGoq4SDmKoEgTirXAcJVGkFSVVpgoSrXICGUMUH/QBZNSUy5XWUhwAAAABJRU5ErkJggg==');\n\t}\n\n\t.DayPicker-NavButton--interactionDisabled {\n\t\tdisplay: none;\n\t}\n\n\t.DayPicker-Caption {\n\t\tdisplay: table-caption;\n\t\tmargin-bottom: 0.5em;\n\t\tpadding: 0 0.5em;\n\t\ttext-align: left;\n\t}\n\n\t.DayPicker-Caption > div {\n\t\tfont-weight: 500;\n\t\tfont-size: 1.15em;\n\t}\n\n\t.DayPicker-Weekdays {\n\t\tdisplay: table-header-group;\n\t\tmargin-top: 1em;\n\t}\n\n\t.DayPicker-WeekdaysRow {\n\t\tdisplay: table-row;\n\t}\n\n\t.DayPicker-Weekday {\n\t\tdisplay: table-cell;\n\t\tpadding: 0.5em;\n\t\tcolor: #8B9898;\n\t\ttext-align: center;\n\t\tfont-size: 0.875em;\n\t}\n\n\t.DayPicker-Weekday abbr[title] {\n\t\tborder-bottom: none;\n\t\ttext-decoration: none;\n\t}\n\n\t.DayPicker-Body {\n\t\tdisplay: table-row-group;\n\t}\n\n\t.DayPicker-Week {\n\t\tdisplay: table-row;\n\t}\n\n\t.DayPicker-Day {\n\t\tdisplay: table-cell;\n\t\tpadding: 0.5em;\n\t\tborder-radius: 50%;\n\t\tvertical-align: middle;\n\t\ttext-align: center;\n\t\tcursor: pointer;\n\t}\n\n\t.DayPicker-WeekNumber {\n\t\tdisplay: table-cell;\n\t\tpadding: 0.5em;\n\t\tmin-width: 1em;\n\t\tborder-right: 1px solid #EAECEC;\n\t\tcolor: #8B9898;\n\t\tvertical-align: middle;\n\t\ttext-align: right;\n\t\tfont-size: 0.75em;\n\t\tcursor: pointer;\n\t}\n\n\t.DayPicker--interactionDisabled .DayPicker-Day {\n\t\tcursor: default;\n\t}\n\n\t.DayPicker-Footer {\n\t\tpadding-top: 0.5em;\n\t}\n\n\t.DayPicker-TodayButton {\n\t\tborder: none;\n\t\tbackground-color: transparent;\n\t\tbackground-image: none;\n\t\tbox-shadow: none;\n\t\tcolor: #4A90E2;\n\t\tfont-size: 0.875em;\n\t\tcursor: pointer;\n\t}\n\n\t/* Default modifiers */\n\n\t.DayPicker-Day--today {\n\t\tcolor: #D0021B;\n\t\tfont-weight: 700;\n\t}\n\n\t.DayPicker-Day--outside {\n\t\tcolor: #8B9898;\n\t\tcursor: default;\n\t}\n\n\t.DayPicker-Day--disabled {\n\t\tcolor: #DCE0E0;\n\t\tcursor: default;\n\t\t/* background-color: #eff1f1; */\n\t}\n\n\t/* Example modifiers */\n\n\t.DayPicker-Day--sunday {\n\t\tbackground-color: #F7F8F8;\n\t}\n\n\t.DayPicker-Day--sunday:not(.DayPicker-Day--today) {\n\t\tcolor: #DCE0E0;\n\t}\n\n\t.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {\n\t\tposition: relative;\n\n\t\tbackground-color: #4A90E2;\n\t\tcolor: #F0F8FF;\n\t}\n\n\t.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside):hover {\n\t\tbackground-color: #51A0FA;\n\t}\n\n\t.DayPicker:not(.DayPicker--interactionDisabled)\n\t\t.DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover {\n\t\tbackground-color: #F0F8FF;\n\t}\n\n\t/* DayPickerInput */\n\n\t.DayPickerInput {\n\t\tdisplay: inline-block;\n\t}\n\n\t.DayPickerInput-OverlayWrapper {\n\t\tposition: relative;\n\t}\n\n\t.DayPickerInput-Overlay {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tz-index: 1;\n\n\t\tbackground: white;\n\t\tbox-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);\n\t}\n\n\t.DayPicker-Month {\n\t\tborder-collapse: separate;\n\t}\n\t.DayPicker-WeekNumber {\n\t\toutline: none;\n\t}\n\t.DayPicker-Day {\n\t\toutline: none;\n\t\tborder: 1px solid ", ";\n\t\tborder-radius: 0;\n\t}\n\t.DayPicker-Day--hoverRange {\n\t\tbackground-color: ", " !important;\n\t}\n\n\t.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside),\n\t.DayPicker-Day--selectedRange {\n\t\tbackground-color: ", " !important;\n\t\tcolor: ", ";\n\t\tborder-top-color: ", ";\n\t\tborder-bottom-color: ", ";\n\t\tborder-left-color: ", ";\n\t\tborder-right-color: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRangeStart {\n\t\tbackground-color: ", " !important;\n\t\tborder-left: 1px solid ", ";\n\t\tcolors: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRangeEnd {\n\t\tbackground-color: ", " !important;\n\t\tborder-right: 1px solid ", ";\n\t\tcolors: ", ";\n\t}\n\n\t.DayPicker-Day--selectedRange:not(.DayPicker-Day--outside).DayPicker-Day--selected,\n\t.DayPicker-Day--hoverRange:not(.DayPicker-Day--outside).DayPicker-Day--selected {\n\t\tborder-radius: 0 !important;\n\t}\n\t.DayPicker:not(.DayPicker--interactionDisabled) .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover {\n\t\tbackground-color: ", ";\n\t}\n\t.DayPicker-Day--hoverRange:hover {\n\t\tborder-radius: 0 !important;\n\t}\n\n\t.DayPicker-Day--today {\n\t\tcolor: ", ";\n\t}\n\n\t.DayPicker-Weekday {\n\t\tcolor: ", ";\n\t\tfont-size: 13px;\n\t\tfont-weight: 500;\n\t}\n\n\t.DayPicker-NavButton {\n\t\ttop: 24px;\n\t}\n"])), theme_1.colors.white, theme_1.colors.green0, theme_1.colors.green1, theme_1.colors.white, theme_1.colors.white, theme_1.colors.white, theme_1.colors.white, theme_1.colors.white, theme_1.colors.green1, theme_1.colors.green1, theme_1.colors.white, theme_1.colors.green1, theme_1.colors.green1, theme_1.colors.white, theme_1.colors.white, theme_1.colors.red1, theme_1.colors.green1);
20
20
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
21
21
  //# sourceMappingURL=ApDatePicker.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApDatePicker.styles.js","sourceRoot":"","sources":["../../../../src/components/ApDatePicker/ApDatePicker.styles.ts"],"names":[],"mappings":";;;;;;;AAAA,uDAAuC;AACvC,wDAA0D;AAC1D,sEAAqE;AACrE,2CAA2C;AAE9B,QAAA,QAAQ,GAAG,2BAAM,CAAC,mCAAgB,CAAC,6GAAA,0CAG/C,KAAC;AAEW,QAAA,OAAO,GAAG,2BAAM,CAAC,GAAG,0HAAA,uDAGhC,KAAC;AAEW,QAAA,SAAS,GAAG,2BAAM,CAAC,GAAG,2lDAAA,iLASb,EAAY,uFAIZ,EAAa,wK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2BAAM,CAAC,GAAG,0GAAA,uCAG3C,KAAC;AAEW,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,2HAAA,wDAIrC,KAAC;AAEW,QAAA,SAAS,GAAG,2BAAM,CAAC,wBAAY,CAAC,2GAAA,wCAG5C,KAAC;AAEW,QAAA,aAAa,GAAG,2BAAM,CAAC,iBAAS,CAAC,uFAAA,oBAE7C,KAAC;AAEW,QAAA,aAAa,GAAG,2BAAM,CAAC,iBAAS,CAAC,uFAAA,oBAE7C,KAAC;AAEW,QAAA,OAAO,GAAG,2BAAM,CAAC,GAAG,0HAAA,uDAGhC,KAAC;AAEW,QAAA,SAAS,GAAG,2BAAM,CAAC,GAAG,i4NAAA,u9KA0Ob,EAAY,uFAIZ,EAAa,wKAKb,EAAa,2BACxB,EAAY,2BACD,EAAY,8BACT,EAAY,4BACd,EAAY,6BACX,EAAY,0EAId,EAAa,2CACR,EAAa,iBAC5B,EAAY,wEAIF,EAAa,4CACP,EAAa,iBAC7B,EAAY,wZAQF,EAAY,+HAOvB,EAAW,+CAIX,EAAa,wGAQvB,KArDqB,cAAM,CAAC,KAAK,EAIZ,cAAM,CAAC,MAAM,EAKb,cAAM,CAAC,MAAM,EACxB,cAAM,CAAC,KAAK,EACD,cAAM,CAAC,KAAK,EACT,cAAM,CAAC,KAAK,EACd,cAAM,CAAC,KAAK,EACX,cAAM,CAAC,KAAK,EAId,cAAM,CAAC,MAAM,EACR,cAAM,CAAC,MAAM,EAC5B,cAAM,CAAC,KAAK,EAIF,cAAM,CAAC,MAAM,EACP,cAAM,CAAC,MAAM,EAC7B,cAAM,CAAC,KAAK,EAQF,cAAM,CAAC,KAAK,EAOvB,cAAM,CAAC,IAAI,EAIX,cAAM,CAAC,MAAM,EAQtB"}
@@ -12,7 +12,7 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.YearMonthForm = void 0;
15
- var moment_1 = require("moment");
15
+ var moment = require("moment");
16
16
  var React = require("react");
17
17
  var ApDatePicker_styles_1 = require("./ApDatePicker.styles");
18
18
  var getOption = function (text) { return ({
@@ -35,14 +35,14 @@ exports.YearMonthForm = function (_a) {
35
35
  years.push(i);
36
36
  }
37
37
  var handleMonthChange = function (option) {
38
- onChange(new Date(date.getFullYear(), moment_1.default().month(option.value).month()));
38
+ onChange(new Date(date.getFullYear(), moment().month(option.value).month()));
39
39
  };
40
40
  var handleYearChange = function (option) {
41
41
  onChange(new Date(Number(option.value), date.getMonth()));
42
42
  };
43
43
  return (React.createElement(ApDatePicker_styles_1.MonthYearContainer, { className: "DayPicker-Caption" },
44
44
  React.createElement(ApDatePicker_styles_1.Wrapper, null,
45
- React.createElement(ApDatePicker_styles_1.Dropdown, { options: months.map(function (m, i) { return (__assign(__assign({}, getOption(m)), { disabled: i < minMonth || i > maxMonth })); }), selected: getOption(moment_1.default(date).startOf("month").format('MMM')), onChange: handleMonthChange }),
45
+ React.createElement(ApDatePicker_styles_1.Dropdown, { options: months.map(function (m, i) { return (__assign(__assign({}, getOption(m)), { disabled: i < minMonth || i > maxMonth })); }), selected: getOption(moment(date).startOf("month").format('MMM')), onChange: handleMonthChange }),
46
46
  React.createElement(ApDatePicker_styles_1.Dropdown, { options: years.map(getOption), selected: getOption(date.getFullYear()), onChange: handleYearChange }))));
47
47
  };
48
48
  //# sourceMappingURL=YearMonthForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"YearMonthForm.js","sourceRoot":"","sources":["../../../../src/components/ApDatePicker/YearMonthForm.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,iCAA4B;AAC5B,6BAA+B;AAE/B,6DAA8E;AAE9E,IAAM,SAAS,GAAG,UAAC,IAAqB,IAAK,OAAA,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC;CACnB,CAAC,EAH2C,CAG3C,CAAA;AAEW,QAAA,aAAa,GAAG,UAA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AC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAChE,QAAQ,EAAE,iBAAiB,GAC1B;YACF,oBAAC,8BAAQ,IACR,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,EAC7B,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,EACvC,QAAQ,EAAE,gBAAgB,GACzB,CACO,CACU,CACrB,CAAC;AACH,CAAC,CAAC"}
@@ -1,15 +1,5 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
- };
12
2
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./ApDatePicker"), exports);
14
- __exportStar(require("./utils"), exports);
3
+ var ApDatePicker_1 = require("./ApDatePicker");
4
+ Object.defineProperty(exports, "ApDatePicker", { enumerable: true, get: function () { return ApDatePicker_1.ApDatePicker; } });
15
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ApDatePicker/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA+B;AAC/B,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ApDatePicker/index.ts"],"names":[],"mappings":";;AAAA,+CAA6C;AAApC,4GAAA,YAAY,OAAA"}
@@ -1,18 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getWeekRange = exports.getWeekDays = void 0;
4
- var moment_1 = require("moment");
4
+ var moment = require("moment");
5
5
  exports.getWeekDays = function (weekStart, amount) {
6
6
  var days = [weekStart];
7
7
  for (var i = 1; i < amount; i += 1) {
8
- days.push(moment_1.default(weekStart)
8
+ days.push(moment(weekStart)
9
9
  .add(i, 'days')
10
10
  .toDate());
11
11
  }
12
12
  return days;
13
13
  };
14
14
  exports.getWeekRange = function (date, range) {
15
- var startDate = moment_1.default(date).startOf('isoWeek');
15
+ var startDate = moment(date).startOf('isoWeek');
16
16
  return {
17
17
  from: startDate.toDate(),
18
18
  to: startDate
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/components/ApDatePicker/utils.ts"],"names":[],"mappings":";;;AAAA,iCAA4B;AAEf,QAAA,WAAW,GAAG,UAAC,SAAe,EAAE,MAAc;IAC1D,IAAM,IAAI,GAAG,CAAC,SAAS,CAAC,CAAC;IACzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;QACnC,IAAI,CAAC,IAAI,CACR,gBAAM,CAAC,SAAS,CAAC;aACf,GAAG,CAAC,CAAC,EAAE,MAAM,CAAC;aACd,MAAM,EAAE,CACV,CAAC;KACF;IACD,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAEW,QAAA,YAAY,GAAG,UAAC,IAAU,EAAE,KAAa;IACrD,IAAM,SAAS,GAAG,gBAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;IACjD,OAAO;QACN,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE;QACxB,EAAE,EAAE,SAAS;aACX,GAAG,CAAC,KAAK,GAAG,CAAC,EAAE,MAAM,CAAC;aACtB,MAAM,EAAE;KACV,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/components/ApDatePicker/utils.ts"],"names":[],"mappings":";;;AAAA,+BAAiC;AAEpB,QAAA,WAAW,GAAG,UAAC,SAAe,EAAE,MAAc;IAC1D,IAAM,IAAI,GAAG,CAAC,SAAS,CAAC,CAAC;IACzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;QACnC,IAAI,CAAC,IAAI,CACR,MAAM,CAAC,SAAS,CAAC;aACf,GAAG,CAAC,CAAC,EAAE,MAAM,CAAC;aACd,MAAM,EAAE,CACV,CAAC;KACF;IACD,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAEW,QAAA,YAAY,GAAG,UAAC,IAAU,EAAE,KAAa;IACrD,IAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;IACjD,OAAO;QACN,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE;QACxB,EAAE,EAAE,SAAS;aACX,GAAG,CAAC,KAAK,GAAG,CAAC,EAAE,MAAM,CAAC;aACtB,MAAM,EAAE;KACV,CAAC;AACH,CAAC,CAAC"}
package/dist/esm/index.js CHANGED
@@ -15,6 +15,7 @@ __exportStar(require("./components/ApAppBar/ApAppBar"), exports);
15
15
  __exportStar(require("./components/ApButtons/ApButtons"), exports);
16
16
  __exportStar(require("./components/ApButtonGroup/ApButtonGroup"), exports);
17
17
  __exportStar(require("./components/ApIcon/ApIcon"), exports);
18
+ __exportStar(require("./components/ApDatePicker/ApDatePicker"), exports);
18
19
  __exportStar(require("./components/ApLoaderDefault/ApLoaderDefault"), exports);
19
20
  __exportStar(require("./components/ApLoaderText/ApLoaderText"), exports);
20
21
  __exportStar(require("./components/ApModal/ApModal"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6DAA0C;AAC1C,iEAA8C;AAC9C,mEAAgD;AAChD,2EAAwD;AACxD,6DAA0C;AAC1C,+EAA4D;AAC5D,yEAAsD;AACtD,+DAA4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pD,2EAAwD;AACxD,kEAA+C;AAC/C,qEAAkD;AAClD,uEAAoD;AACpD,mEAAgD;AAChD,6DAA0C;AAC1C,6EAA0D;AAC1D,iEAA8C;AAC9C,+DAA4C;AAC5C,qEAAkD;AAClD,0EAAuD;AACvD,qEAAkD;AAClD,qFAAkE;AAClE,wEAAqD;AACrD,0EAAuD;AACvD,uFAAoE;AACpE,gFAA6D;AAC7D,uEAAoD;AACpD,sEAAmD;AACnD,sEAAmD;AACnD,0EAAuD;AACvD,gFAA6D;AAC7D,4EAAyD;AACzD,0EAAuD;AACvD,2EAAwD;AACxD,sEAAmD;AACnD,uEAAoD;AACpD,4EAAyD;AACzD,8EAA2D;AAC3D,sEAAmD;AACnD,4EAAyD;AACzD,uEAAoD;AACpD,+DAA4C;AAC5C,iFAA8D;AAC9D,+EAA4D;AAC5D,iFAA8D;AAC9D,mFAAgE;AAChE,6EAA0D;AAC1D,mEAAgD;AAChD,6DAA0C;AAC1C,iEAA8C;AAC9C,uEAAoD;AACpD,oEAAiD;AACjD,8DAA2C;AAC3C,iEAA8C;AAC9C,+DAA4C;AAC5C,uEAAoD;AACpD,wEAAqD;AACrD,gEAA6C;AAC7C,6EAA0D;AAC1D,mEAAgD;AAChD,6EAA0D;AAC1D,0EAAuD;AACvD,gDAA6B"}
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import 'react-day-picker/lib/style.css';
1
+ import * as React from 'react';
3
2
  interface IApDatePickerProps {
4
3
  range?: number;
5
4
  selectedDays: Date[];
@@ -16,7 +15,7 @@ interface IApDatePickerState {
16
15
  };
17
16
  month: Date;
18
17
  }
19
- export default class ApDatePicker extends React.Component<IApDatePickerProps, IApDatePickerState> {
18
+ export declare class ApDatePicker extends React.Component<IApDatePickerProps, IApDatePickerState> {
20
19
  constructor(props: IApDatePickerProps);
21
20
  handleDayChange: (date: Date) => void;
22
21
  handleDayEnter: (date: Date) => void;
@@ -1,8 +1,8 @@
1
1
  export declare const Dropdown: import("styled-components").StyledComponent<({ options, selected, iconName, iconProps, disabled, onChange, label, multiple, message, maxItems, }: import("../ApSimpleDropdown").IApSimpleDropdownProps) => JSX.Element, any, {}, never>;
2
- export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
4
2
  export declare const MonthYearContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
5
3
  export declare const NavContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
6
4
  export declare const NavButton: import("styled-components").StyledComponent<import("react").SFC<import("../ApButtons").IButtonIconProps>, any, {}, never>;
7
5
  export declare const NextNavButton: import("styled-components").StyledComponent<import("react").SFC<import("../ApButtons").IButtonIconProps>, any, {}, never>;
8
6
  export declare const PrevNavButton: import("styled-components").StyledComponent<import("react").SFC<import("../ApButtons").IButtonIconProps>, any, {}, never>;
7
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,2 +1 @@
1
- export * from './ApDatePicker';
2
- export * from './utils';
1
+ export { ApDatePicker } from './ApDatePicker';
@@ -3,6 +3,7 @@ export * from './components/ApAppBar/ApAppBar';
3
3
  export * from './components/ApButtons/ApButtons';
4
4
  export * from './components/ApButtonGroup/ApButtonGroup';
5
5
  export * from './components/ApIcon/ApIcon';
6
+ export * from './components/ApDatePicker/ApDatePicker';
6
7
  export * from './components/ApLoaderDefault/ApLoaderDefault';
7
8
  export * from './components/ApLoaderText/ApLoaderText';
8
9
  export * from './components/ApModal/ApModal';