@sproutsocial/seeds-react-checkbox 1.1.0 → 1.3.0

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.
package/dist/index.d.mts CHANGED
@@ -1,7 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import { TypeStyledComponentsCommonProps, TypeSystemCommonProps } from '@sproutsocial/seeds-react-system-props';
4
+ import * as _sproutsocial_seeds_react_text from '@sproutsocial/seeds-react-text';
4
5
  import { TypeTextProps } from '@sproutsocial/seeds-react-text';
6
+ import * as _sproutsocial_seeds_react_icon from '@sproutsocial/seeds-react-icon';
7
+ import * as _sproutsocial_seeds_react_box from '@sproutsocial/seeds-react-box';
8
+ import * as styled_components from 'styled-components';
5
9
 
6
10
  interface TypeCheckboxProps extends TypeStyledComponentsCommonProps, TypeSystemCommonProps, Omit<React.ComponentPropsWithoutRef<"span">, "color"> {
7
11
  /** ID of the form element, should match the "for" value of the associated label */
@@ -34,4 +38,31 @@ declare class Checkbox extends React.Component<TypeCheckboxProps> {
34
38
  render(): react_jsx_runtime.JSX.Element;
35
39
  }
36
40
 
37
- export { Checkbox, type TypeCheckboxProps, Checkbox as default };
41
+ declare const inputWrapperHoverStyles: styled_components.FlattenInterpolation<styled_components.ThemeProps<any>>;
42
+ declare const InputWrapper: styled_components.StyledComponent<React.ForwardRefExoticComponent<Omit<_sproutsocial_seeds_react_box.TypeBoxProps, "ref"> & React.RefAttributes<HTMLDivElement>>, any, Pick<TypeCheckboxProps, "appearance">, never>;
43
+ declare const CheckboxBox: styled_components.StyledComponent<"div", any, {}, never>;
44
+ declare const CheckIcon: styled_components.StyledComponent<{
45
+ ({ name, size, fixedWidth, ariaLabel, color, svgProps, ...rest }: _sproutsocial_seeds_react_icon.TypeIconProps): react_jsx_runtime.JSX.Element;
46
+ Toggle: {
47
+ ({ activeName, inactiveName, isActive, size, fixedWidth, ariaLabel, ...rest }: _sproutsocial_seeds_react_icon.TypeToggleProps): react_jsx_runtime.JSX.Element;
48
+ displayName: string;
49
+ };
50
+ }, any, {
51
+ "aria-hidden": true;
52
+ }, "aria-hidden">;
53
+ declare const pillInputHoverStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<Pick<TypeCheckboxProps, "disabled">, any>>;
54
+ declare const PillInput: styled_components.StyledComponent<"input", any, {}, never>;
55
+ declare const LabelText: styled_components.StyledComponent<{
56
+ ({ fontSize, children, qa, color, ...rest }: _sproutsocial_seeds_react_text.TypeTextProps): react_jsx_runtime.JSX.Element;
57
+ Headline: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
58
+ SubHeadline: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
59
+ SmallSubHeadline: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
60
+ Byline: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
61
+ SmallByline: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
62
+ BodyCopy: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
63
+ SmallBodyCopy: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
64
+ }, any, Pick<TypeCheckboxProps, "disabled">, never>;
65
+ declare const checkboxContainerHoverStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<Pick<TypeCheckboxProps, "disabled" | "checked">, any>>;
66
+ declare const CheckboxContainer: styled_components.StyledComponent<"span", any, Pick<TypeCheckboxProps, "disabled" | "checked" | "indeterminate">, never>;
67
+
68
+ export { CheckIcon, Checkbox, CheckboxBox, CheckboxContainer, InputWrapper, LabelText, PillInput, type TypeCheckboxProps, checkboxContainerHoverStyles, Checkbox as default, inputWrapperHoverStyles, pillInputHoverStyles };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import { TypeStyledComponentsCommonProps, TypeSystemCommonProps } from '@sproutsocial/seeds-react-system-props';
4
+ import * as _sproutsocial_seeds_react_text from '@sproutsocial/seeds-react-text';
4
5
  import { TypeTextProps } from '@sproutsocial/seeds-react-text';
6
+ import * as _sproutsocial_seeds_react_icon from '@sproutsocial/seeds-react-icon';
7
+ import * as _sproutsocial_seeds_react_box from '@sproutsocial/seeds-react-box';
8
+ import * as styled_components from 'styled-components';
5
9
 
6
10
  interface TypeCheckboxProps extends TypeStyledComponentsCommonProps, TypeSystemCommonProps, Omit<React.ComponentPropsWithoutRef<"span">, "color"> {
7
11
  /** ID of the form element, should match the "for" value of the associated label */
@@ -34,4 +38,31 @@ declare class Checkbox extends React.Component<TypeCheckboxProps> {
34
38
  render(): react_jsx_runtime.JSX.Element;
35
39
  }
36
40
 
37
- export { Checkbox, type TypeCheckboxProps, Checkbox as default };
41
+ declare const inputWrapperHoverStyles: styled_components.FlattenInterpolation<styled_components.ThemeProps<any>>;
42
+ declare const InputWrapper: styled_components.StyledComponent<React.ForwardRefExoticComponent<Omit<_sproutsocial_seeds_react_box.TypeBoxProps, "ref"> & React.RefAttributes<HTMLDivElement>>, any, Pick<TypeCheckboxProps, "appearance">, never>;
43
+ declare const CheckboxBox: styled_components.StyledComponent<"div", any, {}, never>;
44
+ declare const CheckIcon: styled_components.StyledComponent<{
45
+ ({ name, size, fixedWidth, ariaLabel, color, svgProps, ...rest }: _sproutsocial_seeds_react_icon.TypeIconProps): react_jsx_runtime.JSX.Element;
46
+ Toggle: {
47
+ ({ activeName, inactiveName, isActive, size, fixedWidth, ariaLabel, ...rest }: _sproutsocial_seeds_react_icon.TypeToggleProps): react_jsx_runtime.JSX.Element;
48
+ displayName: string;
49
+ };
50
+ }, any, {
51
+ "aria-hidden": true;
52
+ }, "aria-hidden">;
53
+ declare const pillInputHoverStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<Pick<TypeCheckboxProps, "disabled">, any>>;
54
+ declare const PillInput: styled_components.StyledComponent<"input", any, {}, never>;
55
+ declare const LabelText: styled_components.StyledComponent<{
56
+ ({ fontSize, children, qa, color, ...rest }: _sproutsocial_seeds_react_text.TypeTextProps): react_jsx_runtime.JSX.Element;
57
+ Headline: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
58
+ SubHeadline: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
59
+ SmallSubHeadline: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
60
+ Byline: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
61
+ SmallByline: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
62
+ BodyCopy: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
63
+ SmallBodyCopy: styled_components.StyledComponent<"span", any, _sproutsocial_seeds_react_text.TypeTextProps, never>;
64
+ }, any, Pick<TypeCheckboxProps, "disabled">, never>;
65
+ declare const checkboxContainerHoverStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<Pick<TypeCheckboxProps, "disabled" | "checked">, any>>;
66
+ declare const CheckboxContainer: styled_components.StyledComponent<"span", any, Pick<TypeCheckboxProps, "disabled" | "checked" | "indeterminate">, never>;
67
+
68
+ export { CheckIcon, Checkbox, CheckboxBox, CheckboxContainer, InputWrapper, LabelText, PillInput, type TypeCheckboxProps, checkboxContainerHoverStyles, Checkbox as default, inputWrapperHoverStyles, pillInputHoverStyles };