@livechat/design-system-react-components 1.0.0-alpha.55 → 1.0.0-alpha.56
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/dsrc.cjs.js +2 -2
- package/dist/dsrc.es.js +9 -16
- package/dist/dsrc.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/dsrc.es.js
CHANGED
|
@@ -37,7 +37,7 @@ import * as React from "react";
|
|
|
37
37
|
import { useReducer, useRef, useEffect, useCallback, useMemo } from "react";
|
|
38
38
|
import cx from "clsx";
|
|
39
39
|
import { useFloating, offset, flip, autoUpdate, arrow } from "@floating-ui/react-dom";
|
|
40
|
-
import { Close, Info as Info$1, Warning, CheckCircleSolid, Block, Person, ChevronUp, ChevronDown,
|
|
40
|
+
import { Close, Info as Info$1, Warning, CheckCircleSolid, Block, Person, ChevronUp, ChevronDown, DoubleArrowLeft, ChevronLeft, ChevronRight, DoubleArrowRight, VisibilityOn, VisibilityOff, Check, Search, LockBlack, Refresh, Error as Error2 } from "@livechat/design-system-icons/react/material";
|
|
41
41
|
import debounce from "lodash.debounce";
|
|
42
42
|
import { getContrast } from "polished";
|
|
43
43
|
import ReactDayPicker from "react-day-picker";
|
|
@@ -1190,19 +1190,19 @@ const FieldDescription = (_o) => {
|
|
|
1190
1190
|
};
|
|
1191
1191
|
const checkbox = "lc-Checkbox-module__checkbox___G7nTf";
|
|
1192
1192
|
const checkbox__label = "lc-Checkbox-module__checkbox__label___-o01x";
|
|
1193
|
-
const checkbox__square = "lc-Checkbox-module__checkbox__square___MHUyd";
|
|
1194
|
-
const checkbox__checkmark = "lc-Checkbox-module__checkbox__checkmark___16pfY";
|
|
1195
|
-
const checkbox__input = "lc-Checkbox-module__checkbox__input___YLbVF";
|
|
1196
1193
|
const checkbox__text = "lc-Checkbox-module__checkbox__text___P2SIq";
|
|
1194
|
+
const checkbox__input = "lc-Checkbox-module__checkbox__input___YLbVF";
|
|
1195
|
+
const checkbox__checkmark = "lc-Checkbox-module__checkbox__checkmark___16pfY";
|
|
1196
|
+
const checkbox__square = "lc-Checkbox-module__checkbox__square___MHUyd";
|
|
1197
1197
|
const checkbox__helper = "lc-Checkbox-module__checkbox__helper___YSJ-n";
|
|
1198
1198
|
var styles$u = {
|
|
1199
1199
|
checkbox,
|
|
1200
1200
|
checkbox__label,
|
|
1201
|
-
|
|
1201
|
+
checkbox__text,
|
|
1202
|
+
checkbox__input,
|
|
1202
1203
|
checkbox__checkmark,
|
|
1203
1204
|
"checkbox--selected": "lc-Checkbox-module__checkbox--selected___S2vqY",
|
|
1204
|
-
|
|
1205
|
-
checkbox__text,
|
|
1205
|
+
checkbox__square,
|
|
1206
1206
|
"checkbox--disabled": "lc-Checkbox-module__checkbox--disabled___-lAqW",
|
|
1207
1207
|
checkbox__helper
|
|
1208
1208
|
};
|
|
@@ -1216,20 +1216,13 @@ const Checkbox = React.forwardRef((_q, ref) => {
|
|
|
1216
1216
|
})
|
|
1217
1217
|
}, /* @__PURE__ */ React.createElement("label", {
|
|
1218
1218
|
className: styles$u[`${baseClass$D}__label`]
|
|
1219
|
-
}, /* @__PURE__ */ React.createElement("
|
|
1219
|
+
}, /* @__PURE__ */ React.createElement("input", __spreadProps(__spreadValues({}, restInputProps), {
|
|
1220
1220
|
ref,
|
|
1221
1221
|
checked,
|
|
1222
1222
|
disabled,
|
|
1223
1223
|
className: styles$u[`${baseClass$D}__input`],
|
|
1224
1224
|
type: "checkbox"
|
|
1225
|
-
})), /* @__PURE__ */ React.createElement(
|
|
1226
|
-
className: styles$u[`${baseClass$D}__square`]
|
|
1227
|
-
}, /* @__PURE__ */ React.createElement(Icon, {
|
|
1228
|
-
source: Check,
|
|
1229
|
-
kind: "inverted",
|
|
1230
|
-
size: "xsmall",
|
|
1231
|
-
className: styles$u[`${baseClass$D}__checkmark`]
|
|
1232
|
-
}))), children && /* @__PURE__ */ React.createElement(Text, {
|
|
1225
|
+
})), children && /* @__PURE__ */ React.createElement(Text, {
|
|
1233
1226
|
as: "div",
|
|
1234
1227
|
size: "md",
|
|
1235
1228
|
className: styles$u[`${baseClass$D}__text`]
|