tyrell-react 1.0.0-TC25 → 1.0.0-TC26

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 (45) hide show
  1. package/dist/components/TyCalendar.d.ts +4 -0
  2. package/dist/components/TyCalendar.d.ts.map +1 -1
  3. package/dist/components/TyCalendar.js +7 -1
  4. package/dist/components/TyCalendar.js.map +1 -1
  5. package/dist/components/TyCalendarMonth.d.ts +4 -0
  6. package/dist/components/TyCalendarMonth.d.ts.map +1 -1
  7. package/dist/components/TyCalendarMonth.js +5 -1
  8. package/dist/components/TyCalendarMonth.js.map +1 -1
  9. package/dist/components/TyCalendarNavigation.d.ts +4 -0
  10. package/dist/components/TyCalendarNavigation.d.ts.map +1 -1
  11. package/dist/components/TyCalendarNavigation.js +5 -1
  12. package/dist/components/TyCalendarNavigation.js.map +1 -1
  13. package/dist/components/TyCheckbox.d.ts +2 -0
  14. package/dist/components/TyCheckbox.d.ts.map +1 -1
  15. package/dist/components/TyCheckbox.js +4 -1
  16. package/dist/components/TyCheckbox.js.map +1 -1
  17. package/dist/components/TyDatePicker.d.ts +4 -0
  18. package/dist/components/TyDatePicker.d.ts.map +1 -1
  19. package/dist/components/TyDatePicker.js +7 -1
  20. package/dist/components/TyDatePicker.js.map +1 -1
  21. package/dist/components/TyOption.d.ts +8 -0
  22. package/dist/components/TyOption.d.ts.map +1 -1
  23. package/dist/components/TyOption.js +3 -1
  24. package/dist/components/TyOption.js.map +1 -1
  25. package/dist/components/TySelect.d.ts +75 -0
  26. package/dist/components/TySelect.d.ts.map +1 -0
  27. package/dist/components/TySelect.js +134 -0
  28. package/dist/components/TySelect.js.map +1 -0
  29. package/dist/components/index.d.ts +6 -0
  30. package/dist/components/index.d.ts.map +1 -1
  31. package/dist/components/index.js +5 -0
  32. package/dist/components/index.js.map +1 -1
  33. package/dist/version.d.ts +1 -1
  34. package/dist/version.js +1 -1
  35. package/package.json +1 -1
  36. package/src/components/TyCalendar.tsx +16 -0
  37. package/src/components/TyCalendarMonth.tsx +11 -1
  38. package/src/components/TyCalendarNavigation.tsx +11 -1
  39. package/src/components/TyCheckbox.tsx +8 -2
  40. package/src/components/TyDatePicker.tsx +16 -0
  41. package/src/components/TyOption.tsx +14 -1
  42. package/src/components/TySelect.tsx +240 -0
  43. package/src/components/index.ts +9 -0
  44. package/src/version.ts +1 -1
  45. package/src/components/EventConventionTest.tsx +0 -155
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,gFAAgF;AAChF,OAAO,EAAE,OAAO,EAAE,CAAC;AA2BnB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEvE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAExF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE3E,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE3E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C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AE,MAAM,qBAAqB,CAAC"}
@@ -30,8 +30,11 @@ export { TyDropdown } from './TyDropdown';
30
30
  export { TyOption } from './TyOption';
31
31
  export { TyIcon } from './TyIcon';
32
32
  export { TyModal } from './TyModal';
33
+ // Platform/ARIA name alias (the element is also registered as ty-dialog)
34
+ export { TyModal as TyDialog } from './TyModal';
33
35
  export { TyTooltip } from './TyTooltip';
34
36
  export { TyMultiselect } from './TyMultiselect';
37
+ export { TySelect, TySelectedTags } from './TySelect';
35
38
  export { TyCalendar } from './TyCalendar';
36
39
  export { TyDatePicker } from './TyDatePicker';
37
40
  export { TyPopup } from './TyPopup';
@@ -40,6 +43,8 @@ export { TySwitch } from './TySwitch';
40
43
  export { TyRadio } from './TyRadio';
41
44
  export { TyRadioGroup } from './TyRadioGroup';
