@shibui-ui/ui 1.15.0 → 1.19.8

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 (120) hide show
  1. package/dist/angular/directives.ts +8 -8
  2. package/dist/components/atoms/text-glitch/lib-text-glitch.component.d.ts.map +1 -0
  3. package/dist/components/atoms/text-glitch/lib-text-glitch.html.d.ts.map +1 -0
  4. package/dist/components/atoms/text-glitch/lib-text-glitch.stories.d.ts.map +1 -0
  5. package/dist/components/organisms/drawer/lib-drawer.component.d.ts.map +1 -1
  6. package/dist/custom-elements.json +354 -351
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/index264.js.map +1 -1
  11. package/dist/index39.js.map +1 -1
  12. package/dist/index71.js +4 -3
  13. package/dist/index71.js.map +1 -1
  14. package/dist/react/index.ts +2 -1
  15. package/dist/react/lib-accordion-item.tsx +17 -11
  16. package/dist/react/lib-accordion.tsx +16 -10
  17. package/dist/react/lib-alert.tsx +17 -11
  18. package/dist/react/lib-aspect-ratio.tsx +16 -10
  19. package/dist/react/lib-avatar.tsx +16 -10
  20. package/dist/react/lib-background.tsx +16 -10
  21. package/dist/react/lib-badge.tsx +16 -10
  22. package/dist/react/lib-bento-grid.tsx +16 -10
  23. package/dist/react/lib-bento-item.tsx +16 -10
  24. package/dist/react/lib-breadcrumb.tsx +17 -11
  25. package/dist/react/lib-burger.tsx +17 -11
  26. package/dist/react/lib-button-group.tsx +17 -11
  27. package/dist/react/lib-button-liquid.tsx +17 -11
  28. package/dist/react/lib-button-sep.tsx +16 -10
  29. package/dist/react/lib-button-split.tsx +18 -12
  30. package/dist/react/lib-button.tsx +18 -12
  31. package/dist/react/lib-card.tsx +17 -11
  32. package/dist/react/lib-carousel.tsx +17 -11
  33. package/dist/react/lib-checkbox-card.tsx +17 -11
  34. package/dist/react/lib-checkbox.tsx +17 -11
  35. package/dist/react/lib-chip.tsx +18 -12
  36. package/dist/react/lib-close-button.tsx +17 -11
  37. package/dist/react/lib-code-block.tsx +16 -10
  38. package/dist/react/lib-color-picker.tsx +19 -13
  39. package/dist/react/lib-color-scale.tsx +16 -10
  40. package/dist/react/lib-color-swatches.tsx +17 -11
  41. package/dist/react/lib-component-grid.tsx +16 -10
  42. package/dist/react/lib-content-pillar.tsx +16 -10
  43. package/dist/react/lib-copy-button.tsx +17 -11
  44. package/dist/react/lib-counter.tsx +16 -10
  45. package/dist/react/lib-cursor-follower.tsx +16 -10
  46. package/dist/react/lib-data-table.tsx +20 -14
  47. package/dist/react/lib-dialog.tsx +17 -11
  48. package/dist/react/lib-display-heading.tsx +16 -10
  49. package/dist/react/lib-divider.tsx +16 -10
  50. package/dist/react/lib-drawer.tsx +17 -11
  51. package/dist/react/lib-dropdown.tsx +18 -12
  52. package/dist/react/lib-empty-state.tsx +16 -10
  53. package/dist/react/lib-eyebrow.tsx +16 -10
  54. package/dist/react/lib-file-uploader.tsx +21 -15
  55. package/dist/react/lib-footer.tsx +17 -11
  56. package/dist/react/lib-glass-card.tsx +16 -10
  57. package/dist/react/lib-header.tsx +19 -13
  58. package/dist/react/lib-horizontal-scroll-section.tsx +17 -11
  59. package/dist/react/lib-icon.tsx +16 -10
  60. package/dist/react/lib-input.tsx +17 -11
  61. package/dist/react/lib-kbd.tsx +16 -10
  62. package/dist/react/lib-label.tsx +16 -10
  63. package/dist/react/lib-magnetic.tsx +16 -10
  64. package/dist/react/lib-modal.tsx +17 -11
  65. package/dist/react/lib-pagination.tsx +17 -11
  66. package/dist/react/lib-parallax-container.tsx +16 -10
  67. package/dist/react/lib-parallax-text-stack.tsx +16 -10
  68. package/dist/react/lib-progress-circle.tsx +16 -10
  69. package/dist/react/lib-progress.tsx +16 -10
  70. package/dist/react/lib-quote.tsx +16 -10
  71. package/dist/react/lib-radio.tsx +17 -11
  72. package/dist/react/lib-range-slider.tsx +17 -11
  73. package/dist/react/lib-rating.tsx +17 -11
  74. package/dist/react/lib-reading-progress.tsx +16 -10
  75. package/dist/react/lib-ripple.tsx +16 -10
  76. package/dist/react/lib-segmented-control.tsx +17 -11
  77. package/dist/react/lib-select-option.tsx +17 -11
  78. package/dist/react/lib-select.tsx +20 -14
  79. package/dist/react/lib-sidebar.tsx +19 -13
  80. package/dist/react/lib-skeleton.tsx +16 -10
  81. package/dist/react/lib-spacer.tsx +16 -10
  82. package/dist/react/lib-spinner.tsx +16 -10
  83. package/dist/react/lib-spotlight-card.tsx +16 -10
  84. package/dist/react/lib-stagger-container.tsx +18 -12
  85. package/dist/react/lib-status-dot.tsx +16 -10
  86. package/dist/react/lib-step.tsx +16 -10
  87. package/dist/react/lib-stepper.tsx +17 -11
  88. package/dist/react/lib-switch.tsx +17 -11
  89. package/dist/react/lib-tabs.tsx +17 -11
  90. package/dist/react/lib-text-glitch.tsx +16 -10
  91. package/dist/react/lib-text-list.tsx +18 -12
  92. package/dist/react/lib-timeline-item.tsx +16 -10
  93. package/dist/react/lib-timeline.tsx +16 -10
  94. package/dist/react/lib-toast-manager.tsx +16 -10
  95. package/dist/react/lib-tooltip.tsx +16 -10
  96. package/dist/react/lib-tree-select.tsx +18 -12
  97. package/dist/react/lib-visually-hidden.tsx +16 -10
  98. package/dist/react/types.ts +26 -0
  99. package/dist/src/components/atoms/text-glitch/lib-text-glitch.component.d.ts.map +1 -0
  100. package/dist/src/components/atoms/text-glitch/lib-text-glitch.html.d.ts.map +1 -0
  101. package/dist/src/components/atoms/text-glitch/lib-text-glitch.stories.d.ts.map +1 -0
  102. package/dist/src/components/organisms/drawer/lib-drawer.component.d.ts.map +1 -1
  103. package/dist/src/index.d.ts +1 -1
  104. package/dist/src/index.d.ts.map +1 -1
  105. package/dist/svelte/shibui-elements.d.ts +4 -4
  106. package/dist/vitest.unit.config.d.ts +3 -0
  107. package/dist/vitest.unit.config.d.ts.map +1 -0
  108. package/package.json +6 -3
  109. package/dist/components/atoms/text-glich/lib-text-glitch.component.d.ts.map +0 -1
  110. package/dist/components/atoms/text-glich/lib-text-glitch.html.d.ts.map +0 -1
  111. package/dist/components/atoms/text-glich/lib-text-glitch.stories.d.ts.map +0 -1
  112. package/dist/src/components/atoms/text-glich/lib-text-glitch.component.d.ts.map +0 -1
  113. package/dist/src/components/atoms/text-glich/lib-text-glitch.html.d.ts.map +0 -1
  114. package/dist/src/components/atoms/text-glich/lib-text-glitch.stories.d.ts.map +0 -1
  115. /package/dist/components/atoms/{text-glich → text-glitch}/lib-text-glitch.component.d.ts +0 -0
  116. /package/dist/components/atoms/{text-glich → text-glitch}/lib-text-glitch.html.d.ts +0 -0
  117. /package/dist/components/atoms/{text-glich → text-glitch}/lib-text-glitch.stories.d.ts +0 -0
  118. /package/dist/src/components/atoms/{text-glich → text-glitch}/lib-text-glitch.component.d.ts +0 -0
  119. /package/dist/src/components/atoms/{text-glich → text-glitch}/lib-text-glitch.html.d.ts +0 -0
  120. /package/dist/src/components/atoms/{text-glich → text-glitch}/lib-text-glitch.stories.d.ts +0 -0
