@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 { LibFooter as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-footer>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-footer>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibFooter = createComponent({
10
+ const _LibFooter = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-footer',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibFooterLinkClick': 'ui-lib-footer-link-click'
16
- }
15
+ 'onUiLibFooterLinkClick': 'ui-lib-footer-link-click'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibFooter = _LibFooter as unknown as React.FC<any>;
21
- export type LibFooterProps = React.ComponentProps<typeof LibFooter>;
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 LibFooterProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibFooter = _LibFooter as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibFooterProps = React.ComponentPropsWithRef<typeof LibFooter>;
@@ -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 { LibGlassCard as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-glass-card>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-glass-card>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibGlassCard = createComponent({
10
+ const _LibGlassCard = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-glass-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 LibGlassCard = _LibGlassCard as unknown as React.FC<any>;
19
- export type LibGlassCardProps = React.ComponentProps<typeof LibGlassCard>;
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 LibGlassCardProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibGlassCard = _LibGlassCard as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibGlassCardProps = React.ComponentPropsWithRef<typeof LibGlassCard>;
@@ -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 { LibHeader as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-header>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-header>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibHeader = createComponent({
10
+ const _LibHeader = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-header',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibHeaderLink': 'ui-lib-header-link',
16
- 'onUiLibHeaderAction': 'ui-lib-header-action',
17
- 'onUiLibHeaderSearch': 'ui-lib-header-search'
18
- }
15
+ 'onUiLibHeaderLink': 'ui-lib-header-link',
16
+ 'onUiLibHeaderAction': 'ui-lib-header-action',
17
+ 'onUiLibHeaderSearch': 'ui-lib-header-search'
18
+ },
19
19
  });
20
20
 
21
- // Tipado para evitar el error "JSX element class does not support attributes"
22
- export const LibHeader = _LibHeader as unknown as React.FC<any>;
23
- export type LibHeaderProps = React.ComponentProps<typeof LibHeader>;
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 LibHeaderProps.
24
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
25
+ export const LibHeader = _LibHeader as unknown as React.ComponentType<
26
+ WebComponentBaseProps & Record<string, unknown>
27
+ >;
28
+
29
+ export type LibHeaderProps = React.ComponentPropsWithRef<typeof LibHeader>;
@@ -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 { LibHorizontalScrollSection as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-horizontal-scroll-section>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-horizontal-scroll-section>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibHorizontalScrollSection = createComponent({
10
+ const _LibHorizontalScrollSection = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-horizontal-scroll-section',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibScrollProgress': 'ui-lib-scroll-progress'
16
- }
15
+ 'onUiLibScrollProgress': 'ui-lib-scroll-progress'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibHorizontalScrollSection = _LibHorizontalScrollSection as unknown as React.FC<any>;
21
- export type LibHorizontalScrollSectionProps = React.ComponentProps<typeof LibHorizontalScrollSection>;
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 LibHorizontalScrollSectionProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibHorizontalScrollSection = _LibHorizontalScrollSection as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibHorizontalScrollSectionProps = React.ComponentPropsWithRef<typeof LibHorizontalScrollSection>;
@@ -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 { LibIcon as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-icon>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-icon>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibIcon = createComponent({
10
+ const _LibIcon = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-icon',
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 LibIcon = _LibIcon as unknown as React.FC<any>;
19
- export type LibIconProps = React.ComponentProps<typeof LibIcon>;
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 LibIconProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibIcon = _LibIcon as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibIconProps = React.ComponentPropsWithRef<typeof LibIcon>;
@@ -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 { LibInput as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-input>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-input>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibInput = createComponent({
10
+ const _LibInput = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-input',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibInput': 'ui-lib-input'
16
- }
15
+ 'onUiLibInput': 'ui-lib-input'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibInput = _LibInput as unknown as React.FC<any>;
21
- export type LibInputProps = React.ComponentProps<typeof LibInput>;
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 LibInputProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibInput = _LibInput as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibInputProps = React.ComponentPropsWithRef<typeof LibInput>;
@@ -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 { LibKbd as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-kbd>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-kbd>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibKbd = createComponent({
10
+ const _LibKbd = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-kbd',
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 LibKbd = _LibKbd as unknown as React.FC<any>;
19
- export type LibKbdProps = React.ComponentProps<typeof LibKbd>;
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 LibKbdProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibKbd = _LibKbd as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibKbdProps = React.ComponentPropsWithRef<typeof LibKbd>;
@@ -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 { LibLabel as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-label>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-label>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibLabel = createComponent({
10
+ const _LibLabel = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-label',
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 LibLabel = _LibLabel as unknown as React.FC<any>;
19
- export type LibLabelProps = React.ComponentProps<typeof LibLabel>;
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 LibLabelProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibLabel = _LibLabel as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibLabelProps = React.ComponentPropsWithRef<typeof LibLabel>;
@@ -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 { LibMagnetic as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-magnetic>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-magnetic>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibMagnetic = createComponent({
10
+ const _LibMagnetic = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-magnetic',
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 LibMagnetic = _LibMagnetic as unknown as React.FC<any>;
19
- export type LibMagneticProps = React.ComponentProps<typeof LibMagnetic>;
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 LibMagneticProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibMagnetic = _LibMagnetic as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibMagneticProps = React.ComponentPropsWithRef<typeof LibMagnetic>;
@@ -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 { LibModal as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-modal>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-modal>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibModal = createComponent({
10
+ const _LibModal = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-modal',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibModalClose': 'ui-lib-modal-close'
16
- }
15
+ 'onUiLibModalClose': 'ui-lib-modal-close'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibModal = _LibModal as unknown as React.FC<any>;
21
- export type LibModalProps = React.ComponentProps<typeof LibModal>;
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 LibModalProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibModal = _LibModal as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibModalProps = React.ComponentPropsWithRef<typeof LibModal>;
@@ -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 { LibPagination as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-pagination>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-pagination>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibPagination = createComponent({
10
+ const _LibPagination = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-pagination',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibPageChange': 'ui-lib-page-change'
16
- }
15
+ 'onUiLibPageChange': 'ui-lib-page-change'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibPagination = _LibPagination as unknown as React.FC<any>;
21
- export type LibPaginationProps = React.ComponentProps<typeof LibPagination>;
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 LibPaginationProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibPagination = _LibPagination as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibPaginationProps = React.ComponentPropsWithRef<typeof LibPagination>;
@@ -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 { LibParallaxContainer as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-parallax-container>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-parallax-container>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibParallaxContainer = createComponent({
10
+ const _LibParallaxContainer = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-parallax-container',
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 LibParallaxContainer = _LibParallaxContainer as unknown as React.FC<any>;
19
- export type LibParallaxContainerProps = React.ComponentProps<typeof LibParallaxContainer>;
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 LibParallaxContainerProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibParallaxContainer = _LibParallaxContainer as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibParallaxContainerProps = React.ComponentPropsWithRef<typeof LibParallaxContainer>;
@@ -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 { LibParallaxTextStack as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-parallax-text-stack>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-parallax-text-stack>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibParallaxTextStack = createComponent({
10
+ const _LibParallaxTextStack = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-parallax-text-stack',
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 LibParallaxTextStack = _LibParallaxTextStack as unknown as React.FC<any>;
19
- export type LibParallaxTextStackProps = React.ComponentProps<typeof LibParallaxTextStack>;
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 LibParallaxTextStackProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibParallaxTextStack = _LibParallaxTextStack as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibParallaxTextStackProps = React.ComponentPropsWithRef<typeof LibParallaxTextStack>;
@@ -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 { LibProgressCircle as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-progress-circle>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-progress-circle>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibProgressCircle = createComponent({
10
+ const _LibProgressCircle = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-progress-circle',
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 LibProgressCircle = _LibProgressCircle as unknown as React.FC<any>;
19
- export type LibProgressCircleProps = React.ComponentProps<typeof LibProgressCircle>;
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 LibProgressCircleProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibProgressCircle = _LibProgressCircle as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibProgressCircleProps = React.ComponentPropsWithRef<typeof LibProgressCircle>;
@@ -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 { LibProgress as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-progress>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-progress>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibProgress = createComponent({
10
+ const _LibProgress = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-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 LibProgress = _LibProgress as unknown as React.FC<any>;
19
- export type LibProgressProps = React.ComponentProps<typeof LibProgress>;
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 LibProgressProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibProgress = _LibProgress as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibProgressProps = React.ComponentPropsWithRef<typeof LibProgress>;
@@ -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 { LibQuote as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-quote>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-quote>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibQuote = createComponent({
10
+ const _LibQuote = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-quote',
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 LibQuote = _LibQuote as unknown as React.FC<any>;
19
- export type LibQuoteProps = React.ComponentProps<typeof LibQuote>;
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 LibQuoteProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibQuote = _LibQuote as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibQuoteProps = React.ComponentPropsWithRef<typeof LibQuote>;