ui-kit-ck-consultant 0.5.271 → 0.5.272
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/dist/index.js +29 -14
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +29 -14
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -673,10 +673,10 @@ var FormCheckbox = /*#__PURE__*/function (_React$Component) {
|
|
673
673
|
return FormCheckbox;
|
674
674
|
}(React.Component);
|
675
675
|
|
676
|
-
var
|
677
|
-
_inheritsLoose(
|
676
|
+
var FormSelectMultiples = /*#__PURE__*/function (_React$Component) {
|
677
|
+
_inheritsLoose(FormSelectMultiples, _React$Component);
|
678
678
|
|
679
|
-
function
|
679
|
+
function FormSelectMultiples(props) {
|
680
680
|
var _this;
|
681
681
|
|
682
682
|
_this = _React$Component.call(this, props) || this;
|
@@ -702,7 +702,7 @@ var FormSelectMutiples = /*#__PURE__*/function (_React$Component) {
|
|
702
702
|
return _this;
|
703
703
|
}
|
704
704
|
|
705
|
-
var _proto =
|
705
|
+
var _proto = FormSelectMultiples.prototype;
|
706
706
|
|
707
707
|
_proto.render = function render() {
|
708
708
|
var _this2 = this;
|
@@ -763,7 +763,7 @@ var FormSelectMutiples = /*#__PURE__*/function (_React$Component) {
|
|
763
763
|
}, "Valider"))) : null);
|
764
764
|
};
|
765
765
|
|
766
|
-
return
|
766
|
+
return FormSelectMultiples;
|
767
767
|
}(React.Component);
|
768
768
|
|
769
769
|
var style$8 = {"radio_container":"_3mKHO","form_radio_container":"_2lVSW","form_radio_mark":"_2xIhO"};
|
@@ -1092,7 +1092,7 @@ var Header = /*#__PURE__*/function (_React$Component) {
|
|
1092
1092
|
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
|
1093
1093
|
|
1094
1094
|
_this.snowflake = function () {
|
1095
|
-
var COUNT =
|
1095
|
+
var COUNT = 10;
|
1096
1096
|
var masthead = document.querySelector('.sky');
|
1097
1097
|
var canvas = document.createElement('canvas');
|
1098
1098
|
var ctx = canvas.getContext('2d');
|
@@ -1124,9 +1124,9 @@ var Header = /*#__PURE__*/function (_React$Component) {
|
|
1124
1124
|
Snowflake.prototype.reset = function () {
|
1125
1125
|
this.x = Math.random() * width;
|
1126
1126
|
this.y = Math.random() * -height;
|
1127
|
-
this.vy =
|
1128
|
-
this.vx = 0.
|
1129
|
-
this.r = 1 + Math.random() *
|
1127
|
+
this.vy = 0.18 + Math.random() * 1.5;
|
1128
|
+
this.vx = 0.65 - Math.random();
|
1129
|
+
this.r = 1 + Math.random() * 3;
|
1130
1130
|
this.o = 0.5 + Math.random() * 0.5;
|
1131
1131
|
};
|
1132
1132
|
|
@@ -1151,11 +1151,26 @@ var Header = /*#__PURE__*/function (_React$Component) {
|
|
1151
1151
|
snowflake.x += snowflake.vx;
|
1152
1152
|
ctx.globalAlpha = snowflake.o;
|
1153
1153
|
ctx.beginPath();
|
1154
|
-
|
1154
|
+
var x = snowflake.x;
|
1155
|
+
var y = snowflake.y;
|
1156
|
+
|
1157
|
+
var _width = 10 * snowflake.r;
|
1158
|
+
|
1159
|
+
var _height = 10 * snowflake.r;
|
1160
|
+
|
1161
|
+
var topCurveHeight = _height * 0.3;
|
1162
|
+
ctx.moveTo(x, y + topCurveHeight);
|
1163
|
+
ctx.bezierCurveTo(x, y, x - _width / 2, y, x - _width / 2, y + topCurveHeight);
|
1164
|
+
ctx.bezierCurveTo(x - _width / 2, y + (_height + topCurveHeight) / 2, x, y + (_height + topCurveHeight) / 2, x, y + _height);
|
1165
|
+
ctx.bezierCurveTo(x, y + (_height + topCurveHeight) / 2, x + _width / 2, y + (_height + topCurveHeight) / 2, x + _width / 2, y + topCurveHeight);
|
1166
|
+
ctx.bezierCurveTo(x + _width / 2, y, x, y, x, y + topCurveHeight);
|
1167
|
+
ctx.closePath();
|
1168
|
+
ctx.fillStyle = "rgba(255, 20, 20, 0.5)";
|
1169
|
+
ctx.fill();
|
1155
1170
|
ctx.closePath();
|
1156
1171
|
ctx.fill();
|
1157
1172
|
|
1158
|
-
if (snowflake.y >
|
1173
|
+
if (snowflake.y > _height * 4) {
|
1159
1174
|
snowflake.reset();
|
1160
1175
|
}
|
1161
1176
|
}
|
@@ -1165,7 +1180,7 @@ var Header = /*#__PURE__*/function (_React$Component) {
|
|
1165
1180
|
|
1166
1181
|
window.requestAnimFrame = function () {
|
1167
1182
|
return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function (callback) {
|
1168
|
-
window.setTimeout(callback, 1000 /
|
1183
|
+
window.setTimeout(callback, 1000 / 10);
|
1169
1184
|
};
|
1170
1185
|
}();
|
1171
1186
|
|
@@ -1185,7 +1200,7 @@ var Header = /*#__PURE__*/function (_React$Component) {
|
|
1185
1200
|
|
1186
1201
|
_proto.render = function render() {
|
1187
1202
|
return /*#__PURE__*/React.createElement("div", {
|
1188
|
-
className: classNames$1(style$b.header, this.props.className,
|
1203
|
+
className: classNames$1(style$b.header, this.props.className, 'sky')
|
1189
1204
|
}, /*#__PURE__*/React.createElement("div", {
|
1190
1205
|
className: style$b.header_absolute,
|
1191
1206
|
style: this.props.styleBackground
|
@@ -10569,5 +10584,5 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
|
|
10569
10584
|
return Calendar;
|
10570
10585
|
}(React.Component);
|
10571
10586
|
|
10572
|
-
export { Alert, AlertContainer, AlertElement, BarChart, Button, ButtonIcon, Calendar, Card, CardColor, CardStatistics, CardTabs, Chips, Cookie, DoughnutChart, Dropdown, Dropzone, DropzoneMultiple, Error404, FloatActionButton, FloatActionButtonItem, Footer, FormCheckbox, FormInput, FormRadio, FormRange, FormSelect,
|
10587
|
+
export { Alert, AlertContainer, AlertElement, BarChart, Button, ButtonIcon, Calendar, Card, CardColor, CardStatistics, CardTabs, Chips, Cookie, DoughnutChart, Dropdown, Dropzone, DropzoneMultiple, Error404, FloatActionButton, FloatActionButtonItem, Footer, FormCheckbox, FormInput, FormRadio, FormRange, FormSelect, FormSelectMultiples, FormTextarea, FullModal, Gauge, Header, HorizontalBarChart, Icon, ListingHorizontal, ListingVertical, Loader, Modal, Nav, Pagination, PaginationClass, PieChart, ProgressBar, RadarChart, Sidebar, Signature, Slider, Status, Switch, Table, Tabs, TabsBody, TabsCustom, TabsCustomArrowCustom as TabsCustomArrow, TabsCustomArrowBody, TabsCustomArrowHeader, TabsCustomArrowItem, TabsCustomArrowMenu, TabsCustomBody, TabsCustomHeader, TabsCustomItem, TabsCustomMenu, TabsEdit, TabsEditBody, TabsEditHeader, TabsEditItem, TabsEditMenu, TabsHeader, TabsItem, TabsMenu, Tbody, Td, Th, Thead, Tr };
|
10573
10588
|
//# sourceMappingURL=index.modern.js.map
|