digital-rabbit-cl 1.2.8 → 1.3.1

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 (72) hide show
  1. package/README.md +1 -1
  2. package/dist/components/Button/Button.d.ts +6 -14
  3. package/dist/components/Button/Button.d.ts.map +1 -1
  4. package/dist/components/Button/useButtonStyles.d.ts +2 -2
  5. package/dist/components/Button/useButtonStyles.d.ts.map +1 -1
  6. package/dist/components/Checkbox/Checkbox.d.ts +8 -3
  7. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  8. package/dist/components/Checkbox/useCheckboxStyles.d.ts +1 -1
  9. package/dist/components/Checkbox/useCheckboxStyles.d.ts.map +1 -1
  10. package/dist/components/FeatureCard/FeatureCard.d.ts +3 -2
  11. package/dist/components/FeatureCard/FeatureCard.d.ts.map +1 -1
  12. package/dist/components/FeatureGridSection/FeatureGridSection.d.ts +2 -3
  13. package/dist/components/FeatureGridSection/FeatureGridSection.d.ts.map +1 -1
  14. package/dist/components/Footer/Footer.d.ts +4 -8
  15. package/dist/components/Footer/Footer.d.ts.map +1 -1
  16. package/dist/components/Footer/useFooterStyles.d.ts +10 -10
  17. package/dist/components/Footer/useFooterStyles.d.ts.map +1 -1
  18. package/dist/components/Form/Form.d.ts +3 -1
  19. package/dist/components/Form/Form.d.ts.map +1 -1
  20. package/dist/components/Form/FormField.d.ts +1 -1
  21. package/dist/components/Form/FormField.d.ts.map +1 -1
  22. package/dist/components/FormError/FormError.d.ts +1 -1
  23. package/dist/components/FormError/FormError.d.ts.map +1 -1
  24. package/dist/components/FormGroup/FormGroup.d.ts +6 -9
  25. package/dist/components/FormGroup/FormGroup.d.ts.map +1 -1
  26. package/dist/components/FormLabel/FormLabel.d.ts +3 -3
  27. package/dist/components/FormLabel/FormLabel.d.ts.map +1 -1
  28. package/dist/components/Hamburger/Hamburger.d.ts +4 -5
  29. package/dist/components/Hamburger/Hamburger.d.ts.map +1 -1
  30. package/dist/components/Hamburger/useHamburgerStyles.d.ts +1 -1
  31. package/dist/components/Hamburger/useHamburgerStyles.d.ts.map +1 -1
  32. package/dist/components/Header/Header.d.ts +4 -8
  33. package/dist/components/Header/Header.d.ts.map +1 -1
  34. package/dist/components/Header/useHeaderStyles.d.ts +3 -3
  35. package/dist/components/Header/useHeaderStyles.d.ts.map +1 -1
  36. package/dist/components/Hero/Hero.d.ts +1 -1
  37. package/dist/components/Hero/Hero.d.ts.map +1 -1
  38. package/dist/components/Input/Input.d.ts +3 -3
  39. package/dist/components/Input/Input.d.ts.map +1 -1
  40. package/dist/components/LoadingSpinner/LoadingSpinner.d.ts +7 -3
  41. package/dist/components/LoadingSpinner/LoadingSpinner.d.ts.map +1 -1
  42. package/dist/components/PageLayout/PageLayout.d.ts +3 -2
  43. package/dist/components/PageLayout/PageLayout.d.ts.map +1 -1
  44. package/dist/components/Radio/Radio.d.ts +8 -3
  45. package/dist/components/Radio/Radio.d.ts.map +1 -1
  46. package/dist/components/ResponsiveNav/ResponsiveNav.d.ts +8 -7
  47. package/dist/components/ResponsiveNav/ResponsiveNav.d.ts.map +1 -1
  48. package/dist/components/ResponsiveSection/ResponsiveSection.d.ts +4 -4
  49. package/dist/components/ResponsiveSection/ResponsiveSection.d.ts.map +1 -1
  50. package/dist/components/Select/Select.d.ts +3 -3
  51. package/dist/components/Select/Select.d.ts.map +1 -1
  52. package/dist/components/Stack/Stack.d.ts +2 -2
  53. package/dist/components/Stack/Stack.d.ts.map +1 -1
  54. package/dist/components/Textarea/Textarea.d.ts +3 -3
  55. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  56. package/dist/digital-rabbit-cl.es.js +1177 -1066
  57. package/dist/digital-rabbit-cl.umd.js +4 -4
  58. package/dist/index.d.ts +4 -2
  59. package/dist/index.d.ts.map +1 -1
  60. package/dist/test-utils.d.ts +2 -1
  61. package/dist/test-utils.d.ts.map +1 -1
  62. package/dist/theme/ThemeContext.d.ts +2 -7
  63. package/dist/theme/ThemeContext.d.ts.map +1 -1
  64. package/dist/theme/index.d.ts +2 -2
  65. package/dist/theme/index.d.ts.map +1 -1
  66. package/dist/types/utils.d.ts +7 -0
  67. package/dist/types/utils.d.ts.map +1 -0
  68. package/dist/utils.d.ts +23 -0
  69. package/dist/utils.d.ts.map +1 -0
  70. package/package.json +1 -1
  71. package/dist/utils/componentProps.d.ts +0 -247
  72. package/dist/utils/componentProps.d.ts.map +0 -1
