@mirai/ui 1.0.87 → 1.0.89

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.
@@ -84,13 +84,14 @@
84
84
  background-color: var(--mirai-ui-input-background);
85
85
  font-size: var(--mirai-ui-input-font-size);
86
86
  left: var(--mirai-ui-input-text-padding-x);
87
- line-height: var(--mirai-ui-input-min-height);
87
+ line-height: calc(var(--mirai-ui-input-min-height) - var(--mirai-ui-border-width));
88
88
  pointer-events: none;
89
89
  position: absolute;
90
- right: calc(calc(var(--mirai-ui-input-text-padding-x) * 2) + calc(var(--mirai-ui-input-text-icon) * 2));
90
+ right: var(--mirai-ui-input-text-padding-x);
91
91
  top: var(--mirai-ui-border-width);
92
92
  transition: font-size var(--mirai-ui-motion-expand) var(--mirai-ui-motion-easing),
93
93
  line-height var(--mirai-ui-motion-expand) var(--mirai-ui-motion-easing),
94
+ right var(--mirai-ui-motion-expand) var(--mirai-ui-motion-easing),
94
95
  top var(--mirai-ui-motion-expand) var(--mirai-ui-motion-easing);
95
96
  }
96
97
 
@@ -101,6 +102,7 @@
101
102
  .label.withValue {
102
103
  font-size: var(--mirai-ui-font-size-small);
103
104
  line-height: var(--mirai-ui-line-height-small);
105
+ right: calc(var(--mirai-ui-input-text-padding-x) + var(--mirai-ui-input-text-icon));
104
106
  top: var(--mirai-ui-space-XS);
105
107
  }
106
108
 
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.getScrollParent = void 0;
7
7
  var getScrollParent = function getScrollParent(node) {
8
- if (!node) return;
8
+ if (!node || node.tagName === 'HTML') return;
9
9
  return node.scrollTop > 0 ? node : getScrollParent(node.parentNode);
10
10
  };
11
11
  exports.getScrollParent = getScrollParent;
@@ -1 +1 @@
1
- {"version":3,"file":"getScrollParent.js","names":["getScrollParent","node","scrollTop","parentNode"],"sources":["../../../../src/primitives/Layer/helpers/getScrollParent.js"],"sourcesContent":["export const getScrollParent = (node) => {\n if (!node) return;\n return node.scrollTop > 0 ? node : getScrollParent(node.parentNode);\n};\n"],"mappings":";;;;;;AAAO,IAAMA,eAAe,GAAG,SAAlBA,eAAe,CAAIC,IAAI,EAAK;EACvC,IAAI,CAACA,IAAI,EAAE;EACX,OAAOA,IAAI,CAACC,SAAS,GAAG,CAAC,GAAGD,IAAI,GAAGD,eAAe,CAACC,IAAI,CAACE,UAAU,CAAC;AACrE,CAAC;AAAC"}
1
+ {"version":3,"file":"getScrollParent.js","names":["getScrollParent","node","tagName","scrollTop","parentNode"],"sources":["../../../../src/primitives/Layer/helpers/getScrollParent.js"],"sourcesContent":["export const getScrollParent = (node) => {\n if (!node || node.tagName === 'HTML') return;\n return node.scrollTop > 0 ? node : getScrollParent(node.parentNode);\n};\n"],"mappings":";;;;;;AAAO,IAAMA,eAAe,GAAG,SAAlBA,eAAe,CAAIC,IAAI,EAAK;EACvC,IAAI,CAACA,IAAI,IAAIA,IAAI,CAACC,OAAO,KAAK,MAAM,EAAE;EACtC,OAAOD,IAAI,CAACE,SAAS,GAAG,CAAC,GAAGF,IAAI,GAAGD,eAAe,CAACC,IAAI,CAACG,UAAU,CAAC;AACrE,CAAC;AAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirai/ui",
3
- "version": "1.0.87",
3
+ "version": "1.0.89",
4
4
  "repository": "git@gitlab.com:miraicorp/dev/frontend/ui.git",
5
5
  "author": "JΛVI <hello@soyjavi.com>",
6
6
  "license": "MIT",