@@ -1,21 +1,27 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibRadio as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-radio>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-radio>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibRadio = createComponent({
10
+ const _LibRadio = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-radio',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onChange': 'change'
16
- }
15
+ 'onChange': 'change'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibRadio = _LibRadio as unknown as React.FC<any>;
21
- export type LibRadioProps = React.ComponentProps<typeof LibRadio>;
19
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
20
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
21
+ // type-safety en el consumidor mediante LibRadioProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibRadio = _LibRadio as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibRadioProps = React.ComponentPropsWithRef<typeof LibRadio>;
@@ -1,21 +1,27 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibRangeSlider as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-range-slider>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-range-slider>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibRangeSlider = createComponent({
10
+ const _LibRangeSlider = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-range-slider',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibChange': 'ui-lib-change'
16
- }
15
+ 'onUiLibChange': 'ui-lib-change'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibRangeSlider = _LibRangeSlider as unknown as React.FC<any>;
21
- export type LibRangeSliderProps = React.ComponentProps<typeof LibRangeSlider>;
19
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
20
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
21
+ // type-safety en el consumidor mediante LibRangeSliderProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibRangeSlider = _LibRangeSlider as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibRangeSliderProps = React.ComponentPropsWithRef<typeof LibRangeSlider>;
@@ -1,21 +1,27 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibRating as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-rating>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-rating>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibRating = createComponent({
10
+ const _LibRating = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-rating',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibRatingChange': 'ui-lib-rating-change'
16
- }
15
+ 'onUiLibRatingChange': 'ui-lib-rating-change'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibRating = _LibRating as unknown as React.FC<any>;
21
- export type LibRatingProps = React.ComponentProps<typeof LibRating>;
19
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
20
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
21
+ // type-safety en el consumidor mediante LibRatingProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibRating = _LibRating as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibRatingProps = React.ComponentPropsWithRef<typeof LibRating>;
@@ -1,19 +1,25 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibReadingProgress as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-reading-progress>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-reading-progress>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibReadingProgress = createComponent({
10
+ const _LibReadingProgress = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-reading-progress',
13
13
  elementClass: Element,
14
- events: {}
14
+ events: {},
15
15
  });
16
16
 
17
- // Tipado para evitar el error "JSX element class does not support attributes"
18
- export const LibReadingProgress = _LibReadingProgress as unknown as React.FC<any>;
19
- export type LibReadingProgressProps = React.ComponentProps<typeof LibReadingProgress>;
17
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
18
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
19
+ // type-safety en el consumidor mediante LibReadingProgressProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibReadingProgress = _LibReadingProgress as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibReadingProgressProps = React.ComponentPropsWithRef<typeof LibReadingProgress>;
@@ -1,19 +1,25 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibRipple as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-ripple>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-ripple>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibRipple = createComponent({
10
+ const _LibRipple = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-ripple',
13
13
  elementClass: Element,
14
- events: {}
14
+ events: {},
15
15
  });
16
16
 
17
- // Tipado para evitar el error "JSX element class does not support attributes"
18
- export const LibRipple = _LibRipple as unknown as React.FC<any>;
19
- export type LibRippleProps = React.ComponentProps<typeof LibRipple>;
17
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
18
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
19
+ // type-safety en el consumidor mediante LibRippleProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibRipple = _LibRipple as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibRippleProps = React.ComponentPropsWithRef<typeof LibRipple>;
@@ -1,21 +1,27 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibSegmentedControl as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-segmented-control>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-segmented-control>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibSegmentedControl = createComponent({
10
+ const _LibSegmentedControl = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-segmented-control',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibChange': 'ui-lib-change'
16
- }
15
+ 'onUiLibChange': 'ui-lib-change'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibSegmentedControl = _LibSegmentedControl as unknown as React.FC<any>;
21
- export type LibSegmentedControlProps = React.ComponentProps<typeof LibSegmentedControl>;
19
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
20
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
21
+ // type-safety en el consumidor mediante LibSegmentedControlProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibSegmentedControl = _LibSegmentedControl as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibSegmentedControlProps = React.ComponentPropsWithRef<typeof LibSegmentedControl>;
@@ -1,21 +1,27 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibSelectOption as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-select-option>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-select-option>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibSelectOption = createComponent({
10
+ const _LibSelectOption = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-select-option',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onOptionSelected': 'option-selected'
16
- }
15
+ 'onOptionSelected': 'option-selected'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibSelectOption = _LibSelectOption as unknown as React.FC<any>;
21
- export type LibSelectOptionProps = React.ComponentProps<typeof LibSelectOption>;
19
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
20
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
21
+ // type-safety en el consumidor mediante LibSelectOptionProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibSelectOption = _LibSelectOption as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibSelectOptionProps = React.ComponentPropsWithRef<typeof LibSelectOption>;
@@ -1,24 +1,30 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibSelect as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-select>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-select>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibSelect = createComponent({
10
+ const _LibSelect = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-select',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibSelectOpen': 'ui-lib-select-open',
16
- 'onUiLibSelectClose': 'ui-lib-select-close',
17
- 'onUiLibSelectChange': 'ui-lib-select-change',
18
- 'onUiLibSelectMultiChange': 'ui-lib-select-multi-change'
19
- }
15
+ 'onUiLibSelectOpen': 'ui-lib-select-open',
16
+ 'onUiLibSelectClose': 'ui-lib-select-close',
17
+ 'onUiLibSelectChange': 'ui-lib-select-change',
18
+ 'onUiLibSelectMultiChange': 'ui-lib-select-multi-change'
19
+ },
20
20
  });
21
21
 
22
- // Tipado para evitar el error "JSX element class does not support attributes"
23
- export const LibSelect = _LibSelect as unknown as React.FC<any>;
24
- export type LibSelectProps = React.ComponentProps<typeof LibSelect>;
22
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
23
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
24
+ // type-safety en el consumidor mediante LibSelectProps.
25
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
26
+ export const LibSelect = _LibSelect as unknown as React.ComponentType<
27
+ WebComponentBaseProps & Record<string, unknown>
28
+ >;
29
+
30
+ export type LibSelectProps = React.ComponentPropsWithRef<typeof LibSelect>;
@@ -1,23 +1,29 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibSidebar as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-sidebar>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-sidebar>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibSidebar = createComponent({
10
+ const _LibSidebar = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-sidebar',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibNavigate': 'ui-lib-navigate',
16
- 'onUiLibUserAction': 'ui-lib-user-action',
17
- 'onUiLibSearch': 'ui-lib-search'
18
- }
15
+ 'onUiLibNavigate': 'ui-lib-navigate',
16
+ 'onUiLibUserAction': 'ui-lib-user-action',
17
+ 'onUiLibSearch': 'ui-lib-search'
18
+ },
19
19
  });
20
20
 
21
- // Tipado para evitar el error "JSX element class does not support attributes"
22
- export const LibSidebar = _LibSidebar as unknown as React.FC<any>;
23
- export type LibSidebarProps = React.ComponentProps<typeof LibSidebar>;
21
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
22
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
23
+ // type-safety en el consumidor mediante LibSidebarProps.
24
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
25
+ export const LibSidebar = _LibSidebar as unknown as React.ComponentType<
26
+ WebComponentBaseProps & Record<string, unknown>
27
+ >;
28
+
29
+ export type LibSidebarProps = React.ComponentPropsWithRef<typeof LibSidebar>;
@@ -1,19 +1,25 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibSkeleton as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-skeleton>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-skeleton>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibSkeleton = createComponent({
10
+ const _LibSkeleton = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-skeleton',
13
13
  elementClass: Element,
14
- events: {}
14
+ events: {},
15
15
  });
16
16
 
17
- // Tipado para evitar el error "JSX element class does not support attributes"
18
- export const LibSkeleton = _LibSkeleton as unknown as React.FC<any>;
19
- export type LibSkeletonProps = React.ComponentProps<typeof LibSkeleton>;
17
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
18
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
19
+ // type-safety en el consumidor mediante LibSkeletonProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibSkeleton = _LibSkeleton as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibSkeletonProps = React.ComponentPropsWithRef<typeof LibSkeleton>;
@@ -1,19 +1,25 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibSpacer as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-spacer>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-spacer>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibSpacer = createComponent({
10
+ const _LibSpacer = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-spacer',
13
13
  elementClass: Element,
14
- events: {}
14
+ events: {},
15
15
  });
16
16
 
17
- // Tipado para evitar el error "JSX element class does not support attributes"
18
- export const LibSpacer = _LibSpacer as unknown as React.FC<any>;
19
- export type LibSpacerProps = React.ComponentProps<typeof LibSpacer>;
17
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
18
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
19
+ // type-safety en el consumidor mediante LibSpacerProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibSpacer = _LibSpacer as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibSpacerProps = React.ComponentPropsWithRef<typeof LibSpacer>;
@@ -1,19 +1,25 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibSpinner as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-spinner>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-spinner>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibSpinner = createComponent({
10
+ const _LibSpinner = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-spinner',
13
13
  elementClass: Element,
14
- events: {}
14
+ events: {},
15
15
  });
16
16
 
17
- // Tipado para evitar el error "JSX element class does not support attributes"
18
- export const LibSpinner = _LibSpinner as unknown as React.FC<any>;
19
- export type LibSpinnerProps = React.ComponentProps<typeof LibSpinner>;
17
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
18
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
19
+ // type-safety en el consumidor mediante LibSpinnerProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibSpinner = _LibSpinner as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibSpinnerProps = React.ComponentPropsWithRef<typeof LibSpinner>;
@@ -1,19 +1,25 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibSpotlightCard as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-spotlight-card>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-spotlight-card>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibSpotlightCard = createComponent({
10
+ const _LibSpotlightCard = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-spotlight-card',
13
13
  elementClass: Element,
14
- events: {}
14
+ events: {},
15
15
  });
16
16
 
17
- // Tipado para evitar el error "JSX element class does not support attributes"
18
- export const LibSpotlightCard = _LibSpotlightCard as unknown as React.FC<any>;
19
- export type LibSpotlightCardProps = React.ComponentProps<typeof LibSpotlightCard>;
17
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
18
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
19
+ // type-safety en el consumidor mediante LibSpotlightCardProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibSpotlightCard = _LibSpotlightCard as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibSpotlightCardProps = React.ComponentPropsWithRef<typeof LibSpotlightCard>;
@@ -1,22 +1,28 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibStaggerContainer as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-stagger-container>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-stagger-container>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibStaggerContainer = createComponent({
10
+ const _LibStaggerContainer = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-stagger-container',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibStaggerVisible': 'ui-lib-stagger-visible',
16
- 'onUiLibStaggerHidden': 'ui-lib-stagger-hidden'
17
- }
15
+ 'onUiLibStaggerVisible': 'ui-lib-stagger-visible',
16
+ 'onUiLibStaggerHidden': 'ui-lib-stagger-hidden'
17
+ },
18
18
  });
