@14ch/svelte-ui 0.0.55 → 0.0.57

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.
Files changed (49) hide show
  1. package/dist/assets/styles/import.css +4 -4
  2. package/dist/assets/styles/variables.scss +4 -4
  3. package/dist/components/Button.svelte +30 -4
  4. package/dist/components/Button.svelte.d.ts +3 -2
  5. package/dist/components/Checkbox.svelte +32 -4
  6. package/dist/components/Checkbox.svelte.d.ts +2 -2
  7. package/dist/components/ColorPicker.svelte +41 -4
  8. package/dist/components/ColorPicker.svelte.d.ts +2 -2
  9. package/dist/components/Combobox.svelte +31 -4
  10. package/dist/components/Combobox.svelte.d.ts +2 -2
  11. package/dist/components/Datepicker.svelte +31 -4
  12. package/dist/components/Datepicker.svelte.d.ts +2 -2
  13. package/dist/components/Fab.svelte +28 -2
  14. package/dist/components/Fab.svelte.d.ts +1 -2
  15. package/dist/components/Icon.svelte +2 -4
  16. package/dist/components/Icon.svelte.d.ts +2 -2
  17. package/dist/components/IconButton.svelte +28 -4
  18. package/dist/components/IconButton.svelte.d.ts +1 -2
  19. package/dist/components/Input.svelte +43 -4
  20. package/dist/components/Input.svelte.d.ts +3 -2
  21. package/dist/components/Radio.svelte +32 -4
  22. package/dist/components/Radio.svelte.d.ts +2 -2
  23. package/dist/components/SegmentedControl.svelte +29 -4
  24. package/dist/components/SegmentedControl.svelte.d.ts +2 -2
  25. package/dist/components/Select.svelte +34 -4
  26. package/dist/components/Select.svelte.d.ts +2 -2
  27. package/dist/components/Slider.svelte +31 -4
  28. package/dist/components/Slider.svelte.d.ts +2 -2
  29. package/dist/components/SnackbarItem.svelte +1 -1
  30. package/dist/components/StepNav.svelte +29 -19
  31. package/dist/components/StepNav.svelte.d.ts +5 -1
  32. package/dist/components/Switch.svelte +32 -4
  33. package/dist/components/Switch.svelte.d.ts +2 -2
  34. package/dist/components/Textarea.svelte +38 -4
  35. package/dist/components/Textarea.svelte.d.ts +1 -2
  36. package/dist/i18n/index.d.ts +12 -12
  37. package/dist/i18n/locales/de.d.ts +2 -2
  38. package/dist/i18n/locales/de.js +2 -2
  39. package/dist/i18n/locales/en.d.ts +2 -2
  40. package/dist/i18n/locales/en.js +2 -2
  41. package/dist/i18n/locales/es.d.ts +2 -2
  42. package/dist/i18n/locales/es.js +2 -2
  43. package/dist/i18n/locales/fr.d.ts +2 -2
  44. package/dist/i18n/locales/fr.js +2 -2
  45. package/dist/i18n/locales/ja.d.ts +2 -2
  46. package/dist/i18n/locales/ja.js +2 -2
  47. package/dist/i18n/locales/zh-cn.d.ts +2 -2
  48. package/dist/i18n/locales/zh-cn.js +2 -2
  49. package/package.json +1 -1
@@ -2,7 +2,7 @@ import type { HTMLTextareaAttributes } from 'svelte/elements';
2
2
  import type { IconVariant, IconWeight, IconGrade, IconOpticalSize } from '../types/icon';
3
3
  import type { FocusHandler, KeyboardHandler, MouseHandler, TouchHandler, PointerHandler, BivariantValueHandler } from '../types/callbackHandlers';
4
4
  import type { FocusStyle } from '../types/propOptions';
