@nectary/components 4.7.4 → 4.7.6

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 (95) hide show
  1. package/accordion/index.d.ts +5 -3
  2. package/accordion-item/index.d.ts +5 -3
  3. package/action-menu/index.d.ts +5 -3
  4. package/action-menu-option/index.d.ts +5 -3
  5. package/alert/index.d.ts +5 -3
  6. package/avatar/index.d.ts +5 -3
  7. package/avatar/types.d.ts +1 -0
  8. package/badge/index.d.ts +5 -3
  9. package/button/index.d.ts +5 -3
  10. package/button-group/index.d.ts +5 -3
  11. package/button-group-item/index.d.ts +5 -3
  12. package/button-group-item/types.d.ts +1 -0
  13. package/card/index.d.ts +5 -3
  14. package/card-container/index.d.ts +5 -3
  15. package/card-v2/index.d.ts +5 -3
  16. package/card-v2-title/index.d.ts +5 -3
  17. package/checkbox/index.d.ts +5 -3
  18. package/chip/index.d.ts +5 -3
  19. package/chip/types.d.ts +1 -0
  20. package/code-tag/index.d.ts +5 -3
  21. package/color-menu/index.d.ts +5 -3
  22. package/color-menu-option/index.d.ts +5 -3
  23. package/color-swatch/index.d.ts +5 -3
  24. package/date-picker/index.d.ts +5 -3
  25. package/dialog/index.d.ts +5 -3
  26. package/emoji/index.d.ts +5 -3
  27. package/emoji-picker/index.d.ts +5 -3
  28. package/field/index.d.ts +5 -3
  29. package/file-drop/index.d.ts +5 -3
  30. package/file-picker/index.d.ts +5 -3
  31. package/file-status/index.d.ts +5 -3
  32. package/flag/index.d.ts +5 -3
  33. package/grid/index.d.ts +5 -3
  34. package/grid-item/index.d.ts +5 -3
  35. package/help-tooltip/index.d.ts +5 -3
  36. package/horizontal-stepper/index.d.ts +5 -3
  37. package/horizontal-stepper-item/index.d.ts +5 -3
  38. package/icon/index.d.ts +5 -3
  39. package/inline-alert/index.d.ts +5 -3
  40. package/input/index.d.ts +5 -3
  41. package/link/index.d.ts +5 -3
  42. package/list/index.d.ts +5 -3
  43. package/list-item/index.d.ts +5 -3
  44. package/package.json +1 -1
  45. package/pagination/index.d.ts +5 -3
  46. package/persistent-overlay/index.d.ts +5 -3
  47. package/pop/index.d.ts +5 -3
  48. package/popover/index.d.ts +5 -3
  49. package/progress/index.d.ts +5 -3
  50. package/progress-stepper/index.d.ts +5 -3
  51. package/progress-stepper-item/index.d.ts +5 -3
  52. package/radio/index.d.ts +5 -3
  53. package/radio/types.d.ts +1 -0
  54. package/radio-option/index.d.ts +5 -3
  55. package/rich-text/index.d.ts +5 -3
  56. package/rich-text/utils.js +9 -0
  57. package/rich-textarea/index.d.ts +5 -3
  58. package/rich-textarea/utils.js +9 -0
  59. package/segment/index.d.ts +5 -3
  60. package/segment-collapse/index.d.ts +5 -3
  61. package/segmented-control/index.d.ts +5 -3
  62. package/segmented-control-option/index.d.ts +5 -3
  63. package/segmented-icon-control/index.d.ts +5 -3
  64. package/segmented-icon-control-option/index.d.ts +5 -3
  65. package/select-button/index.d.ts +5 -3
  66. package/select-menu/index.d.ts +5 -3
  67. package/select-menu-option/index.d.ts +5 -3
  68. package/skeleton/index.d.ts +5 -3
  69. package/skeleton-item/index.d.ts +5 -3
  70. package/spinner/index.d.ts +5 -3
  71. package/table/index.d.ts +5 -3
  72. package/table-body/index.d.ts +5 -3
  73. package/table-cell/index.d.ts +5 -3
  74. package/table-head/index.d.ts +5 -3
  75. package/table-head-cell/index.d.ts +5 -3
  76. package/table-row/index.d.ts +5 -3
  77. package/tabs/index.d.ts +5 -3
  78. package/tabs-icon-option/index.d.ts +5 -3
  79. package/tabs-option/index.d.ts +5 -3
  80. package/tag/index.d.ts +5 -3
  81. package/tag/types.d.ts +1 -0
  82. package/text/index.d.ts +5 -3
  83. package/textarea/index.d.ts +5 -3
  84. package/tile-control/index.d.ts +5 -3
  85. package/tile-control-option/index.d.ts +5 -3
  86. package/time-picker/index.d.ts +5 -3
  87. package/title/index.d.ts +5 -3
  88. package/toast/index.d.ts +5 -3
  89. package/toast-manager/index.d.ts +5 -3
  90. package/toggle/index.d.ts +5 -3
  91. package/tooltip/index.d.ts +5 -3
  92. package/utils/markdown.d.ts +1 -0
  93. package/utils/markdown.js +15 -10
  94. package/vertical-stepper/index.d.ts +5 -3
  95. package/vertical-stepper-item/index.d.ts +5 -3
