@mirai/ui 2.1.17 → 2.1.19

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.
@@ -135,7 +135,7 @@
135
135
  color: var(--mirai-ui-error);
136
136
  }
137
137
 
138
- .text.focus {
138
+ .text.focus:not(.error) {
139
139
  color: var(--mirai-ui-input-text-focus);
140
140
  }
141
141
 
@@ -5,7 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.getScrollParent = void 0;
7
7
  var getScrollParent = function getScrollParent(node) {
8
- var _ref = node && (getComputedStyle(node) || {}),
8
+ var style = getComputedStyle(node);
9
+ var _ref = node && style !== null && style || {},
9
10
  position = _ref.position;
10
11
  if (!node || node.tagName === 'HTML' || ['fixed', 'sticky'].includes(position)) return;
11
12
  return node.scrollTop > 0 ? node : getScrollParent(node.parentNode);
@@ -1 +1 @@
1
- {"version":3,"file":"getScrollParent.js","names":["getScrollParent","node","_ref","getComputedStyle","position","tagName","includes","scrollTop","parentNode","exports"],"sources":["../../../../src/primitives/Layer/helpers/getScrollParent.js"],"sourcesContent":["export const getScrollParent = (node) => {\n const { position } = node && (getComputedStyle(node) || {});\n if (!node || node.tagName === 'HTML' || ['fixed', 'sticky'].includes(position)) return;\n\n return node.scrollTop > 0 ? node : getScrollParent(node.parentNode);\n};\n"],"mappings":";;;;;;AAAO,IAAMA,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,IAAI,EAAK;EACvC,IAAAC,IAAA,GAAqBD,IAAI,KAAKE,gBAAgB,CAACF,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAAnDG,QAAQ,GAAAF,IAAA,CAARE,QAAQ;EAChB,IAAI,CAACH,IAAI,IAAIA,IAAI,CAACI,OAAO,KAAK,MAAM,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAACC,QAAQ,CAACF,QAAQ,CAAC,EAAE;EAEhF,OAAOH,IAAI,CAACM,SAAS,GAAG,CAAC,GAAGN,IAAI,GAAGD,eAAe,CAACC,IAAI,CAACO,UAAU,CAAC;AACrE,CAAC;AAACC,OAAA,CAAAT,eAAA,GAAAA,eAAA","ignoreList":[]}
1
+ {"version":3,"file":"getScrollParent.js","names":["getScrollParent","node","style","getComputedStyle","_ref","position","tagName","includes","scrollTop","parentNode","exports"],"sources":["../../../../src/primitives/Layer/helpers/getScrollParent.js"],"sourcesContent":["export const getScrollParent = (node) => {\n const style = getComputedStyle(node);\n const { position } = (node && style !== null && style) || {};\n if (!node || node.tagName === 'HTML' || ['fixed', 'sticky'].includes(position)) return;\n\n return node.scrollTop > 0 ? node : getScrollParent(node.parentNode);\n};\n"],"mappings":";;;;;;AAAO,IAAMA,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,IAAI,EAAK;EACvC,IAAMC,KAAK,GAAGC,gBAAgB,CAACF,IAAI,CAAC;EACpC,IAAAG,IAAA,GAAsBH,IAAI,IAAIC,KAAK,KAAK,IAAI,IAAIA,KAAK,IAAK,CAAC,CAAC;IAApDG,QAAQ,GAAAD,IAAA,CAARC,QAAQ;EAChB,IAAI,CAACJ,IAAI,IAAIA,IAAI,CAACK,OAAO,KAAK,MAAM,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAACC,QAAQ,CAACF,QAAQ,CAAC,EAAE;EAEhF,OAAOJ,IAAI,CAACO,SAAS,GAAG,CAAC,GAAGP,IAAI,GAAGD,eAAe,CAACC,IAAI,CAACQ,UAAU,CAAC;AACrE,CAAC;AAACC,OAAA,CAAAV,eAAA,GAAAA,eAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirai/ui",
3
- "version": "2.1.17",
3
+ "version": "2.1.19",
4
4
  "repository": "git@gitlab.com:miraicorp/dev/frontend/ui.git",
5
5
  "author": "JΛVI <hello@soyjavi.com>",
6
6
  "license": "MIT",