@seed-design/react 0.0.7 → 0.0.9

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 (111) hide show
  1. package/lib/components/ActionButton/ActionButton.cjs +2 -4
  2. package/lib/components/ActionButton/ActionButton.d.ts.map +1 -1
  3. package/lib/components/ActionButton/ActionButton.js +2 -4
  4. package/lib/components/ActionChip/ActionChip.cjs +2 -2
  5. package/lib/components/ActionChip/ActionChip.js +2 -2
  6. package/lib/components/ActionSheet/ActionSheet.cjs +2 -2
  7. package/lib/components/ActionSheet/ActionSheet.js +2 -2
  8. package/lib/components/Badge/Badge.cjs +2 -2
  9. package/lib/components/Badge/Badge.d.ts.map +1 -1
  10. package/lib/components/Badge/Badge.js +2 -2
  11. package/lib/components/ControlChip/ControlChip.cjs +2 -2
  12. package/lib/components/ControlChip/ControlChip.js +2 -2
  13. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +2 -2
  14. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +2 -2
  15. package/lib/components/ExtendedFab/ExtendedFab.cjs +2 -2
  16. package/lib/components/ExtendedFab/ExtendedFab.js +2 -2
  17. package/lib/components/Fab/Fab.cjs +2 -2
  18. package/lib/components/Fab/Fab.d.ts.map +1 -1
  19. package/lib/components/Fab/Fab.js +2 -2
  20. package/lib/components/LinkContent/LinkContent.cjs +2 -2
  21. package/lib/components/LinkContent/LinkContent.js +2 -2
  22. package/lib/components/MannerTemp/MannerTemp.cjs +19 -0
  23. package/lib/components/MannerTemp/MannerTemp.d.ts +7 -0
  24. package/lib/components/MannerTemp/MannerTemp.d.ts.map +1 -0
  25. package/lib/components/MannerTemp/MannerTemp.js +15 -0
  26. package/lib/components/MannerTemp/MannerTempEmote.cjs +632 -0
  27. package/lib/components/MannerTemp/MannerTempEmote.d.ts +7 -0
  28. package/lib/components/MannerTemp/MannerTempEmote.d.ts.map +1 -0
  29. package/lib/components/MannerTemp/MannerTempEmote.js +627 -0
  30. package/lib/components/MannerTemp/index.cjs +11 -0
  31. package/lib/components/MannerTemp/index.d.ts +3 -0
  32. package/lib/components/MannerTemp/index.d.ts.map +1 -0
  33. package/lib/components/MannerTemp/index.js +2 -0
  34. package/lib/components/MannerTempBadge/MannerTempBadge.cjs +2 -2
  35. package/lib/components/MannerTempBadge/MannerTempBadge.d.ts.map +1 -1
  36. package/lib/components/MannerTempBadge/MannerTempBadge.js +2 -2
  37. package/lib/components/NotificationBadge/NotificationBadge.cjs +43 -0
  38. package/lib/components/NotificationBadge/NotificationBadge.d.ts +11 -0
  39. package/lib/components/NotificationBadge/NotificationBadge.d.ts.map +1 -0
  40. package/lib/components/NotificationBadge/NotificationBadge.js +20 -0
  41. package/lib/components/NotificationBadge/index.cjs +10 -0
  42. package/lib/components/NotificationBadge/index.d.ts +2 -0
  43. package/lib/components/NotificationBadge/index.d.ts.map +1 -0
  44. package/lib/components/NotificationBadge/index.js +1 -0
  45. package/lib/components/ReactionButton/ReactionButton.cjs +2 -4
  46. package/lib/components/ReactionButton/ReactionButton.d.ts.map +1 -1
  47. package/lib/components/ReactionButton/ReactionButton.js +2 -4
  48. package/lib/components/SelectBox/CheckSelectBox.cjs +3 -3
  49. package/lib/components/SelectBox/CheckSelectBox.js +3 -3
  50. package/lib/components/SelectBox/RadioSelectBox.cjs +3 -3
  51. package/lib/components/SelectBox/RadioSelectBox.js +3 -3
  52. package/lib/components/Skeleton/Skeleton.cjs +2 -2
  53. package/lib/components/Skeleton/Skeleton.d.ts.map +1 -1
  54. package/lib/components/Skeleton/Skeleton.js +2 -2
  55. package/lib/components/Snackbar/Snackbar.cjs +2 -2
  56. package/lib/components/Snackbar/Snackbar.js +2 -2
  57. package/lib/components/Tabs/Tabs.cjs +1 -11
  58. package/lib/components/Tabs/Tabs.d.ts +9 -13
  59. package/lib/components/Tabs/Tabs.d.ts.map +1 -1
  60. package/lib/components/Tabs/Tabs.js +2 -11
  61. package/lib/components/Tabs/Tabs.namespace.cjs +0 -1
  62. package/lib/components/Tabs/Tabs.namespace.d.ts +1 -1
  63. package/lib/components/Tabs/Tabs.namespace.d.ts.map +1 -1
  64. package/lib/components/Tabs/Tabs.namespace.js +1 -1
  65. package/lib/components/Tabs/index.cjs +0 -1
  66. package/lib/components/Tabs/index.d.ts +1 -1
  67. package/lib/components/Tabs/index.d.ts.map +1 -1
  68. package/lib/components/Tabs/index.js +1 -1
  69. package/lib/components/ToggleButton/ToggleButton.cjs +3 -5
  70. package/lib/components/ToggleButton/ToggleButton.d.ts +1 -1
  71. package/lib/components/ToggleButton/ToggleButton.d.ts.map +1 -1
  72. package/lib/components/ToggleButton/ToggleButton.js +3 -5
  73. package/lib/components/index.cjs +7 -1
  74. package/lib/components/index.d.ts +2 -0
  75. package/lib/components/index.d.ts.map +1 -1
  76. package/lib/components/index.js +4 -1
  77. package/lib/index.cjs +7 -1
  78. package/lib/index.js +4 -1
  79. package/lib/utils/createRecipeContext.cjs +6 -41
  80. package/lib/utils/createRecipeContext.d.ts +4 -12
  81. package/lib/utils/createRecipeContext.d.ts.map +1 -1
  82. package/lib/utils/createRecipeContext.js +6 -41
  83. package/lib/utils/createWithStateProps.cjs +1 -1
  84. package/lib/utils/createWithStateProps.js +1 -1
  85. package/package.json +3 -3
  86. package/src/components/ActionButton/ActionButton.tsx +12 -17
  87. package/src/components/ActionChip/ActionChip.tsx +2 -2
  88. package/src/components/ActionSheet/ActionSheet.tsx +2 -2
  89. package/src/components/Badge/Badge.tsx +2 -2
  90. package/src/components/ControlChip/ControlChip.tsx +2 -2
  91. package/src/components/ExtendedActionSheet/ExtendedActionSheet.tsx +2 -2
  92. package/src/components/ExtendedFab/ExtendedFab.tsx +2 -2
  93. package/src/components/Fab/Fab.tsx +2 -2
  94. package/src/components/LinkContent/LinkContent.tsx +2 -2
  95. package/src/components/MannerTemp/MannerTemp.tsx +25 -0
  96. package/src/components/MannerTemp/MannerTempEmote.tsx +464 -0
  97. package/src/components/MannerTemp/index.ts +2 -0
  98. package/src/components/MannerTempBadge/MannerTempBadge.tsx +2 -2
  99. package/src/components/NotificationBadge/NotificationBadge.tsx +47 -0
  100. package/src/components/NotificationBadge/index.ts +6 -0
  101. package/src/components/ReactionButton/ReactionButton.tsx +8 -13
  102. package/src/components/SelectBox/CheckSelectBox.tsx +3 -3
  103. package/src/components/SelectBox/RadioSelectBox.tsx +3 -3
  104. package/src/components/Skeleton/Skeleton.tsx +2 -2
  105. package/src/components/Snackbar/Snackbar.tsx +2 -2
  106. package/src/components/Tabs/Tabs.namespace.ts +0 -2
  107. package/src/components/Tabs/Tabs.tsx +1 -22
  108. package/src/components/Tabs/index.ts +0 -2
  109. package/src/components/ToggleButton/ToggleButton.tsx +9 -14
  110. package/src/components/index.ts +2 -0
  111. package/src/utils/createRecipeContext.tsx +12 -72