@@ -1,11 +1,13 @@
1
1
  import type { TSinchAccordionElement, TSinchAccordionReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-accordion': TSinchAccordionElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-accordion': TSinchAccordionReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-accordion': TSinchAccordionElement;
10
- }
11
13
  }
@@ -3,12 +3,14 @@ import '../text';
3
3
  import '../title';
4
4
  import type { TSinchAccordionItemElement, TSinchAccordionItemReact } from './types';
5
5
  declare global {
6
+ interface HTMLElementTagNameMap {
7
+ 'sinch-accordion-item': TSinchAccordionItemElement;
8
+ }
9
+ }
10
+ declare module 'react' {
6
11
  namespace JSX {
7
12
  interface IntrinsicElements {
8
13
  'sinch-accordion-item': TSinchAccordionItemReact;
9
14
  }
10
15
  }
11
- interface HTMLElementTagNameMap {
12
- 'sinch-accordion-item': TSinchAccordionItemElement;
13
- }
14
16
  }
@@ -1,11 +1,13 @@
1
1
  import type { TSinchActionMenuElement, TSinchActionMenuReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-action-menu': TSinchActionMenuElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-action-menu': TSinchActionMenuReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-action-menu': TSinchActionMenuElement;
10
- }
11
13
  }
@@ -1,12 +1,14 @@
1
1
  import '../text';
2
2
  import type { TSinchActionMenuOptionElement, TSinchActionMenuOptionReact } from './types';
3
3
  declare global {
4
+ interface HTMLElementTagNameMap {
5
+ 'sinch-action-menu-option': TSinchActionMenuOptionElement;
6
+ }
7
+ }
8
+ declare module 'react' {
4
9
  namespace JSX {
5
10
  interface IntrinsicElements {
6
11
  'sinch-action-menu-option': TSinchActionMenuOptionReact;
7
12
  }
8
13
  }
9
- interface HTMLElementTagNameMap {
10
- 'sinch-action-menu-option': TSinchActionMenuOptionElement;
11
- }
12
14
  }
package/alert/index.d.ts CHANGED
@@ -3,12 +3,14 @@ import '../rich-text';
3
3
  import '../text';
4
4
  import type { TSinchAlertElement, TSinchAlertReact } from './types';
5
5
  declare global {
6
+ interface HTMLElementTagNameMap {
7
+ 'sinch-alert': TSinchAlertElement;
8
+ }
9
+ }
10
+ declare module 'react' {
6
11
  namespace JSX {
7
12
  interface IntrinsicElements {
8
13
  'sinch-alert': TSinchAlertReact;
9
14
  }
10
15
  }
11
- interface HTMLElementTagNameMap {
12
- 'sinch-alert': TSinchAlertElement;
13
- }
14
16
  }
package/avatar/index.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  import type { TSinchAvatarElement, TSinchAvatarReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-avatar': TSinchAvatarElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-avatar': TSinchAvatarReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-avatar': TSinchAvatarElement;
10
- }
11
13
  }
package/avatar/types.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { TSinchAvatarColor } from './colors';
2
2
  import type { TSinchElementReact } from '../types';
3
3
  import type { TSinchSize } from '../utils/size';
4
+ export type { TSinchAvatarColor };
4
5
  export type TSinchAvatarStatus = 'online' | 'busy' | 'away' | 'offline';
5
6
  export type TSinchAvatarElement = HTMLElement & {
6
7
  /** Image source */
package/badge/index.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  import type { TSinchBadgeElement, TSinchBadgeReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-badge': TSinchBadgeElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-badge': TSinchBadgeReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-badge': TSinchBadgeElement;
10
- }
11
13
  }
