@homecode/ui 4.18.64 → 4.18.67

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.
@@ -1,6 +1,6 @@
1
1
  import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = ".Button_root__SZns2{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:inset 0 0 0 2px none;box-sizing:border-box;color:inherit;cursor:pointer;display:inline-flex;justify-content:center;line-height:1em;text-decoration:none;transition:.2s ease-out;transition-property:background-color,box-shadow,opacity;-webkit-user-select:none;-moz-user-select:none;user-select:none}.Button_root__SZns2:focus,.Button_root__SZns2:hover{background-color:var(--active-color-alpha-100)}.Button_root__SZns2[disabled]{background-color:var(--accent-color-alpha-100);opacity:.4;pointer-events:none}.Button_root__SZns2:active{opacity:.7}.Button_root__SZns2.Button_loading__c4pdo{pointer-events:none}.Button_root__SZns2.Button_checked__X7f58,.Button_root__SZns2.Button_checked__X7f58:hover{background-color:var(--accent-color);box-shadow:none;color:var(--decent-color)}.Button_root__SZns2.Button_checked__X7f58 path{fill:var(--decent-color)}.Button_postfix__DwG-n,.Button_prefix__czqd5{display:flex}.Button_prefix__czqd5:not(:last-child){margin-right:.5em}.Button_postfix__DwG-n:not(:first-child){margin-left:.5em}.Button_size-s__-SIY1{border-radius:4px;font-size:16px;min-height:30px;min-width:30px;padding:0 8px}.Button_size-s__-SIY1.Button_square__eYSY3{max-height:30px;width:30px}.Button_size-m__TBXc-{border-radius:6px;font-size:20px;min-height:40px;min-width:40px;padding:0 12px}.Button_size-m__TBXc-.Button_square__eYSY3{max-height:40px;width:40px}.Button_size-l__Sx37T{border-radius:8px;font-size:24px;min-height:50px;min-width:50px;padding:0 14px}.Button_size-l__Sx37T.Button_square__eYSY3{max-height:50px}.Button_square__eYSY3{justify-content:center;padding:0}.Button_round__Bxofy.Button_size-s__-SIY1{border-radius:15px}.Button_round__Bxofy.Button_size-m__TBXc-{border-radius:20px}.Button_round__Bxofy.Button_size-l__Sx37T{border-radius:25px}.Button_variant-clear__z1HZm:active,.Button_variant-clear__z1HZm:focus,.Button_variant-clear__z1HZm:hover,.Button_variant-default__vbo51:active,.Button_variant-default__vbo51:focus,.Button_variant-default__vbo51:hover,.Button_variant-outlined__shnIq:active,.Button_variant-outlined__shnIq:hover,.Button_variant-primary__zhEQI:active,.Button_variant-primary__zhEQI:hover{background-color:var(--active-color-alpha-300)}.Button_variant-text__oCx0X{background-color:transparent}.Button_variant-text__oCx0X:hover{background-color:transparent!important;color:var(--active-color)}.Button_variant-text__oCx0X:focus{background-color:transparent;color:var(--active-color)}.Button_variant-clear__z1HZm{background-color:transparent}.Button_variant-default__vbo51{background-color:var(--accent-color-alpha-100)}.Button_variant-outlined__shnIq{background-color:transparent;box-shadow:inset 0 0 0 2px var(--accent-color)}.Button_variant-outlined__shnIq:focus{background-color:var(--active-color-alpha-300);box-shadow:inset 0 0 0 2px var(--active-color)}.Button_variant-primary__zhEQI{background-color:var(--active-color);color:var(--accent-color-alpha-900)}.Button_variant-primary__zhEQI:hover{background-color:var(--active-color-alpha-800)}.Button_variant-primary__zhEQI:focus{background-color:var(--active-color);box-shadow:inset 0 0 0 2px var(--accent-color)}.Button_spinner__ttaMr{margin-left:var(--indent-s)}";