@@ -1,14 +1,15 @@
1
1
  import { default as React } from 'react';
2
- import { BaseComponentProps, StateProps, ColorProps, FormElementProps } from '../../utils/componentProps';
2
+ import { FormLabelProps } from '../FormLabel';
3
+ import { BaseComponentProps, StateProps, ColorProps, FormElementProps, ElementSpecificProps } from '../../types/component-props.d.ts';
3
4
  export interface RadioProps extends Pick<BaseComponentProps, 'className' | 'style'>, Pick<StateProps, 'disabled' | 'error'>, Pick<ColorProps, 'color'>, Required<Pick<FormElementProps, 'name'>>, Pick<FormElementProps, 'id'> {
4
5
  /**
5
6
  * Whether radio is checked
6
7
  */
7
8
  checked?: boolean;
8
9
  /**
9
- * Label text for the radio
10
+ * Label for the radio
10
11
  */
11
- label?: string;
12
+ label?: FormLabelProps['children'];
12
13
  /**
13
14
  * Custom styles for the label
14
15
  */
@@ -23,6 +24,10 @@ export interface RadioProps extends Pick<BaseComponentProps, 'className' | 'styl
23
24
  type: string;
24
25
  };
25
26
  }) => void;
27
+ /**
28
+ * HTML div attributes (omits all top-level props to prevent conflicts)
29
+ */
30
+ divProps?: Omit<ElementSpecificProps<HTMLDivElement>, 'className' | 'style'>;
26
31
  }
27
32
  declare const Radio: React.FC<RadioProps>;
28
33
  export default Radio;
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EACV,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,gBAAgB,EACjB,MAAM,4B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AI,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,EACxC,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC;IAE9B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAEnC;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAEjC;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE;YAAE,OAAO,EAAE,OAAO,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAExF;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,CAAC;CAC9E;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAmG/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,7 +1,12 @@
1
1
  import { default as React } from 'react';
2
2
  import { ThemeBreakpoints } from '../../theme';
