@remember-web/mixin 0.1.1 → 0.1.2

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
4
4
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
5
- var common = require('@remember-web/shared/utils/common');
5
+ var common = require('../../../shared/utils/common.cjs');
6
6
  var theme = require('./theme.cjs');
7
7
 
8
8
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -1,6 +1,6 @@
1
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
3
- import { isSSR } from '@remember-web/shared/utils/common';
3
+ import { isSSR } from '../../../shared/utils/common.js';
4
4
  import { RUI_COLOR_THEME } from './theme.js';
5
5
 
6
6
  /** var(color)로 된 string을 color로 변경해줄 때 사용 */
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ var isSSR = function isSSR() {
4
+ return typeof window === 'undefined';
5
+ };
6
+
7
+ exports.isSSR = isSSR;
8
+ //# sourceMappingURL=common.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.cjs","sources":["../../../../shared/utils/common.ts"],"sourcesContent":["export const range = (start: number, end: number) => {\n if (end < start) {\n return []; // 유효하지 않은 입력값 처리\n }\n return Array(end - start + 1)\n .fill(0)\n .map((_, idx) => start + idx);\n};\nexport const isSSR = () => typeof window === 'undefined';\n"],"names":["isSSR","window"],"mappings":";;AAQaA,IAAAA,KAAK,GAAG,SAARA,KAAKA,GAAA;EAAA,OAAS,OAAOC,MAAM,KAAK,WAAW,CAAA;AAAA;;;;"}
@@ -0,0 +1,6 @@
1
+ var isSSR = function isSSR() {
2
+ return typeof window === 'undefined';
3
+ };
4
+
5
+ export { isSSR };
6
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sources":["../../../../shared/utils/common.ts"],"sourcesContent":["export const range = (start: number, end: number) => {\n if (end < start) {\n return []; // 유효하지 않은 입력값 처리\n }\n return Array(end - start + 1)\n .fill(0)\n .map((_, idx) => start + idx);\n};\nexport const isSSR = () => typeof window === 'undefined';\n"],"names":["isSSR","window"],"mappings":"AAQaA,IAAAA,KAAK,GAAG,SAARA,KAAKA,GAAA;EAAA,OAAS,OAAOC,MAAM,KAAK,WAAW,CAAA;AAAA;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remember-web/mixin",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "RUI Mixin",
5
5
  "homepage": "https://dramancompany.github.io/rui/",
6
6
  "author": "Remember",
@@ -36,14 +36,14 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "@babel/runtime": "^7",
40
- "@remember-web/shared": "workspace:^"
39
+ "@babel/runtime": "^7"
41
40
  },
42
41
  "devDependencies": {
43
42
  "@babel/core": "^7.20.12",
44
43
  "@babel/plugin-transform-runtime": "^7.19.6",
45
44
  "@babel/preset-env": "^7.22.9",
46
45
  "@babel/preset-typescript": "^7.22.5",
46
+ "@remember-web/shared": "workspace:^",
47
47
  "@rollup/plugin-babel": "^6.0.4",
48
48
  "@rollup/plugin-commonjs": "^25.0.7",
49
49
  "@rollup/plugin-node-resolve": "^15.0.1",