@iyulab/components 2.32.0 → 2.33.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.33.0] - 2026-10-23
4
+
5
+ ### Added
6
+
7
+ - **`u-steps appearance="bars"`** — each step an equal column with a bar on top and its name and description (a date)
8
+ under it; travelled and current bars filled, the current name bold. For a detail page header with seven dated steps.
9
+ - **`u-steps` status `skipped`** — a step this record's route does not have (an order with no proof): a dashed ring, or
10
+ an empty bar, and the hidden word «Skipped» (`stepSkipped`, in every bundled locale).
11
+ - **`u-card tone`** — `warning` · `danger` · `success` · `info` give the card that status's face and border, `primary` a
12
+ main-colour border for the one card holding the next action. Painted on the inner box, so a page-set
13
+ `--card-border-color` does not cover it.
14
+
3
15
  ## [2.32.0] - 2026-10-23
4
16
 
5
17
  ### Added
@@ -63,6 +63,7 @@ var cancel = "إلغاء";
63
63
  var ok = "حسنًا";
64
64
  var stepComplete = "مكتمل";
65
65
  var stepOnHold = "معلّق";
66
+ var stepSkipped = "تم تخطيه";
66
67
  var apply = "تطبيق";
67
68
  var dateUnavailable = "هذا التاريخ غير متاح";
68
69
  var startTime = "وقت البدء";