19
19
 
20
- // Tipado para evitar el error "JSX element class does not support attributes"
21
- export const LibStaggerContainer = _LibStaggerContainer as unknown as React.FC<any>;
22
- export type LibStaggerContainerProps = React.ComponentProps<typeof LibStaggerContainer>;
20
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
21
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
22
+ // type-safety en el consumidor mediante LibStaggerContainerProps.
23
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
24
+ export const LibStaggerContainer = _LibStaggerContainer as unknown as React.ComponentType<
25
+ WebComponentBaseProps & Record<string, unknown>
26
+ >;
27
+
28
+ export type LibStaggerContainerProps = React.ComponentPropsWithRef<typeof LibStaggerContainer>;
@@ -1,19 +1,25 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import { createComponent, type EventName } from '@lit/react';
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
4
3
  import { LibStatusDot as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-status-dot>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-status-dot>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibStatusDot = createComponent({
10
+ const _LibStatusDot = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-status-dot',
13
13
  elementClass: Element,
14
- events: {}
14
+ events: {},
15
15
  });
16
16
 
17
- // Tipado para evitar el error "JSX element class does not support attributes"
18
- export const LibStatusDot = _LibStatusDot as unknown as React.FC<any>;
19
- export type LibStatusDotProps = React.ComponentProps<typeof LibStatusDot>;
17
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
18
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
19
+ // type-safety en el consumidor mediante LibStatusDotProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibStatusDot = _LibStatusDot as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibStatusDotProps = React.ComponentPropsWithRef<typeof LibStatusDot>;