@seed-design/react 0.2.2 → 0.2.3

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 (76) hide show
  1. package/lib/components/Checkbox/Checkbox.cjs +29 -8
  2. package/lib/components/Checkbox/Checkbox.d.ts +11 -4
  3. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
  4. package/lib/components/Checkbox/Checkbox.js +29 -8
  5. package/lib/components/Divider/Divider.cjs +23 -23
  6. package/lib/components/Divider/Divider.d.ts +2 -3
  7. package/lib/components/Divider/Divider.d.ts.map +1 -1
  8. package/lib/components/Divider/Divider.js +23 -23
  9. package/lib/components/LinkContent/LinkContent.d.ts +6 -0
  10. package/lib/components/LinkContent/LinkContent.d.ts.map +1 -1
  11. package/lib/components/List/List.cjs +57 -0
  12. package/lib/components/List/List.d.ts +27 -0
  13. package/lib/components/List/List.d.ts.map +1 -0
  14. package/lib/components/List/List.js +47 -0
  15. package/lib/components/List/List.namespace.cjs +15 -0
  16. package/lib/components/List/List.namespace.d.ts +2 -0
  17. package/lib/components/List/List.namespace.d.ts.map +1 -0
  18. package/lib/components/List/List.namespace.js +1 -0
  19. package/lib/components/List/index.cjs +17 -0
  20. package/lib/components/List/index.d.ts +3 -0
  21. package/lib/components/List/index.d.ts.map +1 -0
  22. package/lib/components/List/index.js +3 -0
  23. package/lib/components/RadioGroup/RadioGroup.cjs +79 -0
  24. package/lib/components/RadioGroup/RadioGroup.d.ts +34 -0
  25. package/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -0
  26. package/lib/components/RadioGroup/RadioGroup.js +70 -0
  27. package/lib/components/RadioGroup/RadioGroup.namespace.cjs +14 -0
  28. package/lib/components/RadioGroup/RadioGroup.namespace.d.ts +2 -0
  29. package/lib/components/RadioGroup/RadioGroup.namespace.d.ts.map +1 -0
  30. package/lib/components/RadioGroup/RadioGroup.namespace.js +1 -0
  31. package/lib/components/RadioGroup/index.cjs +16 -0
  32. package/lib/components/RadioGroup/index.d.ts +3 -0
  33. package/lib/components/RadioGroup/index.d.ts.map +1 -0
  34. package/lib/components/RadioGroup/index.js +3 -0
  35. package/lib/components/SelectBox/CheckSelectBox.cjs +0 -13
  36. package/lib/components/SelectBox/CheckSelectBox.d.ts +0 -10
  37. package/lib/components/SelectBox/CheckSelectBox.d.ts.map +1 -1
  38. package/lib/components/SelectBox/CheckSelectBox.js +1 -11
  39. package/lib/components/SelectBox/CheckSelectBox.namespace.cjs +0 -3
  40. package/lib/components/SelectBox/CheckSelectBox.namespace.d.ts +1 -1
  41. package/lib/components/SelectBox/CheckSelectBox.namespace.d.ts.map +1 -1
  42. package/lib/components/SelectBox/CheckSelectBox.namespace.js +1 -1
  43. package/lib/components/SelectBox/RadioSelectBox.cjs +0 -13
  44. package/lib/components/SelectBox/RadioSelectBox.d.ts +0 -10
  45. package/lib/components/SelectBox/RadioSelectBox.d.ts.map +1 -1
  46. package/lib/components/SelectBox/RadioSelectBox.js +1 -11
  47. package/lib/components/SelectBox/RadioSelectBox.namespace.cjs +0 -3
  48. package/lib/components/SelectBox/RadioSelectBox.namespace.d.ts +1 -1
  49. package/lib/components/SelectBox/RadioSelectBox.namespace.d.ts.map +1 -1
  50. package/lib/components/SelectBox/RadioSelectBox.namespace.js +1 -1
  51. package/lib/components/SelectBox/index.cjs +0 -6
  52. package/lib/components/SelectBox/index.d.ts +2 -2
  53. package/lib/components/SelectBox/index.d.ts.map +1 -1
  54. package/lib/components/SelectBox/index.js +2 -2
  55. package/lib/components/index.cjs +23 -10
  56. package/lib/components/index.d.ts +3 -1
  57. package/lib/components/index.d.ts.map +1 -1
  58. package/lib/components/index.js +10 -4
  59. package/lib/index.cjs +23 -10
  60. package/lib/index.js +10 -4
  61. package/package.json +3 -3
  62. package/src/components/Checkbox/Checkbox.tsx +46 -11
  63. package/src/components/Divider/Divider.tsx +35 -34
  64. package/src/components/LinkContent/LinkContent.tsx +6 -0
  65. package/src/components/List/List.namespace.ts +16 -0
  66. package/src/components/List/List.tsx +79 -0
  67. package/src/components/List/index.ts +18 -0
  68. package/src/components/RadioGroup/RadioGroup.namespace.ts +14 -0
  69. package/src/components/RadioGroup/RadioGroup.tsx +130 -0
  70. package/src/components/RadioGroup/index.ts +16 -0
  71. package/src/components/SelectBox/CheckSelectBox.namespace.ts +0 -6
  72. package/src/components/SelectBox/CheckSelectBox.tsx +0 -19
  73. package/src/components/SelectBox/RadioSelectBox.namespace.ts +0 -6
  74. package/src/components/SelectBox/RadioSelectBox.tsx +0 -19
  75. package/src/components/SelectBox/index.ts +0 -12
  76. package/src/components/index.ts +3 -1