@@ -7,7 +7,6 @@ const actionButton = require('@seed-design/css/recipes/action-button');
7
7
  const reactPrimitive = require('@seed-design/react-primitive');
8
8
  const clsx = require('clsx');
9
9
  const React = require('react');
10
- const createRecipeContext = require('../../utils/createRecipeContext.cjs');
11
10
  const Icon = require('../Icon/Icon.cjs');
12
11
  const usePendingButton = require('../LoadingIndicator/usePendingButton.cjs');
13
12
 
@@ -30,7 +29,6 @@ function _interopNamespaceDefault(e) {
30
29
 
31
30
  const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
32
31
 
33
- const { ClassNameProvider } = createRecipeContext.createRecipeContext(actionButton.actionButton);
34
32
  const ActionButton = React__namespace.forwardRef(
35
33
  ({ variant, size, loading = false, layout = "withText", className, children, ...otherProps }, ref) => {
36
34
  const recipeClassName = actionButton.actionButton({ variant, layout, size });
@@ -40,7 +38,7 @@ const ActionButton = React__namespace.forwardRef(
40
38
  "When layout is 'iconOnly', 'aria-label' or 'aria-labelledby' should be provided."
41
39
  );
42
40
  }
43
- return /* @__PURE__ */ jsxRuntime.jsx(ClassNameProvider, { value: recipeClassName, children: /* @__PURE__ */ jsxRuntime.jsx(usePendingButton.PendingButtonProvider, { value: api, children: /* @__PURE__ */ jsxRuntime.jsx(Icon.IconRequired, { enabled: layout === "iconOnly", children: /* @__PURE__ */ jsxRuntime.jsx(
41
+ return /* @__PURE__ */ jsxRuntime.jsx(usePendingButton.PendingButtonProvider, { value: api, children: /* @__PURE__ */ jsxRuntime.jsx(Icon.IconRequired, { enabled: layout === "iconOnly", children: /* @__PURE__ */ jsxRuntime.jsx(
44
42
  reactPrimitive.Primitive.button,
45
43
  {
46
44
  ref,
@@ -49,7 +47,7 @@ const ActionButton = React__namespace.forwardRef(
49
47
  ...otherProps,
50
48
  children
51
49
  }
52
- ) }) }) });
50
+ ) }) });
53
51
  }
54
52
  );
55
53
  ActionButton.displayName = "ActionButton";
@@ -1 +1 @@
1
- {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../src/components/ActionButton/ActionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,sCAAsC,CAAC;AAI9C,MAAM,WAAW,iBACf,SAAQ,wBAAwB,EAC9B,qBAAqB,EACrB,cAAc,EACd,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAEpD,eAAO,MAAM,YAAY,6FA+BxB,CAAC"}
1
+ {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../src/components/ActionButton/ActionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,sCAAsC,CAAC;AAE9C,MAAM,WAAW,iBACf,SAAQ,wBAAwB,EAC9B,qBAAqB,EACrB,cAAc,EACd,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAEpD,eAAO,MAAM,YAAY,6FA6BxB,CAAC"}
@@ -3,11 +3,9 @@ import { actionButton } from '@seed-design/css/recipes/action-button';
3
3
  import { Primitive } from '@seed-design/react-primitive';
4
4
  import clsx from 'clsx';
5
5
  import * as React from 'react';
6
- import { createRecipeContext } from '../../utils/createRecipeContext.js';
7
6
  import { IconRequired } from '../Icon/Icon.js';
8
7
  import { usePendingButton, PendingButtonProvider } from '../LoadingIndicator/usePendingButton.js';
9
8
 
10
- const { ClassNameProvider } = createRecipeContext(actionButton);
11
9
  const ActionButton = React.forwardRef(
12
10
  ({ variant, size, loading = false, layout = "withText", className, children, ...otherProps }, ref) => {
13
11
  const recipeClassName = actionButton({ variant, layout, size });
@@ -17,7 +15,7 @@ const ActionButton = React.forwardRef(
17
15
  "When layout is 'iconOnly', 'aria-label' or 'aria-labelledby' should be provided."
18
16
  );
19
17
  }
20
- return /* @__PURE__ */ jsx(ClassNameProvider, { value: recipeClassName, children: /* @__PURE__ */ jsx(PendingButtonProvider, { value: api, children: /* @__PURE__ */ jsx(IconRequired, { enabled: layout === "iconOnly", children: /* @__PURE__ */ jsx(
18
+ return /* @__PURE__ */ jsx(PendingButtonProvider, { value: api, children: /* @__PURE__ */ jsx(IconRequired, { enabled: layout === "iconOnly", children: /* @__PURE__ */ jsx(
21
19
  Primitive.button,
22
20
  {
23
21
  ref,
@@ -26,7 +24,7 @@ const ActionButton = React.forwardRef(
26
24
  ...otherProps,
27
25
  children
28
26
  }
29
- ) }) }) });
27
+ ) }) });
30
28
  }
31
29
  );
32
30
  ActionButton.displayName = "ActionButton";
@@ -7,9 +7,9 @@ const reactPrimitive = require('@seed-design/react-primitive');
7
7
  const createRecipeContext = require('../../utils/createRecipeContext.cjs');
8
8
  const Icon = require('../Icon/Icon.cjs');
9
9
 
10
- const { withProvider } = createRecipeContext.createRecipeContext(actionChip.actionChip);
10
+ const { withContext } = createRecipeContext.createRecipeContext(actionChip.actionChip);
11
11
  const ActionChip = Icon.withIconRequired(
12
- withProvider(reactPrimitive.Primitive.button),
12
+ withContext(reactPrimitive.Primitive.button),
13
13
  (props) => props.layout === "iconOnly"
14
14
  );
15
15
  ActionChip.displayName = "ActionChip";
@@ -3,9 +3,9 @@ import { Primitive } from '@seed-design/react-primitive';
3
3
  import { createRecipeContext } from '../../utils/createRecipeContext.js';
4
4
  import { withIconRequired } from '../Icon/Icon.js';
5
5
 
6
- const { withProvider } = createRecipeContext(actionChip);
6
+ const { withContext } = createRecipeContext(actionChip);
7
7
  const ActionChip = withIconRequired(
8
- withProvider(Primitive.button),
8
+ withContext(Primitive.button),
9
9
  (props) => props.layout === "iconOnly"
10
10
  );
11
11
  ActionChip.displayName = "ActionChip";
@@ -11,7 +11,7 @@ const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs
11
11
  const createWithStateProps = require('../../utils/createWithStateProps.cjs');
12
12
 
13
13
  const { withRootProvider, withContext } = createSlotRecipeContext.createSlotRecipeContext(actionSheet.actionSheet);
14
- const { withProvider: withItemProvider } = createRecipeContext.createRecipeContext(actionSheetItem.actionSheetItem);
14
+ const { withContext: withItemContext } = createRecipeContext.createRecipeContext(actionSheetItem.actionSheetItem);
15
15
  const withStateProps = createWithStateProps.createWithStateProps([reactDialog.useDialogContext]);
16
16
  const ActionSheetRoot = withRootProvider(reactDialog.Dialog.Root, {
17
17
  defaultProps: {
@@ -45,7 +45,7 @@ const ActionSheetList = withContext(
45
45
  withStateProps(reactPrimitive.Primitive.div),
46
46
  "list"
47
47
  );
48
- const ActionSheetItem = withItemProvider(
48
+ const ActionSheetItem = withItemContext(
49
49
  withStateProps(reactPrimitive.Primitive.button)
50
50
  );
51
51
  const ActionSheetCloseButton = withContext(
@@ -7,7 +7,7 @@ import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js'
7
7
  import { createWithStateProps } from '../../utils/createWithStateProps.js';
8
8
 
9
9
  const { withRootProvider, withContext } = createSlotRecipeContext(actionSheet);
10
- const { withProvider: withItemProvider } = createRecipeContext(actionSheetItem);
10
+ const { withContext: withItemContext } = createRecipeContext(actionSheetItem);
11
11
  const withStateProps = createWithStateProps([useDialogContext]);
12
12
  const ActionSheetRoot = withRootProvider(Dialog.Root, {
13
13
  defaultProps: {
@@ -41,7 +41,7 @@ const ActionSheetList = withContext(
41
41
  withStateProps(Primitive.div),
42
42
  "list"
43
43
  );
44
- const ActionSheetItem = withItemProvider(
44
+ const ActionSheetItem = withItemContext(
45
45
  withStateProps(Primitive.button)
46
46
  );
47
47
  const ActionSheetCloseButton = withContext(
@@ -6,7 +6,7 @@ const reactPrimitive = require('@seed-design/react-primitive');
6
6
  const badge = require('@seed-design/css/recipes/badge');
7
7
  const createRecipeContext = require('../../utils/createRecipeContext.cjs');
8
8
 
9
- const { withProvider } = createRecipeContext.createRecipeContext(badge.badge);
10
- const Badge = withProvider(reactPrimitive.Primitive.span);
9
+ const { withContext } = createRecipeContext.createRecipeContext(badge.badge);
10
+ const Badge = withContext(reactPrimitive.Primitive.span);
11
11
 
12
12
  exports.Badge = Badge;
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAS,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,WAAW,UACf,SAAQ,iBAAiB,EACvB,cAAc,EACd,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,KAAK,oFAA4D,CAAC"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAS,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,WAAW,UACf,SAAQ,iBAAiB,EACvB,cAAc,EACd,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,KAAK,oFAA2D,CAAC"}
@@ -2,7 +2,7 @@ import { Primitive } from '@seed-design/react-primitive';
2
2
  import { badge } from '@seed-design/css/recipes/badge';
3
3
  import { createRecipeContext } from '../../utils/createRecipeContext.js';
4
4
 
5
- const { withProvider } = createRecipeContext(badge);
6
- const Badge = withProvider(Primitive.span);
5
+ const { withContext } = createRecipeContext(badge);
6
+ const Badge = withContext(Primitive.span);
7
7
 
8
8
  export { Badge };
@@ -7,9 +7,9 @@ const reactPrimitive = require('@seed-design/react-primitive');
7
7
  const createRecipeContext = require('../../utils/createRecipeContext.cjs');
8
8
  const Icon = require('../Icon/Icon.cjs');
9
9
 
10
- const { withProvider } = createRecipeContext.createRecipeContext(controlChip.controlChip);
10
+ const { withContext } = createRecipeContext.createRecipeContext(controlChip.controlChip);
11
11
  const ControlChip = Icon.withIconRequired(
12
- withProvider(reactPrimitive.Primitive.button),
12
+ withContext(reactPrimitive.Primitive.button),
13
13
  (props) => props.layout === "iconOnly"
14
14
  );
15
15
 
@@ -3,9 +3,9 @@ import { Primitive } from '@seed-design/react-primitive';
3
3
  import { createRecipeContext } from '../../utils/createRecipeContext.js';
4
4
  import { withIconRequired } from '../Icon/Icon.js';
5
5
 
6
- const { withProvider } = createRecipeContext(controlChip);
6
+ const { withContext } = createRecipeContext(controlChip);
7
7
  const ControlChip = withIconRequired(
8
- withProvider(Primitive.button),
8
+ withContext(Primitive.button),
9
9
  (props) => props.layout === "iconOnly"
10
10
  );
11
11
 
@@ -11,7 +11,7 @@ const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs
11
11
  const createWithStateProps = require('../../utils/createWithStateProps.cjs');
12
12
 
13
13
  const { withRootProvider, withContext } = createSlotRecipeContext.createSlotRecipeContext(extendedActionSheet.extendedActionSheet);
14
- const { withProvider: withItemProvider } = createRecipeContext.createRecipeContext(extendedActionSheetItem.extendedActionSheetItem);
14
+ const { withContext: withItemContext } = createRecipeContext.createRecipeContext(extendedActionSheetItem.extendedActionSheetItem);
15
15
  const withStateProps = createWithStateProps.createWithStateProps([reactDialog.useDialogContext]);
16
16
  const ExtendedActionSheetRoot = withRootProvider(
17
17
  reactDialog.Dialog.Root,
@@ -36,7 +36,7 @@ const ExtendedActionSheetGroup = withContext(
36
36
  withStateProps(reactPrimitive.Primitive.div),
37
37
  "group"
38
38
  );
39
- const ExtendedActionSheetItem = withItemProvider(withStateProps(reactPrimitive.Primitive.button));
39
+ const ExtendedActionSheetItem = withItemContext(withStateProps(reactPrimitive.Primitive.button));
40
40
  const ExtendedActionSheetFooter = withContext(withStateProps(reactPrimitive.Primitive.div), "footer");
41
41
  const ExtendedActionSheetCloseButton = withContext(reactDialog.Dialog.CloseButton, "closeButton");
42
42
 
@@ -7,7 +7,7 @@ import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js'
7
7
  import { createWithStateProps } from '../../utils/createWithStateProps.js';
8
8
 
9
9
  const { withRootProvider, withContext } = createSlotRecipeContext(extendedActionSheet);
10
- const { withProvider: withItemProvider } = createRecipeContext(extendedActionSheetItem);
10
+ const { withContext: withItemContext } = createRecipeContext(extendedActionSheetItem);
11
11
  const withStateProps = createWithStateProps([useDialogContext]);
12
12
  const ExtendedActionSheetRoot = withRootProvider(
13
13
  Dialog.Root,
@@ -32,7 +32,7 @@ const ExtendedActionSheetGroup = withContext(
32
32
  withStateProps(Primitive.div),
33
33
  "group"
34
34
  );
35
- const ExtendedActionSheetItem = withItemProvider(withStateProps(Primitive.button));
35
+ const ExtendedActionSheetItem = withItemContext(withStateProps(Primitive.button));
36
36
  const ExtendedActionSheetFooter = withContext(withStateProps(Primitive.div), "footer");
37
37
  const ExtendedActionSheetCloseButton = withContext(Dialog.CloseButton, "closeButton");
38
38
 
@@ -6,8 +6,8 @@ const reactPrimitive = require('@seed-design/react-primitive');
6
6
  const extendedFab = require('@seed-design/css/recipes/extended-fab');
7
7
  const createRecipeContext = require('../../utils/createRecipeContext.cjs');
8
8
 
9
- const { withProvider } = createRecipeContext.createRecipeContext(extendedFab.extendedFab);
10
- const ExtendedFab = withProvider(reactPrimitive.Primitive.button, {
9
+ const { withContext } = createRecipeContext.createRecipeContext(extendedFab.extendedFab);
10
+ const ExtendedFab = withContext(reactPrimitive.Primitive.button, {
11
11
  defaultProps: {
12
12
  variant: "neutralSolid",
13
13
  size: "medium"
@@ -2,8 +2,8 @@ import { Primitive } from '@seed-design/react-primitive';
2
2
  import { extendedFab } from '@seed-design/css/recipes/extended-fab';
3
3
  import { createRecipeContext } from '../../utils/createRecipeContext.js';
4
4
 
5
- const { withProvider } = createRecipeContext(extendedFab);
6
- const ExtendedFab = withProvider(Primitive.button, {
5
+ const { withContext } = createRecipeContext(extendedFab);
6
+ const ExtendedFab = withContext(Primitive.button, {
7
7
  defaultProps: {
8
8
  variant: "neutralSolid",
9
9
  size: "medium"
@@ -6,7 +6,7 @@ const reactPrimitive = require('@seed-design/react-primitive');
6
6
  const fab = require('@seed-design/css/recipes/fab');
7
7
  const createRecipeContext = require('../../utils/createRecipeContext.cjs');
8
8
 
9
- const { withProvider } = createRecipeContext.createRecipeContext(fab.fab);
10
- const Fab = withProvider(reactPrimitive.Primitive.button);
9
+ const { withContext } = createRecipeContext.createRecipeContext(fab.fab);
10
+ const Fab = withContext(reactPrimitive.Primitive.button);
11
11
 
12
12
  exports.Fab = Fab;
@@ -1 +1 @@
1
- {"version":3,"file":"Fab.d.ts","sourceRoot":"","sources":["../../../src/components/Fab/Fab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAO,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,WAAW,QACf,SAAQ,eAAe,EACrB,cAAc,EACd,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAEpD,eAAO,MAAM,GAAG,oFAA8D,CAAC"}
1
+ {"version":3,"file":"Fab.d.ts","sourceRoot":"","sources":["../../../src/components/Fab/Fab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAO,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,WAAW,QACf,SAAQ,eAAe,EACrB,cAAc,EACd,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAEpD,eAAO,MAAM,GAAG,oFAA6D,CAAC"}
@@ -2,7 +2,7 @@ import { Primitive } from '@seed-design/react-primitive';
2
2
  import { fab } from '@seed-design/css/recipes/fab';
3
3
  import { createRecipeContext } from '../../utils/createRecipeContext.js';
4
4
 
5
- const { withProvider } = createRecipeContext(fab);
6
- const Fab = withProvider(Primitive.button);
5
+ const { withContext } = createRecipeContext(fab);
6
+ const Fab = withContext(Primitive.button);
7
7
 
8
8
  export { Fab };
@@ -7,8 +7,8 @@ const reactPrimitive = require('@seed-design/react-primitive');
7
7
  const createRecipeContext = require('../../utils/createRecipeContext.cjs');
8
8
  const styled = require('../../utils/styled.cjs');
9
9
 
10
- const { withProvider } = createRecipeContext.createRecipeContext(linkContent.linkContent);
11
- const LinkContent = withProvider(
10
+ const { withContext } = createRecipeContext.createRecipeContext(linkContent.linkContent);
11
+ const LinkContent = withContext(
12
12
  styled.withStyleProps(reactPrimitive.Primitive.span)
13
13
  );
14
14
 
@@ -3,8 +3,8 @@ import { Primitive } from '@seed-design/react-primitive';
3
3
  import { createRecipeContext } from '../../utils/createRecipeContext.js';
4
4
  import { withStyleProps } from '../../utils/styled.js';
5
5
 
6
- const { withProvider } = createRecipeContext(linkContent);
7
- const LinkContent = withProvider(
6
+ const { withContext } = createRecipeContext(linkContent);
7
+ const LinkContent = withContext(
8
8
  withStyleProps(Primitive.span)
9
9
  );
10
10
 
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const jsxRuntime = require('react/jsx-runtime');
6
+ const mannerTemp = require('@seed-design/css/recipes/manner-temp');
7
+ const reactPrimitive = require('@seed-design/react-primitive');
8
+ const React = require('react');
9
+ const createRecipeContext = require('../../utils/createRecipeContext.cjs');
10
+ const MannerTempEmote = require('./MannerTempEmote.cjs');
11
+
12
+ const { withContext } = createRecipeContext.createRecipeContext(mannerTemp.mannerTemp);
13
+ const MannerTempBase = withContext(reactPrimitive.Primitive.span);
14
+ const MannerTemp = React.forwardRef((props, ref) => {
15
+ const emoteProps = React.useMemo(() => ({ level: props.level }), [props.level]);
16
+ return /* @__PURE__ */ jsxRuntime.jsx(MannerTempEmote.MannerTempEmotePropsProvider, { value: emoteProps, children: /* @__PURE__ */ jsxRuntime.jsx(MannerTempBase, { ...props, ref }) });
17
+ });
18
+
19
+ exports.MannerTemp = MannerTemp;
@@ -0,0 +1,7 @@
1
+ import { MannerTempVariantProps } from '@seed-design/css/recipes/manner-temp';
2
+ import { PrimitiveProps } from '@seed-design/react-primitive';
3
+ import type * as React from "react";
4
+ export interface MannerTempProps extends MannerTempVariantProps, PrimitiveProps, React.HTMLAttributes<HTMLSpanElement> {
5
+ }
6
+ export declare const MannerTemp: React.ForwardRefExoticComponent<MannerTempProps & React.RefAttributes<HTMLSpanElement>>;
7
+ //# sourceMappingURL=MannerTemp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MannerTemp.d.ts","sourceRoot":"","sources":["../../../src/components/MannerTemp/MannerTemp.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC/F,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,WAAW,eACf,SAAQ,sBAAsB,EAC5B,cAAc,EACd,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAI5C,eAAO,MAAM,UAAU,yFAQrB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { mannerTemp } from '@seed-design/css/recipes/manner-temp';
3
+ import { Primitive } from '@seed-design/react-primitive';
4
+ import { forwardRef, useMemo } from 'react';
5
+ import { createRecipeContext } from '../../utils/createRecipeContext.js';
6
+ import { MannerTempEmotePropsProvider } from './MannerTempEmote.js';
7
+
8
+ const { withContext } = createRecipeContext(mannerTemp);
9
+ const MannerTempBase = withContext(Primitive.span);
10
+ const MannerTemp = forwardRef((props, ref) => {
11
+ const emoteProps = useMemo(() => ({ level: props.level }), [props.level]);
12
+ return /* @__PURE__ */ jsx(MannerTempEmotePropsProvider, { value: emoteProps, children: /* @__PURE__ */ jsx(MannerTempBase, { ...props, ref }) });
13
+ });
14
+
15
+ export { MannerTemp };