@helpdice/ui 1.6.7 → 1.6.9
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/Placeholder/index.js +10 -10
- package/dist/auto-complete/auto-complete.d.ts +35 -3
- package/dist/auto-complete/index.js +8 -7
- package/dist/breadcrumbs/index.js +1 -1
- package/dist/button/button.compact.d.ts +2 -2
- package/dist/button/index.js +61 -61
- package/dist/button-dropdown/index.js +1 -1
- package/dist/card/index.js +1 -1
- package/dist/checkbox/index.js +1 -1
- package/dist/code-block/index.d.ts +10 -0
- package/dist/image/index.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1375 -1346
- package/dist/input/index.js +2 -2
- package/dist/link/index.js +1 -1
- package/dist/modal/index.js +3 -3
- package/dist/rating/index.js +1 -1
- package/dist/select/index.js +3 -3
- package/dist/snippet/index.js +1 -1
- package/dist/table/index.js +17 -17
- package/dist/tabs/index.js +2 -2
- package/dist/text/child.d.ts +1 -1
- package/dist/text/index.js +10 -10
- package/dist/text/text.d.ts +1 -1
- package/dist/ui-provider/index.js +2 -2
- package/dist/user/index.js +1 -1
- package/dist/utils/collections.d.ts +1 -1
- package/esm/auto-complete/auto-complete.d.ts +35 -3
- package/esm/auto-complete/auto-complete.js +3 -4
- package/esm/button/button-loading.js +1 -1
- package/esm/button/button.compact.d.ts +2 -2
- package/esm/button/button.compact.js +1 -1
- package/esm/button/styles.js +1 -1
- package/esm/button-dropdown/icon.js +1 -1
- package/esm/checkbox/checkbox.icon.js +1 -1
- package/esm/code-block/index.d.ts +10 -0
- package/esm/code-block/index.js +27 -28
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -1
- package/esm/input/input-block-label.js +1 -1
- package/esm/input/input-icon.js +1 -1
- package/esm/link/icon.js +1 -1
- package/esm/modal/modal-actions.js +1 -1
- package/esm/rating/rating-icon.js +1 -1
- package/esm/select/select-icon.js +1 -1
- package/esm/select/select-input.js +1 -1
- package/esm/select/select-multiple-value.js +1 -1
- package/esm/snippet/snippet-icon.js +1 -1
- package/esm/tabs/tabs.js +2 -2
- package/esm/text/child.d.ts +1 -1
- package/esm/text/child.js +10 -10
- package/esm/text/text.d.ts +1 -1
- package/esm/tooltip/__test__/index.test.js +2 -2
- package/esm/utils/collections.d.ts +1 -1
- package/esm/utils/collections.js +1 -1
- package/package.json +7 -4
- /package/esm/utils/use-context-state/{create-geist-context.js → create-ui-context.js} +0 -0
package/dist/input/index.js
CHANGED
|
@@ -975,7 +975,7 @@ var InputBlockLabelComponent = function InputBlockLabelComponent(_ref) {
|
|
|
975
975
|
dynamic: [theme.palette.accents_6]
|
|
976
976
|
}, "label.__jsx-style-dynamic-selector{display:block;font-weight:normal;color:".concat(theme.palette.accents_6, ";padding:0 0 0 1px;margin-bottom:0.5em;font-size:1em;line-height:1.5;}label.__jsx-style-dynamic-selector>*:first-child{margin-top:0;}label.__jsx-style-dynamic-selector>*:last-child{margin-bottom:0;}")));
|
|
977
977
|
};
|
|
978
|
-
InputBlockLabelComponent.displayName = '
|
|
978
|
+
InputBlockLabelComponent.displayName = 'InputBlockLabel';
|
|
979
979
|
var InputBlockLabel = /*#__PURE__*/React.memo(InputBlockLabelComponent);
|
|
980
980
|
|
|
981
981
|
var InputIconComponent = function InputIconComponent(_ref) {
|
|
@@ -991,7 +991,7 @@ var InputIconComponent = function InputIconComponent(_ref) {
|
|
|
991
991
|
dynamic: [clickable ? 'pointer' : 'default', clickable ? 'auto' : 'none']
|
|
992
992
|
}, ".input-icon.__jsx-style-dynamic-selector{box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:calc(var(--input-height) - 2px);-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin:0;padding:0;line-height:1;position:relative;cursor:".concat(clickable ? 'pointer' : 'default', ";pointer-events:").concat(clickable ? 'auto' : 'none', ";}.input-icon.__jsx-style-dynamic-selector svg{width:calc(var(--input-height) - 2px);height:calc(var(--input-height) - 2px);-webkit-transform:scale(0.44);-ms-transform:scale(0.44);transform:scale(0.44);}")));
|
|
993
993
|
};
|
|
994
|
-
InputIconComponent.displayName = '
|
|
994
|
+
InputIconComponent.displayName = 'InputIcon';
|
|
995
995
|
var InputIcon = /*#__PURE__*/React.memo(InputIconComponent);
|
|
996
996
|
|
|
997
997
|
/* "use client" */
|
package/dist/link/index.js
CHANGED
|
@@ -977,7 +977,7 @@ var LinkIconComponent = function LinkIconComponent() {
|
|
|
977
977
|
id: "3409194595"
|
|
978
978
|
}, ".icon.jsx-3409194595{margin:0 0 -1px 0.1875em;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;color:currentColor;}"));
|
|
979
979
|
};
|
|
980
|
-
LinkIconComponent.displayName = '
|
|
980
|
+
LinkIconComponent.displayName = 'LinkIcon';
|
|
981
981
|
var LinkIcon = /*#__PURE__*/React.memo(LinkIconComponent);
|
|
982
982
|
|
|
983
983
|
var hexToRgb = function hexToRgb(color) {
|
package/dist/modal/index.js
CHANGED
|
@@ -1487,7 +1487,7 @@ var ButtonLoading = function ButtonLoading(_ref) {
|
|
|
1487
1487
|
id: "212623367"
|
|
1488
1488
|
}, ".btn-loading.jsx-212623367{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;background-color:var(--helpdice-ui-button-bg);}"));
|
|
1489
1489
|
};
|
|
1490
|
-
ButtonLoading.displayName = '
|
|
1490
|
+
ButtonLoading.displayName = 'ButtonLoading';
|
|
1491
1491
|
|
|
1492
1492
|
var _excluded$7 = ["isRight", "isSingle", "children", "className"];
|
|
1493
1493
|
var ButtonIcon = function ButtonIcon(_ref) {
|
|
@@ -1694,7 +1694,7 @@ var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette, _col
|
|
|
1694
1694
|
color: 'white'
|
|
1695
1695
|
}
|
|
1696
1696
|
};
|
|
1697
|
-
var withoutLightType = _color.replace('-light', '');
|
|
1697
|
+
var withoutLightType = _color === null || _color === void 0 ? void 0 : _color.replace('-light', '');
|
|
1698
1698
|
return colors[withoutLightType] || null;
|
|
1699
1699
|
};
|
|
1700
1700
|
var getButtonHoverColors = function getButtonHoverColors(palette, props) {
|
|
@@ -1979,7 +1979,7 @@ var ModalActionsComponent = function ModalActionsComponent(_ref) {
|
|
|
1979
1979
|
dynamic: [theme.palette.border, theme.layout.radius, theme.layout.radius, theme.palette.border, height]
|
|
1980
1980
|
}, "footer.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;width:100%;height:auto;position:absolute;bottom:0;left:0;right:0;border-top:1px solid ".concat(theme.palette.border, ";border-bottom-left-radius:").concat(theme.layout.radius, ";border-bottom-right-radius:").concat(theme.layout.radius, ";}footer.__jsx-style-dynamic-selector>button.btn + button.btn{border-left:1px solid ").concat(theme.palette.border, ";}div.__jsx-style-dynamic-selector{height:").concat(height, ";-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}")));
|
|
1981
1981
|
};
|
|
1982
|
-
ModalActionsComponent.displayName = '
|
|
1982
|
+
ModalActionsComponent.displayName = 'ModalActions';
|
|
1983
1983
|
var ModalActions = /*#__PURE__*/React.memo(ModalActionsComponent);
|
|
1984
1984
|
|
|
1985
1985
|
var useCurrentState = function useCurrentState(initialState) {
|
package/dist/rating/index.js
CHANGED
|
@@ -751,7 +751,7 @@ var RatingIcon = function RatingIcon() {
|
|
|
751
751
|
d: "M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"
|
|
752
752
|
}));
|
|
753
753
|
};
|
|
754
|
-
RatingIcon.displayName = '
|
|
754
|
+
RatingIcon.displayName = 'RatingIcon';
|
|
755
755
|
|
|
756
756
|
var defaultFont = {
|
|
757
757
|
sans: '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
|
package/dist/select/index.js
CHANGED
|
@@ -1037,7 +1037,7 @@ var SelectIconComponent = function SelectIconComponent() {
|
|
|
1037
1037
|
id: "2742933678"
|
|
1038
1038
|
}, "svg.jsx-2742933678{color:inherit;stroke:currentColor;-webkit-transition:all 200ms ease;transition:all 200ms ease;width:1.214em;height:1.214em;}"));
|
|
1039
1039
|
};
|
|
1040
|
-
SelectIconComponent.displayName = '
|
|
1040
|
+
SelectIconComponent.displayName = 'SelectIcon';
|
|
1041
1041
|
var SelectIcon = /*#__PURE__*/React.memo(SelectIconComponent);
|
|
1042
1042
|
|
|
1043
1043
|
/* "use client" */
|
|
@@ -1777,7 +1777,7 @@ var SelectMultipleValue = function SelectMultipleValue(_ref) {
|
|
|
1777
1777
|
dynamic: [theme.layout.radius, theme.palette.accents_2, disabled ? theme.palette.accents_4 : theme.palette.accents_6]
|
|
1778
1778
|
}, ".item.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;justify-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:1;padding:0 0.5em;font-size:var(--select-font-size);height:calc(var(--select-font-size) * 2);border-radius:".concat(theme.layout.radius, ";background-color:").concat(theme.palette.accents_2, ";color:").concat(disabled ? theme.palette.accents_4 : theme.palette.accents_6, ";}.item.__jsx-style-dynamic-selector>div:not(.clear-icon),.item.__jsx-style-dynamic-selector>div:not(.clear-icon):hover{border-radius:0;background-color:transparent;padding:0;margin:0;color:inherit;}")));
|
|
1779
1779
|
};
|
|
1780
|
-
SelectMultipleValue.displayName = '
|
|
1780
|
+
SelectMultipleValue.displayName = 'SelectMultipleValue';
|
|
1781
1781
|
|
|
1782
1782
|
var getColors = function getColors(palette, status) {
|
|
1783
1783
|
var colors = {
|
|
@@ -1857,7 +1857,7 @@ var SelectInput = /*#__PURE__*/React.forwardRef(function (_ref, inputRef) {
|
|
|
1857
1857
|
id: "2813108835"
|
|
1858
1858
|
}, "input.jsx-2813108835{position:fixed;top:-10000px;left:-10000px;opacity:0;z-index:-1;width:0;height:0;padding:0;font-size:0;border:none;}"));
|
|
1859
1859
|
});
|
|
1860
|
-
SelectInput.displayName = '
|
|
1860
|
+
SelectInput.displayName = 'SelectInput';
|
|
1861
1861
|
|
|
1862
1862
|
var _excluded$1 = ["children", "label", "type", "disabled", "initialValue", "value", "icon", "onChange", "pure", "multiple", "clearable", "placeholder", "className", "dropdownClassName", "dropdownStyle", "disableMatchWidth", "getPopupContainer", "onDropdownVisibleChange"];
|
|
1863
1863
|
var SelectComponent = /*#__PURE__*/React.forwardRef(function (_ref, selectRef) {
|
package/dist/snippet/index.js
CHANGED
|
@@ -1032,7 +1032,7 @@ var SnippetIconComponent = function SnippetIconComponent() {
|
|
|
1032
1032
|
id: "418323402"
|
|
1033
1033
|
}, "svg.jsx-418323402{width:calc(var(--snippet-font-size) * 1.69);height:calc(var(--snippet-font-size) * 1.69);}"));
|
|
1034
1034
|
};
|
|
1035
|
-
SnippetIconComponent.displayName = '
|
|
1035
|
+
SnippetIconComponent.displayName = 'SnippetIcon';
|
|
1036
1036
|
var SnippetIcon = /*#__PURE__*/React.memo(SnippetIconComponent);
|
|
1037
1037
|
|
|
1038
1038
|
/* "use client" */
|
package/dist/table/index.js
CHANGED
|
@@ -1012,7 +1012,7 @@ var InputBlockLabelComponent = function InputBlockLabelComponent(_ref) {
|
|
|
1012
1012
|
dynamic: [theme.palette.accents_6]
|
|
1013
1013
|
}, "label.__jsx-style-dynamic-selector{display:block;font-weight:normal;color:".concat(theme.palette.accents_6, ";padding:0 0 0 1px;margin-bottom:0.5em;font-size:1em;line-height:1.5;}label.__jsx-style-dynamic-selector>*:first-child{margin-top:0;}label.__jsx-style-dynamic-selector>*:last-child{margin-bottom:0;}")));
|
|
1014
1014
|
};
|
|
1015
|
-
InputBlockLabelComponent.displayName = '
|
|
1015
|
+
InputBlockLabelComponent.displayName = 'InputBlockLabel';
|
|
1016
1016
|
var InputBlockLabel = /*#__PURE__*/React.memo(InputBlockLabelComponent);
|
|
1017
1017
|
|
|
1018
1018
|
var InputIconComponent = function InputIconComponent(_ref) {
|
|
@@ -1028,7 +1028,7 @@ var InputIconComponent = function InputIconComponent(_ref) {
|
|
|
1028
1028
|
dynamic: [clickable ? 'pointer' : 'default', clickable ? 'auto' : 'none']
|
|
1029
1029
|
}, ".input-icon.__jsx-style-dynamic-selector{box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:calc(var(--input-height) - 2px);-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin:0;padding:0;line-height:1;position:relative;cursor:".concat(clickable ? 'pointer' : 'default', ";pointer-events:").concat(clickable ? 'auto' : 'none', ";}.input-icon.__jsx-style-dynamic-selector svg{width:calc(var(--input-height) - 2px);height:calc(var(--input-height) - 2px);-webkit-transform:scale(0.44);-ms-transform:scale(0.44);transform:scale(0.44);}")));
|
|
1030
1030
|
};
|
|
1031
|
-
InputIconComponent.displayName = '
|
|
1031
|
+
InputIconComponent.displayName = 'InputIcon';
|
|
1032
1032
|
var InputIcon = /*#__PURE__*/React.memo(InputIconComponent);
|
|
1033
1033
|
|
|
1034
1034
|
/* "use client" */
|
|
@@ -1749,7 +1749,7 @@ var SelectIconComponent = function SelectIconComponent() {
|
|
|
1749
1749
|
id: "2742933678"
|
|
1750
1750
|
}, "svg.jsx-2742933678{color:inherit;stroke:currentColor;-webkit-transition:all 200ms ease;transition:all 200ms ease;width:1.214em;height:1.214em;}"));
|
|
1751
1751
|
};
|
|
1752
|
-
SelectIconComponent.displayName = '
|
|
1752
|
+
SelectIconComponent.displayName = 'SelectIcon';
|
|
1753
1753
|
var SelectIcon = /*#__PURE__*/React.memo(SelectIconComponent);
|
|
1754
1754
|
|
|
1755
1755
|
/* "use client" */
|
|
@@ -2280,7 +2280,7 @@ var SelectMultipleValue = function SelectMultipleValue(_ref) {
|
|
|
2280
2280
|
dynamic: [theme.layout.radius, theme.palette.accents_2, disabled ? theme.palette.accents_4 : theme.palette.accents_6]
|
|
2281
2281
|
}, ".item.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;justify-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:1;padding:0 0.5em;font-size:var(--select-font-size);height:calc(var(--select-font-size) * 2);border-radius:".concat(theme.layout.radius, ";background-color:").concat(theme.palette.accents_2, ";color:").concat(disabled ? theme.palette.accents_4 : theme.palette.accents_6, ";}.item.__jsx-style-dynamic-selector>div:not(.clear-icon),.item.__jsx-style-dynamic-selector>div:not(.clear-icon):hover{border-radius:0;background-color:transparent;padding:0;margin:0;color:inherit;}")));
|
|
2282
2282
|
};
|
|
2283
|
-
SelectMultipleValue.displayName = '
|
|
2283
|
+
SelectMultipleValue.displayName = 'SelectMultipleValue';
|
|
2284
2284
|
|
|
2285
2285
|
var getColors$1 = function getColors(palette, status) {
|
|
2286
2286
|
var colors = {
|
|
@@ -2360,7 +2360,7 @@ var SelectInput = /*#__PURE__*/React.forwardRef(function (_ref, inputRef) {
|
|
|
2360
2360
|
id: "2813108835"
|
|
2361
2361
|
}, "input.jsx-2813108835{position:fixed;top:-10000px;left:-10000px;opacity:0;z-index:-1;width:0;height:0;padding:0;font-size:0;border:none;}"));
|
|
2362
2362
|
});
|
|
2363
|
-
SelectInput.displayName = '
|
|
2363
|
+
SelectInput.displayName = 'SelectInput';
|
|
2364
2364
|
|
|
2365
2365
|
var _excluded$e = ["children", "label", "type", "disabled", "initialValue", "value", "icon", "onChange", "pure", "multiple", "clearable", "placeholder", "className", "dropdownClassName", "dropdownStyle", "disableMatchWidth", "getPopupContainer", "onDropdownVisibleChange"];
|
|
2366
2366
|
var SelectComponent = /*#__PURE__*/React.forwardRef(function (_ref, selectRef) {
|
|
@@ -20364,7 +20364,7 @@ function Empty() {
|
|
|
20364
20364
|
}));
|
|
20365
20365
|
}
|
|
20366
20366
|
|
|
20367
|
-
var _excluded$c = ["children", "tag", "className", "
|
|
20367
|
+
var _excluded$c = ["children", "tag", "className", "color"];
|
|
20368
20368
|
var getTypeColor = function getTypeColor(type, palette) {
|
|
20369
20369
|
var colors = {
|
|
20370
20370
|
"default": 'inherit',
|
|
@@ -20380,8 +20380,8 @@ var TextChild = function TextChild(_ref) {
|
|
|
20380
20380
|
tag = _ref.tag,
|
|
20381
20381
|
_ref$className = _ref.className,
|
|
20382
20382
|
className = _ref$className === void 0 ? '' : _ref$className,
|
|
20383
|
-
_ref$
|
|
20384
|
-
|
|
20383
|
+
_ref$color = _ref.color,
|
|
20384
|
+
color = _ref$color === void 0 ? 'default' : _ref$color,
|
|
20385
20385
|
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
20386
20386
|
var Component = tag;
|
|
20387
20387
|
var theme = useTheme();
|
|
@@ -20393,9 +20393,9 @@ var TextChild = function TextChild(_ref) {
|
|
|
20393
20393
|
var my = getScaleProps(['margin', 'marginTop', 'marginBottom', 'my', 'mt', 'mb']);
|
|
20394
20394
|
var px = getScaleProps(['padding', 'paddingLeft', 'paddingRight', 'pl', 'pr', 'px']);
|
|
20395
20395
|
var py = getScaleProps(['padding', 'paddingTop', 'paddingBottom', 'pt', 'pb', 'py']);
|
|
20396
|
-
var
|
|
20397
|
-
return getTypeColor(
|
|
20398
|
-
}, [
|
|
20396
|
+
var _color = React.useMemo(function () {
|
|
20397
|
+
return getTypeColor(color, theme.palette);
|
|
20398
|
+
}, [color, theme.palette]);
|
|
20399
20399
|
var classNames = React.useMemo(function () {
|
|
20400
20400
|
var keys = [{
|
|
20401
20401
|
value: mx,
|
|
@@ -20420,11 +20420,11 @@ var TextChild = function TextChild(_ref) {
|
|
|
20420
20420
|
return "".concat(scaleClassNames, " ").concat(className).trim();
|
|
20421
20421
|
}, [mx, my, px, py, font, className]);
|
|
20422
20422
|
return /*#__PURE__*/React.createElement(Component, _extends({}, props, {
|
|
20423
|
-
className: _JSXStyle.dynamic([["
|
|
20423
|
+
className: _JSXStyle.dynamic([["4133320328", [tag, _color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]]]) + " " + (props && props.className != null && props.className || classNames || "")
|
|
20424
20424
|
}), children, /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
20425
|
-
id: "
|
|
20426
|
-
dynamic: [tag,
|
|
20427
|
-
}, "".concat(tag, ".__jsx-style-dynamic-selector{color:").concat(
|
|
20425
|
+
id: "4133320328",
|
|
20426
|
+
dynamic: [tag, _color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]
|
|
20427
|
+
}, "".concat(tag, ".__jsx-style-dynamic-selector{color:").concat(_color, ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";}.font.__jsx-style-dynamic-selector{font-size:").concat(SCALES.font(1, 'inherit'), ";}.mx.__jsx-style-dynamic-selector{margin-left:").concat(SCALES.ml(0, 'revert'), ";margin-right:").concat(SCALES.mr(0, 'revert'), ";}.my.__jsx-style-dynamic-selector{margin-top:").concat(SCALES.mt(0, 'revert'), ";margin-bottom:").concat(SCALES.mb(0, 'revert'), ";}.px.__jsx-style-dynamic-selector{padding-left:").concat(SCALES.pl(0, 'revert'), ";padding-right:").concat(SCALES.pr(0, 'revert'), ";}.py.__jsx-style-dynamic-selector{padding-top:").concat(SCALES.pt(0, 'revert'), ";padding-bottom:").concat(SCALES.pb(0, 'revert'), ";}")));
|
|
20428
20428
|
};
|
|
20429
20429
|
TextChild.displayName = 'TextChild';
|
|
20430
20430
|
|
|
@@ -30603,7 +30603,7 @@ var ButtonLoading = function ButtonLoading(_ref) {
|
|
|
30603
30603
|
id: "212623367"
|
|
30604
30604
|
}, ".btn-loading.jsx-212623367{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;background-color:var(--helpdice-ui-button-bg);}"));
|
|
30605
30605
|
};
|
|
30606
|
-
ButtonLoading.displayName = '
|
|
30606
|
+
ButtonLoading.displayName = 'ButtonLoading';
|
|
30607
30607
|
|
|
30608
30608
|
var _excluded$9 = ["isRight", "isSingle", "children", "className"];
|
|
30609
30609
|
var ButtonIcon = function ButtonIcon(_ref) {
|
|
@@ -30810,7 +30810,7 @@ var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette, _col
|
|
|
30810
30810
|
color: 'white'
|
|
30811
30811
|
}
|
|
30812
30812
|
};
|
|
30813
|
-
var withoutLightType = _color.replace('-light', '');
|
|
30813
|
+
var withoutLightType = _color === null || _color === void 0 ? void 0 : _color.replace('-light', '');
|
|
30814
30814
|
return colors[withoutLightType] || null;
|
|
30815
30815
|
};
|
|
30816
30816
|
var getButtonHoverColors = function getButtonHoverColors(palette, props) {
|
package/dist/tabs/index.js
CHANGED
|
@@ -1013,7 +1013,7 @@ var useScale = function useScale() {
|
|
|
1013
1013
|
|
|
1014
1014
|
/* "use client" */
|
|
1015
1015
|
|
|
1016
|
-
var
|
|
1016
|
+
var isUiElement = function isUiElement(el) {
|
|
1017
1017
|
if (!el) return false;
|
|
1018
1018
|
if (el !== null && el !== void 0 && el.dataset && el !== null && el !== void 0 && el.dataset['helpdice']) return true;
|
|
1019
1019
|
el.attributes.getNamedItem('data-helpdice');
|
|
@@ -1384,7 +1384,7 @@ var TabsComponent = function TabsComponent(_ref) {
|
|
|
1384
1384
|
onChange && onChange(value);
|
|
1385
1385
|
};
|
|
1386
1386
|
var tabItemMouseOverHandler = function tabItemMouseOverHandler(event) {
|
|
1387
|
-
if (!
|
|
1387
|
+
if (!isUiElement(event.target)) return;
|
|
1388
1388
|
setRect(event, function () {
|
|
1389
1389
|
return ref.current;
|
|
1390
1390
|
});
|
package/dist/text/child.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { NormalTypes } from '../utils/prop-types';
|
|
3
3
|
export interface Props {
|
|
4
4
|
tag: keyof JSX.IntrinsicElements;
|
|
5
|
-
|
|
5
|
+
color?: NormalTypes;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
8
|
type NativeAttrs = Omit<React.DetailsHTMLAttributes<any>, keyof Props>;
|
package/dist/text/index.js
CHANGED
|
@@ -1101,7 +1101,7 @@ var withScale = function withScale(Render) {
|
|
|
1101
1101
|
return ScaleFC;
|
|
1102
1102
|
};
|
|
1103
1103
|
|
|
1104
|
-
var _excluded$1 = ["children", "tag", "className", "
|
|
1104
|
+
var _excluded$1 = ["children", "tag", "className", "color"];
|
|
1105
1105
|
var getTypeColor = function getTypeColor(type, palette) {
|
|
1106
1106
|
var colors = {
|
|
1107
1107
|
"default": 'inherit',
|
|
@@ -1117,8 +1117,8 @@ var TextChild = function TextChild(_ref) {
|
|
|
1117
1117
|
tag = _ref.tag,
|
|
1118
1118
|
_ref$className = _ref.className,
|
|
1119
1119
|
className = _ref$className === void 0 ? '' : _ref$className,
|
|
1120
|
-
_ref$
|
|
1121
|
-
|
|
1120
|
+
_ref$color = _ref.color,
|
|
1121
|
+
color = _ref$color === void 0 ? 'default' : _ref$color,
|
|
1122
1122
|
props = _objectWithoutProperties(_ref, _excluded$1);
|
|
1123
1123
|
var Component = tag;
|
|
1124
1124
|
var theme = useTheme();
|
|
@@ -1130,9 +1130,9 @@ var TextChild = function TextChild(_ref) {
|
|
|
1130
1130
|
var my = getScaleProps(['margin', 'marginTop', 'marginBottom', 'my', 'mt', 'mb']);
|
|
1131
1131
|
var px = getScaleProps(['padding', 'paddingLeft', 'paddingRight', 'pl', 'pr', 'px']);
|
|
1132
1132
|
var py = getScaleProps(['padding', 'paddingTop', 'paddingBottom', 'pt', 'pb', 'py']);
|
|
1133
|
-
var
|
|
1134
|
-
return getTypeColor(
|
|
1135
|
-
}, [
|
|
1133
|
+
var _color = React.useMemo(function () {
|
|
1134
|
+
return getTypeColor(color, theme.palette);
|
|
1135
|
+
}, [color, theme.palette]);
|
|
1136
1136
|
var classNames = React.useMemo(function () {
|
|
1137
1137
|
var keys = [{
|
|
1138
1138
|
value: mx,
|
|
@@ -1157,11 +1157,11 @@ var TextChild = function TextChild(_ref) {
|
|
|
1157
1157
|
return "".concat(scaleClassNames, " ").concat(className).trim();
|
|
1158
1158
|
}, [mx, my, px, py, font, className]);
|
|
1159
1159
|
return /*#__PURE__*/React.createElement(Component, _extends({}, props, {
|
|
1160
|
-
className: _JSXStyle.dynamic([["
|
|
1160
|
+
className: _JSXStyle.dynamic([["4133320328", [tag, _color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]]]) + " " + (props && props.className != null && props.className || classNames || "")
|
|
1161
1161
|
}), children, /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
1162
|
-
id: "
|
|
1163
|
-
dynamic: [tag,
|
|
1164
|
-
}, "".concat(tag, ".__jsx-style-dynamic-selector{color:").concat(
|
|
1162
|
+
id: "4133320328",
|
|
1163
|
+
dynamic: [tag, _color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]
|
|
1164
|
+
}, "".concat(tag, ".__jsx-style-dynamic-selector{color:").concat(_color, ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";}.font.__jsx-style-dynamic-selector{font-size:").concat(SCALES.font(1, 'inherit'), ";}.mx.__jsx-style-dynamic-selector{margin-left:").concat(SCALES.ml(0, 'revert'), ";margin-right:").concat(SCALES.mr(0, 'revert'), ";}.my.__jsx-style-dynamic-selector{margin-top:").concat(SCALES.mt(0, 'revert'), ";margin-bottom:").concat(SCALES.mb(0, 'revert'), ";}.px.__jsx-style-dynamic-selector{padding-left:").concat(SCALES.pl(0, 'revert'), ";padding-right:").concat(SCALES.pr(0, 'revert'), ";}.py.__jsx-style-dynamic-selector{padding-top:").concat(SCALES.pt(0, 'revert'), ";padding-bottom:").concat(SCALES.pb(0, 'revert'), ";}")));
|
|
1165
1165
|
};
|
|
1166
1166
|
TextChild.displayName = 'TextChild';
|
|
1167
1167
|
|
package/dist/text/text.d.ts
CHANGED
|
@@ -1480,7 +1480,7 @@ var ButtonLoading = function ButtonLoading(_ref) {
|
|
|
1480
1480
|
id: "212623367"
|
|
1481
1481
|
}, ".btn-loading.jsx-212623367{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;background-color:var(--helpdice-ui-button-bg);}"));
|
|
1482
1482
|
};
|
|
1483
|
-
ButtonLoading.displayName = '
|
|
1483
|
+
ButtonLoading.displayName = 'ButtonLoading';
|
|
1484
1484
|
|
|
1485
1485
|
var _excluded$1 = ["isRight", "isSingle", "children", "className"];
|
|
1486
1486
|
var ButtonIcon = function ButtonIcon(_ref) {
|
|
@@ -1687,7 +1687,7 @@ var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette, _col
|
|
|
1687
1687
|
color: 'white'
|
|
1688
1688
|
}
|
|
1689
1689
|
};
|
|
1690
|
-
var withoutLightType = _color.replace('-light', '');
|
|
1690
|
+
var withoutLightType = _color === null || _color === void 0 ? void 0 : _color.replace('-light', '');
|
|
1691
1691
|
return colors[withoutLightType] || null;
|
|
1692
1692
|
};
|
|
1693
1693
|
var getButtonHoverColors = function getButtonHoverColors(palette, props) {
|
package/dist/user/index.js
CHANGED
|
@@ -1299,7 +1299,7 @@ var LinkIconComponent = function LinkIconComponent() {
|
|
|
1299
1299
|
id: "3409194595"
|
|
1300
1300
|
}, ".icon.jsx-3409194595{margin:0 0 -1px 0.1875em;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;color:currentColor;}"));
|
|
1301
1301
|
};
|
|
1302
|
-
LinkIconComponent.displayName = '
|
|
1302
|
+
LinkIconComponent.displayName = 'LinkIcon';
|
|
1303
1303
|
var LinkIcon = /*#__PURE__*/React.memo(LinkIconComponent);
|
|
1304
1304
|
|
|
1305
1305
|
var hexToRgb = function hexToRgb(color) {
|
|
@@ -9,7 +9,7 @@ export declare const setChildrenProps: (children: ReactNode | undefined, props:
|
|
|
9
9
|
export declare const setChildrenIndex: (children: ReactNode | undefined, targetComponents?: Array<React.ElementType>) => ReactNode | undefined;
|
|
10
10
|
export declare const getReactNode: (node?: React.ReactNode | (() => React.ReactNode)) => React.ReactNode;
|
|
11
11
|
export declare const isChildElement: (parent: Element | null | undefined, child: Element | null | undefined) => boolean;
|
|
12
|
-
export declare const
|
|
12
|
+
export declare const isUiElement: (el?: HTMLElement) => boolean;
|
|
13
13
|
export declare const isBrowser: () => boolean;
|
|
14
14
|
export declare const isMac: () => boolean;
|
|
15
15
|
export declare const isCSSNumberValue: (value?: string | number) => boolean;
|
|
@@ -27,7 +27,39 @@ interface Props {
|
|
|
27
27
|
}
|
|
28
28
|
type NativeAttrs = Omit<React.InputHTMLAttributes<any>, keyof Props>;
|
|
29
29
|
export type AutoCompleteProps = Props & NativeAttrs & ReactElement;
|
|
30
|
-
declare const
|
|
30
|
+
declare const AutoComplete: React.ForwardRefExoticComponent<Omit<Props & NativeAttrs & React.ReactElement<any, string | React.JSXElementConstructor<any>> & {
|
|
31
31
|
children?: React.ReactNode | undefined;
|
|
32
|
-
} & React.RefAttributes<HTMLInputElement
|
|
33
|
-
|
|
32
|
+
} & React.RefAttributes<HTMLInputElement> & {
|
|
33
|
+
width?: string | number;
|
|
34
|
+
height?: string | number;
|
|
35
|
+
padding?: string | number;
|
|
36
|
+
margin?: string | number;
|
|
37
|
+
w?: string | number;
|
|
38
|
+
h?: string | number;
|
|
39
|
+
paddingLeft?: string | number;
|
|
40
|
+
paddingRight?: string | number;
|
|
41
|
+
paddingTop?: string | number;
|
|
42
|
+
paddingBottom?: string | number;
|
|
43
|
+
pl?: string | number;
|
|
44
|
+
pr?: string | number;
|
|
45
|
+
pt?: string | number;
|
|
46
|
+
pb?: string | number;
|
|
47
|
+
marginLeft?: string | number;
|
|
48
|
+
marginRight?: string | number;
|
|
49
|
+
marginTop?: string | number;
|
|
50
|
+
marginBottom?: string | number;
|
|
51
|
+
ml?: string | number;
|
|
52
|
+
mr?: string | number;
|
|
53
|
+
mt?: string | number;
|
|
54
|
+
mb?: string | number;
|
|
55
|
+
px?: string | number;
|
|
56
|
+
py?: string | number;
|
|
57
|
+
mx?: string | number;
|
|
58
|
+
my?: string | number;
|
|
59
|
+
font?: string | number;
|
|
60
|
+
unit?: string;
|
|
61
|
+
scale?: number;
|
|
62
|
+
children?: any;
|
|
63
|
+
className?: string;
|
|
64
|
+
} & React.InputHTMLAttributes<any>, "ref"> & React.RefAttributes<unknown>>;
|
|
65
|
+
export default AutoComplete;
|
|
@@ -15,7 +15,7 @@ import { AutoCompleteContext } from './auto-complete-context';
|
|
|
15
15
|
import Loading from '../loading';
|
|
16
16
|
import { pickChild } from '../utils/collections';
|
|
17
17
|
import useCurrentState from '../utils/use-current-state';
|
|
18
|
-
import useScale from '../use-scale';
|
|
18
|
+
import useScale, { withScale } from '../use-scale';
|
|
19
19
|
import { ArrowRight } from '@helpdice/icons';
|
|
20
20
|
var childrenToOptionsNode = function childrenToOptionsNode(options) {
|
|
21
21
|
return options.map(function (item, index) {
|
|
@@ -201,6 +201,5 @@ var AutoCompleteComponent = /*#__PURE__*/React.forwardRef(function (_ref, userRe
|
|
|
201
201
|
}, ".auto-complete.__jsx-style-dynamic-selector{width:".concat(SCALES.width(1, 'max-content'), ";height:").concat(SCALES.height(1, 'auto'), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.auto-complete.__jsx-style-dynamic-selector .loading{width:-webkit-max-content;width:-moz-max-content;width:max-content;}"))));
|
|
202
202
|
});
|
|
203
203
|
AutoCompleteComponent.displayName = 'AutoComplete';
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
export default AutoCompleteComponent;
|
|
204
|
+
var AutoComplete = withScale(AutoCompleteComponent);
|
|
205
|
+
export default AutoComplete;
|
|
@@ -11,5 +11,5 @@ var ButtonLoading = function ButtonLoading(_ref) {
|
|
|
11
11
|
id: "212623367"
|
|
12
12
|
}, ".btn-loading.jsx-212623367{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;background-color:var(--helpdice-ui-button-bg);}"));
|
|
13
13
|
};
|
|
14
|
-
ButtonLoading.displayName = '
|
|
14
|
+
ButtonLoading.displayName = 'ButtonLoading';
|
|
15
15
|
export default ButtonLoading;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
type CompactButtonProps = {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
iconRight?: React.ReactNode;
|
|
@@ -11,5 +11,5 @@ type CompactButtonProps = {
|
|
|
11
11
|
target?: string;
|
|
12
12
|
onClick?: () => void;
|
|
13
13
|
};
|
|
14
|
-
declare const _default:
|
|
14
|
+
declare const _default: React.NamedExoticComponent<CompactButtonProps>;
|
|
15
15
|
export default _default;
|
package/esm/button/styles.js
CHANGED
|
@@ -102,7 +102,7 @@ export var getButtonGhostHoverColors = function getButtonGhostHoverColors(palett
|
|
|
102
102
|
color: 'white'
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
-
var withoutLightType = _color.replace('-light', '');
|
|
105
|
+
var withoutLightType = _color === null || _color === void 0 ? void 0 : _color.replace('-light', '');
|
|
106
106
|
return colors[withoutLightType] || null;
|
|
107
107
|
};
|
|
108
108
|
export var getButtonHoverColors = function getButtonHoverColors(palette, props) {
|
|
@@ -24,5 +24,5 @@ var ButtonDropdownIcon = function ButtonDropdownIcon(_ref) {
|
|
|
24
24
|
id: "3359574434"
|
|
25
25
|
}, "svg.jsx-3359574434{-webkit-transform:scale(0.6);-ms-transform:scale(0.6);transform:scale(0.6);}"));
|
|
26
26
|
};
|
|
27
|
-
ButtonDropdownIcon.displayName = '
|
|
27
|
+
ButtonDropdownIcon.displayName = 'ButtonDropdownIcon';
|
|
28
28
|
export default ButtonDropdownIcon;
|
|
@@ -41,6 +41,6 @@ var CheckboxIconComponent = function CheckboxIconComponent(_ref) {
|
|
|
41
41
|
dynamic: [disabled ? 0.4 : 1, disabled ? 'not-allowed' : 'pointer']
|
|
42
42
|
}, "svg.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:calc(0.86 * var(--checkbox-size));height:calc(0.86 * var(--checkbox-size));-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:".concat(disabled ? 0.4 : 1, ";cursor:").concat(disabled ? 'not-allowed' : 'pointer', ";}")));
|
|
43
43
|
};
|
|
44
|
-
CheckboxIconComponent.displayName = '
|
|
44
|
+
CheckboxIconComponent.displayName = 'CheckboxIcon';
|
|
45
45
|
var CheckboxIcon = /*#__PURE__*/React.memo(CheckboxIconComponent);
|
|
46
46
|
export default CheckboxIcon;
|
package/esm/code-block/index.js
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
/* "use client" */
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
// export default CodeBlock;
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
|
|
5
|
+
import { dracula } from 'react-syntax-highlighter/dist/cjs/styles/prism';
|
|
6
|
+
var CodeBlock = function CodeBlock(_ref) {
|
|
7
|
+
var code = _ref.code,
|
|
8
|
+
language = _ref.language,
|
|
9
|
+
_ref$wrapLines = _ref.wrapLines,
|
|
10
|
+
wrapLines = _ref$wrapLines === void 0 ? true : _ref$wrapLines,
|
|
11
|
+
_ref$showLineNumbers = _ref.showLineNumbers,
|
|
12
|
+
showLineNumbers = _ref$showLineNumbers === void 0 ? true : _ref$showLineNumbers;
|
|
13
|
+
return /*#__PURE__*/React.createElement(SyntaxHighlighter, {
|
|
14
|
+
lineProps: {
|
|
15
|
+
style: {
|
|
16
|
+
wordBreak: 'break-all',
|
|
17
|
+
whiteSpace: 'pre-wrap'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
language: language,
|
|
21
|
+
style: dracula,
|
|
22
|
+
wrapLines: wrapLines,
|
|
23
|
+
wrapLongLines: wrapLines,
|
|
24
|
+
showLineNumbers: showLineNumbers,
|
|
25
|
+
showInlineLineNumbers: false
|
|
26
|
+
}, code);
|
|
27
|
+
};
|
|
28
|
+
export default CodeBlock;
|
package/esm/index.d.ts
CHANGED
|
@@ -126,6 +126,7 @@ export { useRect } from './utils/layouts';
|
|
|
126
126
|
export type { ReactiveDomReact } from './utils/layouts';
|
|
127
127
|
export { default as Highlight } from './shared/highlight';
|
|
128
128
|
export type { HighlightProps } from './shared/highlight';
|
|
129
|
+
export { default as CodeBlock } from './code-block';
|
|
129
130
|
export { default as Skeleton } from './skeleton';
|
|
130
131
|
export { CartProvider, useCart, createCartIdentifier } from './cart';
|
|
131
132
|
export type { CartProviderState } from './cart';
|
package/esm/index.js
CHANGED
|
@@ -75,7 +75,7 @@ export { default as useScale } from './use-scale';
|
|
|
75
75
|
export { withScale, ScalePropKeys, ScaleContext } from './use-scale';
|
|
76
76
|
export { useRect } from './utils/layouts';
|
|
77
77
|
export { default as Highlight } from './shared/highlight';
|
|
78
|
-
|
|
78
|
+
export { default as CodeBlock } from './code-block';
|
|
79
79
|
export { default as Skeleton } from './skeleton';
|
|
80
80
|
|
|
81
81
|
// Cart
|
|
@@ -11,6 +11,6 @@ var InputBlockLabelComponent = function InputBlockLabelComponent(_ref) {
|
|
|
11
11
|
dynamic: [theme.palette.accents_6]
|
|
12
12
|
}, "label.__jsx-style-dynamic-selector{display:block;font-weight:normal;color:".concat(theme.palette.accents_6, ";padding:0 0 0 1px;margin-bottom:0.5em;font-size:1em;line-height:1.5;}label.__jsx-style-dynamic-selector>*:first-child{margin-top:0;}label.__jsx-style-dynamic-selector>*:last-child{margin-bottom:0;}")));
|
|
13
13
|
};
|
|
14
|
-
InputBlockLabelComponent.displayName = '
|
|
14
|
+
InputBlockLabelComponent.displayName = 'InputBlockLabel';
|
|
15
15
|
var InputBlockLabel = /*#__PURE__*/React.memo(InputBlockLabelComponent);
|
|
16
16
|
export default InputBlockLabel;
|
package/esm/input/input-icon.js
CHANGED
|
@@ -13,6 +13,6 @@ var InputIconComponent = function InputIconComponent(_ref) {
|
|
|
13
13
|
dynamic: [clickable ? 'pointer' : 'default', clickable ? 'auto' : 'none']
|
|
14
14
|
}, ".input-icon.__jsx-style-dynamic-selector{box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:calc(var(--input-height) - 2px);-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin:0;padding:0;line-height:1;position:relative;cursor:".concat(clickable ? 'pointer' : 'default', ";pointer-events:").concat(clickable ? 'auto' : 'none', ";}.input-icon.__jsx-style-dynamic-selector svg{width:calc(var(--input-height) - 2px);height:calc(var(--input-height) - 2px);-webkit-transform:scale(0.44);-ms-transform:scale(0.44);transform:scale(0.44);}")));
|
|
15
15
|
};
|
|
16
|
-
InputIconComponent.displayName = '
|
|
16
|
+
InputIconComponent.displayName = 'InputIcon';
|
|
17
17
|
var InputIcon = /*#__PURE__*/React.memo(InputIconComponent);
|
|
18
18
|
export default InputIcon;
|
package/esm/link/icon.js
CHANGED
|
@@ -25,6 +25,6 @@ export var LinkIconComponent = function LinkIconComponent() {
|
|
|
25
25
|
id: "3409194595"
|
|
26
26
|
}, ".icon.jsx-3409194595{margin:0 0 -1px 0.1875em;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;color:currentColor;}"));
|
|
27
27
|
};
|
|
28
|
-
LinkIconComponent.displayName = '
|
|
28
|
+
LinkIconComponent.displayName = 'LinkIcon';
|
|
29
29
|
var LinkIcon = /*#__PURE__*/React.memo(LinkIconComponent);
|
|
30
30
|
export default LinkIcon;
|
|
@@ -31,6 +31,6 @@ var ModalActionsComponent = function ModalActionsComponent(_ref) {
|
|
|
31
31
|
dynamic: [theme.palette.border, theme.layout.radius, theme.layout.radius, theme.palette.border, height]
|
|
32
32
|
}, "footer.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;width:100%;height:auto;position:absolute;bottom:0;left:0;right:0;border-top:1px solid ".concat(theme.palette.border, ";border-bottom-left-radius:").concat(theme.layout.radius, ";border-bottom-right-radius:").concat(theme.layout.radius, ";}footer.__jsx-style-dynamic-selector>button.btn + button.btn{border-left:1px solid ").concat(theme.palette.border, ";}div.__jsx-style-dynamic-selector{height:").concat(height, ";-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}")));
|
|
33
33
|
};
|
|
34
|
-
ModalActionsComponent.displayName = '
|
|
34
|
+
ModalActionsComponent.displayName = 'ModalActions';
|
|
35
35
|
var ModalActions = /*#__PURE__*/React.memo(ModalActionsComponent);
|
|
36
36
|
export default ModalActions;
|
|
@@ -14,5 +14,5 @@ var RatingIcon = function RatingIcon() {
|
|
|
14
14
|
d: "M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
|
-
RatingIcon.displayName = '
|
|
17
|
+
RatingIcon.displayName = 'RatingIcon';
|
|
18
18
|
export default RatingIcon;
|