@@ -138,6 +139,7 @@ var ar_default = {
138
139
  ok,
139
140
  stepComplete,
140
141
  stepOnHold,
142
+ stepSkipped,
141
143
  apply,
142
144
  dateUnavailable,
143
145
  startTime,
@@ -151,4 +153,4 @@ var ar_default = {
151
153
  rowsPerPage,
152
154
  rangeOfTotal
153
155
  };
154
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ar_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
156
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ar_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -62,6 +62,7 @@ var confirm = "Bestätigen";
62
62
  var cancel = "Abbrechen";
63
63
  var stepComplete = "Abgeschlossen";
64
64
  var stepOnHold = "Angehalten";
65
+ var stepSkipped = "Übersprungen";
65
66
  var apply = "Übernehmen";
66
67
  var dateUnavailable = "Dieses Datum ist nicht verfügbar";
67
68
  var startTime = "Startzeit";
@@ -137,6 +138,7 @@ var de_default = {
137
138
  ok: "OK",
138
139
  stepComplete,
139
140
  stepOnHold,
141
+ stepSkipped,
140
142
  apply,
141
143
  dateUnavailable,
142
144
  startTime,
@@ -150,4 +152,4 @@ var de_default = {
150
152
  rowsPerPage,
151
153
  rangeOfTotal
152
154
  };
153
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, de_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
155
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, de_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -62,6 +62,7 @@ var confirm = "Confirm";
62
62
  var cancel = "Cancel";
63
63
  var stepComplete = "Completed";
64
64
  var stepOnHold = "On hold";
65
+ var stepSkipped = "Skipped";
65
66
  var apply = "Apply";
66
67
  var dateUnavailable = "This date is not available";
67
68
  var startTime = "Start time";
@@ -137,6 +138,7 @@ var en_default = {
137
138
  ok: "OK",
138
139
  stepComplete,
139
140
  stepOnHold,
141
+ stepSkipped,
140
142
  apply,
141
143
  dateUnavailable,
142
144
  startTime,
@@ -150,4 +152,4 @@ var en_default = {
150
152
  rowsPerPage,
151
153
  rangeOfTotal
152
154
  };
153
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, en_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
155
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, en_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -62,6 +62,7 @@ var cancel = "Cancelar";
62
62
  var ok = "Aceptar";
63
63
  var stepComplete = "Completado";
64
64
  var stepOnHold = "En espera";
65
+ var stepSkipped = "Omitido";
65
66
  var apply = "Aplicar";
66
67
  var dateUnavailable = "Esta fecha no está disponible";
67
68
  var startTime = "Hora de inicio";
@@ -139,6 +140,7 @@ var es_default = {
139
140
  ok,
140
141
  stepComplete,
141
142
  stepOnHold,
143
+ stepSkipped,
142
144
  apply,
143
145
  dateUnavailable,
144
146
  startTime,
@@ -152,4 +154,4 @@ var es_default = {
152
154
  rowsPerPage,
153
155
  rangeOfTotal
154
156
  };
155
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, es_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
157
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, es_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -62,6 +62,7 @@ var confirm = "Confirmer";
62
62
  var cancel = "Annuler";
63
63
  var stepComplete = "Terminé";
64
64
  var stepOnHold = "En attente";
65
+ var stepSkipped = "Ignorée";
65
66
  var apply = "Appliquer";
66
67
  var dateUnavailable = "Cette date n'est pas disponible";
67
68
  var startTime = "Heure de début";
@@ -137,6 +138,7 @@ var fr_default = {
137
138
  ok: "OK",
138
139
  stepComplete,
139
140
  stepOnHold,
141
+ stepSkipped,
140
142
  apply,
141
143
  dateUnavailable,
142
144
  startTime,
@@ -150,4 +152,4 @@ var fr_default = {
150
152
  rowsPerPage,
151
153
  rangeOfTotal
152
154
  };
153
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, fr_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
155
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, fr_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -62,6 +62,7 @@ var confirm = "Konfirmasi";
62
62
  var cancel = "Batal";
63
63
  var stepComplete = "Selesai";
64
64
  var stepOnHold = "Ditahan";
65
+ var stepSkipped = "Dilewati";
65
66
  var apply = "Terapkan";
66
67
  var dateUnavailable = "Tanggal ini tidak tersedia";
67
68
  var startTime = "Waktu mulai";
@@ -137,6 +138,7 @@ var id_default = {
137
138
  ok: "OK",
138
139
  stepComplete,
139
140
  stepOnHold,
141
+ stepSkipped,
140
142
  apply,
141
143
  dateUnavailable,
142
144
  startTime,
@@ -150,4 +152,4 @@ var id_default = {
150
152
  rowsPerPage,
151
153
  rangeOfTotal
152
154
  };
153
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, id_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
155
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, id_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -61,6 +61,7 @@ var breadcrumb = "パンくずリスト";
61
61
  var cancel = "キャンセル";
62
62
  var stepComplete = "完了";
63
63
  var stepOnHold = "保留";
64
+ var stepSkipped = "スキップ";
64
65
  var apply = "適用";
65
66
  var dateUnavailable = "この日付は選択できません";
66
67
  var startTime = "開始時刻";
@@ -138,6 +139,7 @@ var ja_default = {
138
139
  ok: "OK",
139
140
  stepComplete,
140
141
  stepOnHold,
142
+ stepSkipped,
141
143
  apply,
142
144
  dateUnavailable,
143
145
  startTime,
@@ -151,4 +153,4 @@ var ja_default = {
151
153
  rowsPerPage,
152
154
  rangeOfTotal
153
155
  };
154
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, copied, copy, dateUnavailable, decrement, ja_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
156
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, copied, copy, dateUnavailable, decrement, ja_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -63,6 +63,7 @@ var cancel = "취소";
63
63
  var ok = "확인";
64
64
  var stepComplete = "완료";
65
65
  var stepOnHold = "보류";
66
+ var stepSkipped = "건너뜀";
66
67
  var apply = "적용";
67
68
  var dateUnavailable = "선택할 수 없는 날짜입니다";
68
69
  var startTime = "시작 시간";
@@ -140,6 +141,7 @@ var ko_default = {
140
141
  ok,
141
142
  stepComplete,
142
143
  stepOnHold,
144
+ stepSkipped,
143
145
  apply,
144
146
  dateUnavailable,
145
147
  startTime,
@@ -153,4 +155,4 @@ var ko_default = {
153
155
  rowsPerPage,
154
156
  rangeOfTotal
155
157
  };
156
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ko_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
158
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ko_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -62,6 +62,7 @@ var confirm = "Confirmar";
62
62
  var cancel = "Cancelar";
63
63
  var stepComplete = "Concluído";
64
64
  var stepOnHold = "Em espera";
65
+ var stepSkipped = "Ignorada";
65
66
  var apply = "Aplicar";
66
67
  var dateUnavailable = "Esta data não está disponível";
67
68
  var startTime = "Hora de início";
@@ -137,6 +138,7 @@ var pt_BR_default = {
137
138
  ok: "OK",
138
139
  stepComplete,
139
140
  stepOnHold,
141
+ stepSkipped,
140
142
  apply,
141
143
  dateUnavailable,
142
144
  startTime,
@@ -150,4 +152,4 @@ var pt_BR_default = {
150
152
  rowsPerPage,
151
153
  rangeOfTotal
152
154
  };
153
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, pt_BR_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
155
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, pt_BR_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -63,6 +63,7 @@ var cancel = "Отмена";
63
63
  var ok = "ОК";
64
64
  var stepComplete = "Завершено";
65
65
  var stepOnHold = "Приостановлено";
66
+ var stepSkipped = "Пропущен";
66
67
  var apply = "Применить";
67
68
  var dateUnavailable = "Эта дата недоступна";
68
69
  var startTime = "Время начала";
@@ -138,6 +139,7 @@ var ru_default = {
138
139
  ok,
139
140
  stepComplete,
140
141
  stepOnHold,
142
+ stepSkipped,
141
143
  apply,
142
144
  dateUnavailable,
143
145
  startTime,
@@ -151,4 +153,4 @@ var ru_default = {
151
153
  rowsPerPage,
152
154
  rangeOfTotal
153
155
  };
154
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ru_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
156
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ru_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -63,6 +63,7 @@ var cancel = "ยกเลิก";
63
63
  var ok = "ตกลง";
64
64
  var stepComplete = "เสร็จสิ้น";
65
65
  var stepOnHold = "พักไว้";
66
+ var stepSkipped = "ข้ามแล้ว";
66
67
  var apply = "นำไปใช้";
67
68
  var dateUnavailable = "ไม่สามารถเลือกวันที่นี้ได้";
68
69
  var startTime = "เวลาเริ่มต้น";
@@ -140,6 +141,7 @@ var th_default = {
140
141
  ok,
141
142
  stepComplete,
142
143
  stepOnHold,
144
+ stepSkipped,
143
145
  apply,
144
146
  dateUnavailable,
145
147
  startTime,
@@ -153,4 +155,4 @@ var th_default = {
153
155
  rowsPerPage,
154
156
  rangeOfTotal
155
157
  };
156
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, th_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
158
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, th_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -62,6 +62,7 @@ var confirm = "Xác nhận";
62
62
  var cancel = "Hủy";
63
63
  var stepComplete = "Đã hoàn thành";
64
64
  var stepOnHold = "Tạm dừng";
65
+ var stepSkipped = "Đã bỏ qua";
65
66
  var apply = "Áp dụng";
66
67
  var dateUnavailable = "Ngày này không khả dụng";
67
68
  var startTime = "Giờ bắt đầu";
@@ -137,6 +138,7 @@ var vi_default = {
137
138
  ok: "OK",
138
139
  stepComplete,
139
140
  stepOnHold,
141
+ stepSkipped,
140
142
  apply,
141
143
  dateUnavailable,
142
144
  startTime,
@@ -150,4 +152,4 @@ var vi_default = {
150
152
  rowsPerPage,
151
153
  rangeOfTotal
152
154
  };
153
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, vi_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
155
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, vi_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -63,6 +63,7 @@ var cancel = "取消";
63
63
  var ok = "确定";
64
64
  var stepComplete = "已完成";
65
65
  var stepOnHold = "已暂停";
66
+ var stepSkipped = "已跳过";
66
67
  var apply = "应用";
67
68
  var dateUnavailable = "该日期不可选";
68
69
  var startTime = "开始时间";
@@ -140,6 +141,7 @@ var zh_CN_default = {
140
141
  ok,
141
142
  stepComplete,
142
143
  stepOnHold,
144
+ stepSkipped,
143
145
  apply,
144
146
  dateUnavailable,
145
147
  startTime,
@@ -153,4 +155,4 @@ var zh_CN_default = {
153
155
  rowsPerPage,
154
156
  rangeOfTotal
155
157
  };
156
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, zh_CN_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
158
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, zh_CN_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -63,6 +63,7 @@ var cancel = "取消";
63
63
  var ok = "確定";
64
64
  var stepComplete = "已完成";
65
65
  var stepOnHold = "已暫停";
66
+ var stepSkipped = "已略過";
66
67
  var apply = "套用";
67
68
  var dateUnavailable = "此日期無法選取";
68
69
  var startTime = "開始時間";
@@ -140,6 +141,7 @@ var zh_TW_default = {
140
141
  ok,
141
142
  stepComplete,
142
143
  stepOnHold,
144
+ stepSkipped,
143
145
  apply,
144
146
  dateUnavailable,
145
147
  startTime,
@@ -153,4 +155,4 @@ var zh_TW_default = {
153
155
  rowsPerPage,
154
156
  rangeOfTotal
155
157
  };
156
- export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, zh_TW_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
158
+ export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, zh_TW_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last3Months, last6Months, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stepSkipped, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
@@ -2,9 +2,16 @@ import { TemplateResult } from 'lit';
2
2
  import { UElement } from '../UElement.js';
3
3
  export type CardOrientation = 'vertical' | 'horizontal';
4
4
  export type CardAppearance = 'outlined' | 'plain';
5
+ /** 카드의 강조 톤. */
6
+ export type CardTone = 'primary' | 'info' | 'success' | 'warning' | 'danger';
5
7
  /**
6
8
  * 콘텐츠를 카드 형태로 표시하는 컴포넌트입니다.
7
9
  *
10
+ * `tone` 은 카드가 이웃보다 먼저 읽혀야 할 때다 — `warning`·`danger`·`success`·`info` 는 그 상태의 옅은 면과 테두리
11
+ * («확인할 것», «막힌 것»), `primary` 는 면은 그대로 두고 주 색 테두리(«다음 할 일» — 화면의 한 곳). 색만으로 전하지
12
+ * 않도록 카드의 제목이 그 뜻을 말해야 한다. 톤은 안쪽 상자에 칠하므로 바깥에서 건 `--card-border-color`(하우스 시트 등)가
13
+ * 덮지 않는다.
14
+ *
8
15
  * @slot - 카드의 본문 콘텐츠
9
16
  * @slot header - 카드 상단 헤더 영역
10
17
  * @slot footer - 카드 하단 푸터 영역
@@ -29,6 +36,8 @@ export declare class UCard extends UElement {
29
36
  appearance: CardAppearance;
30
37
  /** 마우스 오버 효과 적용 여부 */
31
38
  hoverable: boolean;
39
+ /** 강조 — 상태의 면과 테두리(`warning`·`danger`·`success`·`info`) 또는 주 색 테두리(`primary`). 없으면 보통 카드 */
40
+ tone?: CardTone;
32
41
  /**
33
42
  * 카드 전체가 이동하는 링크 URL. 주면 바깥 상자가 `<a>` 로 그려진다 — 테두리가 hover 를 싣고 들어 올리지 않는다.
34
43
  * 링크 안에는 다른 대화형 요소(버튼·링크)를 두지 않는다(HTML 의 `<a>` 내용 모델).
@@ -73,6 +73,10 @@ __decorate([property({
73
73
  type: Boolean,
74
74
  reflect: true
75
75
  }), __decorateMetadata("design:type", Object)], UCard.prototype, "hoverable", void 0);
76
+ __decorate([property({
77
+ type: String,
78
+ reflect: true
79
+ }), __decorateMetadata("design:type", Object)], UCard.prototype, "tone", void 0);
76
80
  __decorate([property({
77
81
  type: String,
78
82
  reflect: true
@@ -37,6 +37,35 @@ var styles = css`
37
37
  --card-border-width: 0;
38
38
  box-shadow: none;
39
39
  }
40
+
41
+ :host([tone]) .base {
42
+ border-width: max(var(--card-border-width), 1px);
43
+ }
44
+ :host([tone="primary"]) .base {
45
+ border-color: var(--u-primary-color, #1976D2);
46
+ box-shadow: inset 0 0 0 1px var(--u-primary-color, #1976D2);
47
+ }
48
+ :host([tone="info"]) .base {
49
+ border-color: var(--u-info-color-weak, #2196F3);
50
+ background-color: var(--u-info-bg-color, #E3F2FD);
51
+ }
52
+ :host([tone="success"]) .base {
53
+ border-color: var(--u-success-color-weak, #4CAF50);
54
+ background-color: var(--u-success-bg-color, #E8F5E9);
55
+ }
56
+ :host([tone="warning"]) .base {
57
+ border-color: var(--u-warning-color-weak, #FFEB3B);
58
+ background-color: var(--u-warning-bg-color, #FFF59D);
59
+ }
60
+ :host([tone="danger"]) .base {
61
+ border-color: var(--u-danger-color-weak, #F44336);
62
+ background-color: var(--u-danger-bg-color, #FFEBEE);
63
+ }
64
+ @media (forced-colors: active) {
65
+ :host([tone]) .base {
66
+ border-color: CanvasText;
67
+ }
68
+ }
40
69
  :host([shadowless]) {
41
70
  box-shadow: none;
42
71
  }
@@ -5,8 +5,11 @@ import { UElement } from '../UElement.js';
5
5
  * - `current` 지금 단계 (하나)
6
6
  * - `hold` 멈춘 단계 — 진행이 막혀 사람의 손이 필요하다
7
7
  * - `upcoming` 아직 오지 않은 단계
8
+ * - `skipped` 이 건의 경로에 없는 단계 — 지나갔지만 한 일이 없다(예: 시안이 없는 주문의 «시안»)
8
9
  */
9
- export type StepStatus = 'complete' | 'current' | 'hold' | 'upcoming';
10
+ export type StepStatus = 'complete' | 'current' | 'hold' | 'upcoming' | 'skipped';
11
+ /** 단계 줄의 모양 — `line`(표식과 연결선) · `bars`(단계마다 막대, 그 아래 이름과 보조 문구). */
12
+ export type StepsAppearance = 'line' | 'bars';
10
13
  export interface StepItem {
11
14
  /** 단계 이름 */
12
15
  label: string;
@@ -21,7 +24,9 @@ export interface StepItem {
21
24
  *
22
25
  * 단계 상태는 `items[].status` 로 주거나, `current`(지금 단계의 번호)만 주면 앞은 `complete`,
23
26
  * 뒤는 `upcoming` 으로 정해진다. 상태는 표식 모양으로도 갈린다(색만으로 구분하지 않는다):
24
- * 완료 = 체크 · 지금 = 굵은 고리 · 보류 = 경고 면 · 예정 = 빈 고리.
27
+ * 완료 = 체크 · 지금 = 굵은 고리 · 보류 = 경고 면 · 예정 = 빈 고리 · 건너뜀 = 점선 고리.
28
+ * `appearance="bars"` 면 단계마다 막대가 칸을 고르게 나눠 갖고, 그 아래에 이름과 보조 문구(날짜 등)가 선다 —
29
+ * 지나온 칸과 지금 칸은 채운 막대, 예정 · 건너뜀은 빈 막대, 지금 단계의 이름은 굵게, 보류는 경고 막대.
25
30
  * 보조기기에는 지금 단계를 `aria-current="step"` 으로, 완료·보류를 숨은 글자로 전한다.
26
31
  *
27
32
  * @csspart base - 바깥 상자
@@ -37,6 +42,8 @@ export interface StepItem {
37
42
  * @cssprop --steps-connector-color - 아직 지나지 않은 연결선 색
38
43
  * @cssprop --steps-connector-done-color - 지나온 연결선·완료 표식 색
39
44
  * @cssprop --steps-label-width - 트랙 이름 칸 폭 (기본 56px)
45
+ * @cssprop --steps-bar-height - `bars` 의 막대 두께 (기본 6px)
46
+ * @cssprop --steps-bar-color - `bars` 의 채운 막대 색 (기본 주 색)
40
47
  */
41
48
  export declare class USteps extends UElement {
42
49
  static styles: import('lit').CSSResultGroup[];
@@ -46,6 +53,8 @@ export declare class USteps extends UElement {
46
53
  current?: number;
47
54
  /** 트랙 이름 — 여러 트랙을 줄지어 둘 때 앞머리에 보인다. 목록의 접근 가능한 이름이기도 하다. */
48
55
  label?: string;
56
+ /** 모양 — `line`(기본) · `bars` */
57
+ appearance: StepsAppearance;
49
58
  /** 단계의 실효 상태. */
50
59
  statusOf(index: number): StepStatus;
51
60
  protected render(): import('lit-html').TemplateResult<1>;
@@ -11,6 +11,7 @@ var USteps = class USteps extends UElement {
11
11
  constructor(..._args) {
12
12
  super(..._args);
13
13
  this.items = [];
14
+ this.appearance = "line";
14
15
  }
15
16
  static {
16
17
  this.styles = [super.styles, styles];
@@ -26,22 +27,24 @@ var USteps = class USteps extends UElement {
26
27
  }
27
28
  render() {
28
29
  const last = this.items.length - 1;
30
+ const bars = this.appearance === "bars";
29
31
  return html`
30
32
  <div class="base" part="base">
31
33
  ${this.label ? html`<span class="label" part="label" aria-hidden="true">${this.label}</span>` : nothing}
32
- <ol class="list" part="list" aria-label=${ifDefined(this.label)}>
34
+ <ol class="list" part="list" aria-label=${ifDefined(this.label)}
35
+ style=${ifDefined(bars ? `grid-template-columns: repeat(${Math.max(1, this.items.length)}, minmax(0, 1fr))` : void 0)}>
33
36
  ${this.items.map((item, i) => {
34
37
  const status = this.statusOf(i);
35
38
  const travelled = i < last && status === "complete";
36
39
  return html`
37
40
  <li class="step" part="step step-${status}" data-status=${status}
38
41
  aria-current=${ifDefined(status === "current" ? "step" : void 0)}>
39
- <span class="marker" part="marker" aria-hidden="true">${status === "complete" ? CHECK : nothing}</span>
42
+ <span class="marker" part="marker" aria-hidden="true">${status === "complete" && !bars ? CHECK : nothing}</span>
40
43
  <span class="title" part="title">${item.label}</span>
41
44
  ${item.description ? html`<span class="description" part="description">${item.description}</span>` : nothing}
42
- ${status === "complete" || status === "hold" ? html`<span class="sr-only">${Locale.getValue(status === "complete" ? "stepComplete" : "stepOnHold")}</span>` : nothing}
45
+ ${status === "complete" || status === "hold" || status === "skipped" ? html`<span class="sr-only">${Locale.getValue(STATUS_WORD[status])}</span>` : nothing}
43
46
  </li>
44
- ${i < last ? html`<li class="connector ${travelled ? "travelled" : ""}" part="connector" aria-hidden="true"></li>` : nothing}
47
+ ${i < last && !bars ? html`<li class="connector ${travelled ? "travelled" : ""}" part="connector" aria-hidden="true"></li>` : nothing}
45
48
  `;
46
49
  })}
47
50
  </ol>
@@ -52,6 +55,15 @@ var USteps = class USteps extends UElement {
52
55
  __decorate([property({ attribute: false }), __decorateMetadata("design:type", Array)], USteps.prototype, "items", void 0);
53
56
  __decorate([property({ type: Number }), __decorateMetadata("design:type", Number)], USteps.prototype, "current", void 0);
54
57
  __decorate([property({ type: String }), __decorateMetadata("design:type", String)], USteps.prototype, "label", void 0);
58
+ __decorate([property({
59
+ type: String,
60
+ reflect: true
61
+ }), __decorateMetadata("design:type", Object)], USteps.prototype, "appearance", void 0);
55
62
  USteps = __decorate([customElement("u-steps")], USteps);
63
+ var STATUS_WORD = {
64
+ complete: "stepComplete",
65
+ hold: "stepOnHold",
66
+ skipped: "stepSkipped"
67
+ };
56
68
  var CHECK = html`<svg viewBox="0 0 12 12" width="10" height="10" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 6.2 5 8.5 9.5 3.5"/></svg>`;
57
69
  export { USteps };
@@ -97,6 +97,63 @@ var styles = css`
97
97
  background: var(--steps-connector-done-color, var(--u-txt-color-weak, #616161));
98
98
  }
99
99
 
100
+
101
+ .step[data-status="skipped"] {
102
+ color: var(--u-txt-color-weaker, #757575);
103
+ }
104
+ .step[data-status="skipped"] .marker {
105
+ border-style: dashed;
106
+ }
107
+
108
+
109
+ :host([appearance="bars"]) .base {
110
+ align-items: flex-start;
111
+ }
112
+ :host([appearance="bars"]) .list {
113
+ display: grid;
114
+ align-items: start;
115
+ gap: var(--u-space-sm, 8px);
116
+ }
117
+ :host([appearance="bars"]) .step {
118
+ flex-direction: column;
119
+ align-items: stretch;
120
+ gap: 2px;
121
+ min-width: 0;
122
+ white-space: normal;
123
+ }
124
+ :host([appearance="bars"]) .marker {
125
+ width: auto;
126
+ height: var(--steps-bar-height, 6px);
127
+ margin-bottom: var(--u-space-xs, 6px);
128
+ border: 0;
129
+ border-radius: var(--u-radius-pill, 9999px);
130
+ background: var(--u-border-color, #E0E0E0);
131
+ }
132
+ :host([appearance="bars"]) .step[data-status="complete"] .marker,
133
+ :host([appearance="bars"]) .step[data-status="current"] .marker {
134
+ border: 0;
135
+ background: var(--steps-bar-color, var(--u-primary-color, #1976D2));
136
+ }
137
+ :host([appearance="bars"]) .step[data-status="hold"] .marker {
138
+ border: 0;
139
+ background: var(--u-warning-color, #FDD835);
140
+ }
141
+ :host([appearance="bars"]) .step[data-status="skipped"] .marker {
142
+ border: 0;
143
+ background: var(--u-border-color, #E0E0E0);
144
+ }
145
+ :host([appearance="bars"]) .title {
146
+ font-size: var(--u-text-body-size, 14px);
147
+ color: var(--u-txt-color, #212121);
148
+ }
149
+ :host([appearance="bars"]) .step[data-status="upcoming"] .title,
150
+ :host([appearance="bars"]) .step[data-status="skipped"] .title {
151
+ color: var(--u-txt-color-weak, #616161);
152
+ }
153
+ :host([appearance="bars"]) .description {
154
+ font-variant-numeric: tabular-nums;
155
+ }
156
+
100
157
  .sr-only {
101
158
  position: absolute;
102
159
  width: 1px;
@@ -4,7 +4,7 @@ export type SupportedLocale = 'en' | 'ko' | 'ja' | 'zh-CN' | 'zh-TW' | 'es' | 'f
4
4
  /** 내장 로케일은 자동완성되지만, 임의의 BCP47 태그도 그대로 받는다. */
5
5
  export type LocaleTag = SupportedLocale | (string & {});
6
6
  /** 라이브러리가 제공하는 chrome 문자열 키. 지금은 검증 메시지뿐이지만 이후 다른 UI 문구도 추가될 수 있다. */
7
- export type LocaleMessageKey = 'valueMissing' | 'badInput' | 'typeMismatch' | 'patternMismatch' | 'rangeUnderflow' | 'rangeOverflow' | 'stepMismatch' | 'tooShort' | 'tooLong' | 'increment' | 'decrement' | 'clear' | 'today' | 'time' | 'showPassword' | 'hidePassword' | 'previousSlide' | 'nextSlide' | 'goToSlide' | 'carousel' | 'slide' | 'slideOf' | 'stopSlideRotation' | 'startSlideRotation' | 'chooseDate' | 'chooseDateRange' | 'yesterday' | 'last7Days' | 'last30Days' | 'last3Months' | 'last6Months' | 'thisWeek' | 'lastWeek' | 'thisMonth' | 'lastMonth' | 'thisYear' | 'quickRanges' | 'rangeStartChosen' | 'previousMonth' | 'nextMonth' | 'close' | 'copy' | 'copied' | 'chooseFile' | 'noFileChosen' | 'filesSelected' | 'resizePanels' | 'loading' | 'breadcrumb' | 'search' | 'noMatches' | 'alertError' | 'alertWarning' | 'alertSuccess' | 'alertInfo' | 'alertNotice' | 'alertMessage' | 'remove' | 'closeTab' | 'confirm' | 'cancel' | 'ok' | 'stepComplete' | 'stepOnHold' | 'apply' | 'dateUnavailable' | 'startTime' | 'endTime' | 'timeAm' | 'timePm' | 'pagination' | 'previousPage' | 'nextPage' | 'pageN' | 'rowsPerPage' | 'rangeOfTotal';
7
+ export type LocaleMessageKey = 'valueMissing' | 'badInput' | 'typeMismatch' | 'patternMismatch' | 'rangeUnderflow' | 'rangeOverflow' | 'stepMismatch' | 'tooShort' | 'tooLong' | 'increment' | 'decrement' | 'clear' | 'today' | 'time' | 'showPassword' | 'hidePassword' | 'previousSlide' | 'nextSlide' | 'goToSlide' | 'carousel' | 'slide' | 'slideOf' | 'stopSlideRotation' | 'startSlideRotation' | 'chooseDate' | 'chooseDateRange' | 'yesterday' | 'last7Days' | 'last30Days' | 'last3Months' | 'last6Months' | 'thisWeek' | 'lastWeek' | 'thisMonth' | 'lastMonth' | 'thisYear' | 'quickRanges' | 'rangeStartChosen' | 'previousMonth' | 'nextMonth' | 'close' | 'copy' | 'copied' | 'chooseFile' | 'noFileChosen' | 'filesSelected' | 'resizePanels' | 'loading' | 'breadcrumb' | 'search' | 'noMatches' | 'alertError' | 'alertWarning' | 'alertSuccess' | 'alertInfo' | 'alertNotice' | 'alertMessage' | 'remove' | 'closeTab' | 'confirm' | 'cancel' | 'ok' | 'stepComplete' | 'stepOnHold' | 'stepSkipped' | 'apply' | 'dateUnavailable' | 'startTime' | 'endTime' | 'timeAm' | 'timePm' | 'pagination' | 'previousPage' | 'nextPage' | 'pageN' | 'rowsPerPage' | 'rangeOfTotal';
8
8
  type LocaleTable = Record<LocaleMessageKey, string>;
9
9
  /**
10
10
  * 글자가 검색어를 담는가 — 사람이 «찾았다» 고 여기는 일치. 글자마다 거르는 칸(`u-select` 의 검색 등)이 쓴다.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iyulab/components",
3
3
  "description": "web-components library based on lit-element made by iyulab",
4
- "version": "2.32.0",
4
+ "version": "2.33.0",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "components",
@@ -33,6 +33,17 @@ border carries hover, and the card does not lift (a lifting card shakes a grid r
33
33
  — buttons, links — out of a link card; an `<a>` cannot contain them. The link's accessible name is all of the card's
34
34
  text unless the host has an `aria-label`, which moves to the link.
35
35
 
36
+ **A card that must be read first (`tone`).** `warning`, `danger`, `success` and `info` give the card that status's
37
+ soft face and border — «Check these 2», «Blocked» — and `primary` keeps the face and draws the main colour around it,
38
+ for the one card on a screen that holds the next action. The card's heading says what the tone means; colour alone
39
+ does not. The tone paints the inner box, so a `--card-border-color` set on the host from outside (a theme sheet does)
40
+ does not cover it.
41
+
42
+ ```html
43
+ <u-card tone="warning"><h2 slot="header">Check these 2</h2>…</u-card>
44
+ <u-card tone="primary"><h2 slot="header">Next</h2>…<u-button>Assign 100 copies</u-button></u-card>
45
+ ```
46
+
36
47
  ---
37
48
 
38
49
  ## Slots
@@ -52,6 +63,7 @@ text unless the host has an `aria-label`, which moves to the link.
52
63
  | `shadowless` | `boolean` | `false` | ✓ | Remove drop shadow |
53
64
  | `appearance` | `'outlined'\|'plain'` | `'outlined'` | ✓ | `outlined` border and drop shadow · `plain` no border and no shadow (layout only) |
54
65
  | `hoverable` | `boolean` | `false` | ✓ | Lift effect on hover |
66
+ | `tone` | `'primary'\|'info'\|'success'\|'warning'\|'danger'` | — | ✓ | Emphasis — a status face and border, or (`primary`) a main-colour border |
55
67
  | `href` | `string` | — | ✓ | Makes the whole card a link to this URL |
56
68
  | `target` | `string` | — | | Link target (with `href`) |
57
69
  | `rel` | `string` | — | | Link relationship (with `href`) |
@@ -26,9 +26,26 @@ moving to the next step is the consumer's own action, placed beside it. For seve
26
26
  ```
27
27
 
28
28
  Status is told by marker shape as well as colour — complete = check, current = heavy ring,
29
- hold = warning tint, upcoming = empty ring. Assistive tech hears the current step through
30
- `aria-current="step"` and complete/hold through a hidden status word (`stepComplete`,
31
- `stepOnHold` locale keys).
29
+ hold = warning tint, upcoming = empty ring, skipped = dashed ring. Assistive tech hears the current step through
30
+ `aria-current="step"` and complete/hold/skipped through a hidden status word (`stepComplete`,
31
+ `stepOnHold`, `stepSkipped` locale keys). `skipped` is a step this record's route does not have — an order with no
32
+ proof still shows «Proof», passed over.
33
+
34
+ ### Bars — `appearance="bars"`
35
+
36
+ Each step takes an equal column: a bar on top, the step's name and its description (a date) under it. The travelled
37
+ and current bars are filled, upcoming and skipped ones empty, a held step's bar is the warning colour; the current
38
+ step's name is bold. For a detail page's header, where seven steps each carry a date.
39
+
40
+ ```html
41
+ <u-steps appearance="bars" current="3" .items=${[
42
+ { label: 'Intake', description: '10/21' },
43
+ { label: 'Proof', description: 'none', status: 'skipped' },
44
+ { label: 'Check', description: '10/21' },
45
+ { label: 'Plate', description: '10/21 · batch 50' },
46
+ { label: 'Print' }, { label: 'Foil · pack' }, { label: 'Ship' },
47
+ ]}></u-steps>
48
+ ```
32
49
 
33
50
  ---
34
51
 
@@ -39,8 +56,9 @@ hold = warning tint, upcoming = empty ring. Assistive tech hears the current ste
39
56
  | `items` | `StepItem[]` | `[]` | — | `{ label, description?, status? }` (property only) |
40
57
  | `current` | `number` | — | — | Index of the current step; steps without `status` before it are `complete`, after it `upcoming` |
41
58
  | `label` | `string` | — | — | Track name shown at the start; also the list's accessible name |
59
+ | `appearance` | `'line'\|'bars'` | `'line'` | ✓ | `line` markers and connectors · `bars` a bar per step with the text under it |
42
60
 
43
- `StepStatus` = `'complete' | 'current' | 'hold' | 'upcoming'`. An item's own `status` wins over
61
+ `StepStatus` = `'complete' | 'current' | 'hold' | 'upcoming' | 'skipped'`. An item's own `status` wins over
44
62
  the inference from `current`.
45
63
 
46
64
  ## CSS Parts
@@ -64,3 +82,5 @@ the inference from `current`.
64
82
  | `--steps-connector-color` | Connector not yet travelled |
65
83
  | `--steps-connector-done-color` | Travelled connector and complete marker |
66
84
  | `--steps-label-width` | Width of the track name (default 56px) |
85
+ | `--steps-bar-height` | Bar thickness with `bars` (default 6px) |
86
+ | `--steps-bar-color` | Filled bar colour with `bars` (default the primary colour) |