@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 { LibColorSwatches as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-color-swatches>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-color-swatches>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibColorSwatches = createComponent({
10
+ const _LibColorSwatches = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-color-swatches',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibSwatchClick': 'ui-lib-swatch-click'
16
- }
15
+ 'onUiLibSwatchClick': 'ui-lib-swatch-click'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibColorSwatches = _LibColorSwatches as unknown as React.FC<any>;
21
- export type LibColorSwatchesProps = React.ComponentProps<typeof LibColorSwatches>;
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 LibColorSwatchesProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibColorSwatches = _LibColorSwatches as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibColorSwatchesProps = React.ComponentPropsWithRef<typeof LibColorSwatches>;
@@ -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 { LibComponentGrid as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-component-grid>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-component-grid>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibComponentGrid = createComponent({
10
+ const _LibComponentGrid = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-component-grid',
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 LibComponentGrid = _LibComponentGrid as unknown as React.FC<any>;
19
- export type LibComponentGridProps = React.ComponentProps<typeof LibComponentGrid>;
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 LibComponentGridProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibComponentGrid = _LibComponentGrid as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibComponentGridProps = React.ComponentPropsWithRef<typeof LibComponentGrid>;
@@ -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 { LibContentPillar as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-content-pillar>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-content-pillar>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibContentPillar = createComponent({
10
+ const _LibContentPillar = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-content-pillar',
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 LibContentPillar = _LibContentPillar as unknown as React.FC<any>;
19
- export type LibContentPillarProps = React.ComponentProps<typeof LibContentPillar>;
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 LibContentPillarProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibContentPillar = _LibContentPillar as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibContentPillarProps = React.ComponentPropsWithRef<typeof LibContentPillar>;
@@ -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 { LibCopyButton as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-copy-button>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-copy-button>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibCopyButton = createComponent({
10
+ const _LibCopyButton = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-copy-button',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onLibCopy': 'lib-copy'
16
- }
15
+ 'onLibCopy': 'lib-copy'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibCopyButton = _LibCopyButton as unknown as React.FC<any>;
21
- export type LibCopyButtonProps = React.ComponentProps<typeof LibCopyButton>;
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 LibCopyButtonProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibCopyButton = _LibCopyButton as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibCopyButtonProps = React.ComponentPropsWithRef<typeof LibCopyButton>;
@@ -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 { LibCounter as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-counter>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-counter>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibCounter = createComponent({
10
+ const _LibCounter = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-counter',
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 LibCounter = _LibCounter as unknown as React.FC<any>;
19
- export type LibCounterProps = React.ComponentProps<typeof LibCounter>;
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 LibCounterProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibCounter = _LibCounter as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibCounterProps = React.ComponentPropsWithRef<typeof LibCounter>;
@@ -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 { LibCursorFollower as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-cursor-follower>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-cursor-follower>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibCursorFollower = createComponent({
10
+ const _LibCursorFollower = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-cursor-follower',
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 LibCursorFollower = _LibCursorFollower as unknown as React.FC<any>;
19
- export type LibCursorFollowerProps = React.ComponentProps<typeof LibCursorFollower>;
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 LibCursorFollowerProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibCursorFollower = _LibCursorFollower as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibCursorFollowerProps = React.ComponentPropsWithRef<typeof LibCursorFollower>;
@@ -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 { LibDataTable as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-data-table>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-data-table>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibDataTable = createComponent({
10
+ const _LibDataTable = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-data-table',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibTableSort': 'ui-lib-table-sort',
16
- 'onUiLibTableFilter': 'ui-lib-table-filter',
17
- 'onUiLibTableRowAction': 'ui-lib-table-row-action',
18
- 'onUiLibTableSelect': 'ui-lib-table-select'
19
- }
15
+ 'onUiLibTableSort': 'ui-lib-table-sort',
16
+ 'onUiLibTableFilter': 'ui-lib-table-filter',
17
+ 'onUiLibTableRowAction': 'ui-lib-table-row-action',
18
+ 'onUiLibTableSelect': 'ui-lib-table-select'
19
+ },
20
20
  });
21
21
 
22
- // Tipado para evitar el error "JSX element class does not support attributes"
23
- export const LibDataTable = _LibDataTable as unknown as React.FC<any>;
24
- export type LibDataTableProps = React.ComponentProps<typeof LibDataTable>;
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 LibDataTableProps.
25
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
26
+ export const LibDataTable = _LibDataTable as unknown as React.ComponentType<
27
+ WebComponentBaseProps & Record<string, unknown>
28
+ >;
29
+
30
+ export type LibDataTableProps = React.ComponentPropsWithRef<typeof LibDataTable>;
@@ -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 { LibDialog as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-dialog>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-dialog>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibDialog = createComponent({
10
+ const _LibDialog = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-dialog',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibDialogClose': 'ui-lib-dialog-close'
16
- }
15
+ 'onUiLibDialogClose': 'ui-lib-dialog-close'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibDialog = _LibDialog as unknown as React.FC<any>;
21
- export type LibDialogProps = React.ComponentProps<typeof LibDialog>;
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 LibDialogProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibDialog = _LibDialog as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibDialogProps = React.ComponentPropsWithRef<typeof LibDialog>;
@@ -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 { LibDisplayHeading as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-display-heading>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-display-heading>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibDisplayHeading = createComponent({
10
+ const _LibDisplayHeading = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-display-heading',
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 LibDisplayHeading = _LibDisplayHeading as unknown as React.FC<any>;
19
- export type LibDisplayHeadingProps = React.ComponentProps<typeof LibDisplayHeading>;
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 LibDisplayHeadingProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibDisplayHeading = _LibDisplayHeading as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibDisplayHeadingProps = React.ComponentPropsWithRef<typeof LibDisplayHeading>;
@@ -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 { LibDivider as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-divider>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-divider>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibDivider = createComponent({
10
+ const _LibDivider = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-divider',
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 LibDivider = _LibDivider as unknown as React.FC<any>;
19
- export type LibDividerProps = React.ComponentProps<typeof LibDivider>;
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 LibDividerProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibDivider = _LibDivider as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibDividerProps = React.ComponentPropsWithRef<typeof LibDivider>;
@@ -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 { LibDrawer as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-drawer>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-drawer>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibDrawer = createComponent({
10
+ const _LibDrawer = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-drawer',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibDrawerClose': 'ui-lib-drawer-close'
16
- }
15
+ 'onUiLibDrawerClose': 'ui-lib-drawer-close'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibDrawer = _LibDrawer as unknown as React.FC<any>;
21
- export type LibDrawerProps = React.ComponentProps<typeof LibDrawer>;
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 LibDrawerProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibDrawer = _LibDrawer as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibDrawerProps = React.ComponentPropsWithRef<typeof LibDrawer>;
@@ -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 { LibDropdown as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-dropdown>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-dropdown>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibDropdown = createComponent({
10
+ const _LibDropdown = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-dropdown',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibDropdownToggle': 'ui-lib-dropdown-toggle',
16
- 'onUiLibDropdownItem': 'ui-lib-dropdown-item'
17
- }
15
+ 'onUiLibDropdownToggle': 'ui-lib-dropdown-toggle',
16
+ 'onUiLibDropdownItem': 'ui-lib-dropdown-item'
17
+ },
18
18
  });
19
19
 
20
- // Tipado para evitar el error "JSX element class does not support attributes"
21
- export const LibDropdown = _LibDropdown as unknown as React.FC<any>;
22
- export type LibDropdownProps = React.ComponentProps<typeof LibDropdown>;
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 LibDropdownProps.
23
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
24
+ export const LibDropdown = _LibDropdown as unknown as React.ComponentType<
25
+ WebComponentBaseProps & Record<string, unknown>
26
+ >;
27
+
28
+ export type LibDropdownProps = React.ComponentPropsWithRef<typeof LibDropdown>;
@@ -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 { LibEmptyState as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-empty-state>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-empty-state>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibEmptyState = createComponent({
10
+ const _LibEmptyState = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-empty-state',
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 LibEmptyState = _LibEmptyState as unknown as React.FC<any>;
19
- export type LibEmptyStateProps = React.ComponentProps<typeof LibEmptyState>;
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 LibEmptyStateProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibEmptyState = _LibEmptyState as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibEmptyStateProps = React.ComponentPropsWithRef<typeof LibEmptyState>;
@@ -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 { LibEyebrow as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-eyebrow>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-eyebrow>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibEyebrow = createComponent({
10
+ const _LibEyebrow = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-eyebrow',
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 LibEyebrow = _LibEyebrow as unknown as React.FC<any>;
19
- export type LibEyebrowProps = React.ComponentProps<typeof LibEyebrow>;
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 LibEyebrowProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibEyebrow = _LibEyebrow as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibEyebrowProps = React.ComponentPropsWithRef<typeof LibEyebrow>;
@@ -1,25 +1,31 @@
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 { LibFileUploader as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-file-uploader>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-file-uploader>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibFileUploader = createComponent({
10
+ const _LibFileUploader = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-file-uploader',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibUploadStart': 'ui-lib-upload-start',
16
- 'onUiLibUploadError': 'ui-lib-upload-error',
17
- 'onUiLibUploadDone': 'ui-lib-upload-done',
18
- 'onUiLibFileRemove': 'ui-lib-file-remove',
19
- 'onUiLibFilesChange': 'ui-lib-files-change'
20
- }
15
+ 'onUiLibUploadStart': 'ui-lib-upload-start',
16
+ 'onUiLibUploadError': 'ui-lib-upload-error',
17
+ 'onUiLibUploadDone': 'ui-lib-upload-done',
18
+ 'onUiLibFileRemove': 'ui-lib-file-remove',
19
+ 'onUiLibFilesChange': 'ui-lib-files-change'
20
+ },
21
21
  });
22
22
 
23
- // Tipado para evitar el error "JSX element class does not support attributes"
24
- export const LibFileUploader = _LibFileUploader as unknown as React.FC<any>;
25
- export type LibFileUploaderProps = React.ComponentProps<typeof LibFileUploader>;
23
+ // Cast necesario para resolver la incompatibilidad entre el tipo de retorno
24
+ // de createComponent y las restricciones de JSX. Evita @ts-nocheck manteniendo
25
+ // type-safety en el consumidor mediante LibFileUploaderProps.
26
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
27
+ export const LibFileUploader = _LibFileUploader as unknown as React.ComponentType<
28
+ WebComponentBaseProps & Record<string, unknown>
29
+ >;
30
+
31
+ export type LibFileUploaderProps = React.ComponentPropsWithRef<typeof LibFileUploader>;