package/button/index.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  import type { TSinchButtonElement, TSinchButtonReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-button': TSinchButtonElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-button': TSinchButtonReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-button': TSinchButtonElement;
10
- }
11
13
  }
@@ -1,11 +1,13 @@
1
1
  import type { TSinchButtonGroupElement, TSinchButtonGroupReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-button-group': TSinchButtonGroupElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-button-group': TSinchButtonGroupReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-button-group': TSinchButtonGroupElement;
10
- }
11
13
  }
@@ -1,11 +1,13 @@
1
1
  import type { TSinchButtonGroupItemElement, TSinchButtonGroupItemReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-button-group-item': TSinchButtonGroupItemElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-button-group-item': TSinchButtonGroupItemReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-button-group-item': TSinchButtonGroupItemElement;
10
- }
11
13
  }
@@ -1,5 +1,6 @@
1
1
  import type { TSinchButtonElement, TSinchButtonReact } from '../button/types';
2
2
  import type { TSinchElementReact } from '../types';
3
+ export type { TSinchButtonReact };
3
4
  export type TSinchButtonGroupItemElement = HTMLElement & {
4
5
  text: TSinchButtonElement['text'];
5
6
  disabled: TSinchButtonElement['disabled'];
package/card/index.d.ts CHANGED
@@ -2,12 +2,14 @@ import '../title';
2
2
  import '../text';
3
3
  import type { TSinchCardElement, TSinchCardReact } from './types';
4
4
  declare global {
5
+ interface HTMLElementTagNameMap {
6
+ 'sinch-card': TSinchCardElement;
7
+ }
8
+ }
9
+ declare module 'react' {
5
10
  namespace JSX {
6
11
  interface IntrinsicElements {
7
12
  'sinch-card': TSinchCardReact;
8
13
  }
9
14
  }
10
- interface HTMLElementTagNameMap {
11
- 'sinch-card': TSinchCardElement;
12
- }
13
15
  }
@@ -1,11 +1,13 @@
1
1
  import type { TSinchCardContainerElement, TSinchCardContainerReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-card-container': TSinchCardContainerElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-card-container': TSinchCardContainerReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-card-container': TSinchCardContainerElement;
10
- }
11
13
  }
@@ -1,11 +1,13 @@
1
1
  import type { TSinchCardV2Element, TSinchCardV2React } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-card-v2': TSinchCardV2Element;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-card-v2': TSinchCardV2React;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-card-v2': TSinchCardV2Element;
10
- }
11
13
  }
@@ -1,11 +1,13 @@
1
1
  import type { TSinchCardTitleElement, TSinchCardTitleReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-card-v2-title': TSinchCardTitleElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-card-v2-title': TSinchCardTitleReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-card-v2-title': TSinchCardTitleElement;
10
- }
11
13
  }
@@ -1,11 +1,13 @@
1
1
  import type { TSinchCheckboxElement, TSinchCheckboxReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-checkbox': TSinchCheckboxElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-checkbox': TSinchCheckboxReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-checkbox': TSinchCheckboxElement;
10
- }
11
13
  }
package/chip/index.d.ts CHANGED
@@ -2,12 +2,14 @@ import '../text';
2
2
  import '../icon';
3
3
  import type { TSinchChipElement, TSinchChipReact } from './types';
4
4
  declare global {
5
+ interface HTMLElementTagNameMap {
6
+ 'sinch-chip': TSinchChipElement;
7
+ }
8
+ }
9
+ declare module 'react' {
5
10
  namespace JSX {
6
11
  interface IntrinsicElements {
7
12
  'sinch-chip': TSinchChipReact;
8
13
  }
9
14
  }
10
- interface HTMLElementTagNameMap {
11
- 'sinch-chip': TSinchChipElement;
12
- }
13
15
  }
package/chip/types.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import type { TSinchChipColor } from './colors';
2
2
  import type { TSinchElementReact } from '../types';
3
+ export type { TSinchChipColor };
3
4
  export type TSinchChipElement = HTMLElement & {
4
5
  /** Text */
5
6
  text: string;
@@ -1,11 +1,13 @@
1
1
  import type { TSinchCodeTagElement, TSinchCodeTagReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-code-tag': TSinchCodeTagElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-code-tag': TSinchCodeTagReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-code-tag': TSinchCodeTagElement;
10
- }
11
13
  }
@@ -1,11 +1,13 @@
1
1
  import type { TSinchColorMenuElement, TSinchColorMenuReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-color-menu': TSinchColorMenuElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-color-menu': TSinchColorMenuReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-color-menu': TSinchColorMenuElement;
10
- }
11
13
  }