3
+ var css_248z = ".Button_root__SZns2{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:inset 0 0 0 2px none;box-sizing:border-box;color:inherit;cursor:pointer;display:inline-flex;justify-content:center;line-height:1em;text-decoration:none;transition:.2s ease-out;transition-property:background-color,box-shadow,opacity;-webkit-user-select:none;-moz-user-select:none;user-select:none}.Button_root__SZns2:focus,.Button_root__SZns2:hover{background-color:var(--active-color-alpha-100)}.Button_root__SZns2[disabled]{background-color:var(--accent-color-alpha-100);opacity:.4;pointer-events:none}.Button_root__SZns2:active{opacity:.7}.Button_root__SZns2.Button_loading__c4pdo{pointer-events:none}.Button_root__SZns2.Button_checked__X7f58,.Button_root__SZns2.Button_checked__X7f58:focus,.Button_root__SZns2.Button_checked__X7f58:hover{background-color:var(--accent-color)!important;box-shadow:none;color:var(--decent-color)}.Button_root__SZns2.Button_checked__X7f58:focus{box-shadow:0 0 0 2px var(--active-color)}.Button_root__SZns2.Button_checked__X7f58 path{fill:var(--decent-color)}.Button_postfix__DwG-n,.Button_prefix__czqd5{display:flex}.Button_prefix__czqd5:not(:last-child){margin-right:.5em}.Button_postfix__DwG-n:not(:first-child){margin-left:.5em}.Button_size-s__-SIY1{border-radius:4px;font-size:16px;min-height:30px;min-width:30px;padding:0 8px}.Button_size-s__-SIY1.Button_square__eYSY3{max-height:30px;width:30px}.Button_size-m__TBXc-{border-radius:6px;font-size:20px;min-height:40px;min-width:40px;padding:0 12px}.Button_size-m__TBXc-.Button_square__eYSY3{max-height:40px;width:40px}.Button_size-l__Sx37T{border-radius:8px;font-size:24px;min-height:50px;min-width:50px;padding:0 14px}.Button_size-l__Sx37T.Button_square__eYSY3{max-height:50px}.Button_square__eYSY3{justify-content:center;padding:0}.Button_round__Bxofy.Button_size-s__-SIY1{border-radius:15px}.Button_round__Bxofy.Button_size-m__TBXc-{border-radius:20px}.Button_round__Bxofy.Button_size-l__Sx37T{border-radius:25px}.Button_variant-clear__z1HZm:active,.Button_variant-clear__z1HZm:focus,.Button_variant-clear__z1HZm:hover,.Button_variant-default__vbo51:active,.Button_variant-default__vbo51:focus,.Button_variant-default__vbo51:hover,.Button_variant-outlined__shnIq:active,.Button_variant-outlined__shnIq:hover,.Button_variant-primary__zhEQI:active,.Button_variant-primary__zhEQI:hover{background-color:var(--active-color-alpha-300)}.Button_variant-text__oCx0X{background-color:transparent}.Button_variant-text__oCx0X:hover{background-color:transparent!important;color:var(--active-color)}.Button_variant-text__oCx0X:focus{background-color:transparent;color:var(--active-color)}.Button_variant-clear__z1HZm{background-color:transparent}.Button_variant-default__vbo51{background-color:var(--accent-color-alpha-100)}.Button_variant-outlined__shnIq{background-color:transparent;box-shadow:inset 0 0 0 2px var(--accent-color)}.Button_variant-outlined__shnIq:focus{background-color:var(--active-color-alpha-300);box-shadow:inset 0 0 0 2px var(--active-color)}.Button_variant-primary__zhEQI{background-color:var(--active-color);color:var(--accent-color-alpha-900)}.Button_variant-primary__zhEQI:hover{background-color:var(--active-color-alpha-800)}.Button_variant-primary__zhEQI:focus{background-color:var(--active-color);box-shadow:inset 0 0 0 2px var(--accent-color)}.Button_spinner__ttaMr{margin-left:var(--indent-s)}";
4
4
  var S = {"root":"Button_root__SZns2","loading":"Button_loading__c4pdo","checked":"Button_checked__X7f58","prefix":"Button_prefix__czqd5","postfix":"Button_postfix__DwG-n","size-s":"Button_size-s__-SIY1","square":"Button_square__eYSY3","size-m":"Button_size-m__TBXc-","size-l":"Button_size-l__Sx37T","round":"Button_round__Bxofy","variant-clear":"Button_variant-clear__z1HZm","variant-default":"Button_variant-default__vbo51","variant-outlined":"Button_variant-outlined__shnIq","variant-primary":"Button_variant-primary__zhEQI","variant-text":"Button_variant-text__oCx0X","spinner":"Button_spinner__ttaMr"};