3
- import { ElementSpecificProps } from '../../utils/componentProps';
3
+ import { ElementSpecificProps } from '../../types/component-props.d.ts';
4
4
  export interface ResponsiveNavProps {
5
+ mobileBackground?: string;
6
+ mobileColor?: string;
7
+ mobileActiveBackground?: string;
8
+ mobileActiveColor?: string;
9
+ mobileButtonHoverColor?: string;
5
10
  /**
6
11
  * Breakpoint values for responsive behavior
7
12
  * Can override specific breakpoints: { xs, sm, md, lg }
@@ -10,13 +15,9 @@ export interface ResponsiveNavProps {
10
15
  children: React.ReactNode | ((context: {
11
16
  setOpen: (open: boolean) => void;
12
17
  }) => React.ReactNode);
13
- mobileBackground?: string;
14
- mobileColor?: string;
15
- mobileActiveBackground?: string;
16
- mobileActiveColor?: string;
17
- mobileButtonHoverColor?: string;
18
+ className?: string;
18
19
  style?: React.CSSProperties;
19
- navProps?: ElementSpecificProps<HTMLElement>;
20
+ navProps?: Omit<ElementSpecificProps<HTMLElement>, 'className' | 'style'>;
20
21
  }
21
22
  declare const ResponsiveNav: React.FC<ResponsiveNavProps>;
22
23
  export default ResponsiveNav;
@@ -1 +1 @@
1
- {"version":3,"file":"ResponsiveNav.d.ts","sourceRoot":"","sources":["../../../src/components/ResponsiveNav/ResponsiveNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAY,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAUvE,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,OAAO,EAAE;QAAE,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IACjG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;CAC9C;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiF/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"ResponsiveNav.d.ts","sourceRoot":"","sources":["../../../src/components/ResponsiveNav/ResponsiveNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAY,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAE7E,MAAM,WAAW,kBAAkB;IAEjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAGhC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAGxC,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,OAAO,EAAE;QAAE,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IAGjG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAG5B,QAAQ,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,CAAC;CAC3E;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA4F/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { default as React } from 'react';
2
- import { BaseComponentProps, ColorProps, LayoutProps, ElementSpecificProps } from '../../utils/componentProps';
3
- export interface ResponsiveSectionProps extends Pick<BaseComponentProps, 'className' | 'style' | 'children'>, Pick<ColorProps, 'color' | 'background'>, Pick<LayoutProps, 'margin' | 'gap' | 'maxWidth' | 'minWidth' | 'width' | 'height' | 'padding' | 'paddingSm'> {
2
+ import { BaseComponentProps, ColorProps, LayoutProps, ElementSpecificProps } from '../../types/component-props.d.ts';
3
+ export interface ResponsiveSectionProps extends Pick<BaseComponentProps, 'className' | 'style' | 'children'>, Pick<ColorProps, 'color' | 'backgroundColor'>, Pick<LayoutProps, 'margin' | 'gap' | 'maxWidth' | 'minWidth' | 'width' | 'height' | 'padding' | 'paddingSm'> {
4
4
  /**
5
5
  * Vertical rhythm multiplier - uses theme.fonts.rhythm as base
6
6
  */
7
7
  verticalRhythm?: number;
8
8
  /**
9
- * HTML section element attributes
9
+ * HTML section element attributes (omits all top-level props to prevent conflicts)
10
10
  */
11
- sectionProps?: ElementSpecificProps<HTMLElement>;
11
+ sectionProps?: Omit<ElementSpecificProps<HTMLElement>, 'className' | 'style'>;
12
12
  }
13
13
  declare const ResponsiveSection: React.FC<ResponsiveSectionProps>;
14
14
  export default ResponsiveSection;