@@ -2,12 +2,14 @@ import '../color-swatch';
2
2
  import '../tooltip';
3
3
  import type { TSinchColorMenuOptionElement, TSinchColorMenuOptionReact } from './types';
4
4
  declare global {
5
+ interface HTMLElementTagNameMap {
6
+ 'sinch-color-menu-option': TSinchColorMenuOptionElement;
7
+ }
8
+ }
9
+ declare module 'react' {
5
10
  namespace JSX {
6
11
  interface IntrinsicElements {
7
12
  'sinch-color-menu-option': TSinchColorMenuOptionReact;
8
13
  }
9
14
  }
10
- interface HTMLElementTagNameMap {
11
- 'sinch-color-menu-option': TSinchColorMenuOptionElement;
12
- }
13
15
  }
@@ -1,12 +1,14 @@
1
1
  import '../text';
2
2
  import type { TSinchColorSwatchElement, TSinchColorSwatchReact } from './types';
3
3
  declare global {
4
+ interface HTMLElementTagNameMap {
5
+ 'sinch-color-swatch': TSinchColorSwatchElement;
6
+ }
7
+ }
8
+ declare module 'react' {
4
9
  namespace JSX {
5
10
  interface IntrinsicElements {
6
11
  'sinch-color-swatch': TSinchColorSwatchReact;
7
12
  }
8
13
  }
9
- interface HTMLElementTagNameMap {
10
- 'sinch-color-swatch': TSinchColorSwatchElement;
11
- }
12
14
  }
@@ -2,12 +2,14 @@ import '../icon';
2
2
  import '../text';
3
3
  import type { TSinchDatePickerElement, TSinchDatePickerReact } from './types';
4
4
  declare global {
5
+ interface HTMLElementTagNameMap {
6
+ 'sinch-date-picker': TSinchDatePickerElement;
7
+ }
8
+ }
9
+ declare module 'react' {
5
10
  namespace JSX {
6
11
  interface IntrinsicElements {
7
12
  'sinch-date-picker': TSinchDatePickerReact;
8
13
  }
9
14
  }
10
- interface HTMLElementTagNameMap {
11
- 'sinch-date-picker': TSinchDatePickerElement;
12
- }
13
15
  }
package/dialog/index.d.ts CHANGED
@@ -3,12 +3,14 @@ import '../stop-events';
3
3
  import '../title';
4
4
  import type { TSinchDialogElement, TSinchDialogReact } from './types';
5
5
  declare global {
6
+ interface HTMLElementTagNameMap {
7
+ 'sinch-dialog': TSinchDialogElement;
8
+ }
9
+ }
10
+ declare module 'react' {
6
11
  namespace JSX {
7
12
  interface IntrinsicElements {
8
13
  'sinch-dialog': TSinchDialogReact;
9
14
  }
10
15
  }
11
- interface HTMLElementTagNameMap {
12
- 'sinch-dialog': TSinchDialogElement;
13
- }
14
16
  }
package/emoji/index.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  import type { TSinchEmojiElement, TSinchEmojiReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-emoji': TSinchEmojiElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-emoji': TSinchEmojiReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-emoji': TSinchEmojiElement;
10
- }
11
13
  }
@@ -10,12 +10,14 @@ import '../text';
10
10
  import '../icon';
11
11
  import type { TSinchEmojiPickerElement, TSinchEmojiPickerReact } from './types';
12
12
  declare global {
13
+ interface HTMLElementTagNameMap {
14
+ 'sinch-emoji-picker': TSinchEmojiPickerElement;
15
+ }
16
+ }
17
+ declare module 'react' {
13
18
  namespace JSX {
14
19
  interface IntrinsicElements {
15
20
  'sinch-emoji-picker': TSinchEmojiPickerReact;
16
21
  }
17
22
  }
18
- interface HTMLElementTagNameMap {
19
- 'sinch-emoji-picker': TSinchEmojiPickerElement;
20
- }
21
23
  }
package/field/index.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  import type { TSinchFieldElement, TSinchFieldReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-field': TSinchFieldElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-field': TSinchFieldReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-field': TSinchFieldElement;
10
- }
11
13
  }
@@ -2,12 +2,14 @@ import '../text';
2
2
  import '../file-picker';
3
3
  import type { TSinchFileDropElement, TSinchFileDropReact } from './types';
