@ncds/ui-admin 0.0.3 → 0.0.7

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.
Files changed (34) hide show
  1. package/dist/tsconfig.tsbuildinfo +1 -1
  2. package/dist/ui-admin/index.d.ts +0 -10
  3. package/dist/ui-admin/index.d.ts.map +1 -1
  4. package/dist/ui-admin/index.js +0 -110
  5. package/dist/ui-admin/src/components/button/ButtonGroup.d.ts +1 -1
  6. package/dist/ui-admin/src/components/button/index.d.ts +0 -1
  7. package/dist/ui-admin/src/components/button/index.d.ts.map +1 -1
  8. package/dist/ui-admin/src/components/button/index.js +0 -11
  9. package/dist/ui-admin/src/components/index.d.ts +0 -4
  10. package/dist/ui-admin/src/components/index.d.ts.map +1 -1
  11. package/dist/ui-admin/src/components/index.js +0 -44
  12. package/dist/ui-admin/src/components/input/FileInput.d.ts +1 -0
  13. package/dist/ui-admin/src/components/input/FileInput.d.ts.map +1 -0
  14. package/dist/ui-admin/src/components/input/FileInput.js +1 -0
  15. package/dist/ui-admin/src/components/pagination/Pagination.js +2 -2
  16. package/dist/ui-admin/src/components/pagination/index.d.ts +0 -1
  17. package/dist/ui-admin/src/components/pagination/index.d.ts.map +1 -1
  18. package/dist/ui-admin/src/components/pagination/index.js +0 -11
  19. package/package.json +2 -2
  20. package/dist/ui-admin/src/components/input/index.d.ts +0 -3
  21. package/dist/ui-admin/src/components/input/index.d.ts.map +0 -1
  22. package/dist/ui-admin/src/components/input/index.js +0 -27
  23. package/dist/ui-admin/src/components/shared/hintText/index.d.ts +0 -2
  24. package/dist/ui-admin/src/components/shared/hintText/index.d.ts.map +0 -1
  25. package/dist/ui-admin/src/components/shared/hintText/index.js +0 -16
  26. package/dist/ui-admin/src/components/shared/index.d.ts +0 -3
  27. package/dist/ui-admin/src/components/shared/index.d.ts.map +0 -1
  28. package/dist/ui-admin/src/components/shared/index.js +0 -27
  29. package/dist/ui-admin/src/components/shared/label/index.d.ts +0 -2
  30. package/dist/ui-admin/src/components/shared/label/index.d.ts.map +0 -1
  31. package/dist/ui-admin/src/components/shared/label/index.js +0 -16
  32. package/dist/ui-admin/src/components/spinner/index.d.ts +0 -2
  33. package/dist/ui-admin/src/components/spinner/index.d.ts.map +0 -1
  34. package/dist/ui-admin/src/components/spinner/index.js +0 -16
@@ -1,14 +1,4 @@
1
1
  export * from './src/components/button';
2
- export * from './src/components/checkbox';
3
- export * from './src/components/input';
4
- export * from './src/components/pagination';
5
- export * from './src/components/radio';
6
- export * from './src/components/select';
7
- export * from './src/components/shared/hintText';
8
- export * from './src/components/shared/label';
9
- export * from './src/components/shared';
10
- export * from './src/components/spinner';
11
2
  export * from './src/components/svg';
12
- export * from './src/components/tooltip';
13
3
  export * from './src/components';
14
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC"}
@@ -14,105 +14,6 @@ Object.keys(_button).forEach(function (key) {
14
14
  }
15
15
  });
16
16
  });