@@ -1 +1 @@
1
- {"version":3,"file":"ResponsiveSection.d.ts","sourceRoot":"","sources":["../../../src/components/ResponsiveSection/ResponsiveSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EACV,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,oBAAoB,EACrB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,GAAG,OAAO,GAAG,UAAU,CAAC,EAClE,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,YAAY,CAAC,EACxC,IAAI,CACF,WAAW,EACX,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAC1F;IACH;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;CAClD;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAoDvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"ResponsiveSection.d.ts","sourceRoot":"","sources":["../../../src/components/ResponsiveSection/ResponsiveSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EACV,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,GAAG,OAAO,GAAG,UAAU,CAAC,EAClE,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,iBAAiB,CAAC,EAC7C,IAAI,CACF,WAAW,EACX,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAC1F;IACH;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,CAAC;CAC/E;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA4DvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { BaseComponentProps, StateProps, ColorProps, FormElementProps, TextInputProps, SizeVariant, SelectAttributes } from '../../utils/componentProps';
2
+ import { BaseComponentProps, StateProps, ColorProps, FormElementProps, TextInputProps, SizeVariant, ElementSpecificProps } from '../../types/component-props.d.ts';
3
3
  export interface SelectProps extends Pick<BaseComponentProps, 'className' | 'style' | 'children'>, Pick<StateProps, 'disabled' | 'error'>, Pick<ColorProps, 'color'>, FormElementProps, Pick<TextInputProps, 'placeholder'> {
4
4
  /**
5
5
  * Select size variant
@@ -18,9 +18,9 @@ export interface SelectProps extends Pick<BaseComponentProps, 'className' | 'sty
18
18
  */
19
19
  value?: string;
20
20
  /**
21
- * HTML select attributes
21
+ * HTML select attributes (omits all top-level props to prevent conflicts)
22
22
  */
23
- selectProps?: SelectAttributes;
23
+ selectProps?: Omit<ElementSpecificProps<HTMLSelectElement>, 'className' | 'style' | 'disabled' | 'id' | 'name' | 'onChange' | 'onBlur' | 'value' | 'children'>;
24
24
  }
25
25
  declare const Select: React.FC<SelectProps>;
26
26
  export default Select;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EACV,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,GAAG,OAAO,GAAG,UAAU,CAAC,EAClE,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,EACtC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,EACzB,gBAAgB,EAChB,IAAI,CAAC,cAAc,EAAE,aAAa,CAAC;IAErC;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IAGnB;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAEhE;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAE9D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf;;OAEG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAChC;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA6EjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EACV,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,GAAG,OAAO,GAAG,UAAU,CAAC,EAClE,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,EACtC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,EACzB,gBAAgB,EAChB,IAAI,CAAC,cAAc,EAAE,aAAa,CAAC;IAErC;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IAGnB;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAEhE;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAE9D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAChB,oBAAoB,CAAC,iBAAiB,CAAC,EACrC,WAAW,GACX,OAAO,GACP,UAAU,GACV,IAAI,GACJ,MAAM,GACN,UAAU,GACV,QAAQ,GACR,OAAO,GACP,UAAU,CACb,CAAC;CACH;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAyFjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
- import { BaseComponentProps, LayoutProps, ElementSpecificProps } from '../../utils/componentProps';
2
+ import { BaseComponentProps, LayoutProps, ElementSpecificProps } from '../../types/component-props.d.ts';
3
3
  export interface StackProps extends BaseComponentProps, Pick<LayoutProps, 'direction'> {
4
- divProps?: ElementSpecificProps<HTMLDivElement>;
4
+ divProps?: Omit<ElementSpecificProps<HTMLDivElement>, 'className' | 'style'>;
5
5
  }
6
6
  /**
7
7
  * Stack provides consistent spacing for elements in either vertical or horizontal layouts.
@@ -1 +1 @@
1
- {"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACX,oBAAoB,EACrB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,WAAW,UAAW,SAAQ,kBAAkB,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC;IACpF,QAAQ,CAAC,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAC;CACjD;AAED;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAoB/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACX,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,kBAAkB,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC;IACpF,QAAQ,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,CAAC;CAC9E;AAED;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA2B/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { BaseComponentProps, StateProps, ColorProps, FormElementProps, TextInputProps, SizeVariant, TextareaAttributes } from '../../utils/componentProps';
2
+ import { BaseComponentProps, StateProps, ColorProps, FormElementProps, TextInputProps, SizeVariant, ElementSpecificProps } from '../../types/component-props.d.ts';
3
3
  export interface TextareaProps extends Pick<BaseComponentProps, 'className' | 'style'>, Pick<StateProps, 'disabled' | 'error'>, Pick<ColorProps, 'color'>, FormElementProps, TextInputProps {
4
4
  /**
5
5
  * Textarea size variant
@@ -18,9 +18,9 @@ export interface TextareaProps extends Pick<BaseComponentProps, 'className' | 's
18
18
  */
19
19
  rows?: number;
20
20
  /**
21
- * HTML textarea attributes
21
+ * HTML textarea attributes (omits all top-level props to prevent conflicts)
22
22
  */
23
- textareaProps?: TextareaAttributes;
23
+ textareaProps?: Omit<ElementSpecificProps<HTMLTextAreaElement>, 'className' | 'style' | 'disabled' | 'id' | 'name' | 'onChange' | 'onBlur' | 'placeholder' | 'rows' | 'value'>;
24
24
  }
25
25
  declare const Textarea: React.FC<TextareaProps>;
26
26
  export default Textarea;
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EACV,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,kBAAkB,EACnB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,GAAG,OAAO,CAAC,EACrD,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,EACtC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,EACzB,gBAAgB,EAChB,cAAc;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IAGnB;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EA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