42
45
  export { TyCopy } from './TyCopy';
46
+ // Descriptive name alias (the element is also registered as ty-copy-field)
47
+ export { TyCopy as TyCopyField } from './TyCopy';
43
48
  export { TyFileUpload } from './TyFileUpload';
44
49
  export { TyTabs } from './TyTabs';
45
50
  export { TyTab } from './TyTab';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,UAAU;AACV,sEAAsE;AAEtE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,gFAAgF;AAChF,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB,iEAAiE;AACjE,qEAAqE;AACrE,mEAAmE;AACnE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;IACjC,MAAc,CAAC,cAAc,GAAG,OAAO,CAAC;IACzC,OAAO,CAAC,GAAG,CACT,uBAAuB,OAAO,EAAE,EAChC,+BAA+B,EAC/B,+BAA+B,CAChC,CAAC;AACJ,CAAC;AAED,sEAAsE;AACtE,+BAA+B;AAC/B,sEAAsE;AACtE,0EAA0E;AAC1E,gFAAgF;AAChF,iFAAiF;AACjF,EAAE;AACF,sD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,EAAE,YAAY,IAAI,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,UAAU,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,YAAY,IAAI,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,MAAM,IAAI,IAAI,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,YAAY,IAAI,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,MAAM,IAAI,IAAI,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,KAAK,IAAI,GAAG,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,eAAe,IAAI,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,oBAAoB,IAAI,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACpF,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,IAAI,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,gBAAgB,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,iBAAiB,IAAI,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAuF3E,sEAAsE;AACtE,iBAAiB;AACjB,sEAAsE;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCE"}
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Current version of tyrell-react. Synced with package.json on build. */
2
- export declare const VERSION = "1.0.0-TC25";
2
+ export declare const VERSION = "1.0.0-TC26";
3
3
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  // Generated from package.json by scripts/generate-version.js
3
3
  // Run 'npm run generate:version' to regenerate.
4
4
  /** Current version of tyrell-react. Synced with package.json on build. */
5
- export const VERSION = '1.0.0-TC25';
5
+ export const VERSION = '1.0.0-TC26';
6
6
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tyrell-react",
3
- "version": "1.0.0-TC25",
3
+ "version": "1.0.0-TC26",
4
4
  "description": "React wrappers for Tyrell Components",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",
@@ -54,6 +54,12 @@ export interface TyCalendarProps extends Omit<React.HTMLAttributes<HTMLElement>,
54
54
  /** Calendar width */
55
55
  width?: string | number;
56
56
 
57
+ /** Earliest selectable date (ISO "YYYY-MM-DD") — earlier days disabled, navigation clamped */
58
+ min?: string;
59
+
60
+ /** Latest selectable date (ISO "YYYY-MM-DD") — later days disabled, navigation clamped */
61
+ max?: string;
62
+
57
63
  /** Minimum calendar width */
58
64
  minWidth?: string | number;
59
65
 
@@ -96,6 +102,8 @@ export const TyCalendar = React.forwardRef<HTMLElement, TyCalendarProps>(
96
102
  size,
97
103
  locale,
98
104
  width,
105
+ min,
106
+ max,
99
107
  minWidth,
100
108
  maxWidth,
101
109
  name,
@@ -237,6 +245,14 @@ export const TyCalendar = React.forwardRef<HTMLElement, TyCalendarProps>(
237
245
  webComponentProps.width = width.toString();
238
246
  }
239
247
 
248
+ if (min) {
249
+ webComponentProps.min = min;
250
+ }
251
+
252
+ if (max) {
253
+ webComponentProps.max = max;
254
+ }
255
+
240
256
  if (minWidth !== undefined) {
241
257
  webComponentProps['min-width'] = minWidth.toString();
242
258
  }
@@ -22,7 +22,13 @@ export interface TyCalendarMonthProps extends React.HTMLAttributes<HTMLElement>
22
22
 
23
23
  /** Maximum width */
24
24
  maxWidth?: string;
25
-
25
+
26
+ /** Earliest enabled date (ISO "YYYY-MM-DD") — earlier days disabled */
27
+ min?: string;
28
+
29
+ /** Latest enabled date (ISO "YYYY-MM-DD") — later days disabled */
30
+ max?: string;
31
+
26
32
  /** Day click event handler */
27
33
  onDayClick?: (event: CustomEvent<DayClickDetail>) => void;
28
34
  }
