@iyulab/components 1.57.1 → 2.0.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 +208 -0
- package/README.md +3 -1
- package/dist/_virtual/_glob-assets_raw/dark.css.e8ac080d.js +1 -1
- package/dist/_virtual/_glob-assets_raw/light.css.637cb2f8.js +1 -1
- package/dist/assets/locales/ar.json.js +16 -2
- package/dist/assets/locales/de.json.js +16 -2
- package/dist/assets/locales/en.json.js +16 -2
- package/dist/assets/locales/es.json.js +18 -2
- package/dist/assets/locales/fr.json.js +16 -2
- package/dist/assets/locales/id.json.js +16 -2
- package/dist/assets/locales/ja.json.js +18 -2
- package/dist/assets/locales/ko.json.js +18 -2
- package/dist/assets/locales/pt-BR.json.js +16 -2
- package/dist/assets/locales/ru.json.js +16 -2
- package/dist/assets/locales/th.json.js +18 -2
- package/dist/assets/locales/vi.json.js +16 -2
- package/dist/assets/locales/zh-CN.json.js +18 -2
- package/dist/assets/locales/zh-TW.json.js +18 -2
- package/dist/components/UElement.styles.js +2 -2
- package/dist/components/alert/UAlert.d.ts +12 -7
- package/dist/components/alert/UAlert.js +3 -3
- package/dist/components/alert/UAlert.styles.js +6 -23
- package/dist/components/badge/UBadge.d.ts +5 -5
- package/dist/components/badge/UBadge.js +3 -3
- package/dist/components/badge/UBadge.styles.js +4 -4
- package/dist/components/breadcrumb-item/UBreadcrumbItem.styles.js +1 -1
- package/dist/components/button/UButton.d.ts +32 -16
- package/dist/components/button/UButton.js +38 -5
- package/dist/components/button/UButton.styles.js +67 -50
- package/dist/components/button/forwarded-aria.d.ts +6 -0
- package/dist/components/button/forwarded-aria.js +15 -0
- package/dist/components/button-group/UButtonGroup.d.ts +4 -4
- package/dist/components/button-group/UButtonGroup.js +8 -8
- package/dist/components/button-group/UButtonGroup.styles.js +2 -2
- package/dist/components/calendar/UCalendar.d.ts +4 -0
- package/dist/components/calendar/UCalendar.js +5 -4
- package/dist/components/calendar/UCalendar.styles.js +4 -3
- package/dist/components/calendar/dates.d.ts +4 -0
- package/dist/components/calendar/dates.js +5 -1
- package/dist/components/calendar/datetime.d.ts +14 -0
- package/dist/components/calendar/datetime.js +35 -0
- package/dist/components/calendar/picker.styles.js +42 -2
- package/dist/components/card/UCard.d.ts +4 -3
- package/dist/components/card/UCard.js +3 -3
- package/dist/components/card/UCard.styles.js +2 -1
- package/dist/components/carousel/UCarousel.d.ts +7 -1
- package/dist/components/carousel/UCarousel.js +10 -3
- package/dist/components/carousel/UCarousel.styles.js +17 -6
- package/dist/components/checkbox/UCheckbox.d.ts +8 -9
- package/dist/components/checkbox/UCheckbox.js +3 -3
- package/dist/components/checkbox/UCheckbox.styles.js +22 -18
- package/dist/components/chip/UChip.d.ts +2 -2
- package/dist/components/chip/UChip.js +4 -4
- package/dist/components/copy-button/UCopyButton.d.ts +2 -2
- package/dist/components/copy-button/UCopyButton.js +4 -4
- package/dist/components/date-picker/UDatePicker.d.ts +32 -1
- package/dist/components/date-picker/UDatePicker.js +96 -33
- package/dist/components/date-picker/UDatePicker.styles.js +10 -18
- package/dist/components/date-range-picker/UDateRangePicker.d.ts +72 -7
- package/dist/components/date-range-picker/UDateRangePicker.js +210 -34
- package/dist/components/date-range-picker/UDateRangePicker.styles.js +13 -3
- package/dist/components/dialog/UDialog.js +1 -1
- package/dist/components/divider/UDivider.d.ts +3 -3
- package/dist/components/divider/UDivider.js +2 -2
- package/dist/components/divider/UDivider.styles.js +5 -5
- package/dist/components/drawer/UDrawer.js +1 -1
- package/dist/components/expander/UExpander.styles.js +2 -2
- package/dist/components/file-input/UFileInput.styles.js +5 -2
- package/dist/components/icon-button/UIconButton.d.ts +4 -3
- package/dist/components/icon-button/UIconButton.js +16 -6
- package/dist/components/icon-button/UIconButton.styles.js +2 -2
- package/dist/components/input/UInput.d.ts +12 -5
- package/dist/components/input/UInput.js +7 -4
- package/dist/components/input/UInput.styles.js +60 -30
- package/dist/components/menu/UMenu.d.ts +5 -4
- package/dist/components/menu/UMenu.js +3 -3
- package/dist/components/menu/UMenu.styles.js +1 -1
- package/dist/components/menu-item/UMenuItem.styles.js +1 -1
- package/dist/components/option/UOption.d.ts +1 -0
- package/dist/components/option/UOption.js +6 -3
- package/dist/components/option/UOption.styles.js +1 -1
- package/dist/components/progress-bar/UProgressBar.styles.js +11 -0
- package/dist/components/radio/URadio.d.ts +27 -6
- package/dist/components/radio/URadio.js +48 -12
- package/dist/components/radio/URadio.styles.js +47 -13
- package/dist/components/rating/URating.styles.js +5 -1
- package/dist/components/select/USelect.d.ts +9 -2
- package/dist/components/select/USelect.js +7 -2
- package/dist/components/select/USelect.styles.js +55 -26
- package/dist/components/slider/USlider.styles.js +4 -4
- package/dist/components/spinner/USpinner.styles.js +2 -0
- package/dist/components/split-panel/USplitPanel.styles.js +2 -1
- package/dist/components/steps/USteps.d.ts +57 -0
- package/dist/components/steps/USteps.js +58 -0
- package/dist/components/steps/USteps.styles.d.ts +1 -0
- package/dist/components/steps/USteps.styles.js +110 -0
- package/dist/components/switch/USwitch.styles.js +5 -3
- package/dist/components/tab/UTab.js +2 -2
- package/dist/components/tab/UTab.styles.js +1 -1
- package/dist/components/tab-panel/UTabPanel.d.ts +11 -2
- package/dist/components/tab-panel/UTabPanel.js +33 -5
- package/dist/components/tab-panel/UTabPanel.styles.js +29 -29
- package/dist/components/tag/UTag.d.ts +14 -6
- package/dist/components/tag/UTag.js +8 -3
- package/dist/components/tag/UTag.styles.js +33 -26
- package/dist/components/textarea/UTextarea.d.ts +9 -3
- package/dist/components/textarea/UTextarea.js +7 -2
- package/dist/components/textarea/UTextarea.styles.js +41 -22
- package/dist/components/tree-item/UTreeItem.styles.js +7 -5
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/plugins/vite-plugin-react-wrapper.js +14 -5
- package/dist/react/UAlert.d.ts +4 -2
- package/dist/react/UAvatar.d.ts +4 -2
- package/dist/react/UBadge.d.ts +4 -2
- package/dist/react/UBreadcrumb.d.ts +4 -2
- package/dist/react/UBreadcrumbItem.d.ts +4 -2
- package/dist/react/UButton.d.ts +4 -2
- package/dist/react/UButtonGroup.d.ts +4 -2
- package/dist/react/UCard.d.ts +4 -2
- package/dist/react/UCarousel.d.ts +4 -2
- package/dist/react/UCheckbox.d.ts +4 -2
- package/dist/react/UChip.d.ts +4 -2
- package/dist/react/UCopyButton.d.ts +4 -2
- package/dist/react/UDatePicker.d.ts +4 -2
- package/dist/react/UDateRangePicker.d.ts +4 -2
- package/dist/react/UDialog.d.ts +4 -2
- package/dist/react/UDivider.d.ts +4 -2
- package/dist/react/UDrawer.d.ts +4 -2
- package/dist/react/UExpander.d.ts +4 -2
- package/dist/react/UField.d.ts +4 -2
- package/dist/react/UFileInput.d.ts +4 -2
- package/dist/react/UForm.d.ts +4 -2
- package/dist/react/UIcon.d.ts +4 -2
- package/dist/react/UIconButton.d.ts +4 -2
- package/dist/react/UInput.d.ts +4 -2
- package/dist/react/UMenu.d.ts +4 -2
- package/dist/react/UMenuItem.d.ts +4 -2
- package/dist/react/UOption.d.ts +4 -2
- package/dist/react/UPanel.d.ts +4 -2
- package/dist/react/UPopover.d.ts +4 -2
- package/dist/react/UProgressBar.d.ts +4 -2
- package/dist/react/UProgressRing.d.ts +4 -2
- package/dist/react/URadio.d.ts +4 -2
- package/dist/react/URating.d.ts +4 -2
- package/dist/react/USelect.d.ts +4 -2
- package/dist/react/USkeleton.d.ts +4 -2
- package/dist/react/USlider.d.ts +4 -2
- package/dist/react/USpinner.d.ts +4 -2
- package/dist/react/USplitPanel.d.ts +4 -2
- package/dist/react/USteps.d.ts +14 -0
- package/dist/react/USteps.js +10 -0
- package/dist/react/USwitch.d.ts +4 -2
- package/dist/react/UTab.d.ts +4 -2
- package/dist/react/UTabPanel.d.ts +4 -2
- package/dist/react/UTag.d.ts +4 -2
- package/dist/react/UText.d.ts +4 -2
- package/dist/react/UTextarea.d.ts +4 -2
- package/dist/react/UTooltip.d.ts +4 -2
- package/dist/react/UTree.d.ts +4 -2
- package/dist/react/UTreeItem.d.ts +4 -2
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +1 -0
- package/dist/styles/dark.css +42 -0
- package/dist/styles/light.css +44 -0
- package/dist/utilities/Dialog.d.ts +2 -2
- package/dist/utilities/Dialog.js +3 -3
- package/dist/utilities/Locale.d.ts +2 -2
- package/dist/utilities/Locale.js +2 -2
- package/dist/utilities/Toast.d.ts +2 -2
- package/dist/utilities/Toast.js +1 -1
- package/dist/utilities/format.d.ts +32 -4
- package/dist/utilities/format.js +131 -15
- package/dist/utilities/icons.d.ts +12 -3
- package/dist/utilities/icons.js +24 -6
- package/package.json +1 -1
- package/skills/iyulab-components/SKILL.md +3 -3
- package/skills/iyulab-components/references/components/alert.md +5 -5
- package/skills/iyulab-components/references/components/badge.md +3 -3
- package/skills/iyulab-components/references/components/button-group.md +3 -3
- package/skills/iyulab-components/references/components/button.md +34 -19
- package/skills/iyulab-components/references/components/card.md +3 -3
- package/skills/iyulab-components/references/components/carousel.md +3 -1
- package/skills/iyulab-components/references/components/checkbox.md +5 -5
- package/skills/iyulab-components/references/components/chip.md +2 -2
- package/skills/iyulab-components/references/components/copy-button.md +1 -1
- package/skills/iyulab-components/references/components/date-picker.md +35 -2
- package/skills/iyulab-components/references/components/date-range-picker.md +53 -5
- package/skills/iyulab-components/references/components/dialog.md +2 -2
- package/skills/iyulab-components/references/components/divider.md +2 -2
- package/skills/iyulab-components/references/components/drawer.md +1 -1
- package/skills/iyulab-components/references/components/field.md +1 -1
- package/skills/iyulab-components/references/components/icon-button.md +8 -2
- package/skills/iyulab-components/references/components/input.md +4 -2
- package/skills/iyulab-components/references/components/menu.md +1 -1
- package/skills/iyulab-components/references/components/radio.md +16 -4
- package/skills/iyulab-components/references/components/select.md +2 -1
- package/skills/iyulab-components/references/components/steps.md +66 -0
- package/skills/iyulab-components/references/components/tab-panel.md +10 -3
- package/skills/iyulab-components/references/components/tag.md +11 -7
- package/skills/iyulab-components/references/components/textarea.md +2 -1
- package/skills/iyulab-components/references/usage.md +1 -1
- package/skills/iyulab-components/references/utilities/dialog.md +2 -2
- package/skills/iyulab-components/references/utilities/icons.md +2 -2
- package/skills/iyulab-components/references/utilities/locale.md +1 -1
- package/skills/iyulab-components/references/utilities/theme.md +9 -5
- package/skills/iyulab-components/references/utilities/toast.md +2 -2
|
@@ -27,6 +27,10 @@ function daysInMonth(date) {
|
|
|
27
27
|
function monthDiff(a, b) {
|
|
28
28
|
return (b.getFullYear() - a.getFullYear()) * 12 + (b.getMonth() - a.getMonth());
|
|
29
29
|
}
|
|
30
|
+
/** 고를 수 없는 날인가 — `min`/`max` 밖이거나 앱 규칙이 막았다. */
|
|
31
|
+
function isDayUnavailable(date, min, max, isDateDisabled) {
|
|
32
|
+
return isOutOfRange(date, min, max) || !!isDateDisabled?.(toISODate(date));
|
|
33
|
+
}
|
|
30
34
|
/** `min`/`max`(ISO 날짜, 둘 다 선택)를 벗어나는가 — 경계일은 포함이다. */
|
|
31
35
|
function isOutOfRange(date, min, max) {
|
|
32
36
|
if (min && date.getTime() < parseISODate(min).getTime()) return true;
|
|
@@ -34,4 +38,4 @@ function isOutOfRange(date, min, max) {
|
|
|
34
38
|
return false;
|
|
35
39
|
}
|
|
36
40
|
//#endregion
|
|
37
|
-
export { addDays, addMonths, daysInMonth, isOutOfRange, isSameDay, monthDiff, parseISODate, startOfMonth, toISODate };
|
|
41
|
+
export { addDays, addMonths, daysInMonth, isDayUnavailable, isOutOfRange, isSameDay, monthDiff, parseISODate, startOfMonth, toISODate };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** `±HH:mm` for the browser's local timezone at `date` (DST-aware — recomputed per date,
|
|
2
|
+
* not cached — `getTimezoneOffset()`'s sign is the inverse of the ISO-8601 offset sign). */
|
|
3
|
+
export declare function localOffset(date: Date): string;
|
|
4
|
+
/** ISO day + `HH:mm` or `HH:mm:ss` → `YYYY-MM-DDTHH:mm:ss±HH:mm` (the offset of that local day and time). */
|
|
5
|
+
export declare function toDateTimeOffset(day: string, time: string): string;
|
|
6
|
+
/** Splits a value into its ISO day and its time — `HH:mm`, or `HH:mm:ss` with `seconds`
|
|
7
|
+
* (`00:00` when there is no time part). */
|
|
8
|
+
export declare function splitDateTime(value: string, seconds?: boolean): {
|
|
9
|
+
day: string;
|
|
10
|
+
time: string;
|
|
11
|
+
};
|
|
12
|
+
/** `HH:mm[:ss]` → `HH:mm`, or `HH:mm:ss` with `seconds` (`:00` added when missing). A time input
|
|
13
|
+
* with a seconds step may report `14:30` for `14:30:00`, so both shapes come in. */
|
|
14
|
+
export declare function normalizeTime(time: string, seconds: boolean): string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { parseISODate } from "./dates.js";
|
|
2
|
+
//#region src/components/calendar/datetime.ts
|
|
3
|
+
/** `±HH:mm` for the browser's local timezone at `date` (DST-aware — recomputed per date,
|
|
4
|
+
* not cached — `getTimezoneOffset()`'s sign is the inverse of the ISO-8601 offset sign). */
|
|
5
|
+
function localOffset(date) {
|
|
6
|
+
const minutes = -date.getTimezoneOffset();
|
|
7
|
+
const sign = minutes >= 0 ? "+" : "-";
|
|
8
|
+
const abs = Math.abs(minutes);
|
|
9
|
+
return `${sign}${String(Math.floor(abs / 60)).padStart(2, "0")}:${String(abs % 60).padStart(2, "0")}`;
|
|
10
|
+
}
|
|
11
|
+
/** ISO day + `HH:mm` or `HH:mm:ss` → `YYYY-MM-DDTHH:mm:ss±HH:mm` (the offset of that local day and time). */
|
|
12
|
+
function toDateTimeOffset(day, time) {
|
|
13
|
+
const [h, m, s = 0] = time.split(":").map(Number);
|
|
14
|
+
const local = parseISODate(day);
|
|
15
|
+
local.setHours(h, m, s);
|
|
16
|
+
return `${day}T${normalizeTime(time, true)}${localOffset(local)}`;
|
|
17
|
+
}
|
|
18
|
+
/** Splits a value into its ISO day and its time — `HH:mm`, or `HH:mm:ss` with `seconds`
|
|
19
|
+
* (`00:00` when there is no time part). */
|
|
20
|
+
function splitDateTime(value, seconds = false) {
|
|
21
|
+
const [day, rest] = value.split("T");
|
|
22
|
+
const match = rest?.match(/^\d{2}:\d{2}(?::\d{2})?/);
|
|
23
|
+
return {
|
|
24
|
+
day,
|
|
25
|
+
time: normalizeTime(match ? match[0] : "00:00", seconds)
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/** `HH:mm[:ss]` → `HH:mm`, or `HH:mm:ss` with `seconds` (`:00` added when missing). A time input
|
|
29
|
+
* with a seconds step may report `14:30` for `14:30:00`, so both shapes come in. */
|
|
30
|
+
function normalizeTime(time, seconds) {
|
|
31
|
+
const hm = time.slice(0, 5);
|
|
32
|
+
return seconds ? `${hm}:${time.slice(6, 8) || "00"}` : hm;
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
export { localOffset, normalizeTime, splitDateTime, toDateTimeOffset };
|
|
@@ -10,9 +10,12 @@ var styles = css`
|
|
|
10
10
|
flex-direction: row;
|
|
11
11
|
align-items: center;
|
|
12
12
|
gap: 0.4em;
|
|
13
|
-
padding: 0.3em 0.6em;
|
|
13
|
+
padding: var(--u-field-padding-block, 0.3em) var(--u-field-padding-inline, 0.6em);
|
|
14
|
+
/* 호스트 하한(--u-target-size, 미설정 = 0) — 다른 필드와 같은 높이 하한. */
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
min-height: var(--u-target-size, 0px);
|
|
14
17
|
border: 1px solid var(--u-input-border-color, #E0E0E0);
|
|
15
|
-
border-radius: 0.25em;
|
|
18
|
+
border-radius: var(--u-field-radius, 0.25em);
|
|
16
19
|
background-color: var(--u-input-bg-color, #FFFFFF);
|
|
17
20
|
cursor: pointer;
|
|
18
21
|
transition: border-color var(--u-duration-normal, 220ms) var(--u-ease-standard, cubic-bezier(0.2, 0, 0, 1)),
|
|
@@ -73,6 +76,43 @@ var styles = css`
|
|
|
73
76
|
margin-top: 4px;
|
|
74
77
|
border-top: 1px solid var(--u-border-color-weak, #EEEEEE);
|
|
75
78
|
}
|
|
79
|
+
|
|
80
|
+
/* mode="datetime" 의 시간 칸 줄 — 단일 피커는 칸 하나, 기간 피커는 이름 붙은 칸 둘. */
|
|
81
|
+
.calendar-time {
|
|
82
|
+
display: flex;
|
|
83
|
+
justify-content: flex-end;
|
|
84
|
+
flex-wrap: wrap;
|
|
85
|
+
gap: 4px 12px;
|
|
86
|
+
padding: 4px 4px 0;
|
|
87
|
+
}
|
|
88
|
+
.time-field {
|
|
89
|
+
display: inline-flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
gap: 6px;
|
|
92
|
+
color: var(--u-txt-color-weak, #616161);
|
|
93
|
+
}
|
|
94
|
+
.time-input {
|
|
95
|
+
font-family: inherit;
|
|
96
|
+
font-size: 0.9em;
|
|
97
|
+
padding: 2px 6px;
|
|
98
|
+
box-sizing: border-box;
|
|
99
|
+
min-height: var(--u-target-size, 0px);
|
|
100
|
+
border: 1px solid var(--u-input-border-color, #E0E0E0);
|
|
101
|
+
border-radius: 0.25em;
|
|
102
|
+
background-color: var(--u-input-bg-color, #FFFFFF);
|
|
103
|
+
color: var(--u-txt-color, #212121);
|
|
104
|
+
}
|
|
105
|
+
.time-input:focus-visible {
|
|
106
|
+
outline: none;
|
|
107
|
+
box-shadow: 0 0 0 1px var(--u-input-border-color-focus, #1565C0);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* confirm 모드의 취소·적용 — 줄 끝에 붙는다(빠른 동작이 없으면 혼자서도 오른쪽). */
|
|
111
|
+
.confirm-actions {
|
|
112
|
+
display: flex;
|
|
113
|
+
gap: 4px;
|
|
114
|
+
margin-inline-start: auto;
|
|
115
|
+
}
|
|
76
116
|
`;
|
|
77
117
|
//#endregion
|
|
78
118
|
export { styles };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UElement } from '../UElement.js';
|
|
2
2
|
export type CardOrientation = 'vertical' | 'horizontal';
|
|
3
|
+
export type CardAppearance = 'outlined' | 'plain';
|
|
3
4
|
/**
|
|
4
5
|
* 콘텐츠를 카드 형태로 표시하는 컴포넌트입니다.
|
|
5
6
|
*
|
|
@@ -14,7 +15,7 @@ export type CardOrientation = 'vertical' | 'horizontal';
|
|
|
14
15
|
* @csspart header - 헤더 영역 컨테이너
|
|
15
16
|
* @csspart body - 본문 영역 컨테이너
|
|
16
17
|
* @csspart footer - 푸터 영역 컨테이너
|
|
17
|
-
* @cssprop --card-border-width - 테두리 두께 (`
|
|
18
|
+
* @cssprop --card-border-width - 테두리 두께 (`appearance="plain"` 은 0)
|
|
18
19
|
* @cssprop --card-border-color - 테두리 색
|
|
19
20
|
*/
|
|
20
21
|
export declare class UCard extends UElement {
|
|
@@ -23,8 +24,8 @@ export declare class UCard extends UElement {
|
|
|
23
24
|
orientation: CardOrientation;
|
|
24
25
|
/** 그림자 제거 여부 */
|
|
25
26
|
shadowless: boolean;
|
|
26
|
-
/** 테두리
|
|
27
|
-
|
|
27
|
+
/** 외형 정도 — `outlined`(기본: 테두리 + 높이 그림자) · `plain`(테두리·그림자 없음 — 배치만) */
|
|
28
|
+
appearance: CardAppearance;
|
|
28
29
|
/** 마우스 오버 효과 적용 여부 */
|
|
29
30
|
hoverable: boolean;
|
|
30
31
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -10,7 +10,7 @@ var UCard = class UCard extends UElement {
|
|
|
10
10
|
super(..._args);
|
|
11
11
|
this.orientation = "vertical";
|
|
12
12
|
this.shadowless = false;
|
|
13
|
-
this.
|
|
13
|
+
this.appearance = "outlined";
|
|
14
14
|
this.hoverable = false;
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
@@ -52,9 +52,9 @@ __decorate([property({
|
|
|
52
52
|
reflect: true
|
|
53
53
|
}), __decorateMetadata("design:type", Object)], UCard.prototype, "shadowless", void 0);
|
|
54
54
|
__decorate([property({
|
|
55
|
-
type:
|
|
55
|
+
type: String,
|
|
56
56
|
reflect: true
|
|
57
|
-
}), __decorateMetadata("design:type", Object)], UCard.prototype, "
|
|
57
|
+
}), __decorateMetadata("design:type", Object)], UCard.prototype, "appearance", void 0);
|
|
58
58
|
__decorate([property({
|
|
59
59
|
type: Boolean,
|
|
60
60
|
reflect: true
|
|
@@ -7,7 +7,8 @@ import { UElement } from '../UElement.js';
|
|
|
7
7
|
*
|
|
8
8
|
* `autoplay` 이면 회전 제어 버튼(정지/시작)이 인디케이터 줄의 첫 자리에 그려진다. 포인터가 캐러셀 위에
|
|
9
9
|
* 있는 동안은 잠시 멈추고, 키보드 초점이 안으로 들어오면 사용자가 다시 시작할 때까지 멈춘다
|
|
10
|
-
* (WAI-ARIA APG Carousel · WCAG 2.2.2).
|
|
10
|
+
* (WAI-ARIA APG Carousel · WCAG 2.2.2). 사용자가 동작 줄이기(`prefers-reduced-motion: reduce`)를
|
|
11
|
+
* 켜 두었으면 정지 상태로 시작하고(시작 버튼으로 켤 수 있다), 보는 중에 그 설정이 켜지면 멈춘다.
|
|
11
12
|
*
|
|
12
13
|
* @csspart slides - 슬라이드 컨테이너
|
|
13
14
|
* @csspart prev-button - 이전 버튼
|
|
@@ -46,6 +47,8 @@ export declare class UCarousel extends UElement {
|
|
|
46
47
|
/** 포인터가 캐러셀 위에 있다 — 그동안만 잠시 멈춘다. */
|
|
47
48
|
private hovered;
|
|
48
49
|
private autoplayTimer?;
|
|
50
|
+
/** `prefers-reduced-motion: reduce` 질의 — 연결된 동안만 듣는다. */
|
|
51
|
+
private reducedMotion?;
|
|
49
52
|
private dragStartX;
|
|
50
53
|
private dragStartTime;
|
|
51
54
|
private pointerDown;
|
|
@@ -75,6 +78,9 @@ export declare class UCarousel extends UElement {
|
|
|
75
78
|
private toggleRotation;
|
|
76
79
|
/** 키보드 초점이 들어오면 멈춘다 — 포인터로 누른 초점은 멈추지 않는다(누른 버튼이 정지 버튼이면 그 클릭이 결정한다). */
|
|
77
80
|
private handleFocusIn;
|
|
81
|
+
/** 보는 중에 동작 줄이기가 켜지면 멈춘다. 꺼질 때는 다시 시작하지 않는다 — 멈춘 것을 움직이게
|
|
82
|
+
* 하는 것은 사용자의 몫이다. */
|
|
83
|
+
private handleReducedMotionChange;
|
|
78
84
|
private handlePointerEnter;
|
|
79
85
|
private handlePointerLeave;
|
|
80
86
|
private handleClickCancel;
|
|
@@ -92,6 +92,9 @@ var UCarousel = class UCarousel extends UElement {
|
|
|
92
92
|
const origin = e.composedPath()[0];
|
|
93
93
|
if (origin instanceof Element && origin.matches(":focus-visible")) this.rotationStopped = true;
|
|
94
94
|
};
|
|
95
|
+
this.handleReducedMotionChange = (e) => {
|
|
96
|
+
if (e.matches && this.autoplay) this.rotationStopped = true;
|
|
97
|
+
};
|
|
95
98
|
this.handlePointerEnter = (e) => {
|
|
96
99
|
if (e.pointerType === "mouse") this.hovered = true;
|
|
97
100
|
};
|
|
@@ -133,10 +136,14 @@ var UCarousel = class UCarousel extends UElement {
|
|
|
133
136
|
this.addEventListener("focusin", this.handleFocusIn);
|
|
134
137
|
this.addEventListener("pointerenter", this.handlePointerEnter);
|
|
135
138
|
this.addEventListener("pointerleave", this.handlePointerLeave);
|
|
139
|
+
this.reducedMotion = window.matchMedia?.("(prefers-reduced-motion: reduce)");
|
|
140
|
+
this.reducedMotion?.addEventListener("change", this.handleReducedMotionChange);
|
|
136
141
|
if (this.rotating) this.startAutoplay();
|
|
137
142
|
}
|
|
138
143
|
disconnectedCallback() {
|
|
139
144
|
this.stopAutoplay();
|
|
145
|
+
this.reducedMotion?.removeEventListener("change", this.handleReducedMotionChange);
|
|
146
|
+
this.reducedMotion = void 0;
|
|
140
147
|
this.removeEventListener("focusin", this.handleFocusIn);
|
|
141
148
|
this.removeEventListener("pointerenter", this.handlePointerEnter);
|
|
142
149
|
this.removeEventListener("pointerleave", this.handlePointerLeave);
|
|
@@ -144,7 +151,7 @@ var UCarousel = class UCarousel extends UElement {
|
|
|
144
151
|
}
|
|
145
152
|
willUpdate(changedProperties) {
|
|
146
153
|
super.willUpdate(changedProperties);
|
|
147
|
-
if (changedProperties.has("autoplay") && this.autoplay) this.rotationStopped =
|
|
154
|
+
if (changedProperties.has("autoplay") && this.autoplay) this.rotationStopped = !!this.reducedMotion?.matches;
|
|
148
155
|
if (changedProperties.has("slidesPerView")) this.style.setProperty("--slides-per-view", String(this.perView));
|
|
149
156
|
if (changedProperties.has("gap")) this.style.setProperty("--slide-gap", `${this.gap}px`);
|
|
150
157
|
}
|
|
@@ -174,7 +181,7 @@ var UCarousel = class UCarousel extends UElement {
|
|
|
174
181
|
|
|
175
182
|
<u-button part="prev-button" class="nav-button prev"
|
|
176
183
|
?hidden=${!this.navigation || !this.loop && this.index <= 0}
|
|
177
|
-
|
|
184
|
+
appearance="plain"
|
|
178
185
|
rounded
|
|
179
186
|
aria-label=${Locale.getValue("previousSlide")}
|
|
180
187
|
@click=${this.prev}>
|
|
@@ -182,7 +189,7 @@ var UCarousel = class UCarousel extends UElement {
|
|
|
182
189
|
</u-button>
|
|
183
190
|
<u-button part="next-button" class="nav-button next"
|
|
184
191
|
?hidden=${!this.navigation || !this.loop && this.index >= this.maxIndex}
|
|
185
|
-
|
|
192
|
+
appearance="plain"
|
|
186
193
|
rounded
|
|
187
194
|
aria-label=${Locale.getValue("nextSlide")}
|
|
188
195
|
@click=${this.next}>
|
|
@@ -77,8 +77,9 @@ var styles = css`
|
|
|
77
77
|
display: inline-flex;
|
|
78
78
|
align-items: center;
|
|
79
79
|
justify-content: center;
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
/* 호스트 하한(--u-target-size)이 있으면 그 값 — 미설정이면 24px. */
|
|
81
|
+
width: max(24px, var(--u-target-size, 0px));
|
|
82
|
+
height: max(24px, var(--u-target-size, 0px));
|
|
82
83
|
padding: 0;
|
|
83
84
|
border: none;
|
|
84
85
|
border-radius: var(--u-radius-circle, 50%);
|
|
@@ -109,11 +110,20 @@ var styles = css`
|
|
|
109
110
|
transform: translateX(-50%);
|
|
110
111
|
}
|
|
111
112
|
|
|
113
|
+
/* 호스트 하한(--u-target-size)이 있으면 보이는 점은 그대로 두고 누르는 상자만 그 값으로 —
|
|
114
|
+
투명 테두리가 상자를 채우고 배경은 안쪽(padding-box)에만 칠한다. 미설정이면 테두리 0 이라 종전과 같다. */
|
|
112
115
|
.dot {
|
|
113
|
-
|
|
116
|
+
--_dot-w: 10px;
|
|
117
|
+
--_dot-bb: max(0px, calc((var(--u-target-size, 0px) - 10px) / 2));
|
|
118
|
+
--_dot-bi: max(0px, calc((var(--u-target-size, 0px) - var(--_dot-w)) / 2));
|
|
119
|
+
box-sizing: content-box;
|
|
120
|
+
width: var(--_dot-w);
|
|
114
121
|
height: 10px;
|
|
115
122
|
padding: 0;
|
|
116
|
-
border:
|
|
123
|
+
border-style: solid;
|
|
124
|
+
border-color: transparent;
|
|
125
|
+
border-width: var(--_dot-bb) var(--_dot-bi);
|
|
126
|
+
background-clip: padding-box;
|
|
117
127
|
border-radius: var(--u-radius-circle, 50%);
|
|
118
128
|
background-color: var(--u-neutral-400, #BDBDBD);
|
|
119
129
|
cursor: pointer;
|
|
@@ -123,8 +133,9 @@ var styles = css`
|
|
|
123
133
|
background-color: var(--u-neutral-200, #EEEEEE);
|
|
124
134
|
}
|
|
125
135
|
.dot[active] {
|
|
126
|
-
|
|
127
|
-
|
|
136
|
+
--_dot-w: 24px;
|
|
137
|
+
/* 안쪽 모서리가 5px 이 되도록 테두리 두께만큼 바깥 반지름을 키운다(축마다). */
|
|
138
|
+
border-radius: calc(5px + var(--_dot-bi)) / calc(5px + var(--_dot-bb));
|
|
128
139
|
background-color: var(--u-neutral-100, #F5F5F5);
|
|
129
140
|
}
|
|
130
141
|
`;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PropertyValues } from 'lit';
|
|
2
2
|
import { UFormControlElement } from '../UFormControlElement.js';
|
|
3
|
-
|
|
3
|
+
/** 외형 정도 — `solid` 체크 칸을 색으로 채움(기본) · `outlined` 테두리와 체크 표시만 색. */
|
|
4
|
+
export type CheckboxAppearance = "solid" | "outlined";
|
|
4
5
|
/** 역할 축(`primary`…`danger`, 의미 · 리브랜딩을 따라옴)과 장식 축(`blue`…, 색 자체 · 면역)이 병존한다. */
|
|
5
6
|
export type CheckboxColor = "primary" | "info" | "success" | "warning" | "danger" | "blue" | "green" | "red" | "orange" | "teal" | "cyan" | "purple" | "pink" | "neutral";
|
|
6
7
|
/**
|
|
@@ -15,19 +16,17 @@ export type CheckboxColor = "primary" | "info" | "success" | "warning" | "danger
|
|
|
15
16
|
* @csspart label - 라벨 텍스트 요소
|
|
16
17
|
* @csspart description - 설명 텍스트 요소
|
|
17
18
|
*
|
|
18
|
-
* @cssprop --checkbox-color - 체크 표시 색상 (
|
|
19
|
+
* @cssprop --checkbox-color - 체크 표시 색상 (outlined)
|
|
19
20
|
* @cssprop --checkbox-border-color - 체크박스 테두리 색상
|
|
20
|
-
* @cssprop --checkbox-background-color - 체크박스 배경색 (
|
|
21
|
+
* @cssprop --checkbox-background-color - 체크박스 배경색 (solid)
|
|
21
22
|
*
|
|
22
23
|
* @event change - 체크 상태 변경 시 발생
|
|
23
|
-
*
|
|
24
|
-
* @cssprop --checkbox-fill-color - 체크된 상태의 채움색 (기본: --u-primary-color)
|
|
25
|
-
*/
|
|
24
|
+
* */
|
|
26
25
|
export declare class UCheckbox extends UFormControlElement<string> {
|
|
27
26
|
static styles: import('lit').CSSResultGroup[];
|
|
28
|
-
/**
|
|
29
|
-
|
|
30
|
-
/** 체크박스 강조 색상 */
|
|
27
|
+
/** 외형 정도 — `solid`(기본) · `outlined` */
|
|
28
|
+
appearance: CheckboxAppearance;
|
|
29
|
+
/** 체크박스 강조 색상 — 기본 `primary`(브랜드를 따른다) */
|
|
31
30
|
color: CheckboxColor;
|
|
32
31
|
/** 중간 상태 */
|
|
33
32
|
indeterminate: boolean;
|
|
@@ -12,8 +12,8 @@ import { live } from "lit/directives/live.js";
|
|
|
12
12
|
var UCheckbox = class UCheckbox extends UFormControlElement {
|
|
13
13
|
constructor(..._args) {
|
|
14
14
|
super(..._args);
|
|
15
|
-
this.
|
|
16
|
-
this.color = "
|
|
15
|
+
this.appearance = "solid";
|
|
16
|
+
this.color = "primary";
|
|
17
17
|
this.indeterminate = false;
|
|
18
18
|
this.checked = false;
|
|
19
19
|
this.handleInputChange = (e) => {
|
|
@@ -94,7 +94,7 @@ var UCheckbox = class UCheckbox extends UFormControlElement {
|
|
|
94
94
|
__decorate([property({
|
|
95
95
|
type: String,
|
|
96
96
|
reflect: true
|
|
97
|
-
}), __decorateMetadata("design:type", Object)], UCheckbox.prototype, "
|
|
97
|
+
}), __decorateMetadata("design:type", Object)], UCheckbox.prototype, "appearance", void 0);
|
|
98
98
|
__decorate([property({
|
|
99
99
|
type: String,
|
|
100
100
|
reflect: true
|
|
@@ -2,7 +2,6 @@ import { css } from "lit";
|
|
|
2
2
|
//#region src/components/checkbox/UCheckbox.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
|
-
--checkbox-fill-color: var(--u-primary-color, #1976D2);
|
|
6
5
|
--checkbox-color: inherit;
|
|
7
6
|
--checkbox-border-color: var(--u-input-border-color, #E0E0E0);
|
|
8
7
|
--checkbox-background-color: var(--u-input-bg-color, #FFFFFF);
|
|
@@ -15,7 +14,9 @@ var styles = css`
|
|
|
15
14
|
⚠재는 것은 **포인터 타깃**이지 시각 크기가 아니다 — 체크 박스(.checkbox)의
|
|
16
15
|
치수는 그대로 두고 «클릭을 받는 영역»만 최소 높이를 갖는다. 라벨이 있으면
|
|
17
16
|
내용이 이미 이보다 크므로 아무 일도 일어나지 않는다. */
|
|
18
|
-
min-block-size: 24px;
|
|
17
|
+
min-block-size: max(24px, var(--u-target-size, 0px));
|
|
18
|
+
/* 호스트 하한(--u-target-size, 미설정 = 0)이 있으면 폭도 — 라벨 없는 단독 컨트롤이 그 값보다 좁다. */
|
|
19
|
+
min-inline-size: var(--u-target-size, 0px);
|
|
19
20
|
justify-content: center;
|
|
20
21
|
color: var(--u-txt-color, #212121);
|
|
21
22
|
font-size: inherit;
|
|
@@ -46,21 +47,21 @@ var styles = css`
|
|
|
46
47
|
--checkbox-border-color: var(--u-input-border-color-hover, #BDBDBD);
|
|
47
48
|
}
|
|
48
49
|
|
|
49
|
-
/* ===
|
|
50
|
-
:host([
|
|
51
|
-
:host([
|
|
50
|
+
/* === solid — 배경 채움 === */
|
|
51
|
+
:host([appearance="solid"][checked]),
|
|
52
|
+
:host([appearance="solid"][indeterminate]) {
|
|
52
53
|
/* 체크 표시가 **채운 면 위**에 선다 — 역할 축에서만 on-color 로 갈린다(장식 축은 폴백). */
|
|
53
54
|
--checkbox-color: var(--checkbox-hue-on-fill, var(--u-neutral-100, #F5F5F5));
|
|
54
|
-
--checkbox-border-color: var(--checkbox-hue
|
|
55
|
-
--checkbox-background-color: var(--checkbox-hue
|
|
55
|
+
--checkbox-border-color: var(--checkbox-hue);
|
|
56
|
+
--checkbox-background-color: var(--checkbox-hue);
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
/* ===
|
|
59
|
-
:host([
|
|
60
|
-
:host([
|
|
59
|
+
/* === outlined — 테두리만 === */
|
|
60
|
+
:host([appearance="outlined"][checked]),
|
|
61
|
+
:host([appearance="outlined"][indeterminate]) {
|
|
61
62
|
/* 여기서는 같은 표시가 **바탕 위**에 선다 — 면 단이 아니라 -strong 이 맡는다. */
|
|
62
|
-
--checkbox-color: var(--checkbox-hue-strong, var(--checkbox-hue
|
|
63
|
-
--checkbox-border-color: var(--checkbox-hue
|
|
63
|
+
--checkbox-color: var(--checkbox-hue-strong, var(--checkbox-hue));
|
|
64
|
+
--checkbox-border-color: var(--checkbox-hue);
|
|
64
65
|
--checkbox-background-color: transparent;
|
|
65
66
|
}
|
|
66
67
|
|
|
@@ -96,11 +97,14 @@ var styles = css`
|
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
/* ==========================================================================
|
|
99
|
-
장식 축 — color= 는 hue 슬롯만 채운다.
|
|
100
|
-
기본값 blue
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
장식 축 — color= 는 hue 슬롯만 채운다. appearance 규칙이 그것을 읽는다.
|
|
101
|
+
2.0 전에는 기본값 blue 에 규칙이 없어 «브랜드 경로»를 탔다(blue 가 파랑이 아니라 «색 미지정»의
|
|
102
|
+
표기였다). 이제 기본값은 primary(역할 축)이고 blue 는 다른 장식 색처럼 파랑이다 — 모든 색이 슬롯을
|
|
103
|
+
채우므로 «빈 슬롯»용 채움 훅(--checkbox-fill-color)은 폐지했다.
|
|
103
104
|
========================================================================== */
|
|
105
|
+
:host([color="blue"]) {
|
|
106
|
+
--checkbox-hue: var(--u-blue-600, #1E88E5);
|
|
107
|
+
}
|
|
104
108
|
:host([color="green"]) {
|
|
105
109
|
--checkbox-hue: var(--u-green-600, #43A047);
|
|
106
110
|
}
|
|
@@ -143,8 +147,8 @@ var styles = css`
|
|
|
143
147
|
}
|
|
144
148
|
input:focus-visible ~ .checkbox {
|
|
145
149
|
box-shadow:
|
|
146
|
-
0 0 0 1px var(--u-
|
|
147
|
-
0 0 0 3px color-mix(in srgb, var(--u-
|
|
150
|
+
0 0 0 1px var(--u-focus-ring-color, #1565C0),
|
|
151
|
+
0 0 0 3px color-mix(in srgb, var(--u-focus-ring-color, #1565C0) 22%, transparent);
|
|
148
152
|
}
|
|
149
153
|
|
|
150
154
|
/* 체크박스 외형 — 클릭은 항상 .wrapper(<label>)가 받아야 한다(위임으로 이미
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropertyValues } from 'lit';
|
|
2
2
|
import { UElement } from '../UElement.js';
|
|
3
|
-
import {
|
|
3
|
+
import { TagAppearance, TagColor } from '../tag/UTag.js';
|
|
4
4
|
/**
|
|
5
5
|
* 태그 상태 표시 또는 선택 UI와 인터랙션(선택, 삭제)을 지원하는 칩 컴포넌트입니다.
|
|
6
6
|
*
|
|
@@ -20,7 +20,7 @@ import { TagVariant, TagColor } from '../tag/UTag.js';
|
|
|
20
20
|
export declare class UChip extends UElement {
|
|
21
21
|
static styles: import('lit').CSSResultGroup[];
|
|
22
22
|
/** 칩의 스타일 변형 */
|
|
23
|
-
|
|
23
|
+
appearance: TagAppearance;
|
|
24
24
|
/** 칩의 색상 */
|
|
25
25
|
color: TagColor;
|
|
26
26
|
/** 둥근 모서리 여부 */
|
|
@@ -13,7 +13,7 @@ import { customElement, property } from "lit/decorators.js";
|
|
|
13
13
|
var UChip = class UChip extends UElement {
|
|
14
14
|
constructor(..._args) {
|
|
15
15
|
super(..._args);
|
|
16
|
-
this.
|
|
16
|
+
this.appearance = "soft";
|
|
17
17
|
this.color = "neutral";
|
|
18
18
|
this.rounded = false;
|
|
19
19
|
this.removable = false;
|
|
@@ -44,7 +44,7 @@ var UChip = class UChip extends UElement {
|
|
|
44
44
|
render() {
|
|
45
45
|
return html`
|
|
46
46
|
<u-tag part="tag"
|
|
47
|
-
.
|
|
47
|
+
.appearance=${this.appearance}
|
|
48
48
|
.color=${this.color}
|
|
49
49
|
.rounded=${this.rounded}
|
|
50
50
|
@click=${this.handleTagClick}
|
|
@@ -62,7 +62,7 @@ var UChip = class UChip extends UElement {
|
|
|
62
62
|
<u-button class="remove-btn" part="remove" slot="suffix"
|
|
63
63
|
?hidden=${!this.removable}
|
|
64
64
|
rounded
|
|
65
|
-
|
|
65
|
+
appearance="plain"
|
|
66
66
|
aria-label=${Locale.getValue("remove")}
|
|
67
67
|
@click=${this.handleRemoveClick}>
|
|
68
68
|
<u-icon lib="internal" name="x"></u-icon>
|
|
@@ -121,7 +121,7 @@ var UChip = class UChip extends UElement {
|
|
|
121
121
|
__decorate([property({
|
|
122
122
|
type: String,
|
|
123
123
|
reflect: true
|
|
124
|
-
}), __decorateMetadata("design:type", Object)], UChip.prototype, "
|
|
124
|
+
}), __decorateMetadata("design:type", Object)], UChip.prototype, "appearance", void 0);
|
|
125
125
|
__decorate([property({
|
|
126
126
|
type: String,
|
|
127
127
|
reflect: true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Placement, OffsetOptions } from '@floating-ui/dom';
|
|
2
2
|
import { UElement } from '../UElement.js';
|
|
3
|
-
import {
|
|
3
|
+
import { ButtonAppearance } from '../button/UButton.js';
|
|
4
4
|
/**
|
|
5
5
|
* 클릭 시 클립보드에 텍스트를 복사하는 버튼입니다. 복사 상태를 표시하기 위해 아이콘이 변경됩니다.
|
|
6
6
|
*
|
|
@@ -23,7 +23,7 @@ export declare class UCopyButton extends UElement {
|
|
|
23
23
|
/** 호스트의 `.focus()` 를 안쪽 컨트롤로 위임한다 — `UButton` 과 같은 계약(호스트는 포커스 가능하지 않다). */
|
|
24
24
|
static shadowRootOptions: ShadowRootInit;
|
|
25
25
|
/** 버튼 스타일 변형 */
|
|
26
|
-
|
|
26
|
+
appearance: ButtonAppearance;
|
|
27
27
|
/** 원형 표시 여부 */
|
|
28
28
|
rounded: boolean;
|
|
29
29
|
/** 비활성화 여부 */
|
|
@@ -12,7 +12,7 @@ import { customElement, property } from "lit/decorators.js";
|
|
|
12
12
|
var UCopyButton = class UCopyButton extends UElement {
|
|
13
13
|
constructor(..._args) {
|
|
14
14
|
super(..._args);
|
|
15
|
-
this.
|
|
15
|
+
this.appearance = "plain";
|
|
16
16
|
this.rounded = false;
|
|
17
17
|
this.disabled = false;
|
|
18
18
|
this.copied = false;
|
|
@@ -60,7 +60,7 @@ var UCopyButton = class UCopyButton extends UElement {
|
|
|
60
60
|
<u-button part="button"
|
|
61
61
|
exportparts="icon"
|
|
62
62
|
?disabled=${this.disabled}
|
|
63
|
-
.
|
|
63
|
+
.appearance=${this.appearance}
|
|
64
64
|
.rounded=${this.rounded}
|
|
65
65
|
@click=${this.handleButtonClick}
|
|
66
66
|
>
|
|
@@ -72,7 +72,7 @@ var UCopyButton = class UCopyButton extends UElement {
|
|
|
72
72
|
<u-icon-button part="button"
|
|
73
73
|
exportparts="icon,tooltip"
|
|
74
74
|
?disabled=${this.disabled}
|
|
75
|
-
.
|
|
75
|
+
.appearance=${this.appearance}
|
|
76
76
|
.rounded=${this.rounded}
|
|
77
77
|
.tooltipPlacement=${this.tooltipPlacement}
|
|
78
78
|
.tooltipOffset=${this.tooltipOffset}
|
|
@@ -89,7 +89,7 @@ var UCopyButton = class UCopyButton extends UElement {
|
|
|
89
89
|
__decorate([property({
|
|
90
90
|
type: String,
|
|
91
91
|
reflect: true
|
|
92
|
-
}), __decorateMetadata("design:type", Object)], UCopyButton.prototype, "
|
|
92
|
+
}), __decorateMetadata("design:type", Object)], UCopyButton.prototype, "appearance", void 0);
|
|
93
93
|
__decorate([property({
|
|
94
94
|
type: Boolean,
|
|
95
95
|
reflect: true
|