@bridge-ui/vue 0.13.0 → 0.14.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.
Files changed (113) hide show
  1. package/ai/skills/bridge-ui-forms/SKILL.md +3 -3
  2. package/dist/Adapters/Examples/icon-fontawesome.js +22 -21
  3. package/dist/Adapters/Examples/icon-heroicons.js +13 -12
  4. package/dist/Adapters/Examples/icon-lucide.js +11 -10
  5. package/dist/Adapters/Examples/icon-phosphor.js +19 -18
  6. package/dist/Adapters/Examples/icon-tabler.js +10 -9
  7. package/dist/Adapters/Examples/rich-text-tiptap.js +34 -41
  8. package/dist/Components/BaseField/composables/useBaseField.d.ts +2 -2
  9. package/dist/Components/Calendar/Calendar.vue.d.ts +14 -6
  10. package/dist/Components/Calendar/Calendar.vue_vue_type_script_setup_true_lang.js +78 -74
  11. package/dist/Components/Calendar/calendar.types.d.ts +12 -7
  12. package/dist/Components/Calendar/composables/useCalendar.d.ts +5 -9
  13. package/dist/Components/Calendar/composables/useCalendar.js +144 -143
  14. package/dist/Components/CalendarDate/CalendarDate.vue.d.ts +14 -6
  15. package/dist/Components/CalendarDate/CalendarDate.vue_vue_type_script_setup_true_lang.js +20 -16
  16. package/dist/Components/CalendarDate/calendarDate.types.d.ts +13 -8
  17. package/dist/Components/CalendarDate/composables/useCalendarDate.d.ts +4 -8
  18. package/dist/Components/CalendarDate/composables/useCalendarDate.js +105 -105
  19. package/dist/Components/CalendarMonth/CalendarMonth.vue.d.ts +9 -2
  20. package/dist/Components/CalendarMonth/CalendarMonth.vue_vue_type_script_setup_true_lang.js +19 -12
  21. package/dist/Components/CalendarMonth/calendarMonth.types.d.ts +14 -8
  22. package/dist/Components/CalendarMonth/composables/useCalendarMonth.d.ts +4 -7
  23. package/dist/Components/CalendarMonth/composables/useCalendarMonth.js +92 -89
  24. package/dist/Components/CalendarRange/CalendarRange.vue.d.ts +14 -6
  25. package/dist/Components/CalendarRange/CalendarRange.vue_vue_type_script_setup_true_lang.js +109 -105
  26. package/dist/Components/CalendarRange/calendarRange.types.d.ts +12 -7
  27. package/dist/Components/CalendarRange/composables/useCalendarRange.d.ts +5 -9
  28. package/dist/Components/CalendarRange/composables/useCalendarRange.js +181 -154
  29. package/dist/Components/CalendarYear/CalendarYear.vue.d.ts +9 -2
  30. package/dist/Components/CalendarYear/CalendarYear.vue_vue_type_script_setup_true_lang.js +20 -13
  31. package/dist/Components/CalendarYear/calendarYear.types.d.ts +12 -6
  32. package/dist/Components/CalendarYear/composables/useCalendarYear.d.ts +4 -7
  33. package/dist/Components/CalendarYear/composables/useCalendarYear.js +91 -88
  34. package/dist/Components/Carousel/composables/useCarousel.js +117 -117
  35. package/dist/Components/ColorField/ColorField.vue_vue_type_script_setup_true_lang.js +2 -2
  36. package/dist/Components/ColorPicker/ColorPicker.vue.d.ts +9 -2
  37. package/dist/Components/ColorPicker/ColorPicker.vue_vue_type_script_setup_true_lang.js +48 -44
  38. package/dist/Components/ColorPicker/colorPicker.types.d.ts +12 -7
  39. package/dist/Components/ColorPicker/composables/useColorPicker.d.ts +3 -3
  40. package/dist/Components/ColorPicker/composables/useColorPicker.js +150 -150
  41. package/dist/Components/DateField/DateField.vue_vue_type_script_setup_true_lang.js +2 -2
  42. package/dist/Components/DatePicker/DatePicker.vue.d.ts +12 -4
  43. package/dist/Components/DatePicker/DatePicker.vue_vue_type_script_setup_true_lang.js +55 -51
  44. package/dist/Components/DatePicker/composables/useDatePicker.d.ts +3 -3
  45. package/dist/Components/DatePicker/composables/useDatePicker.js +52 -25
  46. package/dist/Components/DatePicker/datePicker.types.d.ts +12 -7
  47. package/dist/Components/DateRangeField/DateRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
  48. package/dist/Components/DateRangePicker/DateRangePicker.vue.d.ts +12 -4
  49. package/dist/Components/DateRangePicker/DateRangePicker.vue_vue_type_script_setup_true_lang.js +54 -50
  50. package/dist/Components/DateRangePicker/composables/useDateRangePicker.d.ts +3 -3
  51. package/dist/Components/DateRangePicker/composables/useDateRangePicker.js +26 -26
  52. package/dist/Components/DateRangePicker/dateRangePicker.types.d.ts +12 -7
  53. package/dist/Components/DateTimeField/DateTimeField.vue_vue_type_script_setup_true_lang.js +2 -2
  54. package/dist/Components/DateTimePicker/DateTimePicker.vue.d.ts +9 -2
  55. package/dist/Components/DateTimePicker/DateTimePicker.vue_vue_type_script_setup_true_lang.js +82 -78
  56. package/dist/Components/DateTimePicker/composables/useDateTimePicker.d.ts +3 -3
  57. package/dist/Components/DateTimePicker/composables/useDateTimePicker.js +64 -63
  58. package/dist/Components/DateTimePicker/dateTimePicker.types.d.ts +12 -7
  59. package/dist/Components/DateTimeRangeField/DateTimeRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
  60. package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue.d.ts +12 -4
  61. package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue_vue_type_script_setup_true_lang.js +110 -106
  62. package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.d.ts +3 -3
  63. package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.js +71 -70
  64. package/dist/Components/DateTimeRangePicker/dateTimeRangePicker.types.d.ts +12 -7
  65. package/dist/Components/FileUpload/FileUpload.vue_vue_type_script_setup_true_lang.js +1 -1
  66. package/dist/Components/FileUpload/fileUpload.types.d.ts +1 -1
  67. package/dist/Components/Rating/Rating.js +5 -0
  68. package/dist/Components/Rating/Rating.vue.d.ts +20 -0
  69. package/dist/Components/Rating/Rating.vue_vue_type_script_setup_true_lang.js +62 -0
  70. package/dist/Components/Rating/composables/useRating.d.ts +112 -0
  71. package/dist/Components/Rating/composables/useRating.js +190 -0
  72. package/dist/Components/Rating/index.d.ts +4 -0
  73. package/dist/Components/Rating/index.js +3 -0
  74. package/dist/Components/Rating/rating.types.d.ts +107 -0
  75. package/dist/Components/Sidebar/composables/useSidebar.js +1 -1
  76. package/dist/Components/Slider/composables/useSlider.d.ts +1 -1
  77. package/dist/Components/TimeField/TimeField.vue_vue_type_script_setup_true_lang.js +2 -2
  78. package/dist/Components/TimePanel/TimePanel.vue.d.ts +10 -2
  79. package/dist/Components/TimePanel/TimePanel.vue_vue_type_script_setup_true_lang.js +37 -34
  80. package/dist/Components/TimePanel/composables/useTimePanel.d.ts +5 -5
  81. package/dist/Components/TimePanel/composables/useTimePanel.js +108 -109
  82. package/dist/Components/TimePanel/timePanel.types.d.ts +10 -4
  83. package/dist/Components/TimePicker/TimePicker.vue.d.ts +10 -2
  84. package/dist/Components/TimePicker/TimePicker.vue_vue_type_script_setup_true_lang.js +46 -42
  85. package/dist/Components/TimePicker/composables/useTimePicker.d.ts +3 -3
  86. package/dist/Components/TimePicker/composables/useTimePicker.js +36 -36
  87. package/dist/Components/TimePicker/timePicker.types.d.ts +12 -7
  88. package/dist/Components/TimeRangeField/TimeRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
  89. package/dist/Components/TimeRangePicker/TimeRangePicker.vue.d.ts +12 -4
  90. package/dist/Components/TimeRangePicker/TimeRangePicker.vue_vue_type_script_setup_true_lang.js +72 -68
  91. package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.d.ts +4 -4
  92. package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.js +87 -87
  93. package/dist/Components/TimeRangePicker/timeRangePicker.types.d.ts +12 -7
  94. package/dist/index.d.ts +2 -0
  95. package/dist/index.js +69 -67
  96. package/docs/README.md +1 -0
  97. package/docs/components/BaseField.md +3 -3
  98. package/docs/components/Calendar.md +0 -1
  99. package/docs/components/CalendarDate.md +0 -1
  100. package/docs/components/CalendarMonth.md +0 -1
  101. package/docs/components/CalendarRange.md +0 -1
  102. package/docs/components/CalendarYear.md +0 -1
  103. package/docs/components/ColorPicker.md +13 -14
  104. package/docs/components/DatePicker.md +0 -1
  105. package/docs/components/DateRangePicker.md +0 -1
  106. package/docs/components/DateTimePicker.md +0 -1
  107. package/docs/components/DateTimeRangePicker.md +0 -1
  108. package/docs/components/Rating.md +86 -0
  109. package/docs/components/RichTextEditor.md +3 -3
  110. package/docs/components/TimePanel.md +0 -1
  111. package/docs/components/TimePicker.md +0 -1
  112. package/docs/components/TimeRangePicker.md +0 -1
  113. package/package.json +2 -12