17
- var _checkbox = require("./src/components/checkbox");
18
- Object.keys(_checkbox).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _checkbox[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _checkbox[key];
25
- }
26
- });
27
- });
28
- var _input = require("./src/components/input");
29
- Object.keys(_input).forEach(function (key) {
30
- if (key === "default" || key === "__esModule") return;
31
- if (key in exports && exports[key] === _input[key]) return;
32
- Object.defineProperty(exports, key, {
33
- enumerable: true,
34
- get: function () {
35
- return _input[key];
36
- }
37
- });
38
- });
39
- var _pagination = require("./src/components/pagination");
40
- Object.keys(_pagination).forEach(function (key) {
41
- if (key === "default" || key === "__esModule") return;
42
- if (key in exports && exports[key] === _pagination[key]) return;
43
- Object.defineProperty(exports, key, {
44
- enumerable: true,
45
- get: function () {
46
- return _pagination[key];
47
- }
48
- });
49
- });
50
- var _radio = require("./src/components/radio");
51
- Object.keys(_radio).forEach(function (key) {
52
- if (key === "default" || key === "__esModule") return;
53
- if (key in exports && exports[key] === _radio[key]) return;
54
- Object.defineProperty(exports, key, {
55
- enumerable: true,
56
- get: function () {
57
- return _radio[key];
58
- }
59
- });
60
- });
61
- var _select = require("./src/components/select");
62
- Object.keys(_select).forEach(function (key) {
63
- if (key === "default" || key === "__esModule") return;
64
- if (key in exports && exports[key] === _select[key]) return;
65
- Object.defineProperty(exports, key, {
66
- enumerable: true,
67
- get: function () {
68
- return _select[key];
69
- }
70
- });
71
- });
72
- var _hintText = require("./src/components/shared/hintText");
73
- Object.keys(_hintText).forEach(function (key) {
74
- if (key === "default" || key === "__esModule") return;
75
- if (key in exports && exports[key] === _hintText[key]) return;
76
- Object.defineProperty(exports, key, {
77
- enumerable: true,
78
- get: function () {
79
- return _hintText[key];
80
- }
81
- });
82
- });
83
- var _label = require("./src/components/shared/label");
84
- Object.keys(_label).forEach(function (key) {
85
- if (key === "default" || key === "__esModule") return;
86
- if (key in exports && exports[key] === _label[key]) return;
87
- Object.defineProperty(exports, key, {
88
- enumerable: true,
89
- get: function () {
90
- return _label[key];
91
- }
92
- });
93
- });
94
- var _shared = require("./src/components/shared");
95
- Object.keys(_shared).forEach(function (key) {
96
- if (key === "default" || key === "__esModule") return;
97
- if (key in exports && exports[key] === _shared[key]) return;
98
- Object.defineProperty(exports, key, {
99
- enumerable: true,
100
- get: function () {
101
- return _shared[key];
102
- }
103
- });
104
- });
105
- var _spinner = require("./src/components/spinner");
106
- Object.keys(_spinner).forEach(function (key) {
107
- if (key === "default" || key === "__esModule") return;
108
- if (key in exports && exports[key] === _spinner[key]) return;
109
- Object.defineProperty(exports, key, {
110
- enumerable: true,
111
- get: function () {
112
- return _spinner[key];
113
- }
114
- });
115
- });
116
17
  var _svg = require("./src/components/svg");
117
18
  Object.keys(_svg).forEach(function (key) {
118
19
  if (key === "default" || key === "__esModule") return;
@@ -124,17 +25,6 @@ Object.keys(_svg).forEach(function (key) {
124
25
  }
125
26
  });
126
27
  });
127
- var _tooltip = require("./src/components/tooltip");
128
- Object.keys(_tooltip).forEach(function (key) {
129
- if (key === "default" || key === "__esModule") return;
130
- if (key in exports && exports[key] === _tooltip[key]) return;
131
- Object.defineProperty(exports, key, {
132
- enumerable: true,
133
- get: function () {
134
- return _tooltip[key];
135
- }
136
- });
137
- });
138
28
  var _components = require("./src/components");
139
29
  Object.keys(_components).forEach(function (key) {
140
30
  if (key === "default" || key === "__esModule") return;
@@ -51,7 +51,7 @@ export declare const ButtonGroup: {
51
51
  formNoValidate?: boolean | undefined;
52
52
  formTarget?: string | undefined;
53
53
  name?: string | undefined;
54
- type?: "button" | "submit" | "reset" | undefined;
54
+ type?: "button" | "reset" | "submit" | undefined;
55
55
  value?: string | number | readonly string[] | undefined;
56
56
  defaultChecked?: boolean | undefined;
57
57
  defaultValue?: string | number | readonly string[] | undefined;
@@ -1,3 +1,2 @@
1
1
  export * from './Button';
2
- export * from './ButtonGroup';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -13,15 +13,4 @@ Object.keys(_Button).forEach(function (key) {
13
13
  return _Button[key];
14
14
  }
15
15
  });
16
- });
17
- var _ButtonGroup = require("./ButtonGroup");
18
- Object.keys(_ButtonGroup).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _ButtonGroup[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _ButtonGroup[key];
25
- }
26
- });
27
16
  });
@@ -1,11 +1,7 @@
1
1
  export * from './button';
2
2
  export * from './checkbox';
3
- export * from './input';
4
- export * from './pagination';
5
3
  export * from './radio';
6
4
  export * from './select';
7
- export * from './shared';
8
- export * from './spinner';
9
5
  export * from './svg';
10
6
  export * from './tooltip';
11
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC"}
@@ -25,28 +25,6 @@ Object.keys(_checkbox).forEach(function (key) {
25
25
  }
26
26
  });
27
27
  });
28
- var _input = require("./input");
29
- Object.keys(_input).forEach(function (key) {
30
- if (key === "default" || key === "__esModule") return;
31
- if (key in exports && exports[key] === _input[key]) return;
32
- Object.defineProperty(exports, key, {
33
- enumerable: true,
34
- get: function () {
35
- return _input[key];
36
- }
37
- });
38
- });
39
- var _pagination = require("./pagination");
40
- Object.keys(_pagination).forEach(function (key) {
41
- if (key === "default" || key === "__esModule") return;
42
- if (key in exports && exports[key] === _pagination[key]) return;
43
- Object.defineProperty(exports, key, {
44
- enumerable: true,
45
- get: function () {
46
- return _pagination[key];
47
- }
48
- });
49
- });
50
28
  var _radio = require("./radio");
