podo-ui 0.1.40 → 0.1.42

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "podo-ui",
3
- "version": "0.1.40",
3
+ "version": "0.1.42",
4
4
  "type": "module",
5
5
  "author": "hada0127 <work@tarucy.net>",
6
6
  "license": "MIT",
@@ -12,14 +12,6 @@
12
12
  "url": "https://github.com/hada0127/podo-ui/issues"
13
13
  },
14
14
  "homepage": "https://github.com/hada0127/podo-ui#readme",
15
- "exports": {
16
- ".": "./index.html",
17
- "./global.scss": "./global.scss",
18
- "./mixin.scss": "./mixin.scss",
19
- "./system.scss": "./system.scss",
20
- "./vite-fonts.scss": "./vite-fonts.scss",
21
- "./react": "./react.ts"
22
- },
23
15
  "scripts": {
24
16
  "dev": "next dev",
25
17
  "build": "next build",
@@ -1,5 +1,6 @@
1
1
  @use './icon-name' as *;
2
+ @use 'sass:map';
2
3
 
3
4
  @function icon($key) {
4
- @return '#{map-get($icon-name, $key)}';
5
+ @return '#{map.get($icon-name, $key)}';
5
6
  }
@@ -1,4 +1,5 @@
1
1
  @use '../color/function' as *;
2
+ @use 'sass:map';
2
3
  /*
3
4
  Shadow
4
5
  */
@@ -12,7 +13,7 @@ $shadow: (
12
13
  );
13
14
 
14
15
  @function shadow($key) {
15
- @return map-get($shadow, $key);
16
+ @return map.get($shadow, $key);
16
17
  }
17
18
 
18
19
  @each $key, $value in $shadow {
@@ -1,3 +1,4 @@
1
+ @use 'sass:map';
1
2
  /*
2
3
  Border
3
4
  */
@@ -10,7 +11,7 @@ $border: (
10
11
  );
11
12
 
12
13
  @function border($key) {
13
- @return map-get($border, $key);
14
+ @return map.get($border, $key);
14
15
  }
15
16
 
16
17
  @each $key, $value in $border {
@@ -1,3 +1,4 @@
1
+ @use 'sass:map';
1
2
  /*
2
3
  Radius
3
4
  */
@@ -13,7 +14,7 @@ $r: (
13
14
  full: 9999px,
14
15
  );
15
16
  @function r($key) {
16
- @return map-get($r, $key);
17
+ @return map.get($r, $key);
17
18
  }
18
19
 
19
20
  @each $key, $value in $r {
@@ -1,3 +1,4 @@
1
+ @use 'sass:map';
1
2
  /*
2
3
  Spacing
3
4
  */
@@ -19,7 +20,7 @@ $spacing: (
19
20
  );
20
21
 
21
22
  @function s($key) {
22
- @return map-get($spacing, $key);
23
+ @return map.get($spacing, $key);
23
24
  }
24
25
 
25
26
  @each $key, $value in $spacing {
package/vite-fonts.scss CHANGED
@@ -4,7 +4,7 @@
4
4
  // 아이콘 폰트
5
5
  @font-face {
6
6
  font-family: 'podo-ui-icon';
7
- src: url('podo-ui/scss/icon/font/icon.woff') format('woff');
7
+ src: url(podo-ui/scss/icon/font/icon.woff) format('woff');
8
8
  font-display: swap;
9
9
  }
10
10