Skip to content

Commit 2973686

Browse files
authored
v0.2.9
2 parents 687a3d6 + 1162a92 commit 2973686

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@channel.io/design-system",
3-
"version": "0.2.8",
3+
"version": "0.2.9",
44
"description": "Design System by Channel",
55
"repository": {
66
"type": "git",

src/worklets/EnableCSSHoudini.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ interface EnableCSSHoudiniOptions {
88
export default function EnalbeCSSHoudini({
99
smoothCorners = false,
1010
}: EnableCSSHoudiniOptions) {
11+
// NOTE: CSS namespace 에 접근 가능할 경우에만 사용
12+
if (typeof CSS === 'undefined') { return }
13+
1114
if ('paintWorklet' in CSS) {
1215
if (smoothCorners) {
1316
const workletURL = URL.createObjectURL(new Blob([SmoothCornersScript], { type: 'application/javascript' }))

0 commit comments

Comments
 (0)