ui-kit-ck-consultant 0.5.271 → 0.5.273
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 +8 -103
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +8 -103
- 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"};
|
@@ -1083,109 +1083,14 @@ var Header = /*#__PURE__*/function (_React$Component) {
|
|
1083
1083
|
_inheritsLoose(Header, _React$Component);
|
1084
1084
|
|
1085
1085
|
function Header() {
|
1086
|
-
|
1087
|
-
|
1088
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
1089
|
-
args[_key] = arguments[_key];
|
1090
|
-
}
|
1091
|
-
|
1092
|
-
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
|
1093
|
-
|
1094
|
-
_this.snowflake = function () {
|
1095
|
-
var COUNT = 125;
|
1096
|
-
var masthead = document.querySelector('.sky');
|
1097
|
-
var canvas = document.createElement('canvas');
|
1098
|
-
var ctx = canvas.getContext('2d');
|
1099
|
-
var width = masthead.clientWidth;
|
1100
|
-
var height = masthead.clientHeight;
|
1101
|
-
var i = 0;
|
1102
|
-
var active = false;
|
1103
|
-
|
1104
|
-
function onResize() {
|
1105
|
-
width = masthead.clientWidth;
|
1106
|
-
height = masthead.clientHeight;
|
1107
|
-
canvas.width = width;
|
1108
|
-
canvas.height = height;
|
1109
|
-
ctx.fillStyle = '#FFF';
|
1110
|
-
var wasActive = active;
|
1111
|
-
active = width > 600;
|
1112
|
-
if (!wasActive && active) requestAnimFrame(update);
|
1113
|
-
}
|
1114
|
-
|
1115
|
-
var Snowflake = function Snowflake() {
|
1116
|
-
this.x = 0;
|
1117
|
-
this.y = 0;
|
1118
|
-
this.vy = 0;
|
1119
|
-
this.vx = 0;
|
1120
|
-
this.r = 0;
|
1121
|
-
this.reset();
|
1122
|
-
};
|
1123
|
-
|
1124
|
-
Snowflake.prototype.reset = function () {
|
1125
|
-
this.x = Math.random() * width;
|
1126
|
-
this.y = Math.random() * -height;
|
1127
|
-
this.vy = 1 + Math.random() * 3;
|
1128
|
-
this.vx = 0.5 - Math.random();
|
1129
|
-
this.r = 1 + Math.random() * 2;
|
1130
|
-
this.o = 0.5 + Math.random() * 0.5;
|
1131
|
-
};
|
1132
|
-
|
1133
|
-
canvas.style.position = 'absolute';
|
1134
|
-
canvas.style.left = canvas.style.top = '0';
|
1135
|
-
var snowflakes = [],
|
1136
|
-
snowflake;
|
1137
|
-
|
1138
|
-
for (i = 0; i < COUNT; i++) {
|
1139
|
-
snowflake = new Snowflake();
|
1140
|
-
snowflake.reset();
|
1141
|
-
snowflakes.push(snowflake);
|
1142
|
-
}
|
1143
|
-
|
1144
|
-
function update() {
|
1145
|
-
ctx.clearRect(0, 0, width, height);
|
1146
|
-
if (!active) return;
|
1147
|
-
|
1148
|
-
for (i = 0; i < COUNT; i++) {
|
1149
|
-
snowflake = snowflakes[i];
|
1150
|
-
snowflake.y += snowflake.vy;
|
1151
|
-
snowflake.x += snowflake.vx;
|
1152
|
-
ctx.globalAlpha = snowflake.o;
|
1153
|
-
ctx.beginPath();
|
1154
|
-
ctx.arc(snowflake.x, snowflake.y, snowflake.r, 0, Math.PI * 2, false);
|
1155
|
-
ctx.closePath();
|
1156
|
-
ctx.fill();
|
1157
|
-
|
1158
|
-
if (snowflake.y > height) {
|
1159
|
-
snowflake.reset();
|
1160
|
-
}
|
1161
|
-
}
|
1162
|
-
|
1163
|
-
requestAnimFrame(update);
|
1164
|
-
}
|
1165
|
-
|
1166
|
-
window.requestAnimFrame = function () {
|
1167
|
-
return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function (callback) {
|
1168
|
-
window.setTimeout(callback, 1000 / 60);
|
1169
|
-
};
|
1170
|
-
}();
|
1171
|
-
|
1172
|
-
onResize();
|
1173
|
-
window.addEventListener('resize', onResize, false);
|
1174
|
-
masthead.appendChild(canvas);
|
1175
|
-
};
|
1176
|
-
|
1177
|
-
return _this;
|
1086
|
+
return _React$Component.apply(this, arguments) || this;
|
1178
1087
|
}
|
1179
1088
|
|
1180
1089
|
var _proto = Header.prototype;
|
1181
1090
|
|
1182
|
-
_proto.componentDidMount = function componentDidMount() {
|
1183
|
-
this.snowflake();
|
1184
|
-
};
|
1185
|
-
|
1186
1091
|
_proto.render = function render() {
|
1187
1092
|
return /*#__PURE__*/React.createElement("div", {
|
1188
|
-
className: classNames$1(style$b.header, this.props.className,
|
1093
|
+
className: classNames$1(style$b.header, this.props.className, 'sky')
|
1189
1094
|
}, /*#__PURE__*/React.createElement("div", {
|
1190
1095
|
className: style$b.header_absolute,
|
1191
1096
|
style: this.props.styleBackground
|
@@ -10569,5 +10474,5 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
|
|
10569
10474
|
return Calendar;
|
10570
10475
|
}(React.Component);
|
10571
10476
|
|
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,
|
10477
|
+
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
10478
|
//# sourceMappingURL=index.modern.js.map
|