@iyulab/enterprise 0.15.0 โ 0.16.0
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/CHANGELOG.md +31 -0
- package/dist/styles/preset.css +21 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.16.0] - 2026-09-22
|
|
4
|
+
|
|
5
|
+
### Documentation
|
|
6
|
+
|
|
7
|
+
- ๐ด **`styles/preset.css` now says why its documented usage used to do nothing.** The header's
|
|
8
|
+
third clause said layer order is decided by load order and is therefore already under the
|
|
9
|
+
consumer's control. It was not: the defaults layer is injected at runtime by
|
|
10
|
+
`@iyulab/components`' `Theme.init()`, so until that package's **1.44.0** it landed *after* a
|
|
11
|
+
statically imported sheet and won. The one-line `import` this file documents had **no effect at
|
|
12
|
+
all**, silently โ and because the two sheets agree on `body`/`label`/`caption`/`overline` and
|
|
13
|
+
differ only on the upper type steps and the radii, it still looked applied. The clause now
|
|
14
|
+
states that, names the version where the documented usage starts working, and says what to do
|
|
15
|
+
on an older one.
|
|
16
|
+
- **`docs/lob-layers.md` carried the same third clause, and the same false statement with it.**
|
|
17
|
+
A rule that lives in two published documents goes stale in two places; that one now names the
|
|
18
|
+
premise this package cannot hold on its own -- load order is decided by whoever injects the
|
|
19
|
+
defaults layer -- and says which version makes the documented arrangement true.
|
|
20
|
+
- **The header also called the `@iyulab/components` peer optional. It is not** โ this package's
|
|
21
|
+
runtime code imports `Locale`, `format` and `icons` from it, so it is required whether or not
|
|
22
|
+
you load the preset. The prose was the wrong half of that mismatch and has been corrected.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- ๐ด **The `@iyulab/components` peer range is now `>=1.44.0`** (was `>=1.27.0`). Every version
|
|
27
|
+
below that places the defaults layer last, which is exactly the arrangement in which this
|
|
28
|
+
package's documented preset usage is silently void. A range that admits those versions lets a
|
|
29
|
+
consumer install a combination where the preset does nothing and nothing says so โ declaring
|
|
30
|
+
the floor is what turns that from a silent failure into an install-time answer.
|
|
31
|
+
|
|
32
|
+
โ **This is the only reason for the minor.** No API changed.
|
|
33
|
+
|
|
3
34
|
## [0.15.0] - 2026-09-22
|
|
4
35
|
|
|
5
36
|
### Fixed
|
package/dist/styles/preset.css
CHANGED
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
* โ **`@iyulab/components` 1.21.0 ์ด์์ด ํ์ํ๋ค.** ์ด ํ์ผ์ ๊ฐ๋ง ์ ํ๊ณ , ๊ทธ ๊ฐ์ **์ฝ๋
|
|
8
8
|
* ์ชฝ์ ์ปดํฌ๋ํธ**๋ค. 1.20.0 ์ดํ์๋ ํ์
์ค์ผ์ผยท๋ฐ๊ฒฝ ์๋จ ์ถ์ด ์์ ์์ด์ ์ฌ๊ธฐ ์ ์
|
|
9
9
|
* `--u-text-*` ๋ **์๋ฌด๋ ์ฝ์ง ์๋๋ค** โ ์๋ฌ ์์ด ์ ๋ฐ๋ง ์ ์ฉ๋ ๊ฒ์ฒ๋ผ ๋ณด์ธ๋ค.
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* โ **์ด peer ๋ optional ์ด ์๋๋ค**(์ข
์ ํ์ด ๊ทธ๋ ๊ฒ ์ ๊ณ ์์์ผ๋ ์ฌ์ค์ด ์๋์๋ค โ
|
|
11
|
+
* ์ด ํจํค์ง์ **๋ฐํ์ ์ฝ๋๊ฐ** `@iyulab/components/dist/utilities/` ์ `Locale`ยท`format`ยท`icons`
|
|
12
|
+
* ๋ฅผ import ํ๋ค). ํ๋ฆฌ์
์ ์ฐ์ง ์๋ ์๋น์์๊ฒ๋ ํ์ํ๋ค.
|
|
13
|
+
* โ ๋ฒ์ ๋ถ์ผ์น๋ npm ์ด ์ค์น ๋จ๊ณ์์ ๋งํด ์ค๋ค. ํ๋ฆฌ์
์ ๋ก๋ํ๋๋ฐ ๊ธ์ ํฌ๊ธฐ๊ฐ ์ ๋ฐ๋๋ฉด
|
|
14
|
+
* ๋จผ์ ์ด ๋ฒ์ ์, ๊ทธ๋ค์ ์๋ โถ์ **๋ก๋ ์์**๋ฅผ ๋ณธ๋ค.
|
|
13
15
|
*
|
|
14
16
|
* `@iyulab/components` ๊ฐ ์ฌ๋ **ํ ํฐ ์ถ**์ ์ด์ ๋ฉ์ ๊ฐ์ ์ฑ์ด ํ ์ฅ์ด๋ค.
|
|
15
17
|
* ์ถ(์ด๋ฆยท๋จ ์)์ `components` ์์ ์ด๊ณ , ์ด ํ์ผ์ **๊ฐ๋ง** ์ ํ๋ค.
|
|
@@ -24,10 +26,25 @@
|
|
|
24
26
|
* ์๋น์๊ฐ ๊ทธ ์ ํ์์ ํน์ด๋ ์ธ์์ ํ๊ฒ ๋๊ณ , ๊ทธ๋๋ถํฐ ์ด ํ์ผ์ ํ๋ฆฌ์
์ด ์๋๋ผ
|
|
25
27
|
* ๋ ํ๋์ ํ๋ ์์ํฌ๊ฐ ๋๋ค. (`tests/preset-contract.test.ts` ๊ฐ ์งํจ๋ค.)
|
|
26
28
|
* โถ ๐ด**์ธต์ ยซ๋ก๋ ์์ยป๋ก ์ ๋ค.** ์ธ ์ธต์ด ์ ๋ถ `:root`(0,1,0)์ด๋ฏ๋ก ๋์ค์ ๋ก๋๋
|
|
27
|
-
* ๊ฒ์ด
|
|
29
|
+
* ๊ฒ์ด ์ด๊ธด๋ค.
|
|
28
30
|
*
|
|
29
31
|
* ๊ธฐ๋ณธ๊ฐ(components/styles/light.css) โ ํ์ฐ์ค(์ด ํ์ผ) โ ์๋น์ ๋ธ๋๋
|
|
30
32
|
*
|
|
33
|
+
* โ **๊ทธ๋ฐ๋ฐ ใ๊ธฐ๋ณธ๊ฐใ ์ธต์ ยซ๋ฐํ์์ยป ๋ถ๋๋ค โ `@iyulab/components` 1.43.x ์ดํ์์๋
|
|
34
|
+
* ์ ๊ทธ๋ฆผ์ด ์ฑ๋ฆฝํ์ง ์์๋ค.** `Theme.init()` ์ด ๋ด์ฅ ์ํธ๋ฅผ `document.head` **๋**์
|
|
35
|
+
* `appendChild` ํ๊ณ , ์ ์ `import` ๋ก ์ฌ๋ผ์จ ์ด ํ์ผ์ ๋ฒ๋ค๋ฌ๊ฐ **ํ์ฑ ์์ ์** ๋ฃ์ผ๋ฏ๋ก
|
|
36
|
+
* ***์ธ์ ๋ ๊ธฐ๋ณธ๊ฐ์ด ์ด๊ฒผ๋ค.*** ์ฆ ๋จธ๋ฆฌ๋ง์ด ์๋ดํ `import` ํ ์ค์ด **์๋ฌด ํจ๊ณผ๊ฐ ์์๋ค.**
|
|
37
|
+
* โ
**1.44.0 ๋ถํฐ `Theme.init()` ์ด ๋ด์ฅ ์ํธ๋ฅผ ยซ์ฒซ ์คํ์ผ ์ยป์ ๋ฃ๋๋ค** โ ๊ธฐ๋ณธ๊ฐ ์ธต์
|
|
38
|
+
* ์ด๋ฆ ๊ทธ๋๋ก ๊ฐ์ฅ ๋ฎ์ ์ธต์ด๋ฏ๋ก ์์น๋ ๋ฐ๋ฅ์ด๋ค. โ **๊ทธ ํ๋ถํฐ `import` ํ ์ค์ด ๋ฌธ์๋๋ก
|
|
39
|
+
* ๋์ํ๋ค**(`peerDependencies` ๊ฐ ๊ทธ ํํ์ ์ ์ธํ๋ค).
|
|
40
|
+
* โ **1.43.x ์ดํ๋ฅผ ์ฐ๋ ์๋น์๊ฐ ์ง๊ธ ํ ์ผ**: ์ด ํ์ผ์ `?inline` ๋ฑ์ผ๋ก ๋ฌธ์์ด๋ก ๋ฐ์
|
|
41
|
+
* `await Theme.init(...)` **๋ค์** ์ง์ `<style>` ๋ก ๋ถ์ธ๋ค. ๊ทธ ์ฐํ๋ components ๋ฅผ
|
|
42
|
+
* 1.44.0 ์ด์์ผ๋ก ์ฌ๋ฆฌ๋ ์ฆ์ `import` ํ ์ค๋ก ์ค์ผ ์ ์๋ค.
|
|
43
|
+
* ๐ด**์ด ์คํจ๋ ์กฐ์ฉํ๋ค โ ๊ทธ๊ฒ์ด ์ด ๋ฌธ๋จ์ด ๊ธธ์ด์ง ์ด์ ๋ค.** ์ค๋ฅ๋ ๊ฒฝ๊ณ ๋ ์๊ณ , ๋ ์ํธ์
|
|
44
|
+
* ๊ฐ์ด ์ผ๋ถ๋ง ๋ค๋ฅด๋ฉด(์ค์ธก: ์์ ์ธ ๋จ๊ณผ ๋ฐ๊ฒฝ๋ง ๋ค๋ฅด๊ณ bodyยทlabelยทcaptionยทoverline ์ ๋์ผ)
|
|
45
|
+
* **ํ ๊ตฐ๋ฐ๋ ์ ์ฉ๋์ง ์์๋๋ฐ ์ ์ฉ๋ ๊ฒ์ฒ๋ผ ๋ณด์ธ๋ค.** ํ๋ฆฌ์
์ ๋ก๋ํ๋๋ฐ ๊ธ์ ํฌ๊ธฐ๊ฐ
|
|
46
|
+
* ์ ๋ฐ๋๋ฉด **๋ฒ์ ๋ค์์ผ๋ก ์ด ์์๋ฅผ ๋ณธ๋ค.**
|
|
47
|
+
*
|
|
31
48
|
* โ **์ข
์ ํ(0.7.0)์ ์ด ์๋ฆฌ๋ฅผ `:where()` ๋ก ๊ฐ์ธ ํน์ด๋ 0 ์ผ๋ก ๋ง๋ค์๊ณ ,
|
|
32
49
|
* ๊ทธ๋์ ยซํ ์ค๋ ์ ์ฉ๋์ง ์์๋คยป.** ์๋๋ ์ณ์๋ค โ *"ํ๋ฆฌ์
์ด ์๋น์ ๋ธ๋๋๋ฅผ
|
|
33
50
|
* ๋ฎ์ผ๋ฉด ์ ๋๋ค"*. ๊ทธ๋ฌ๋ ํน์ด๋ 0 ์ **์ด๊ฒจ์ผ ํ ์๋(๊ธฐ๋ณธ๊ฐ)์ ์ง์ง ๋ง์์ผ ํ
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iyulab/enterprise",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Enterprise utilities and components for iyulab framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"enterprise",
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"react": ">=18",
|
|
69
|
-
"@iyulab/components": ">=1.
|
|
69
|
+
"@iyulab/components": ">=1.44.0"
|
|
70
70
|
}
|
|
71
71
|
}
|