4
4
  declare global {
5
+ interface HTMLElementTagNameMap {
6
+ 'sinch-file-drop': TSinchFileDropElement;
7
+ }
8
+ }
9
+ declare module 'react' {
5
10
  namespace JSX {
6
11
  interface IntrinsicElements {
7
12
  'sinch-file-drop': TSinchFileDropReact;
8
13
  }
9
14
  }
10
- interface HTMLElementTagNameMap {
11
- 'sinch-file-drop': TSinchFileDropElement;
12
- }
13
15
  }
@@ -1,11 +1,13 @@
1
1
  import type { TSinchFilePickerElement, TSinchFilePickerReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-file-picker': TSinchFilePickerElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-file-picker': TSinchFilePickerReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-file-picker': TSinchFilePickerElement;
10
- }
11
13
  }
@@ -3,12 +3,14 @@ import '../icon';
3
3
  import '../text';
4
4
  import type { TSinchFileStatusElement, TSinchFileStatusReact } from './types';
5
5
  declare global {
6
+ interface HTMLElementTagNameMap {
7
+ 'sinch-file-status': TSinchFileStatusElement;
8
+ }
9
+ }
10
+ declare module 'react' {
6
11
  namespace JSX {
7
12
  interface IntrinsicElements {
8
13
  'sinch-file-status': TSinchFileStatusReact;
9
14
  }
10
15
  }
11
- interface HTMLElementTagNameMap {
12
- 'sinch-file-status': TSinchFileStatusElement;
13
- }
14
16
  }
package/flag/index.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  import type { TSinchFlagElement, TSinchFlagReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-flag': TSinchFlagElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-flag': TSinchFlagReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-flag': TSinchFlagElement;
10
- }
11
13
  }
package/grid/index.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  import type { TSinchGridElement, TSinchGridReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-grid': TSinchGridElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-grid': TSinchGridReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-grid': TSinchGridElement;
10
- }
11
13
  }
@@ -1,11 +1,13 @@
1
1
  import type { TSinchGridItemElement, TSinchGridItemReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-grid-item': TSinchGridItemElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-grid-item': TSinchGridItemReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-grid-item': TSinchGridItemElement;
10
- }
11
13
  }
@@ -2,12 +2,14 @@ import '../tooltip';
2
2
  import '../icon';
3
3
  import type { TSinchHelpTooltipElement, TSinchHelpTooltipReact } from './types';
4
4
  declare global {
5
+ interface HTMLElementTagNameMap {
6
+ 'sinch-help-tooltip': TSinchHelpTooltipElement;
7
+ }
8
+ }
9
+ declare module 'react' {
5
10
  namespace JSX {
6
11
  interface IntrinsicElements {
7
12
  'sinch-help-tooltip': TSinchHelpTooltipReact;
8
13
  }
9
14
  }
10
- interface HTMLElementTagNameMap {
11
- 'sinch-help-tooltip': TSinchHelpTooltipElement;
12
- }
13
15
  }
@@ -1,11 +1,13 @@
1
1
  import type { TSinchHorizontalStepperElement, TSinchHorizontalStepperReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-horizontal-stepper': TSinchHorizontalStepperElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-horizontal-stepper': TSinchHorizontalStepperReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-horizontal-stepper': TSinchHorizontalStepperElement;
10
- }
11
13
  }
@@ -3,12 +3,14 @@ import '../title';
3
3
  import '../text';
4
4
  import type { TSinchHorizontalStepperItemElement, TSinchHorizontalStepperItemReact } from './types';
5
5
  declare global {
6
+ interface HTMLElementTagNameMap {
7
+ 'sinch-horizontal-stepper-item': TSinchHorizontalStepperItemElement;
8
+ }
9
+ }
10
+ declare module 'react' {
6
11
  namespace JSX {
7
12
  interface IntrinsicElements {
8
13
  'sinch-horizontal-stepper-item': TSinchHorizontalStepperItemReact;
9
14
  }
10
15
  }
11
- interface HTMLElementTagNameMap {
12
- 'sinch-horizontal-stepper-item': TSinchHorizontalStepperItemElement;
13
- }
14
16
  }
package/icon/index.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  import type { TSinchIconElement, TSinchIconReact } from './types';
2
2
  declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'sinch-icon': TSinchIconElement;
5
+ }
6
+ }
7
+ declare module 'react' {
3
8
  namespace JSX {
4
9
  interface IntrinsicElements {
5
10
  'sinch-icon': TSinchIconReact;
6
11
  }
7
12
  }
8
- interface HTMLElementTagNameMap {
9
- 'sinch-icon': TSinchIconElement;
10
- }
11
13
  }