@@ -49,6 +55,8 @@ export const TyCalendarMonth = React.forwardRef<HTMLElement, TyCalendarMonthProp
49
55
  width,
50
56
  minWidth,
51
57
  maxWidth,
58
+ min,
59
+ max,
52
60
  onDayClick,
53
61
  ...props
54
62
  }, ref) => {
@@ -95,6 +103,8 @@ export const TyCalendarMonth = React.forwardRef<HTMLElement, TyCalendarMonthProp
95
103
  if (locale) webComponentProps.locale = locale;
96
104
  if (size) webComponentProps.size = size;
97
105
  if (width) webComponentProps.width = width;
106
+ if (min) webComponentProps.min = min;
107
+ if (max) webComponentProps.max = max;
98
108
  if (minWidth) webComponentProps['min-width'] = minWidth;
99
109
  if (maxWidth) webComponentProps['max-width'] = maxWidth;
100
110
 
@@ -16,7 +16,13 @@ export interface TyCalendarNavigationProps extends Omit<React.HTMLAttributes<HTM
16
16
 
17
17
  /** Width of navigation */
18
18
  width?: string;
19
-
19
+
20
+ /** Earliest reachable month (ISO "YYYY-MM-DD") — navigation clamps here */
21
+ min?: string;
22
+
23
+ /** Latest reachable month (ISO "YYYY-MM-DD") — navigation clamps here */
24
+ max?: string;
25
+
20
26
  /** Navigation change event handler */
21
27
  onChange?: (event: CustomEvent<NavigationChangeDetail>) => void;
22
28
  }
@@ -34,6 +40,8 @@ export const TyCalendarNavigation = React.forwardRef<HTMLElement, TyCalendarNavi
34
40
  locale,
35
41
  size,
36
42
  width,
43
+ min,
44
+ max,
37
45
  onChange,
38
46
  ...props