51
29
  Object.keys(_radio).forEach(function (key) {
52
30
  if (key === "default" || key === "__esModule") return;
@@ -69,28 +47,6 @@ Object.keys(_select).forEach(function (key) {
69
47
  }
70
48
  });
71
49
  });
72
- var _shared = require("./shared");
73
- Object.keys(_shared).forEach(function (key) {
74
- if (key === "default" || key === "__esModule") return;
75
- if (key in exports && exports[key] === _shared[key]) return;
76
- Object.defineProperty(exports, key, {
77
- enumerable: true,
78
- get: function () {
79
- return _shared[key];
80
- }
81
- });
82
- });
83
- var _spinner = require("./spinner");
84
- Object.keys(_spinner).forEach(function (key) {
85
- if (key === "default" || key === "__esModule") return;
86
- if (key in exports && exports[key] === _spinner[key]) return;
87
- Object.defineProperty(exports, key, {
88
- enumerable: true,
89
- get: function () {
90
- return _spinner[key];
91
- }
92
- });
93
- });
94
50
  var _svg = require("./svg");
95
51
  Object.keys(_svg).forEach(function (key) {
96
52
  if (key === "default" || key === "__esModule") return;
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=FileInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/FileInput.tsx"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ "use strict";
@@ -47,7 +47,7 @@ var Pagination = function (_a) {
47
47
  var _f = (0, _react.useState)(1),
48
48
  start = _f[0],
49
49
  setStart = _f[1];
50
- var _g = (0, _react.useState)(window.innerWidth > _constant.MINIMUM_PC_SIZE),
50
+ var _g = (0, _react.useState)(globalThis.innerWidth > _constant.MINIMUM_PC_SIZE),
51
51
  isPC = _g[0],
52
52
  setIsPC = _g[1];
53
53
  var noPrev = start === 1;
@@ -79,7 +79,7 @@ var Pagination = function (_a) {
79
79
  }
80
80
  }, [currentPage]);
81
81
  (0, _react.useEffect)(function () {
82
- var mql = window.matchMedia("(min-width: ".concat(_constant.MINIMUM_PC_SIZE, "px)"));
82
+ var mql = globalThis.matchMedia("(min-width: ".concat(_constant.MINIMUM_PC_SIZE, "px)"));
83
83
  setIsPC(mql.matches);
84
84
  var handleResize = function (e) {
85
85
  setIsPC(e.matches);
@@ -1,3 +1,2 @@
1
- export * from './NavButton';
2
1
  export * from './Pagination';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagination/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagination/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -3,17 +3,6 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var _NavButton = require("./NavButton");
7
- Object.keys(_NavButton).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _NavButton[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _NavButton[key];
14
- }
15
- });
16
- });
17
6
  var _Pagination = require("./Pagination");
18
7
  Object.keys(_Pagination).forEach(function (key) {
19
8
  if (key === "default" || key === "__esModule") return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ncds/ui-admin",
3
- "version": "0.0.3",
3
+ "version": "0.0.7",
4
4
  "description": "nhn-commerce의 어드민 디자인 시스템입니다.",
5
5
  "scripts": {
6
6
  "barrel": "node barrel.js",
@@ -62,7 +62,7 @@
62
62
  "dependencies": {
63
63
  "@ncds/types-common": "^1.0.0",
64
64
  "@ncds/types-layout": "^1.0.0",
65
- "@ncds/ui-admin-icon": "0.0.11",
65
+ "@ncds/ui-admin-icon": "0.0.14",
66
66
  "classnames": "^2.3.2",
67
67
  "swiper": "^11.1.1"
68
68
  },
@@ -1,3 +0,0 @@
1
- export * from './InputBase';
2
- export * from './PasswordInput';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _InputBase = require("./InputBase");
7
- Object.keys(_InputBase).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _InputBase[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _InputBase[key];
14
- }
15
- });
16
- });
17
- var _PasswordInput = require("./PasswordInput");
18
- Object.keys(_PasswordInput).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _PasswordInput[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _PasswordInput[key];
25
- }
26
- });
27
- });
@@ -1,2 +0,0 @@
1
- export * from './HintText';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/hintText/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _HintText = require("./HintText");
7
- Object.keys(_HintText).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _HintText[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _HintText[key];
14
- }
15
- });
16
- });
@@ -1,3 +0,0 @@
1
- export * from './hintText';
2
- export * from './label';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _hintText = require("./hintText");
7
- Object.keys(_hintText).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _hintText[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _hintText[key];
14
- }
15
- });
16
- });
17
- var _label = require("./label");
18
- Object.keys(_label).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _label[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _label[key];
25
- }
26
- });
27
- });
@@ -1,2 +0,0 @@
1
- export * from './Label';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/label/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _Label = require("./Label");
7
- Object.keys(_Label).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _Label[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _Label[key];
14
- }
15
- });
16
- });
@@ -1,2 +0,0 @@
1
- export * from './Spinner';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/spinner/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _Spinner = require("./Spinner");
7
- Object.keys(_Spinner).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _Spinner[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _Spinner[key];
14
- }
15
- });
16
- });