@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 { LibBurger as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-burger>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-burger>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibBurger = createComponent({
10
+ const _LibBurger = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-burger',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibBurgerChange': 'ui-lib-burger-change'
16
- }
15
+ 'onUiLibBurgerChange': 'ui-lib-burger-change'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibBurger = _LibBurger as unknown as React.FC<any>;
21
- export type LibBurgerProps = React.ComponentProps<typeof LibBurger>;
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 LibBurgerProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibBurger = _LibBurger as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibBurgerProps = React.ComponentPropsWithRef<typeof LibBurger>;
@@ -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 { LibButtonGroup as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-button-group>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-button-group>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibButtonGroup = createComponent({
10
+ const _LibButtonGroup = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-button-group',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibGroupChange': 'ui-lib-group-change'
16
- }
15
+ 'onUiLibGroupChange': 'ui-lib-group-change'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibButtonGroup = _LibButtonGroup as unknown as React.FC<any>;
21
- export type LibButtonGroupProps = React.ComponentProps<typeof LibButtonGroup>;
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 LibButtonGroupProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibButtonGroup = _LibButtonGroup as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibButtonGroupProps = React.ComponentPropsWithRef<typeof LibButtonGroup>;
@@ -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 { LibButtonLiquid as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-button-liquid>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-button-liquid>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibButtonLiquid = createComponent({
10
+ const _LibButtonLiquid = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-button-liquid',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibClick': 'ui-lib-click'
16
- }
15
+ 'onUiLibClick': 'ui-lib-click'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibButtonLiquid = _LibButtonLiquid as unknown as React.FC<any>;
21
- export type LibButtonLiquidProps = React.ComponentProps<typeof LibButtonLiquid>;
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 LibButtonLiquidProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibButtonLiquid = _LibButtonLiquid as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibButtonLiquidProps = React.ComponentPropsWithRef<typeof LibButtonLiquid>;
@@ -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 { LibButtonSep as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-button-sep>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-button-sep>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibButtonSep = createComponent({
10
+ const _LibButtonSep = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-button-sep',
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 LibButtonSep = _LibButtonSep as unknown as React.FC<any>;
19
- export type LibButtonSepProps = React.ComponentProps<typeof LibButtonSep>;
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 LibButtonSepProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibButtonSep = _LibButtonSep as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibButtonSepProps = React.ComponentPropsWithRef<typeof LibButtonSep>;
@@ -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 { LibButtonSplit as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-button-split>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-button-split>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibButtonSplit = createComponent({
10
+ const _LibButtonSplit = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-button-split',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibSplitAction': 'ui-lib-split-action',
16
- 'onUiLibSplitSelect': 'ui-lib-split-select'
17
- }
15
+ 'onUiLibSplitAction': 'ui-lib-split-action',
16
+ 'onUiLibSplitSelect': 'ui-lib-split-select'
17
+ },
18
18
  });
19
19
 
20
- // Tipado para evitar el error "JSX element class does not support attributes"
21
- export const LibButtonSplit = _LibButtonSplit as unknown as React.FC<any>;
22
- export type LibButtonSplitProps = React.ComponentProps<typeof LibButtonSplit>;
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 LibButtonSplitProps.
23
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
24
+ export const LibButtonSplit = _LibButtonSplit as unknown as React.ComponentType<
25
+ WebComponentBaseProps & Record<string, unknown>
26
+ >;
27
+
28
+ export type LibButtonSplitProps = React.ComponentPropsWithRef<typeof LibButtonSplit>;
@@ -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 { LibButton as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-button>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-button>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibButton = createComponent({
10
+ const _LibButton = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-button',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibClick': 'ui-lib-click',
16
- 'onLibClick': 'lib-click'
17
- }
15
+ 'onUiLibClick': 'ui-lib-click',
16
+ 'onLibClick': 'lib-click'
17
+ },
18
18
  });
19
19
 
20
- // Tipado para evitar el error "JSX element class does not support attributes"
21
- export const LibButton = _LibButton as unknown as React.FC<any>;
22
- export type LibButtonProps = React.ComponentProps<typeof LibButton>;
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 LibButtonProps.
23
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
24
+ export const LibButton = _LibButton as unknown as React.ComponentType<
25
+ WebComponentBaseProps & Record<string, unknown>
26
+ >;
27
+
28
+ export type LibButtonProps = React.ComponentPropsWithRef<typeof LibButton>;
@@ -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 { LibCard as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-card>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-card>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibCard = createComponent({
10
+ const _LibCard = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-card',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibCardClick': 'ui-lib-card-click'
16
- }
15
+ 'onUiLibCardClick': 'ui-lib-card-click'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibCard = _LibCard as unknown as React.FC<any>;
21
- export type LibCardProps = React.ComponentProps<typeof LibCard>;
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 LibCardProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibCard = _LibCard as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibCardProps = React.ComponentPropsWithRef<typeof LibCard>;
@@ -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 { LibCarousel as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-carousel>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-carousel>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibCarousel = createComponent({
10
+ const _LibCarousel = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-carousel',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibSlideChange': 'ui-lib-slide-change'
16
- }
15
+ 'onUiLibSlideChange': 'ui-lib-slide-change'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibCarousel = _LibCarousel as unknown as React.FC<any>;
21
- export type LibCarouselProps = React.ComponentProps<typeof LibCarousel>;
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 LibCarouselProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibCarousel = _LibCarousel as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibCarouselProps = React.ComponentPropsWithRef<typeof LibCarousel>;
@@ -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 { LibCheckboxCard as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-checkbox-card>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-checkbox-card>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibCheckboxCard = createComponent({
10
+ const _LibCheckboxCard = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-checkbox-card',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibCheckboxCardChange': 'ui-lib-checkbox-card-change'
16
- }
15
+ 'onUiLibCheckboxCardChange': 'ui-lib-checkbox-card-change'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibCheckboxCard = _LibCheckboxCard as unknown as React.FC<any>;
21
- export type LibCheckboxCardProps = React.ComponentProps<typeof LibCheckboxCard>;
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 LibCheckboxCardProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibCheckboxCard = _LibCheckboxCard as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibCheckboxCardProps = React.ComponentPropsWithRef<typeof LibCheckboxCard>;
@@ -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 { LibCheckbox as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-checkbox>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-checkbox>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibCheckbox = createComponent({
10
+ const _LibCheckbox = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-checkbox',
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 LibCheckbox = _LibCheckbox as unknown as React.FC<any>;
21
- export type LibCheckboxProps = React.ComponentProps<typeof LibCheckbox>;
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 LibCheckboxProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibCheckbox = _LibCheckbox as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibCheckboxProps = React.ComponentPropsWithRef<typeof LibCheckbox>;
@@ -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 { LibChip as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-chip>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-chip>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibChip = createComponent({
10
+ const _LibChip = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-chip',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibChipToggle': 'ui-lib-chip-toggle',
16
- 'onUiLibChipRemove': 'ui-lib-chip-remove'
17
- }
15
+ 'onUiLibChipToggle': 'ui-lib-chip-toggle',
16
+ 'onUiLibChipRemove': 'ui-lib-chip-remove'
17
+ },
18
18
  });
19
19
 
20
- // Tipado para evitar el error "JSX element class does not support attributes"
21
- export const LibChip = _LibChip as unknown as React.FC<any>;
22
- export type LibChipProps = React.ComponentProps<typeof LibChip>;
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 LibChipProps.
23
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
24
+ export const LibChip = _LibChip as unknown as React.ComponentType<
25
+ WebComponentBaseProps & Record<string, unknown>
26
+ >;
27
+
28
+ export type LibChipProps = React.ComponentPropsWithRef<typeof LibChip>;
@@ -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 { LibCloseButton as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-close-button>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-close-button>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibCloseButton = createComponent({
10
+ const _LibCloseButton = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-close-button',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onLibClose': 'lib-close'
16
- }
15
+ 'onLibClose': 'lib-close'
16
+ },
17
17
  });
18
18
 
19
- // Tipado para evitar el error "JSX element class does not support attributes"
20
- export const LibCloseButton = _LibCloseButton as unknown as React.FC<any>;
21
- export type LibCloseButtonProps = React.ComponentProps<typeof LibCloseButton>;
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 LibCloseButtonProps.
22
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
23
+ export const LibCloseButton = _LibCloseButton as unknown as React.ComponentType<
24
+ WebComponentBaseProps & Record<string, unknown>
25
+ >;
26
+
27
+ export type LibCloseButtonProps = React.ComponentPropsWithRef<typeof LibCloseButton>;
@@ -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 { LibCodeBlock as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-code-block>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-code-block>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibCodeBlock = createComponent({
10
+ const _LibCodeBlock = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-code-block',
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 LibCodeBlock = _LibCodeBlock as unknown as React.FC<any>;
19
- export type LibCodeBlockProps = React.ComponentProps<typeof LibCodeBlock>;
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 LibCodeBlockProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibCodeBlock = _LibCodeBlock as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibCodeBlockProps = React.ComponentPropsWithRef<typeof LibCodeBlock>;
@@ -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 { LibColorPicker as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-color-picker>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-color-picker>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibColorPicker = createComponent({
10
+ const _LibColorPicker = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-color-picker',
13
13
  elementClass: Element,
14
14
  events: {
15
- 'onUiLibApply': 'ui-lib-apply',
16
- 'onUiLibChange': 'ui-lib-change',
17
- 'onUiLibSwatchClick': 'ui-lib-swatch-click'
18
- }
15
+ 'onUiLibApply': 'ui-lib-apply',
16
+ 'onUiLibChange': 'ui-lib-change',
17
+ 'onUiLibSwatchClick': 'ui-lib-swatch-click'
18
+ },
19
19
  });
20
20
 
21
- // Tipado para evitar el error "JSX element class does not support attributes"
22
- export const LibColorPicker = _LibColorPicker as unknown as React.FC<any>;
23
- export type LibColorPickerProps = React.ComponentProps<typeof LibColorPicker>;
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 LibColorPickerProps.
24
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
25
+ export const LibColorPicker = _LibColorPicker as unknown as React.ComponentType<
26
+ WebComponentBaseProps & Record<string, unknown>
27
+ >;
28
+
29
+ export type LibColorPickerProps = React.ComponentPropsWithRef<typeof LibColorPicker>;
@@ -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 { LibColorScale as Element } from '../index.js';
4
+ import type { WebComponentBaseProps } from './types.js';
5
5
 
6
6
  /**
7
- * Wrapper de React para <lib-color-scale>
8
- * Generado automáticamente - No editar manualmente.
7
+ * React wrapper for <lib-color-scale>
8
+ * Auto-generated do not edit manually.
9
9
  */
10
- export const _LibColorScale = createComponent({
10
+ const _LibColorScale = createComponent({
11
11
  react: React,
12
12
  tagName: 'lib-color-scale',
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 LibColorScale = _LibColorScale as unknown as React.FC<any>;
19
- export type LibColorScaleProps = React.ComponentProps<typeof LibColorScale>;
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 LibColorScaleProps.
20
+ // WebComponentBaseProps omite React.HTMLAttributes intencionadamente — ver types.ts.
21
+ export const LibColorScale = _LibColorScale as unknown as React.ComponentType<
22
+ WebComponentBaseProps & Record<string, unknown>
23
+ >;
24
+
25
+ export type LibColorScaleProps = React.ComponentPropsWithRef<typeof LibColorScale>;