5
- export type TextareaProps = {
5
+ export type TextareaProps = Omit<HTMLTextareaAttributes, 'value' | 'id' | 'tabindex' | 'maxlength' | 'autocomplete' | 'wrap' | 'spellcheck' | 'autocapitalize' | 'onfocus' | 'onblur' | 'onkeydown' | 'onkeyup' | 'onclick' | 'onmousedown' | 'onmouseup' | 'onmouseenter' | 'onmouseleave' | 'onmouseover' | 'onmouseout' | 'oncontextmenu' | 'onauxclick' | 'ontouchstart' | 'ontouchend' | 'ontouchmove' | 'ontouchcancel' | 'onpointerdown' | 'onpointerup' | 'onpointerenter' | 'onpointerleave' | 'onpointermove' | 'onpointercancel' | 'onchange' | 'oninput'> & {
6
6
  name?: string;
7
7
  value: string | null | undefined;
8
8
  placeholder?: string;
@@ -72,7 +72,6 @@ export type TextareaProps = {
72
72
  onpointercancel?: PointerHandler;
73
73
  onchange?: BivariantValueHandler<string>;
74
74
  oninput?: BivariantValueHandler<string>;
75
- [key: string]: any;
76
75
  };
77
76
  declare const Textarea: import("svelte").Component<TextareaProps, {
78
77
  focus: () => void;
@@ -60,8 +60,8 @@ export declare const TRANSLATIONS: {
60
60
  };
61
61
  readonly stepNav: {
62
62
  readonly step: "Step {{number}}";
63
- readonly completed: "Completed";
64
- readonly current: "Current step";
63
+ readonly done: "Completed";
64
+ readonly inProgress: "Current step";
65
65
  readonly upcoming: "Not started";
66
66
  readonly error: "Error";
67
67
  };
@@ -126,8 +126,8 @@ export declare const TRANSLATIONS: {
126
126
  };
127
127
  readonly stepNav: {
128
128
  readonly step: "ステップ{{number}}";
129
- readonly completed: "完了";
130
- readonly current: "現在のステップ";
129
+ readonly done: "完了";
130
+ readonly inProgress: "現在のステップ";
131
131
  readonly upcoming: "未到達";
132
132
  readonly error: "エラー";
133
133
  };
@@ -192,8 +192,8 @@ export declare const TRANSLATIONS: {
192
192
  };
193
193
  readonly stepNav: {
194
194
  readonly step: "Étape {{number}}";
195
- readonly completed: "Terminé";
196
- readonly current: "Étape actuelle";
195
+ readonly done: "Terminé";
196
+ readonly inProgress: "Étape actuelle";
197
197
  readonly upcoming: "Non commencé";
198
198
  readonly error: "Erreur";
199
199
  };
@@ -258,8 +258,8 @@ export declare const TRANSLATIONS: {
258
258
  };
259
259
  readonly stepNav: {
260
260
  readonly step: "Schritt {{number}}";
261
- readonly completed: "Abgeschlossen";
262
- readonly current: "Aktueller Schritt";
261
+ readonly done: "Abgeschlossen";
262
+ readonly inProgress: "Aktueller Schritt";
263
263
  readonly upcoming: "Noch nicht begonnen";
264
264
  readonly error: "Fehler";
265
265
  };
@@ -324,8 +324,8 @@ export declare const TRANSLATIONS: {
324
324
  };
325
325
  readonly stepNav: {
326
326
  readonly step: "Paso {{number}}";
327
- readonly completed: "Completado";
328
- readonly current: "Paso actual";
327
+ readonly done: "Completado";
328
+ readonly inProgress: "Paso actual";
329
329
  readonly upcoming: "No iniciado";
330
330
  readonly error: "Error";
331
331
  };
@@ -390,8 +390,8 @@ export declare const TRANSLATIONS: {
390
390
  };
391
391
  readonly stepNav: {
392
392
  readonly step: "第{{number}}步";
393
- readonly completed: "已完成";
394
- readonly current: "当前步骤";
393
+ readonly done: "已完成";
394
+ readonly inProgress: "当前步骤";
395
395
  readonly upcoming: "未开始";
396
396
  readonly error: "错误";
397
397
  };
@@ -58,8 +58,8 @@ export declare const de: {
58
58
  };
59
59
  readonly stepNav: {
60
60
  readonly step: "Schritt {{number}}";
61
- readonly completed: "Abgeschlossen";
62
- readonly current: "Aktueller Schritt";
61
+ readonly done: "Abgeschlossen";
62
+ readonly inProgress: "Aktueller Schritt";
63
63
  readonly upcoming: "Noch nicht begonnen";
64
64
  readonly error: "Fehler";
65
65
  };
@@ -58,8 +58,8 @@ export const de = {
58
58
  },
59
59
  stepNav: {
60
60
  step: 'Schritt {{number}}',
61
- completed: 'Abgeschlossen',
62
- current: 'Aktueller Schritt',
61
+ done: 'Abgeschlossen',
62
+ inProgress: 'Aktueller Schritt',
63
63
  upcoming: 'Noch nicht begonnen',
64
64
  error: 'Fehler'
65
65
  }
@@ -58,8 +58,8 @@ export declare const en: {
58
58
  };
59
59
  readonly stepNav: {
60
60
  readonly step: "Step {{number}}";
61
- readonly completed: "Completed";
62
- readonly current: "Current step";
61
+ readonly done: "Completed";
62
+ readonly inProgress: "Current step";
63
63
  readonly upcoming: "Not started";
64
64
  readonly error: "Error";
65
65
  };
@@ -58,8 +58,8 @@ export const en = {
58
58
  },
59
59
  stepNav: {
60
60
  step: 'Step {{number}}',
61
- completed: 'Completed',
62
- current: 'Current step',
61
+ done: 'Completed',
62
+ inProgress: 'Current step',
63
63
  upcoming: 'Not started',
64
64
  error: 'Error'
65
65
  }
@@ -58,8 +58,8 @@ export declare const es: {
58
58
  };
59
59
  readonly stepNav: {
60
60
  readonly step: "Paso {{number}}";
61
- readonly completed: "Completado";
62
- readonly current: "Paso actual";
61
+ readonly done: "Completado";
62
+ readonly inProgress: "Paso actual";
63
63
  readonly upcoming: "No iniciado";
64
64
  readonly error: "Error";
65
65
  };
@@ -58,8 +58,8 @@ export const es = {
58
58
  },
59
59
  stepNav: {
60
60
  step: 'Paso {{number}}',
61
- completed: 'Completado',
62
- current: 'Paso actual',
61
+ done: 'Completado',
62
+ inProgress: 'Paso actual',
63
63
  upcoming: 'No iniciado',
64
64
  error: 'Error'
65
65
  }
@@ -58,8 +58,8 @@ export declare const fr: {
58
58
  };
59
59
  readonly stepNav: {
60
60
  readonly step: "Étape {{number}}";
61
- readonly completed: "Terminé";
62
- readonly current: "Étape actuelle";
61
+ readonly done: "Terminé";
62
+ readonly inProgress: "Étape actuelle";
63
63
  readonly upcoming: "Non commencé";
64
64
  readonly error: "Erreur";
65
65
  };
@@ -58,8 +58,8 @@ export const fr = {
58
58
  },
59
59
  stepNav: {
60
60
  step: 'Étape {{number}}',
61
- completed: 'Terminé',
62
- current: 'Étape actuelle',
61
+ done: 'Terminé',
62
+ inProgress: 'Étape actuelle',
63
63
  upcoming: 'Non commencé',
64
64
  error: 'Erreur'
65
65
  }
@@ -58,8 +58,8 @@ export declare const ja: {
58
58
  };
59
59
  readonly stepNav: {
60
60
  readonly step: "ステップ{{number}}";
61
- readonly completed: "完了";
62
- readonly current: "現在のステップ";
61
+ readonly done: "完了";
62
+ readonly inProgress: "現在のステップ";
63
63
  readonly upcoming: "未到達";
64
64
  readonly error: "エラー";
65
65
  };
@@ -58,8 +58,8 @@ export const ja = {
58
58
  },
59
59
  stepNav: {
60
60
  step: 'ステップ{{number}}',
61
- completed: '完了',
62
- current: '現在のステップ',
61
+ done: '完了',
62
+ inProgress: '現在のステップ',
63
63
  upcoming: '未到達',
64
64
  error: 'エラー'
65
65
  }
@@ -58,8 +58,8 @@ export declare const zhCn: {
58
58
  };
59
59
  readonly stepNav: {
60
60
  readonly step: "第{{number}}步";
61
- readonly completed: "已完成";
62
- readonly current: "当前步骤";
61
+ readonly done: "已完成";
62
+ readonly inProgress: "当前步骤";
63
63
  readonly upcoming: "未开始";
64
64
  readonly error: "错误";
65
65
  };
@@ -58,8 +58,8 @@ export const zhCn = {
58
58
  },
59
59
  stepNav: {
60
60
  step: '第{{number}}步',
61
- completed: '已完成',
62
- current: '当前步骤',
61
+ done: '已完成',
62
+ inProgress: '当前步骤',
63
63
  upcoming: '未开始',
64
64
  error: '错误'
65
65
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@14ch/svelte-ui",
3
3
  "description": "Modern Svelte UI components library with TypeScript support",
4
4
  "private": false,
5
- "version": "0.0.55",
5
+ "version": "0.0.57",
6
6
  "type": "module",
7
7
  "keywords": [
8
8
  "svelte",