@@ -3,7 +3,7 @@ name: bridge-ui-forms
3
3
  description: >-
4
4
  Build forms with Bridge UI Vue — TextField, Textarea, PasswordField,
5
5
  NumberField, OtpField, Select, Autocomplete, Slider, Checkbox, Radio,
6
- Switch, DateField, DatePicker, DateRangeField, DateRangePicker, TimeField,
6
+ Rating, Switch, DateField, DatePicker, DateRangeField, DateRangePicker, TimeField,
7
7
  TimePicker, TimeRangeField, TimeRangePicker, DateTimeField, DateTimePicker,
8
8
  DateTimeRangeField, DateTimeRangePicker, ColorField, ColorPicker, FormField,
9
9
  FormControl, BaseField.
@@ -25,7 +25,7 @@ Controlled fields: **`v-model` / `modelValue`**. Never React `value`/`onChange`.
25
25
  | Text input | `.ai/docs/components/TextField.md` |
26
26
  | Password | `.ai/docs/components/PasswordField.md` |
27
27
  | Number / OTP / textarea | `.ai/docs/components/NumberField.md`, `OtpField.md`, `Textarea.md` |
28
- | Slider | `.ai/docs/components/Slider.md` |
28
+ | Slider / rating | `.ai/docs/components/Slider.md`, `Rating.md` |
29
29
  | Select | `.ai/docs/components/Select.md` |