@@ -6,7 +6,6 @@ import { forwardRef } from "react";
6
6
  import { createRecipeContext } from "../../utils/createRecipeContext";
7
7
  import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext";
8
8
  import { createWithStateProps } from "../../utils/createWithStateProps";
9
- import { InternalIcon, type InternalIconProps } from "../private/Icon";
10
9
 
11
10
  const { withContext: withGroupContext } = createRecipeContext(selectBoxGroup);
12
11
  const { withContext, withProvider } = createSlotRecipeContext(selectBox);
@@ -59,21 +58,3 @@ export const CheckSelectBoxDescription = withContext<
59
58
  HTMLSpanElement,
60
59
  CheckSelectBoxDescriptionProps
61
60
  >(withStateProps(Primitive.div), "description");
62
-
63
- export interface CheckSelectBoxControlProps extends CheckboxPrimitive.ControlProps {}
64
-
65
- export const CheckSelectBoxControl = withContext<HTMLDivElement, CheckSelectBoxControlProps>(
66
- CheckboxPrimitive.Control,
67
- "checkboxControl",
68
- );
69
-
70
- export interface CheckSelectBoxIconProps extends InternalIconProps {}
71
-
72
- export const CheckSelectBoxIcon = withContext<SVGSVGElement, CheckSelectBoxIconProps>(
73
- withStateProps(InternalIcon),
74
- "checkboxIcon",
75
- );
76
-
77
- export interface CheckSelectBoxHiddenInputProps extends CheckboxPrimitive.HiddenInputProps {}
78
-
79
- export const CheckSelectBoxHiddenInput = CheckboxPrimitive.HiddenInput;
@@ -1,17 +1,11 @@
1
1
  export {
2
2
  RadioSelectBoxContent as Content,
3
- RadioSelectBoxControl as Control,
4
3
  RadioSelectBoxDescription as Description,
5
- RadioSelectBoxHiddenInput as HiddenInput,
6
- RadioSelectBoxIcon as Icon,
7
4
  RadioSelectBoxItem as Item,
8
5
  RadioSelectBoxLabel as Label,
9
6
  RadioSelectBoxRoot as Root,
10
7
  type RadioSelectBoxContentProps as ContentProps,
11
- type RadioSelectBoxControlProps as ControlProps,
12
8
  type RadioSelectBoxDescriptionProps as DescriptionProps,
13
- type RadioSelectBoxHiddenInputProps as HiddenInputProps,
14
- type RadioSelectBoxIconProps as IconProps,
15
9
  type RadioSelectBoxItemProps as ItemProps,
16
10
  type RadioSelectBoxLabelProps as LabelProps,
17
11
  type RadioSelectBoxRootProps as RootProps,
@@ -8,7 +8,6 @@ import {
8
8
  import { createRecipeContext } from "../../utils/createRecipeContext";
9
9
  import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext";
10
10
  import { createWithStateProps } from "../../utils/createWithStateProps";
11
- import { InternalIcon, type InternalIconProps } from "../private/Icon";
12
11
 
13
12
  const { withContext: withGroupContext } = createRecipeContext(selectBoxGroup);
14
13
  const { withContext, withProvider } = createSlotRecipeContext(selectBox);
@@ -53,21 +52,3 @@ export const RadioSelectBoxDescription = withContext<
53
52
  HTMLSpanElement,
54
53
  RadioSelectBoxDescriptionProps
55
54
  >(withStateProps(Primitive.div), "description");
56
-
57
- export interface RadioSelectBoxControlProps extends RadioGroupPrimitive.ItemControlProps {}
58
-
59
- export const RadioSelectBoxControl = withContext<HTMLDivElement, RadioSelectBoxControlProps>(
60
- RadioGroupPrimitive.ItemControl,
61
- "radioControl",
62
- );
63
-
64
- export interface RadioSelectBoxIconProps extends InternalIconProps {}
65
-
66
- export const RadioSelectBoxIcon = withContext<SVGSVGElement, RadioSelectBoxIconProps>(
67
- withStateProps(InternalIcon),
68
- "radioIcon",
69
- );
70
-
71
- export interface RadioSelectBoxHiddenInputProps extends RadioGroupPrimitive.ItemHiddenInputProps {}
72
-
73
- export const RadioSelectBoxHiddenInput = RadioGroupPrimitive.ItemHiddenInput;
@@ -1,36 +1,24 @@
1
1
  export {
2
2
  CheckSelectBoxContent,
3
- CheckSelectBoxControl,
4
3
  CheckSelectBoxDescription,
5
4
  CheckSelectBoxGroup,
6
- CheckSelectBoxHiddenInput,
7
- CheckSelectBoxIcon,
8
5
  CheckSelectBoxLabel,
9
6
  CheckSelectBoxRoot,
10
7
  type CheckSelectBoxContentProps,
11
- type CheckSelectBoxControlProps,
12
8
  type CheckSelectBoxDescriptionProps,
13
9
  type CheckSelectBoxGroupProps,
14
- type CheckSelectBoxHiddenInputProps,
15
- type CheckSelectBoxIconProps,
16
10
  type CheckSelectBoxLabelProps,
17
11
  type CheckSelectBoxRootProps,
18
12
  } from "./CheckSelectBox";
19
13
 
20
14
  export {
21
15
  RadioSelectBoxContent,
22
- RadioSelectBoxControl,
23
16
  RadioSelectBoxDescription,
24
- RadioSelectBoxHiddenInput,
25
- RadioSelectBoxIcon,
26
17
  RadioSelectBoxItem,
27
18
  RadioSelectBoxLabel,
28
19
  RadioSelectBoxRoot,
29
20
  type RadioSelectBoxContentProps,
30
- type RadioSelectBoxControlProps,
31
21
  type RadioSelectBoxDescriptionProps,
32
- type RadioSelectBoxHiddenInputProps,
33
- type RadioSelectBoxIconProps,
34
22
  type RadioSelectBoxItemProps,
35
23
  type RadioSelectBoxLabelProps,
36
24
  type RadioSelectBoxRootProps,
@@ -20,15 +20,16 @@ export * from "./Divider";
20
20
  export * from "./ExtendedActionSheet";
21
21
  export * from "./ExtendedFab";
22
22
  export * from "./Fab";
23
- export * from "./FloatingActionButton";
24
23
  export * from "./Flex";
25
24
  export * from "./Float";
25
+ export * from "./FloatingActionButton";
26
26
  export * from "./HelpBubble";
27
27
  export * from "./Icon";
28
28
  export * from "./IdentityPlaceholder";
29
29
  export * from "./Inline";
30
30
  export * from "./InlineBanner";
31
31
  export * from "./LinkContent";
32
+ export * from "./List";
32
33
  export * from "./LoadingIndicator";
33
34
  export * from "./MannerTemp";
34
35
  export * from "./MannerTempBadge";
@@ -38,6 +39,7 @@ export * from "./PageBanner";
38
39
  export * from "./Portal";
39
40
  export * from "./ProgressCircle";
40
41
  export * from "./PullToRefresh";
42
+ export * from "./RadioGroup";
41
43
  export * from "./ReactionButton";
42
44
  export * from "./ResponsivePair";
43
45
  export * from "./SegmentedControl";