5
5
  styleInject(css_248z);
6
6
 
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+ var SvgClearAll = function SvgClearAll(props) {
5
+ return /*#__PURE__*/React.createElement("svg", _extends({
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ fill: "currentColor",
8
+ viewBox: "0 0 24 24"
9
+ }, props), /*#__PURE__*/React.createElement("path", {
10
+ d: "M.178 18.875v-2.628h18.39v2.628zm2.627-5.255v-2.627h18.391v2.627zm2.627-5.255V5.738h18.391v2.627Z",
11
+ style: {
12
+ strokeWidth: 0.0328412
13
+ }
14
+ }));
15
+ };
16
+
17
+ export { SvgClearAll as default };
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+ var SvgFlyover = function SvgFlyover(props) {
5
+ return /*#__PURE__*/React.createElement("svg", _extends({
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ fill: "currentColor",
8
+ viewBox: "0 0 24 24"
9
+ }, props), /*#__PURE__*/React.createElement("path", {
10
+ d: "M.287 10.947V8.262a39.4 39.4 0 0 1 5.831-1.1 54 54 0 0 1 5.92-.323q2.996 0 5.919.323 2.923.324 5.83 1.1v2.685a23 23 0 0 0-1.174-.291l-1.175-.26v4.206h-2.35V9.944a49 49 0 0 0-7.05-.518q-1.762 0-3.525.114-1.763.113-3.526.372v4.69h-2.35v-4.238a46 46 0 0 0-2.35.583m4.7 12.711 1.704-12.27q.529-.065 1.205-.114.675-.048 1.204-.08L7.337 23.657ZM8.513.37h2.35l-.588 5.05q-.528.031-1.19.08-.66.048-1.19.113Zm2.35 23.288h2.35v-5.175h-2.35zm0-7.763h2.35V11.13h-2.35ZM13.213.37h2.35l.616 5.243q-.528-.032-1.19-.097-.66-.064-1.189-.097Zm3.525 23.288-1.763-12.465q.53.033 1.204.097.675.066 1.205.13l1.704 12.238z",
11
+ style: {
12
+ strokeWidth: 0.0308243
13
+ }
14
+ }));
15
+ };
16
+
17
+ export { SvgFlyover as default };
@@ -10,6 +10,7 @@ var ICONS = {
10
10
  chevronDown: () => import('./chevronDown.svg.js'),
11
11
  chevronRight: () => import('./chevronRight.svg.js'),
12
12
  chevronLeft: () => import('./chevronLeft.svg.js'),
13
+ clearAll: () => import('./clearAll.svg.js'),
13
14
  delete: () => import('./delete.svg.js'),
14
15
  draft: () => import('./draft.svg.js'),
15
16
  edit: () => import('./edit.svg.js'),
@@ -22,6 +23,7 @@ var ICONS = {
22
23
  fullscreen: () => import('./fullscreen.svg.js'),
23
24
  fullscreenExit: () => import('./fullscreenExit.svg.js'),
24
25
  function: () => import('./function.svg.js'),
26
+ flyover: () => import('./flyover.svg.js'),
25
27
  gear: () => import('./gear.svg.js'),
26
28
  geolocation: () => import('./geolocation.svg.js'),
27
29
  group: () => import('./group.svg.js'),
@@ -52,6 +54,7 @@ var ICONS = {
52
54
  settings: () => import('./settings.svg.js'),
53
55
  shoppingBag: () => import('./shoppingBag.svg.js'),
54
56
  sparks: () => import('./sparks.svg.js'),
57
+ star: () => import('./star.svg.js'),
55
58
  syncArrows: () => import('./syncArrows.svg.js'),
56
59
  table: () => import('./table.svg.js'),
57
60
  telegram: () => import('./telegram.svg.js'),
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+
3
+ var _path;
4
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
+ var SvgStar = function SvgStar(props) {
6
+ return /*#__PURE__*/React.createElement("svg", _extends({
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ viewBox: "0 0 24 24"
9
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
10
+ fill: "currentColor",
11
+ stroke: "currentColor",
12
+ strokeLinecap: "round",
13
+ strokeLinejoin: "round",
14
+ d: "m12 1.5 2.7 6.3 6.3.9-4.8 4.5 1.5 6.8-5.7-3.2L6.3 20l1.5-6.8L3 8.7l6.3-.9z"
15
+ })));
16
+ };
17
+
18
+ export { SvgStar as default };
@@ -302,11 +302,11 @@ class Input extends Component {
302
302
  if (this.isTextArea()) {
303
303
  const { size, scrollProps } = this.props;
304
304
  const { labelClipPath } = this.store;
305
- return (createElement(Scroll, { y: true, size: size, fadeSize: "s", ...scrollProps, className: cn(S.scroller, S.controlWrapper, scrollProps?.className), innerProps: {
305
+ return (createElement(Scroll, { y: true, size: size, fadeSize: "s", className: cn(S.scroller, S.controlWrapper, scrollProps?.className), offset: {
306
+ y: { before: TEXTAREA_SCROLL_TOP_OFFSET[size], after: 20 },
307
+ }, ...scrollProps, innerProps: {
306
308
  suppressHydrationWarning: true,
307
309
  style: { clipPath: labelClipPath },
308
- }, offset: {
309
- y: { before: TEXTAREA_SCROLL_TOP_OFFSET[size], after: 20 },
310
310
  }, key: "scroller" }, control));
311
311
  }
312
312
  return jsx("div", { className: S.controlWrapper, children: control });
@@ -10,6 +10,7 @@ declare const _default: {
10
10
  chevronDown: () => Promise<any>;
11
11
  chevronRight: () => Promise<any>;
12
12
  chevronLeft: () => Promise<any>;
13
+ clearAll: () => Promise<any>;
13
14
  delete: () => Promise<any>;
14
15
  draft: () => Promise<any>;
15
16
  edit: () => Promise<any>;
@@ -22,6 +23,7 @@ declare const _default: {
22
23
  fullscreen: () => Promise<any>;
23
24
  fullscreenExit: () => Promise<any>;
24
25
  function: () => Promise<any>;
26
+ flyover: () => Promise<any>;
25
27
  gear: () => Promise<any>;
26
28
  geolocation: () => Promise<any>;
27
29
  group: () => Promise<any>;
@@ -52,6 +54,7 @@ declare const _default: {
52
54
  settings: () => Promise<any>;
53
55
  shoppingBag: () => Promise<any>;
54
56
  sparks: () => Promise<any>;
57
+ star: () => Promise<any>;
55
58
  syncArrows: () => Promise<any>;
56
59
  table: () => Promise<any>;
57
60
  telegram: () => Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homecode/ui",
3
- "version": "4.18.64",
3
+ "version": "4.18.67",
4
4
  "description": "React UI components library",
5
5
  "scripts": {
6
6
  "test": "jest",