30
30
  | Autocomplete | `.ai/docs/components/Autocomplete.md` |
31
31
  | Checkbox / radio / switch | `.ai/docs/components/Checkbox.md`, `Radio.md`, `Switch.md` |
@@ -45,4 +45,4 @@ Controlled fields: **`v-model` / `modelValue`**. Never React `value`/`onChange`.
45
45
  1. Map validation to `error`, `error-message`, `description`, `disabled`, `readOnly`.
46
46
  2. Native input attrs often go through `:custom-props` → `input` — see TextField docs.
47
47
  3. Use only documented option shapes for Select/Autocomplete.
48
- 4. Prefer public fields/controls in apps. `FormField`, `FormControl`, and `BaseField` are exported building blocks for advanced composition. Theme shared chrome via `components.FormField` / `FormControl` / `BaseField` (a public entry such as `components.TextField` still overrides `defaultProps`). Chrome tokens live on those shared keys. Dropdown tokens live on `components.Listbox` (`defaultProps.matchWidth` matches the field). Time overlay chrome: `components.TimePanel` (`TimePicker` / `TimeRangePicker` override). Shared form density: `global.formDefaults: { size, rounded }` (Radio/Switch/BaseField/FormControl ignore `rounded`).
48
+ 4. Prefer public fields/controls in apps. `FormField`, `FormControl`, and `BaseField` are exported building blocks for advanced composition. Theme shared chrome via `components.FormField` / `FormControl` / `BaseField` (a public entry such as `components.TextField` still overrides `defaultProps`). Chrome tokens live on those shared keys. Dropdown tokens live on `components.Listbox` (`defaultProps.matchWidth` matches the field). Time overlay chrome: `components.TimePanel` (`TimePicker` / `TimeRangePicker` override). Shared form density: `global.formDefaults: { size, rounded }` (Radio/Switch/BaseField/FormControl/Rating ignore `rounded`).
@@ -1,38 +1,39 @@
1
1
  import { defineComponent as e, h as t } from "vue";
2
2
  import { get as n, isArray as r, isObject as i, isString as a } from "es-toolkit/compat";
3
- import { faAnglesLeft as o, faAnglesRight as s, faBell as c, faBold as l, faCalendarDays as u, faCheck as d, faChevronDown as f, faChevronLeft as p, faChevronRight as m, faChevronUp as h, faCircleCheck as g, faCircleExclamation as _, faCircleInfo as v, faCircleXmark as y, faClock as b, faCode as x, faDownload as S, faEye as C, faEyeSlash as w, faFilter as T, faHeading as E, faInbox as D, faItalic as O, faLink as k, faListOl as A, faListUl as j, faMagnifyingGlass as M, faMinus as N, faPalette as P, faPlus as F, faQuoteLeft as I, faRotateRight as L, faSpinner as R, faStrikethrough as z, faTableColumns as B, faTriangleExclamation as V, faUnderline as H, faUpDown as U, faUser as W, faXmark as G } from "@fortawesome/free-solid-svg-icons";
4
- import { FontAwesomeIcon as K } from "@fortawesome/vue-fontawesome";
3
+ import { faAnglesLeft as o, faAnglesRight as s, faBell as c, faBold as l, faCalendarDays as u, faCheck as d, faChevronDown as f, faChevronLeft as p, faChevronRight as m, faChevronUp as h, faCircleCheck as g, faCircleExclamation as _, faCircleInfo as v, faCircleXmark as y, faClock as b, faCode as x, faDownload as S, faEye as C, faEyeSlash as w, faFilter as T, faHeading as E, faInbox as D, faItalic as O, faLink as k, faListOl as A, faListUl as j, faMagnifyingGlass as M, faMinus as N, faPalette as P, faPlus as F, faQuoteLeft as I, faRotateRight as L, faSpinner as R, faStar as z, faStrikethrough as B, faTableColumns as V, faTriangleExclamation as H, faUnderline as U, faUpDown as W, faUser as G, faXmark as K } from "@fortawesome/free-solid-svg-icons";
4
+ import { FontAwesomeIcon as q } from "@fortawesome/vue-fontawesome";
5
5
  //#region src/Adapters/Examples/icon-fontawesome.ts
