sellmate-design-system-react 9.0.0-beta.34 → 9.0.0-beta.35
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.
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| `iconRotate?` | `0 \| 90 \| 180 \| 270` | — | 좌측 아이콘 회전 각도. 같은 아이콘을 방향만 바꿔 쓸 때 (`SIcon` 의 `rotate` 로 그대로 간다) |
|
|
15
15
|
| `labelClass?` | `string` | — | 레이블 span에 추가할 클래스 |
|
|
16
16
|
| `rightArrow?` | `STextLinkArrow` | `'none'` | 우측 화살표 |
|
|
17
|
+
| `rightArrowRotate?` | `0 \| 90 \| 180 \| 270` | — | 우측 화살표 회전 각도. 같은 화살표를 방향만 바꿔 쓸 때 (`SIcon` 의 `rotate` 로 그대로 간다) |
|
|
17
18
|
| `underline?` | `boolean` | `false` | 밑줄 여부 |
|
|
18
19
|
| `disabled?` | `boolean` | `false` | 비활성 |
|
|
19
20
|
| `size?` | `STextLinkSize` | `'sm'` | 크기 |
|
|
@@ -16,6 +16,8 @@ export interface STextLinkProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'o
|
|
|
16
16
|
labelClass?: string;
|
|
17
17
|
/** 우측 화살표 */
|
|
18
18
|
rightArrow?: STextLinkArrow;
|
|
19
|
+
/** 우측 화살표 회전 각도. 같은 화살표를 방향만 바꿔 쓸 때 (`SIcon` 의 `rotate` 로 그대로 간다) */
|
|
20
|
+
rightArrowRotate?: 0 | 90 | 180 | 270;
|
|
19
21
|
/** 밑줄 여부 */
|
|
20
22
|
underline?: boolean;
|
|
21
23
|
/** 비활성 */
|
package/dist/index.cjs
CHANGED
|
@@ -6528,6 +6528,7 @@ var STextLink = /* @__PURE__ */ react.forwardRef(function STextLink2({
|
|
|
6528
6528
|
iconRotate,
|
|
6529
6529
|
labelClass,
|
|
6530
6530
|
rightArrow = "none",
|
|
6531
|
+
rightArrowRotate,
|
|
6531
6532
|
underline = false,
|
|
6532
6533
|
disabled = false,
|
|
6533
6534
|
size = "sm",
|
|
@@ -6582,7 +6583,8 @@ var STextLink = /* @__PURE__ */ react.forwardRef(function STextLink2({
|
|
|
6582
6583
|
{
|
|
6583
6584
|
name: rightArrow === "chevron" ? "chevronRight" : "caretRight",
|
|
6584
6585
|
size: 12,
|
|
6585
|
-
color: disabled ? "var(--cmp-textLink-icon-disabled)" : "var(--color-grey-65)"
|
|
6586
|
+
color: disabled ? "var(--cmp-textLink-icon-disabled)" : "var(--color-grey-65)",
|
|
6587
|
+
rotate: rightArrowRotate
|
|
6586
6588
|
}
|
|
6587
6589
|
) })
|
|
6588
6590
|
]
|