39
47
  }, ref) => {
@@ -80,6 +88,8 @@ export const TyCalendarNavigation = React.forwardRef<HTMLElement, TyCalendarNavi
80
88
  if (locale) webComponentProps.locale = locale;
81
89
  if (size) webComponentProps.size = size;
82
90
  if (width) webComponentProps.width = width;
91
+ if (min) webComponentProps.min = min;
92
+ if (max) webComponentProps.max = max;
83
93
 
84
94
  return React.createElement(
85
95
  'ty-calendar-navigation',
@@ -5,7 +5,10 @@ import { useBooleanProperty } from '../utils/use-boolean-prop';
5
5
  export interface TyCheckboxProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onChange' | 'onInput'> {
6
6
  /** Checked state */
7
7
  checked?: boolean;
8
-
8
+
9
+ /** Mixed state (dash) — visual/ARIA only; clicking resolves to checked */
10
+ indeterminate?: boolean;
11
+
9
12
  /** Form field value when checked */
10
13
  value?: string;
11
14
 
@@ -53,8 +56,9 @@ export interface TyCheckboxEventDetail {
53
56
  // React wrapper for ty-checkbox web component
54
57
  export const TyCheckbox = React.forwardRef<HTMLElement, TyCheckboxProps>(
55
58
  ({
56
- children,
59
+ children,
57
60
  checked,
61
+ indeterminate,
58
62
  value,
59
63
  name,
60
64
  disabled,
@@ -115,6 +119,7 @@ export const TyCheckbox = React.forwardRef<HTMLElement, TyCheckboxProps>(
115
119
  // doesn't reliably remove them when the prop flips back to false on a
116
120
  // custom element. React 19+ handles this natively.
117
121
  const isChecked = useBooleanProperty(elementRef, 'checked', checked);
122
+ const isIndeterminate = useBooleanProperty(elementRef, 'indeterminate', indeterminate);
118
123
  const isDisabled = useBooleanProperty(elementRef, 'disabled', disabled);
119
124
  const isRequired = useBooleanProperty(elementRef, 'required', required);
120
125
 
@@ -126,6 +131,7 @@ export const TyCheckbox = React.forwardRef<HTMLElement, TyCheckboxProps>(
126
131
 
127
132
  // Add boolean attributes
128
133
  if (isChecked) webComponentProps.checked = '';
134
+ if (isIndeterminate) webComponentProps.indeterminate = '';
129
135
  if (isDisabled) webComponentProps.disabled = '';
130
136
  if (isRequired) webComponentProps.required = '';
131
137
 
@@ -50,6 +50,12 @@ export interface TyDatePickerProps extends Omit<React.HTMLAttributes<HTMLElement
50
50
 
51
51
  /** Whether to include time selection */
52
52
  withTime?: boolean;
53
+
54
+ /** Earliest selectable date (ISO "YYYY-MM-DD") */
55
+ min?: string;
56
+
57
+ /** Latest selectable date (ISO "YYYY-MM-DD") */
58
+ max?: string;
53
59
 
54
60
  /** Callback when the date value changes */
55
61
  onChange?: (event: CustomEvent<TyDatePickerEventDetail>) => void;
@@ -76,6 +82,8 @@ export const TyDatePicker = React.forwardRef<HTMLElement, TyDatePickerProps>(
76
82
  format,
77
83
  locale,
78
84
  withTime,
85
+ min,
86
+ max,
79
87
  onChange,
80
88
  onOpen,
81
89
  onClose,
@@ -208,6 +216,14 @@ export const TyDatePicker = React.forwardRef<HTMLElement, TyDatePickerProps>(
208
216
  webComponentProps['with-time'] = ''; // Convert camelCase to kebab-case
209
217
  }
210
218
 
219
+ if (min) {
220
+ webComponentProps.min = min;
221
+ }
222
+
223
+ if (max) {
224
+ webComponentProps.max = max;
225
+ }
226
+
211
227
  return React.createElement('ty-date-picker', webComponentProps);
212
228
  }
213
229
  );
@@ -4,6 +4,17 @@ import { useBooleanProperty } from '../utils/use-boolean-prop';
4
4
  // Type definitions for Ty Option component
5
5
  export interface TyOptionProps extends React.HTMLAttributes<HTMLElement> {
6
6
  value?: string;
7
+
8
+ /**
9
+ * Clean display text (native <option label> semantics) — used by ty-select
10
+ * for field summaries and by ty-selected-tags chips when the option's
11
+ * children are rich HTML. data-* attributes feed chip templates.
12
+ */
13
+ label?: string;
14
+
15
+ /** Semantic flavor — carried onto ty-selected-tags chips */
16
+ flavor?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'neutral' | 'info';
17
+
7
18
  disabled?: boolean;
8
19
  selected?: boolean;
9
20
  hidden?: boolean;
@@ -12,7 +23,7 @@ export interface TyOptionProps extends React.HTMLAttributes<HTMLElement> {
12
23
 
13
24
  // React wrapper for ty-option web component
14
25
  export const TyOption = React.forwardRef<HTMLElement, TyOptionProps>(
15
- ({ children, disabled, selected, hidden, ...props }, ref) => {
26
+ ({ children, label, flavor, disabled, selected, hidden, ...props }, ref) => {
16
27
  const elementRef = useRef<HTMLElement>(null);
17
28
 
18
29
  // Handle ref forwarding
@@ -34,6 +45,8 @@ export const TyOption = React.forwardRef<HTMLElement, TyOptionProps>(
34
45
  'ty-option',
35
46
  {
36
47
  ...props,
48
+ ...(label && { label }),
49
+ ...(flavor && { flavor }),
37
50
  ...(isDisabled && { disabled: "" }),
38
51
  ...(isSelected && { selected: "" }),
39
52
  ...(isHidden && { hidden: "" }),
@@ -0,0 +1,240 @@
1
+ import React, { useEffect, useRef, useCallback } from 'react';
2
+ import { needsPropertyBridge } from '../utils/react-version';
3
+ import { useBooleanProperty } from '../utils/use-boolean-prop';
4
+
5
+ // Type definitions for Ty Select component
6
+ export interface TySelectItem {
7
+ value: string;
8
+ label: string;
9
+ flavor: string | null;
10
+ }
11
+
12
+ export interface TySelectEventDetail {
13
+ /** Scalar for single select, array when `multiple` */
14
+ value: string | string[] | null;
15
+ /** Always the array form of the selection */
16
+ values: string[];
17
+ /** Rich info per selected value — enough to render chips out-of-band */
18
+ items: TySelectItem[];
19
+ /** Action that triggered the change */
20
+ action: 'add' | 'remove' | 'clear' | 'set';
21
+ /** The specific value that changed */
22
+ item: string | null;
23
+ }
24
+
25
+ export interface TySelectProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onChange' | 'style'> {
26
+ style?: import('./TyInput').TyInputCSSProperties;
27
+
28
+ /** Selected value(s) — string, comma-separated string, or array */
29
+ value?: string | string[];
30
+
31
+ /** Multi select (native <select multiple> semantics). Default: single. */
32
+ multiple?: boolean;
33
+
34
+ /** Compact content-hugging trigger (toolbars, filter bars) instead of the full-width field look */
35
+ compact?: boolean;
36
+
37
+ /** Placeholder shown while nothing is selected */
38
+ placeholder?: string;
39
+
40
+ /** Label text above the field */
41
+ label?: string;
42
+
43
+ /** Form field name — single submits one entry, multiple submits repeated entries */
44
+ name?: string;
45
+
46
+ /** Disable the select */
47
+ disabled?: boolean;
48
+
49
+ /** Read-only */
50
+ readonly?: boolean;
51
+
52
+ /** Mark the field as required */
53
+ required?: boolean;
54
+
55
+ /**
56
+ * Search row visibility: 'auto' (default) shows it only for 8+ options,
57
+ * 'always' / 'never' force it. external-search always shows it.
58
+ */
59
+ searchable?: 'auto' | 'always' | 'never' | boolean;
60
+
61
+ /**
62
+ * External (remote) search mode — the component stops filtering and emits
63
+ * debounced `search` events; replace the option children in response.
64
+ */
65
+ externalSearch?: boolean;
66
+
67
+ /** Debounce for the search event in ms (0-5000) */
68
+ debounce?: number;
69
+
70
+ /** Loading state — shows a spinner in the options area (external search in flight) */
71
+ loading?: boolean;
72
+
73
+ /** Size variant */
74
+ size?: 'sm' | 'md' | 'lg';
75
+
76
+ /** Callback when selection changes */
77
+ onChange?: (event: CustomEvent<TySelectEventDetail>) => void;
78
+
79
+ /** Callback fired on each search input change (debounced). Use for external/server-side filtering. */
80
+ onSearch?: (event: CustomEvent<{ query: string; element: HTMLElement }>) => void;
81
+ onOpen?: (event: CustomEvent) => void;
82
+ onClose?: (event: CustomEvent) => void;
83
+
84
+ /** TyOption children (plus optional slot="trigger" / slot="start" / slot="end" elements) */
85
+ children?: React.ReactNode;
86
+ }
87
+
88
+ // React wrapper for ty-select web component
89
+ export const TySelect = React.forwardRef<HTMLElement, TySelectProps>(
90
+ ({
91
+ value,
92
+ multiple,
93
+ compact,
94
+ placeholder,
95
+ label,
96
+ name,
97
+ disabled,
98
+ readonly,
99
+ required,
100
+ searchable,
101
+ externalSearch,
102
+ debounce,
103
+ loading,
104
+ size,
105
+ onChange,
106
+ onSearch,
107
+ onOpen,
108
+ onClose,
109
+ children,
110
+ ...props
111
+ }, ref) => {
112
+ const elementRef = useRef<HTMLElement>(null);
113
+
114
+ // Handle ref forwarding
115
+ useEffect(() => {
116
+ if (ref && elementRef.current) {
117
+ if (typeof ref === 'function') {
118
+ ref(elementRef.current);
119
+ } else {
120
+ ref.current = elementRef.current;
121
+ }
122
+ }
123
+ }, [ref]);
124
+
125
+ // Imperatively sync `value` so resets ('' or null) reliably clear the
126
+ // visible selection. React 18 workaround; React 19+ handles this natively.
127
+ useEffect(() => {
128
+ if (!needsPropertyBridge) return;
129
+ const element = elementRef.current as any;
130
+ if (!element) return;
131
+ const next = Array.isArray(value) ? value.join(',') : (value ?? '');
132
+ if (element.value !== next) {
133
+ element.value = next;
134
+ }
135
+ }, [value]);
136
+
137
+ // Handle events
138
+ const handleChange = useCallback((event: Event) => {
139
+ if (onChange) onChange(event as CustomEvent<TySelectEventDetail>);
140
+ }, [onChange]);
141
+
142
+ const handleSearch = useCallback((event: Event) => {
143
+ if (onSearch) onSearch(event as CustomEvent<{ query: string; element: HTMLElement }>);
144
+ }, [onSearch]);
145
+
146
+ const handleOpen = useCallback((event: Event) => { if (onOpen) onOpen(event as CustomEvent); }, [onOpen]);
147
+ const handleClose = useCallback((event: Event) => { if (onClose) onClose(event as CustomEvent); }, [onClose]);
148
+
149
+ // Set up event listeners
150
+ useEffect(() => {
151
+ const element = elementRef.current;
152
+ if (!element) return;
153
+
154
+ if (onChange) element.addEventListener('change', handleChange);
155
+ if (onSearch) element.addEventListener('search', handleSearch);
156
+ if (onOpen) element.addEventListener('open', handleOpen);
157
+ if (onClose) element.addEventListener('close', handleClose);
158
+
159
+ return () => {
160
+ if (onChange) element.removeEventListener('change', handleChange);
161
+ if (onSearch) element.removeEventListener('search', handleSearch);
162
+ if (onOpen) element.removeEventListener('open', handleOpen);
163
+ if (onClose) element.removeEventListener('close', handleClose);
164
+ };
165
+ }, [handleChange, handleSearch, handleOpen, handleClose, onChange, onSearch, onOpen, onClose]);
166
+
167
+ // Imperative property sync for boolean props (see use-boolean-prop.ts).
168
+ const isMultiple = useBooleanProperty(elementRef, 'multiple', multiple);
169
+ const isCompact = useBooleanProperty(elementRef, 'compact', compact);
170
+ const isDisabled = useBooleanProperty(elementRef, 'disabled', disabled);
171
+ const isReadonly = useBooleanProperty(elementRef, 'readonly', readonly);
172
+ const isRequired = useBooleanProperty(elementRef, 'required', required);
173
+ const isLoading = useBooleanProperty(elementRef, 'loading', loading);
174
+ const isExternalSearch = useBooleanProperty(elementRef, 'externalSearch', externalSearch);
175
+
176
+ // Convert React props to web component attributes
177
+ const webComponentProps: Record<string, any> = {
178
+ ...props,
179
+ ref: elementRef,
180
+ };
181
+
182
+ // Handle value conversion (array to comma-separated string)
183
+ if (value !== undefined) {
184
+ webComponentProps.value = Array.isArray(value) ? value.join(',') : value;
185
+ }
186
+
187
+ if (isMultiple) webComponentProps.multiple = '';
188
+ if (isCompact) webComponentProps.compact = '';
189
+ if (isDisabled) webComponentProps.disabled = '';
190
+ if (isReadonly) webComponentProps.readonly = '';
191
+ if (isRequired) webComponentProps.required = '';
192
+ if (isLoading) webComponentProps.loading = '';
193
+ if (isExternalSearch) webComponentProps['external-search'] = '';
194
+
195
+ if (placeholder) webComponentProps.placeholder = placeholder;
196
+ if (label) webComponentProps.label = label;
197
+ if (name) webComponentProps.name = name;
198
+ if (size) webComponentProps.size = size;
199
+ if (debounce !== undefined) webComponentProps.debounce = debounce.toString();
200
+ if (searchable === 'always' || searchable === true) webComponentProps.searchable = 'true';
201
+ else if (searchable === 'never' || searchable === false) webComponentProps.searchable = 'false';
202
+ // 'auto' / undefined → omit (component default)
203
+
204
+ return React.createElement('ty-select', webComponentProps, children);
205
+ }
206
+ );
207
+
208
+ TySelect.displayName = 'TySelect';
209
+
210
+ // ============================================================================
211
+ // TySelectedTags — out-of-band chip display for a TySelect
212
+ // ============================================================================
213
+
214
+ export interface TySelectedTagsProps extends React.HTMLAttributes<HTMLElement> {
215
+ /** id of the ty-select to display. Falls back to the previous element sibling. */
216
+ htmlFor?: string;
217
+ /** Optional <template> child as chip blueprint ({value}/{label}/{flavor}/{data-*} placeholders) */
218
+ children?: React.ReactNode;
219
+ }
220
+
221
+ // React wrapper for ty-selected-tags web component
222
+ export const TySelectedTags = React.forwardRef<HTMLElement, TySelectedTagsProps>(
223
+ ({ htmlFor, children, ...props }, ref) => {
224
+ const elementRef = useRef<HTMLElement>(null);
225
+
226
+ useEffect(() => {
227
+ if (ref && elementRef.current) {
228
+ if (typeof ref === 'function') ref(elementRef.current);
229
+ else ref.current = elementRef.current;
230
+ }
231
+ }, [ref]);
232
+
233
+ const webComponentProps: Record<string, any> = { ...props, ref: elementRef };
234
+ if (htmlFor) webComponentProps.for = htmlFor;
235
+
236
+ return React.createElement('ty-selected-tags', webComponentProps, children);
237
+ }
238
+ );
239
+
240
+ TySelectedTags.displayName = 'TySelectedTags';
@@ -55,6 +55,9 @@ export type { TyIconProps } from './TyIcon';
55
55
 
56
56
  export { TyModal } from './TyModal';
57
57
  export type { TyModalProps, TyModalEventDetail, TyModalRef } from './TyModal';
58
+ // Platform/ARIA name alias (the element is also registered as ty-dialog)
59
+ export { TyModal as TyDialog } from './TyModal';
60
+ export type { TyModalProps as TyDialogProps, TyModalEventDetail as TyDialogEventDetail, TyModalRef as TyDialogRef } from './TyModal';
58
61
 
59
62
  export { TyTooltip } from './TyTooltip';
60
63
  export type { TyTooltipProps } from './TyTooltip';
@@ -62,6 +65,9 @@ export type { TyTooltipProps } from './TyTooltip';
62
65
  export { TyMultiselect } from './TyMultiselect';
63
66
  export type { TyMultiselectProps, TyMultiselectEventDetail } from './TyMultiselect';
64
67
 
68
+ export { TySelect, TySelectedTags } from './TySelect';
69
+ export type { TySelectProps, TySelectEventDetail, TySelectItem, TySelectedTagsProps } from './TySelect';
70
+
65
71
  export { TyCalendar } from './TyCalendar';
66
72
  export type { TyCalendarProps, TyCalendarChangeEventDetail, TyCalendarNavigateEventDetail } from './TyCalendar';
67
73
 
@@ -85,6 +91,9 @@ export type { TyRadioGroupProps, TyRadioGroupEventDetail } from './TyRadioGroup'
85
91
 
86
92
  export { TyCopy } from './TyCopy';
87
93
  export type { TyCopyProps } from './TyCopy';
94
+ // Descriptive name alias (the element is also registered as ty-copy-field)
95
+ export { TyCopy as TyCopyField } from './TyCopy';
96
+ export type { TyCopyProps as TyCopyFieldProps } from './TyCopy';
88
97
 
89
98
  export { TyFileUpload } from './TyFileUpload';
90
99
  export type { TyFileUploadProps, TyFileUploadEventDetail } from './TyFileUpload';
package/src/version.ts CHANGED
@@ -3,4 +3,4 @@
3
3
  // Run 'npm run generate:version' to regenerate.
4
4
 
5
5
  /** Current version of tyrell-react. Synced with package.json on build. */
6
- export const VERSION = '1.0.0-TC25'
6
+ export const VERSION = '1.0.0-TC26'