6
- var q = /* @__PURE__ */ new WeakMap();
7
- function J(e) {
6
+ var J = /* @__PURE__ */ new WeakMap();
7
+ function Y(e) {
8
8
  return i(e) && r(e.icon) && a(e.prefix) && a(e.iconName);
9
9
  }
10
- function Y(n) {
11
- let r = q.get(n);
10
+ function X(n) {
11
+ let r = J.get(n);
12
12
  if (r) return r;
13
13
  let i = e({
14
14
  inheritAttrs: !1,
15
15
  name: `FaIcon(${n.iconName})`,
16
16
  setup(e, { attrs: r }) {
17
- return () => t(K, {
17
+ return () => t(q, {
18
18
  ...r,
19
19
  icon: n
20
20
  });
21
21
  }
22
22
  });
23
- return q.set(n, i), i;
23
+ return J.set(n, i), i;
24
24
  }
25
- var X = {
25
+ var Z = {
26
26
  eye: C,
27
27
  bell: c,
28
28
  bold: l,
29
29
  code: x,
30
30
  link: k,
31
- user: W,
31
+ user: G,
32
32
  plus: F,
33
+ star: z,
33
34
  list: j,
34
35
  inbox: D,
35
- clear: G,
36
+ clear: K,
36
37
  check: d,
37
38
  clock: b,
38
39
  minus: N,
@@ -52,11 +53,11 @@ var X = {
52
53
  refresh: L,
53
54
  success: g,
54
55
  chevronUp: h,
55
- underline: H,
56
- columns: B,
57
- chevronUpDown: U,
56
+ underline: U,
57
+ columns: V,
58
+ chevronUpDown: W,
58
59
  calendar: u,
59
- panelLeft: B,
60
+ panelLeft: V,
60
61
  search: M,
61
62
  alert: _,
62
63
  chevronDown: f,
@@ -64,18 +65,18 @@ var X = {
64
65
  chevronsLeft: o,
65
66
  chevronRight: m,
66
67
  chevronsRight: s,
67
- strikethrough: z,
68
- warning: V
68
+ strikethrough: B,
69
+ warning: H
69
70
  };
70
- function Z() {
71
+ function Q() {
71
72
  return {
72
73
  resolve(e) {
73
- return n(X, e);
74
+ return n(Z, e);
74
75
  },
75
76
  normalize(e) {
76
- return J(e) ? Y(e) : e;
77
+ return Y(e) ? X(e) : e;
77
78
  }
78
79
  };
79
80
  }
80
81
  //#endregion
81
- export { Z as createFontAwesomeIconAdapter, Y as wrapFaIcon };
82
+ export { Q as createFontAwesomeIconAdapter, X as wrapFaIcon };
@@ -1,34 +1,35 @@
1
1
  import { get as e } from "es-toolkit/compat";
2
- import { ArrowDownTrayIcon as t, ArrowPathIcon as n, ArrowUturnLeftIcon as r, Bars3Icon as i, BellIcon as a, BoldIcon as o, CalendarDaysIcon as s, ChatBubbleBottomCenterTextIcon as c, CheckCircleIcon as l, CheckIcon as u, ChevronDoubleLeftIcon as d, ChevronDoubleRightIcon as f, ChevronDownIcon as p, ChevronLeftIcon as m, ChevronRightIcon as h, ChevronUpDownIcon as g, ChevronUpIcon as _, ClockIcon as v, CodeBracketIcon as y, ExclamationCircleIcon as b, ExclamationTriangleIcon as x, EyeIcon as S, EyeSlashIcon as C, FunnelIcon as w, H1Icon as T, H2Icon as E, H3Icon as D, InboxIcon as O, InformationCircleIcon as k, ItalicIcon as A, LinkIcon as j, ListBulletIcon as M, MagnifyingGlassIcon as N, MinusIcon as P, NumberedListIcon as F, PlusIcon as I, StrikethroughIcon as L, SwatchIcon as R, UnderlineIcon as z, UserIcon as B, ViewColumnsIcon as V, XCircleIcon as H, XMarkIcon as U } from "@heroicons/vue/24/outline";
2
+ import { ArrowDownTrayIcon as t, ArrowPathIcon as n, ArrowUturnLeftIcon as r, Bars3Icon as i, BellIcon as a, BoldIcon as o, CalendarDaysIcon as s, ChatBubbleBottomCenterTextIcon as c, CheckCircleIcon as l, CheckIcon as u, ChevronDoubleLeftIcon as d, ChevronDoubleRightIcon as f, ChevronDownIcon as p, ChevronLeftIcon as m, ChevronRightIcon as h, ChevronUpDownIcon as g, ChevronUpIcon as _, ClockIcon as v, CodeBracketIcon as y, ExclamationCircleIcon as b, ExclamationTriangleIcon as x, EyeIcon as S, EyeSlashIcon as C, FunnelIcon as w, H1Icon as T, H2Icon as E, H3Icon as D, InboxIcon as O, InformationCircleIcon as k, ItalicIcon as A, LinkIcon as j, ListBulletIcon as M, MagnifyingGlassIcon as N, MinusIcon as P, NumberedListIcon as F, PlusIcon as I, StarIcon as L, StrikethroughIcon as R, SwatchIcon as z, UnderlineIcon as B, UserIcon as V, ViewColumnsIcon as H, XCircleIcon as U, XMarkIcon as W } from "@heroicons/vue/24/outline";
3
3
  //#region src/Adapters/Examples/icon-heroicons.ts
4
- var W = {
4
+ var G = {
5
5
  eye: S,
6
6
  bell: a,
7
7
  bold: o,
8
8
  link: j,
9
- user: B,
9
+ user: V,
10
10
  plus: I,
11
+ star: L,
11
12
  inbox: O,
12
- clear: U,
13
+ clear: W,
13
14
  check: u,
14
15
  clock: v,
15
16
  minus: P,
16
17
  heading1: T,
17
18
  heading2: E,
18
19
  heading3: D,
19
- error: H,
20
+ error: U,
20
21
  filter: w,
21
22
  italic: A,
22
- palette: R,
23
+ palette: z,
23
24
  list: M,
24
25
  eyeOff: C,
25
26
  panelLeft: i,
26
27
  code: y,
27
28
  loader: n,
28
- underline: z,
29
+ underline: B,
29
30
  success: l,
30
31
  chevronUp: _,
31
- columns: V,
32
+ columns: H,
32
33
  calendar: s,
33
34
  refresh: r,
34
35
  download: t,
@@ -39,17 +40,17 @@ var W = {
39
40
  chevronLeft: m,
40
41
  listOrdered: F,
41
42
  chevronRight: h,
42
- strikethrough: L,
43
+ strikethrough: R,
43
44
  chevronUpDown: g,
44
45
  warning: x,
45
46
  chevronsLeft: d,
46
47
  chevronsRight: f,
47
48
  quote: c
48
49
  };
49
- function G() {
50
+ function K() {
50
51
  return { resolve(t) {
51
- return e(W, t);
52
+ return e(G, t);
52
53
  } };
53
54
  }
54
55
  //#endregion
55
- export { G as createHeroiconsIconAdapter };
56
+ export { K as createHeroiconsIconAdapter };
@@ -1,17 +1,18 @@
1
1
  import { get as e } from "es-toolkit/compat";
2
- import { Bell as t, Bold as n, Calendar as r, Check as i, ChevronDown as a, ChevronLeft as o, ChevronRight as s, ChevronUp as c, ChevronsLeft as l, ChevronsRight as u, ChevronsUpDown as d, CircleAlert as f, CircleCheck as p, CircleX as m, Clock as h, Code as g, Columns3 as _, Download as v, Eye as y, EyeOff as b, Filter as x, Heading1 as S, Heading2 as C, Heading3 as w, Inbox as T, Info as E, Italic as D, Link as O, List as k, ListOrdered as A, Loader2 as j, Minus as M, Palette as N, PanelLeft as P, Plus as F, Quote as I, RotateCcw as L, Search as R, Strikethrough as z, TriangleAlert as B, Underline as V, User as H, X as U } from "@lucide/vue";
2
+ import { Bell as t, Bold as n, Calendar as r, Check as i, ChevronDown as a, ChevronLeft as o, ChevronRight as s, ChevronUp as c, ChevronsLeft as l, ChevronsRight as u, ChevronsUpDown as d, CircleAlert as f, CircleCheck as p, CircleX as m, Clock as h, Code as g, Columns3 as _, Download as v, Eye as y, EyeOff as b, Filter as x, Heading1 as S, Heading2 as C, Heading3 as w, Inbox as T, Info as E, Italic as D, Link as O, List as k, ListOrdered as A, Loader2 as j, Minus as M, Palette as N, PanelLeft as P, Plus as F, Quote as I, RotateCcw as L, Search as R, Star as z, Strikethrough as B, TriangleAlert as V, Underline as H, User as U, X as W } from "@lucide/vue";
3
3
  //#region src/Adapters/Examples/icon-lucide.ts
4
- var W = {
4
+ var G = {
5
5
  eye: y,
6
- clear: U,
6
+ clear: W,
7
7
  bell: t,
8
8
  bold: n,
9
9
  code: g,
10
10
  info: E,
11
11
  link: O,
12
12
  list: k,
13
- user: H,
13
+ user: U,
14
14
  plus: F,
15
+ star: z,
15
16
  check: i,
16
17
  clock: h,
17
18
  inbox: T,
@@ -35,21 +36,21 @@ var W = {
35
36
  success: p,
36
37
  chevronUp: c,
37
38
  panelLeft: P,
38
- underline: V,
39
- warning: B,
39
+ underline: H,
40
+ warning: V,
40
41
  chevronDown: a,
41
42
  chevronLeft: o,
42
43
  listOrdered: A,
43
44
  chevronRight: s,
44
45
  chevronsLeft: l,
45
- strikethrough: z,
46
+ strikethrough: B,
46
47
  chevronsRight: u,
47
48
  chevronUpDown: d
48
49
  };
49
- function G() {
50
+ function K() {
50
51
  return { resolve(t) {
51
- return e(W, t);
52
+ return e(G, t);
52
53
  } };
53
54
  }
54
55
  //#endregion
55
- export { G as createLucideIconAdapter };
56
+ export { K as createLucideIconAdapter };
@@ -1,37 +1,38 @@
1
1
  import { get as e } from "es-toolkit/compat";
2
- import { PhArrowClockwise as t, PhBell as n, PhCalendarDots as r, PhCaretDoubleLeft as i, PhCaretDoubleRight as a, PhCaretDown as o, PhCaretLeft as s, PhCaretRight as c, PhCaretUp as l, PhCaretUpDown as u, PhCheck as d, PhCheckCircle as f, PhClock as p, PhCode as m, PhColumns as h, PhDownloadSimple as g, PhEye as _, PhEyeSlash as v, PhFunnel as y, PhInfo as b, PhLink as x, PhListBullets as S, PhListNumbers as C, PhMagnifyingGlass as w, PhMinus as T, PhPalette as E, PhPlus as D, PhQuotes as O, PhSidebar as k, PhSpinnerGap as A, PhTextB as j, PhTextHOne as M, PhTextHThree as N, PhTextHTwo as P, PhTextItalic as F, PhTextStrikethrough as I, PhTextUnderline as L, PhTray as R, PhUser as z, PhWarning as B, PhWarningCircle as V, PhX as H, PhXCircle as U } from "@phosphor-icons/vue";
2
+ import { PhArrowClockwise as t, PhBell as n, PhCalendarDots as r, PhCaretDoubleLeft as i, PhCaretDoubleRight as a, PhCaretDown as o, PhCaretLeft as s, PhCaretRight as c, PhCaretUp as l, PhCaretUpDown as u, PhCheck as d, PhCheckCircle as f, PhClock as p, PhCode as m, PhColumns as h, PhDownloadSimple as g, PhEye as _, PhEyeSlash as v, PhFunnel as y, PhInfo as b, PhLink as x, PhListBullets as S, PhListNumbers as C, PhMagnifyingGlass as w, PhMinus as T, PhPalette as E, PhPlus as D, PhQuotes as O, PhSidebar as k, PhSpinnerGap as A, PhStar as j, PhTextB as M, PhTextHOne as N, PhTextHThree as P, PhTextHTwo as F, PhTextItalic as I, PhTextStrikethrough as L, PhTextUnderline as R, PhTray as z, PhUser as B, PhWarning as V, PhWarningCircle as H, PhX as U, PhXCircle as W } from "@phosphor-icons/vue";
3
3
  //#region src/Adapters/Examples/icon-phosphor.ts
4
- var W = {
4
+ var G = {
5
5
  eye: _,
6
- clear: H,
6
+ clear: U,
7
7
  bell: n,
8
8
  code: m,
9
9
  info: b,
10
10
  link: x,
11
- user: z,
11
+ user: B,
12
12
  plus: D,
13
- bold: j,
14
- inbox: R,
13
+ star: j,
14
+ bold: M,
15
+ inbox: z,
15
16
  check: d,
16
17
  clock: p,
17
18
  minus: T,
18
19
  quote: O,
19
- error: U,
20
+ error: W,
20
21
  filter: y,
21
22
  columns: h,
22
23
  eyeOff: v,
23
24
  palette: E,
24
- warning: B,
25
+ warning: V,
25
26
  list: S,
26
27
  loader: A,
27
- italic: F,
28
+ italic: I,
28
29
  chevronUp: l,
29
30
  panelLeft: k,
30
- heading1: M,
31
- heading2: P,
32
- alert: V,
31
+ heading1: N,
32
+ heading2: F,
33
+ alert: H,
33
34
  success: f,
34
- heading3: N,
35
+ heading3: P,
35
36
  chevronDown: o,
36
37
  chevronLeft: s,
37
38
  calendar: r,
@@ -40,16 +41,16 @@ var W = {
40
41
  download: g,
41
42
  chevronRight: c,
42
43
  listOrdered: C,
43
- underline: L,
44
+ underline: R,
44
45
  chevronUpDown: u,
45
46
  chevronsLeft: i,
46
47
  chevronsRight: a,
47
- strikethrough: I
48
+ strikethrough: L
48
49
  };
49
- function G() {
50
+ function K() {
50
51
  return { resolve(t) {
51
- return e(W, t);
52
+ return e(G, t);
52
53
  } };
53
54
  }
54
55
  //#endregion
55
- export { G as createPhosphorIconAdapter };
56
+ export { K as createPhosphorIconAdapter };
@@ -1,16 +1,17 @@
1
1
  import { get as e } from "es-toolkit/compat";
2
- import { IconAlertCircle as t, IconAlertTriangle as n, IconBell as r, IconBold as i, IconCalendarMonth as a, IconCheck as o, IconChevronDown as s, IconChevronLeft as c, IconChevronRight as l, IconChevronUp as u, IconChevronsLeft as d, IconChevronsRight as f, IconCircleCheck as p, IconCircleX as m, IconClock as h, IconCode as g, IconColumns3 as _, IconDownload as v, IconEye as y, IconEyeOff as b, IconFilter as x, IconH1 as S, IconH2 as C, IconH3 as w, IconInbox as T, IconInfoCircle as E, IconItalic as D, IconLayoutSidebar as O, IconLink as k, IconList as A, IconListNumbers as j, IconLoader2 as M, IconMinus as N, IconPalette as P, IconPlus as F, IconQuote as I, IconReload as L, IconSearch as R, IconSelector as z, IconStrikethrough as B, IconUnderline as V, IconUser as H, IconX as U } from "@tabler/icons-vue";
2
+ import { IconAlertCircle as t, IconAlertTriangle as n, IconBell as r, IconBold as i, IconCalendarMonth as a, IconCheck as o, IconChevronDown as s, IconChevronLeft as c, IconChevronRight as l, IconChevronUp as u, IconChevronsLeft as d, IconChevronsRight as f, IconCircleCheck as p, IconCircleX as m, IconClock as h, IconCode as g, IconColumns3 as _, IconDownload as v, IconEye as y, IconEyeOff as b, IconFilter as x, IconH1 as S, IconH2 as C, IconH3 as w, IconInbox as T, IconInfoCircle as E, IconItalic as D, IconLayoutSidebar as O, IconLink as k, IconList as A, IconListNumbers as j, IconLoader2 as M, IconMinus as N, IconPalette as P, IconPlus as F, IconQuote as I, IconReload as L, IconSearch as R, IconSelector as z, IconStar as B, IconStrikethrough as V, IconUnderline as H, IconUser as U, IconX as W } from "@tabler/icons-vue";
3
3
  //#region src/Adapters/Examples/icon-tabler.ts
4
- var W = {
4
+ var G = {
5
5
  eye: y,
6
- clear: U,
6
+ clear: W,
7
7
  bell: r,
8
8
  bold: i,
9
9
  code: g,
10
10
  link: k,
11
11
  list: A,
12
- user: H,
12
+ user: U,
13
13
  plus: F,
14
+ star: B,
14
15
  inbox: T,
15
16
  check: o,
16
17
  clock: h,
@@ -33,7 +34,7 @@ var W = {
33
34
  download: v,
34
35
  success: p,
35
36
  chevronUp: u,
36
- underline: V,
37
+ underline: H,
37
38
  warning: n,
38
39
  chevronUpDown: z,
39
40
  calendar: a,
@@ -43,13 +44,13 @@ var W = {
43
44
  listOrdered: j,
44
45
  chevronRight: l,
45
46
  chevronsLeft: d,
46
- strikethrough: B,
47
+ strikethrough: V,
47
48
  chevronsRight: f
48
49
  };
49
- function G() {
50
+ function K() {
50
51
  return { resolve(t) {
51
- return e(W, t);
52
+ return e(G, t);
52
53
  } };
53
54
  }
54
55
  //#endregion
55
- export { G as createTablerIconAdapter };
56
+ export { K as createTablerIconAdapter };
@@ -1,12 +1,10 @@
1
1
  import { applyRichTextEditableA11y as e } from "@bridge-ui/core/Adapters";
2
2
  import { get as t, isNil as n, isString as r } from "es-toolkit/compat";
3
3
  import { Editor as i } from "@tiptap/core";
4
- import a from "@tiptap/extension-link";
5
- import o from "@tiptap/extension-placeholder";
6
- import s from "@tiptap/extension-underline";
7
- import c from "@tiptap/starter-kit";
4
+ import a from "@tiptap/extension-placeholder";
5
+ import o from "@tiptap/starter-kit";
8
6
  //#region src/Adapters/Examples/rich-text-tiptap.ts
9
- var l = [
7
+ var s = [
10
8
  "flex-1",
11
9
  "outline-none",
12
10
  "[&_p.is-editor-empty:first-child::before]:h-0",
@@ -15,14 +13,14 @@ var l = [
15
13
  "[&_p.is-editor-empty:first-child::before]:pointer-events-none",
16
14
  "[&_p.is-editor-empty:first-child::before]:content-[attr(data-placeholder)]"
17
15
  ].join(" ");
18
- function u(e, t) {
16
+ function c(e, t) {
19
17
  return t === "json" ? e.getJSON() : e.getHTML();
20
18
  }
21
- function d(e, t) {
19
+ function l(e, t) {
22
20
  let r = e.extensionManager.extensions.find((e) => e.name === "placeholder");
23
21
  n(r) || r.options.placeholder === t || (r.options.placeholder = t, e.view.dispatch(e.state.tr));
24
22
  }
25
- var f = {
23
+ var u = {
26
24
  bold: (e) => e.isActive("bold"),
27
25
  link: (e) => e.isActive("link"),
28
26
  italic: (e) => e.isActive("italic"),
@@ -35,7 +33,7 @@ var f = {
35
33
  heading1: (e) => e.isActive("heading", { level: 1 }),
36
34
  heading2: (e) => e.isActive("heading", { level: 2 }),
37
35
  heading3: (e) => e.isActive("heading", { level: 3 })
38
- }, p = {
36
+ }, d = {
39
37
  link: () => !0,
40
38
  bold: (e) => e.can().toggleBold(),
41
39
  italic: (e) => e.can().toggleItalic(),
@@ -48,7 +46,7 @@ var f = {
48
46
  heading1: (e) => e.can().toggleHeading({ level: 1 }),
49
47
  heading2: (e) => e.can().toggleHeading({ level: 2 }),
50
48
  heading3: (e) => e.can().toggleHeading({ level: 3 })
51
- }, m = {
49
+ }, f = {
52
50
  bold: (e) => e.chain().focus().toggleBold().run(),
53
51
  italic: (e) => e.chain().focus().toggleItalic().run(),
54
52
  strike: (e) => e.chain().focus().toggleStrike().run(),
@@ -68,71 +66,66 @@ var f = {
68
66
  e.isActive("link") && e.chain().focus().unsetLink().run();
69
67
  }
70
68
  };
71
- function h(e, n) {
72
- return t(f, n, () => !1)(e);
69
+ function p(e, n) {
70
+ return t(u, n, () => !1)(e);
73
71
  }
74
- function g(e, n) {
75
- return t(p, n, () => !1)(e);
72
+ function m(e, n) {
73
+ return t(d, n, () => !1)(e);
76
74
  }
77
- function _(e, n, r) {
78
- t(m, n, () => void 0)(e, r);
75
+ function h(e, n, r) {
76
+ t(f, n, () => void 0)(e, r);
79
77
  }
80
- function v() {
78
+ function g() {
81
79
  return { mount(t) {
82
- let n = t.disabled === !0, f = t.readOnly === !0, p = !1, m = new i({
80
+ let n = t.disabled === !0, u = t.readOnly === !0, d = !1, f = new i({
83
81
  autofocus: !1,
84
82
  element: t.element,
85
- editable: !n && !f,
83
+ editable: !n && !u,
86
84
  onSelectionUpdate: () => {
87
85
  t.onSelectionChange?.();
88
86
  },
89
- editorProps: { attributes: { class: l } },
87
+ editorProps: { attributes: { class: s } },
90
88
  onUpdate: ({ editor: e }) => {
91
- t.onChange(u(e, t.format));
89
+ t.onChange(c(e, t.format));
92
90
  },
93
91
  content: t.value ?? (t.format === "json" ? {
94
92
  type: "doc",
95
93
  content: []
96
94
  } : ""),
97
- extensions: [
98
- c,
99
- s,
100
- a.configure({ openOnClick: !1 }),
101
- o.configure({ placeholder: t.placeholder ?? "" })
102
- ]
95
+ extensions: [o.configure({ link: { openOnClick: !1 } }), a.configure({ placeholder: t.placeholder ?? "" })]
103
96
  });
104
- return e(m.view.dom, t), {
105
- getValue: () => u(m, t.format),
97
+ return e(f.view.dom, t), {
98
+ getValue: () => c(f, t.format),
106
99
  blur: () => {
107
- p || m.commands.blur();
100
+ d || f.commands.blur();
108
101
  },
109
102
  focus: () => {
110
- p || m.commands.focus();
103
+ d || f.commands.focus();
111
104
  },
112
- isActive: (e) => !p && h(m, e),
105
+ isActive: (e) => !d && p(f, e),
113
106
  destroy: () => {
114
- p || (p = !0, m.destroy());
107
+ d || (d = !0, f.destroy());
115
108
  },
116
- can: (e) => p || n || f ? !1 : g(m, e),
109
+ can: (e) => d || n || u ? !1 : m(f, e),
117
110
  setDisabled: (e) => {
118
- p || (n = e, m.setEditable(!n && !f, !1));
111
+ d || (n = e, f.setEditable(!n && !u, !1));
119
112
  },
120
113
  setReadOnly: (e) => {
121
- p || (f = e, m.setEditable(!n && !f, !1));
114
+ d || (u = e, f.setEditable(!n && !u, !1));
122
115
  },
123
116
  run: (e, t) => {
124
- p || n || f || _(m, e, t);
117
+ d || n || u || h(f, e, t);
125
118
  },
126
119
  setA11y: (t) => {
127
- p || (e(m.view.dom, t), d(m, t.placeholder ?? ""));
120
+ d || (e(f.view.dom, t), l(f, t.placeholder ?? ""));
128
121
  },
129
122
  setValue: (e) => {
130
- if (p) return;
123
+ if (d) return;
131
124
  let n = t.format === "html" ? r(e) ? e : "" : e;
132
- m.commands.setContent(n, { emitUpdate: !1 });
125
+ f.commands.setContent(n, { emitUpdate: !1 });
133
126
  }
134
127
  };
135
128
  } };
136
129
  }
137
130
  //#endregion
138
- export { v as createTiptapRichTextAdapter };
131
+ export { g as createTiptapRichTextAdapter };
@@ -5,10 +5,10 @@ import { LabelProps } from '../../Label/label.types';
5
5
  export type BaseFieldOptions = {
6
6
  /**
7
7
  * Public registry key that owns BaseField chrome defaults/tokens.
8
- * Defaults to `BaseField`; Slider / OtpField / FileUpload pass their own key
8
+ * Defaults to `BaseField`; Rating / Slider / OtpField / FileUpload pass their own key
9
9
  * so chrome cascades (`BaseField` → parent).
10
10
  */
11
- componentName?: "Slider" | "OtpField" | "BaseField" | "FileUpload";
11
+ componentName?: "Rating" | "Slider" | "OtpField" | "BaseField" | "FileUpload";
12
12
  /**
13
13
  * Resolve `Label` `for` from `controlId`. Defaults to the control id itself.
14
14
  */
@@ -1,15 +1,23 @@
1
+ import { DatePickerModel } from '@bridge-ui/core/Domain';
1
2
  import { CalendarOwnProps, CalendarSlots } from './calendar.types';
2
3
  type __VLS_Slots = CalendarSlots;
3
- declare const __VLS_base: import('vue').DefineComponent<CalendarOwnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
- change: (value: import('@bridge-ui/core/Domain').DatePickerModel) => any;
4
+ type __VLS_Props = CalendarOwnProps;
5
+ type __VLS_ModelProps = {
6
+ modelValue?: DatePickerModel;
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ change: (value: DatePickerModel) => any;
11
+ "update:modelValue": (...args: unknown[]) => any;
12
+ previewDateChange: (date: Date | null) => any;
5
13
  viewChange: (view: import('@bridge-ui/core/Domain').CalendarView) => any;
6
14
  viewDateChange: (date: Date) => any;
7
- previewDateChange: (date: Date | null) => any;
8
- }, string, import('vue').PublicProps, Readonly<CalendarOwnProps> & Readonly<{
9
- onChange?: ((value: import('@bridge-ui/core/Domain').DatePickerModel) => any) | undefined;
15
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ onChange?: ((value: DatePickerModel) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
18
+ onPreviewDateChange?: ((date: Date | null) => any) | undefined;
10
19
  onViewChange?: ((view: import('@bridge-ui/core/Domain').CalendarView) => any) | undefined;
11
20
  onViewDateChange?: ((date: Date) => any) | undefined;
12
- onPreviewDateChange?: ((date: Date | null) => any) | undefined;
13
21
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
23
  declare const _default: typeof __VLS_export;