@seed-design/react 0.0.4 → 0.0.6

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 (146) hide show
  1. package/lib/components/ActionButton/ActionButton.cjs +6 -6
  2. package/lib/components/ActionButton/ActionButton.d.ts.map +1 -1
  3. package/lib/components/ActionButton/ActionButton.js +6 -6
  4. package/lib/components/ActionChip/ActionChip.cjs +4 -4
  5. package/lib/components/ActionChip/ActionChip.d.ts +1 -1
  6. package/lib/components/ActionChip/ActionChip.d.ts.map +1 -1
  7. package/lib/components/ActionChip/ActionChip.js +4 -4
  8. package/lib/components/ActionSheet/ActionSheet.cjs +7 -7
  9. package/lib/components/ActionSheet/ActionSheet.d.ts +2 -2
  10. package/lib/components/ActionSheet/ActionSheet.d.ts.map +1 -1
  11. package/lib/components/ActionSheet/ActionSheet.js +7 -7
  12. package/lib/components/Avatar/Avatar.cjs +2 -2
  13. package/lib/components/Avatar/Avatar.js +2 -2
  14. package/lib/components/Badge/Badge.cjs +3 -3
  15. package/lib/components/Badge/Badge.d.ts.map +1 -1
  16. package/lib/components/Badge/Badge.js +3 -3
  17. package/lib/components/BottomSheet/BottomSheet.cjs +2 -2
  18. package/lib/components/BottomSheet/BottomSheet.js +2 -2
  19. package/lib/components/Callout/Callout.cjs +2 -2
  20. package/lib/components/Callout/Callout.js +2 -2
  21. package/lib/components/Checkbox/Checkbox.cjs +2 -2
  22. package/lib/components/Checkbox/Checkbox.js +2 -2
  23. package/lib/components/ChipTabs/ChipTabs.cjs +2 -2
  24. package/lib/components/ChipTabs/ChipTabs.js +2 -2
  25. package/lib/components/ControlChip/ControlChip.cjs +3 -3
  26. package/lib/components/ControlChip/ControlChip.js +3 -3
  27. package/lib/components/Dialog/Dialog.cjs +2 -2
  28. package/lib/components/Dialog/Dialog.js +2 -2
  29. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +5 -4
  30. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts.map +1 -1
  31. package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +5 -4
  32. package/lib/components/ExtendedFab/ExtendedFab.cjs +7 -11
  33. package/lib/components/ExtendedFab/ExtendedFab.d.ts.map +1 -1
  34. package/lib/components/ExtendedFab/ExtendedFab.js +7 -11
  35. package/lib/components/Fab/Fab.cjs +3 -3
  36. package/lib/components/Fab/Fab.d.ts.map +1 -1
  37. package/lib/components/Fab/Fab.js +3 -3
  38. package/lib/components/HelpBubble/HelpBubble.cjs +8 -3
  39. package/lib/components/HelpBubble/HelpBubble.d.ts.map +1 -1
  40. package/lib/components/HelpBubble/HelpBubble.js +8 -3
  41. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.cjs +2 -2
  42. package/lib/components/IdentityPlaceholder/IdentityPlaceholder.js +2 -2
  43. package/lib/components/InlineBanner/InlineBanner.cjs +2 -2
  44. package/lib/components/InlineBanner/InlineBanner.js +2 -2
  45. package/lib/components/LinkContent/LinkContent.cjs +3 -4
  46. package/lib/components/LinkContent/LinkContent.d.ts.map +1 -1
  47. package/lib/components/LinkContent/LinkContent.js +3 -4
  48. package/lib/components/LoadingIndicator/usePendingButton.d.ts +57 -57
  49. package/lib/components/MannerTempBadge/MannerTempBadge.cjs +4 -7
  50. package/lib/components/MannerTempBadge/MannerTempBadge.d.ts +1 -1
  51. package/lib/components/MannerTempBadge/MannerTempBadge.d.ts.map +1 -1
  52. package/lib/components/MannerTempBadge/MannerTempBadge.js +4 -7
  53. package/lib/components/ProgressCircle/ProgressCircle.cjs +2 -2
  54. package/lib/components/ProgressCircle/ProgressCircle.js +2 -2
  55. package/lib/components/PullToRefresh/PullToRefresh.cjs +2 -2
  56. package/lib/components/PullToRefresh/PullToRefresh.js +2 -2
  57. package/lib/components/ReactionButton/ReactionButton.cjs +5 -5
  58. package/lib/components/ReactionButton/ReactionButton.js +5 -5
  59. package/lib/components/SegmentedControl/SegmentedControl.cjs +2 -2
  60. package/lib/components/SegmentedControl/SegmentedControl.js +2 -2
  61. package/lib/components/SelectBox/CheckSelectBox.cjs +8 -8
  62. package/lib/components/SelectBox/CheckSelectBox.d.ts.map +1 -1
  63. package/lib/components/SelectBox/CheckSelectBox.js +8 -8
  64. package/lib/components/SelectBox/RadioSelectBox.cjs +7 -7
  65. package/lib/components/SelectBox/RadioSelectBox.d.ts.map +1 -1
  66. package/lib/components/SelectBox/RadioSelectBox.js +7 -7
  67. package/lib/components/Skeleton/Skeleton.cjs +3 -6
  68. package/lib/components/Skeleton/Skeleton.d.ts.map +1 -1
  69. package/lib/components/Skeleton/Skeleton.js +3 -6
  70. package/lib/components/Snackbar/Snackbar.cjs +20 -24
  71. package/lib/components/Snackbar/Snackbar.d.ts +3 -3
  72. package/lib/components/Snackbar/Snackbar.d.ts.map +1 -1
  73. package/lib/components/Snackbar/Snackbar.js +21 -25
  74. package/lib/components/Snackbar/Snackbar.namespace.cjs +1 -1
  75. package/lib/components/Snackbar/Snackbar.namespace.d.ts +1 -1
  76. package/lib/components/Snackbar/Snackbar.namespace.d.ts.map +1 -1
  77. package/lib/components/Snackbar/Snackbar.namespace.js +1 -1
  78. package/lib/components/Snackbar/index.cjs +1 -1
  79. package/lib/components/Snackbar/index.d.ts +1 -1
  80. package/lib/components/Snackbar/index.d.ts.map +1 -1
  81. package/lib/components/Snackbar/index.js +1 -1
  82. package/lib/components/Switch/Switch.cjs +2 -2
  83. package/lib/components/Switch/Switch.js +2 -2
  84. package/lib/components/Tabs/Tabs.cjs +2 -2
  85. package/lib/components/Tabs/Tabs.js +2 -2
  86. package/lib/components/Text/Text.cjs +2 -2
  87. package/lib/components/Text/Text.js +2 -2
  88. package/lib/components/TextField/TextField.cjs +2 -2
  89. package/lib/components/TextField/TextField.js +2 -2
  90. package/lib/components/ToggleButton/ToggleButton.cjs +5 -5
  91. package/lib/components/ToggleButton/ToggleButton.js +5 -5
  92. package/lib/components/VisuallyHidden/VisuallyHidden.cjs +8 -8
  93. package/lib/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
  94. package/lib/components/VisuallyHidden/VisuallyHidden.js +7 -7
  95. package/lib/components/index.cjs +1 -1
  96. package/lib/components/index.js +1 -1
  97. package/lib/components/private/useDismissible.d.ts +123 -123
  98. package/lib/index.cjs +1 -1
  99. package/lib/index.js +1 -1
  100. package/lib/utils/createRecipeContext.cjs +74 -0
  101. package/lib/utils/createRecipeContext.d.ts +24 -0
  102. package/lib/utils/createRecipeContext.d.ts.map +1 -0
  103. package/lib/utils/createRecipeContext.js +70 -0
  104. package/lib/utils/{createStyleContext.cjs → createSlotRecipeContext.cjs} +2 -2
  105. package/lib/utils/{createStyleContext.d.ts → createSlotRecipeContext.d.ts} +3 -3
  106. package/lib/utils/createSlotRecipeContext.d.ts.map +1 -0
  107. package/lib/utils/{createStyleContext.js → createSlotRecipeContext.js} +2 -2
  108. package/package.json +3 -3
  109. package/src/components/ActionButton/ActionButton.tsx +7 -7
  110. package/src/components/ActionChip/ActionChip.tsx +4 -4
  111. package/src/components/ActionSheet/ActionSheet.tsx +6 -6
  112. package/src/components/Avatar/Avatar.tsx +2 -2
  113. package/src/components/Badge/Badge.tsx +3 -3
  114. package/src/components/BottomSheet/BottomSheet.tsx +2 -2
  115. package/src/components/Callout/Callout.tsx +2 -2
  116. package/src/components/Checkbox/Checkbox.tsx +2 -2
  117. package/src/components/ChipTabs/ChipTabs.tsx +2 -2
  118. package/src/components/ControlChip/ControlChip.tsx +3 -3
  119. package/src/components/Dialog/Dialog.tsx +2 -2
  120. package/src/components/ExtendedActionSheet/ExtendedActionSheet.tsx +5 -4
  121. package/src/components/ExtendedFab/ExtendedFab.tsx +7 -11
  122. package/src/components/Fab/Fab.tsx +3 -3
  123. package/src/components/HelpBubble/HelpBubble.tsx +7 -4
  124. package/src/components/IdentityPlaceholder/IdentityPlaceholder.tsx +2 -2
  125. package/src/components/InlineBanner/InlineBanner.tsx +2 -2
  126. package/src/components/LinkContent/LinkContent.tsx +2 -4
  127. package/src/components/MannerTempBadge/MannerTempBadge.tsx +4 -7
  128. package/src/components/ProgressCircle/ProgressCircle.tsx +2 -2
  129. package/src/components/PullToRefresh/PullToRefresh.tsx +2 -2
  130. package/src/components/ReactionButton/ReactionButton.tsx +6 -6
  131. package/src/components/SegmentedControl/SegmentedControl.tsx +2 -2
  132. package/src/components/SelectBox/CheckSelectBox.tsx +7 -7
  133. package/src/components/SelectBox/RadioSelectBox.tsx +6 -6
  134. package/src/components/Skeleton/Skeleton.tsx +3 -6
  135. package/src/components/Snackbar/Snackbar.namespace.ts +2 -2
  136. package/src/components/Snackbar/Snackbar.tsx +22 -23
  137. package/src/components/Snackbar/index.ts +2 -2
  138. package/src/components/Switch/Switch.tsx +2 -2
  139. package/src/components/Tabs/Tabs.tsx +2 -2
  140. package/src/components/Text/Text.tsx +2 -2
  141. package/src/components/TextField/TextField.tsx +2 -2
  142. package/src/components/ToggleButton/ToggleButton.tsx +6 -6
  143. package/src/components/VisuallyHidden/VisuallyHidden.tsx +6 -8
  144. package/src/utils/createRecipeContext.tsx +114 -0
  145. package/src/utils/{createStyleContext.tsx → createSlotRecipeContext.tsx} +3 -3
  146. package/lib/utils/createStyleContext.d.ts.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { Primitive } from '@seed-design/react-primitive';
2
2
  import { fab } from '@seed-design/css/recipes/fab';
3
- import { createStyleContext } from '../../utils/createStyleContext.js';
3
+ import { createRecipeContext } from '../../utils/createRecipeContext.js';
4
4
 
5
- const { withProvider } = createStyleContext(fab);
6
- const Fab = withProvider(Primitive.button, "root");
5
+ const { withProvider } = createRecipeContext(fab);
6
+ const Fab = withProvider(Primitive.button);
7
7
 
8
8
  export { Fab };
@@ -7,16 +7,17 @@ const reactPopover = require('@seed-design/react-popover');
7
7
  const reactPrimitive = require('@seed-design/react-primitive');
8
8
  const helpBubble = require('@seed-design/css/recipes/help-bubble');
9
9
  const React = require('react');
10
- const createStyleContext = require('../../utils/createStyleContext.cjs');
10
+ const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
11
11
  const createWithStateProps = require('../../utils/createWithStateProps.cjs');
12
12
  const styled = require('../../utils/styled.cjs');
13
13
 
14
- const { withRootProvider, withContext } = createStyleContext.createStyleContext(helpBubble.helpBubble);
14
+ const { withRootProvider, withContext } = createSlotRecipeContext.createSlotRecipeContext(helpBubble.helpBubble);
15
15
  const withStateProps = createWithStateProps.createWithStateProps([reactPopover.usePopoverContext]);
16
16
  const HelpBubbleRoot = withRootProvider(reactPopover.Popover.Root, {
17
17
  defaultProps: {
18
18
  placement: "top",
19
19
  gutter: 4,
20
+ // TODO: get value from rootage spec
20
21
  overflowPadding: 16,
21
22
  arrowPadding: 14,
22
23
  flip: true,
@@ -44,7 +45,11 @@ const HelpBubbleArrow = withContext(
44
45
  );
45
46
  const HelpBubbleArrowTip = React.forwardRef(
46
47
  (props, ref) => {
47
- const { tipRadius = 1, ...otherProps } = props;
48
+ const {
49
+ tipRadius = 2,
50
+ // TODO: get value from rootage spec
51
+ ...otherProps
52
+ } = props;
48
53
  const api = reactPopover.usePopoverContext();
49
54
  const width = api.rects.arrow?.width || 0;
50
55
  const height = api.rects.arrow?.height || 0;
@@ -1 +1 @@
1
- {"version":3,"file":"HelpBubble.d.ts","sourceRoot":"","sources":["../../../src/components/HelpBubble/HelpBubble.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAqB,MAAM,4BAA4B,CAAC;AAC5F,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAI/F,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAOrE,MAAM,WAAW,mBAAoB,SAAQ,sBAAsB,EAAE,gBAAgB,CAAC,SAAS;CAAG;AAElG,eAAO,MAAM,cAAc,gEAUzB,CAAC;AAIH,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB,CAAC,WAAW;CAAG;AAE9E,eAAO,MAAM,gBAAgB,yHAA0B,CAAC;AAIxD,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB,CAAC,YAAY;CAAG;AAEhF,eAAO,MAAM,iBAAiB,6HAA2B,CAAC;AAI1D,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB,CAAC,eAAe;CAAG;AAEtF,eAAO,MAAM,oBAAoB,sHAGhC,CAAC;AAIF,MAAM,WAAW,uBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,kBAAkB,oHAG9B,CAAC;AAIF,MAAM,WAAW,sBACf,SAAQ,cAAc,EACpB,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,EAC5B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,iBAAiB,mHAG7B,CAAC;AAIF,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB,CAAC,UAAU;CAAG;AAE5E,eAAO,MAAM,eAAe,iHAG3B,CAAC;AAIF,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;IAC5E;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB,gIA0B9B,CAAC;AAIF,MAAM,WAAW,0BAA2B,SAAQ,gBAAgB,CAAC,gBAAgB;CAAG;AAExF,eAAO,MAAM,qBAAqB,0HAGjC,CAAC;AAIF,MAAM,WAAW,oBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,eAAe,kHAG3B,CAAC;AAIF,MAAM,WAAW,0BACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,qBAAqB,uHAGjC,CAAC"}
1
+ {"version":3,"file":"HelpBubble.d.ts","sourceRoot":"","sources":["../../../src/components/HelpBubble/HelpBubble.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAqB,MAAM,4BAA4B,CAAC;AAC5F,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAI/F,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAOrE,MAAM,WAAW,mBAAoB,SAAQ,sBAAsB,EAAE,gBAAgB,CAAC,SAAS;CAAG;AAElG,eAAO,MAAM,cAAc,gEAUzB,CAAC;AAIH,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB,CAAC,WAAW;CAAG;AAE9E,eAAO,MAAM,gBAAgB,yHAA0B,CAAC;AAIxD,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB,CAAC,YAAY;CAAG;AAEhF,eAAO,MAAM,iBAAiB,6HAA2B,CAAC;AAI1D,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB,CAAC,eAAe;CAAG;AAEtF,eAAO,MAAM,oBAAoB,sHAGhC,CAAC;AAIF,MAAM,WAAW,uBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,kBAAkB,oHAG9B,CAAC;AAIF,MAAM,WAAW,sBACf,SAAQ,cAAc,EACpB,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,EAC5B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,iBAAiB,mHAG7B,CAAC;AAIF,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB,CAAC,UAAU;CAAG;AAE5E,eAAO,MAAM,eAAe,iHAG3B,CAAC;AAIF,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;IAC5E;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB,gIA6B9B,CAAC;AAIF,MAAM,WAAW,0BAA2B,SAAQ,gBAAgB,CAAC,gBAAgB;CAAG;AAExF,eAAO,MAAM,qBAAqB,0HAGjC,CAAC;AAIF,MAAM,WAAW,oBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,eAAe,kHAG3B,CAAC;AAIF,MAAM,WAAW,0BACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,qBAAqB,uHAGjC,CAAC"}
@@ -3,16 +3,17 @@ import { Popover, usePopoverContext } from '@seed-design/react-popover';
3
3
  import { Primitive } from '@seed-design/react-primitive';
4
4
  import { helpBubble } from '@seed-design/css/recipes/help-bubble';
5
5
  import { forwardRef } from 'react';
6
- import { createStyleContext } from '../../utils/createStyleContext.js';
6
+ import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
7
7
  import { createWithStateProps } from '../../utils/createWithStateProps.js';
8
8
  import { withStyleProps } from '../../utils/styled.js';
9
9
 
10
- const { withRootProvider, withContext } = createStyleContext(helpBubble);
10
+ const { withRootProvider, withContext } = createSlotRecipeContext(helpBubble);
11
11
  const withStateProps = createWithStateProps([usePopoverContext]);
12
12
  const HelpBubbleRoot = withRootProvider(Popover.Root, {
13
13
  defaultProps: {
14
14
  placement: "top",
15
15
  gutter: 4,
16
+ // TODO: get value from rootage spec
16
17
  overflowPadding: 16,
17
18
  arrowPadding: 14,
18
19
  flip: true,
@@ -40,7 +41,11 @@ const HelpBubbleArrow = withContext(
40
41
  );
41
42
  const HelpBubbleArrowTip = forwardRef(
42
43
  (props, ref) => {
43
- const { tipRadius = 1, ...otherProps } = props;
44
+ const {
45
+ tipRadius = 2,
46
+ // TODO: get value from rootage spec
47
+ ...otherProps
48
+ } = props;
44
49
  const api = usePopoverContext();
45
50
  const width = api.rects.arrow?.width || 0;
46
51
  const height = api.rects.arrow?.height || 0;
@@ -7,7 +7,7 @@ const identityPlaceholder = require('@seed-design/css/recipes/identity-placehold
7
7
  const domUtils = require('@seed-design/dom-utils');
8
8
  const reactPrimitive = require('@seed-design/react-primitive');
9
9
  const React = require('react');
10
- const createStyleContext = require('../../utils/createStyleContext.cjs');
10
+ const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
11
11
 
12
12
  function _interopNamespaceDefault(e) {
13
13
  const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
@@ -28,7 +28,7 @@ function _interopNamespaceDefault(e) {
28
28
 
29
29
  const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
30
30
 
31
- const { useClassNames, withProvider } = createStyleContext.createStyleContext(identityPlaceholder.identityPlaceholder);
31
+ const { useClassNames, withProvider } = createSlotRecipeContext.createSlotRecipeContext(identityPlaceholder.identityPlaceholder);
32
32
  const IdentityPlaceholderRoot = withProvider(
33
33
  reactPrimitive.Primitive.div,
34
34
  "root"
@@ -3,9 +3,9 @@ import { identityPlaceholder } from '@seed-design/css/recipes/identity-placehold
3
3
  import { mergeProps } from '@seed-design/dom-utils';
4
4
  import { Primitive } from '@seed-design/react-primitive';
5
5
  import * as React from 'react';
6
- import { createStyleContext } from '../../utils/createStyleContext.js';
6
+ import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
7
7
 
8
- const { useClassNames, withProvider } = createStyleContext(identityPlaceholder);
8
+ const { useClassNames, withProvider } = createSlotRecipeContext(identityPlaceholder);
9
9
  const IdentityPlaceholderRoot = withProvider(
10
10
  Primitive.div,
11
11
  "root"
@@ -4,10 +4,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const inlineBanner = require('@seed-design/css/recipes/inline-banner');
6
6
  const reactPrimitive = require('@seed-design/react-primitive');
7
- const createStyleContext = require('../../utils/createStyleContext.cjs');
7
+ const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
8
8
  const useDismissible = require('../private/useDismissible.cjs');
9
9
 
10
- const { withContext, withProvider } = createStyleContext.createStyleContext(inlineBanner.inlineBanner);
10
+ const { withContext, withProvider } = createSlotRecipeContext.createSlotRecipeContext(inlineBanner.inlineBanner);
11
11
  const InlineBannerRoot = withProvider(
12
12
  useDismissible.DismissibleRoot,
13
13
  "root"
@@ -1,9 +1,9 @@
1
1
  import { inlineBanner } from '@seed-design/css/recipes/inline-banner';
2
2
  import { Primitive } from '@seed-design/react-primitive';
3
- import { createStyleContext } from '../../utils/createStyleContext.js';
3
+ import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
4
4
  import { DismissibleCloseButton, DismissibleRoot } from '../private/useDismissible.js';
5
5
 
6
- const { withContext, withProvider } = createStyleContext(inlineBanner);
6
+ const { withContext, withProvider } = createSlotRecipeContext(inlineBanner);
7
7
  const InlineBannerRoot = withProvider(
8
8
  DismissibleRoot,
9
9
  "root"
@@ -4,13 +4,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const linkContent = require('@seed-design/css/recipes/link-content');
6
6
  const reactPrimitive = require('@seed-design/react-primitive');
7
- const createStyleContext = require('../../utils/createStyleContext.cjs');
7
+ const createRecipeContext = require('../../utils/createRecipeContext.cjs');
8
8
  const styled = require('../../utils/styled.cjs');
9
9
 
10
- const { withProvider } = createStyleContext.createStyleContext(linkContent.linkContent);
10
+ const { withProvider } = createRecipeContext.createRecipeContext(linkContent.linkContent);
11
11
  const LinkContent = withProvider(
12
- styled.withStyleProps(reactPrimitive.Primitive.span),
13
- "root"
12
+ styled.withStyleProps(reactPrimitive.Primitive.span)
14
13
  );
15
14
 
16
15
  exports.LinkContent = LinkContent;
@@ -1 +1 @@
1
- {"version":3,"file":"LinkContent.d.ts","sourceRoot":"","sources":["../../../src/components/LinkContent/LinkContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAClG,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAG9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrE,MAAM,WAAW,gBACf,SAAQ,uBAAuB,EAC7B,cAAc,EACd,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,EACzB,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;CAAG;AAE3D,eAAO,MAAM,WAAW,4FAGvB,CAAC"}
1
+ {"version":3,"file":"LinkContent.d.ts","sourceRoot":"","sources":["../../../src/components/LinkContent/LinkContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAClG,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrE,MAAM,WAAW,gBACf,SAAQ,uBAAuB,EAC7B,cAAc,EACd,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,EACzB,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;CAAG;AAE3D,eAAO,MAAM,WAAW,4FAEvB,CAAC"}
@@ -1,12 +1,11 @@
1
1
  import { linkContent } from '@seed-design/css/recipes/link-content';
2
2
  import { Primitive } from '@seed-design/react-primitive';
3
- import { createStyleContext } from '../../utils/createStyleContext.js';
3
+ import { createRecipeContext } from '../../utils/createRecipeContext.js';
4
4
  import { withStyleProps } from '../../utils/styled.js';
5
5
 
6
- const { withProvider } = createStyleContext(linkContent);
6
+ const { withProvider } = createRecipeContext(linkContent);
7
7
  const LinkContent = withProvider(
8
- withStyleProps(Primitive.span),
9
- "root"
8
+ withStyleProps(Primitive.span)
10
9
  );
11
10
 
12
11
  export { LinkContent };
@@ -16,10 +16,6 @@ export declare function usePendingButton(props: UsePendingButtonProps): {
16
16
  loading: boolean | undefined;
17
17
  disabled: boolean | undefined;
18
18
  stateProps: {
19
- children?: React.ReactNode;
20
- slot?: string | undefined | undefined;
21
- style?: React.CSSProperties | undefined;
22
- title?: string | undefined | undefined;
23
19
  defaultChecked?: boolean | undefined | undefined;
24
20
  defaultValue?: string | number | readonly string[] | undefined;
25
21
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -28,17 +24,20 @@ export declare function usePendingButton(props: UsePendingButtonProps): {
28
24
  autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
29
25
  autoFocus?: boolean | undefined | undefined;
30
26
  className?: string | undefined | undefined;
31
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
27
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
32
28
  contextMenu?: string | undefined | undefined;
33
29
  dir?: string | undefined | undefined;
34
- draggable?: (boolean | "true" | "false") | undefined;
30
+ draggable?: (boolean | "false" | "true") | undefined;
35
31
  enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
36
32
  hidden?: boolean | undefined | undefined;
37
33
  id?: string | undefined | undefined;
38
34
  lang?: string | undefined | undefined;
39
35
  nonce?: string | undefined | undefined;
40
- spellCheck?: (boolean | "true" | "false") | undefined;
36
+ slot?: string | undefined | undefined;
37
+ spellCheck?: (boolean | "false" | "true") | undefined;
38
+ style?: React.CSSProperties | undefined;
41
39
  tabIndex?: number | undefined | undefined;
40
+ title?: string | undefined | undefined;
42
41
  translate?: "yes" | "no" | undefined | undefined;
43
42
  radioGroup?: string | undefined | undefined;
44
43
  role?: React.AriaRole | undefined;
@@ -67,11 +66,11 @@ export declare function usePendingButton(props: UsePendingButtonProps): {
67
66
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
68
67
  is?: string | undefined | undefined;
69
68
  "aria-activedescendant"?: string | undefined | undefined;
70
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
69
+ "aria-atomic"?: (boolean | "false" | "true") | undefined;
71
70
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
72
71
  "aria-braillelabel"?: string | undefined | undefined;
73
72
  "aria-brailleroledescription"?: string | undefined | undefined;
74
- "aria-busy"?: (boolean | "true" | "false") | undefined;
73
+ "aria-busy"?: (boolean | "false" | "true") | undefined;
75
74
  "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
76
75
  "aria-colcount"?: number | undefined | undefined;
77
76
  "aria-colindex"?: number | undefined | undefined;
@@ -82,43 +81,44 @@ export declare function usePendingButton(props: UsePendingButtonProps): {
82
81
  "aria-describedby"?: string | undefined | undefined;
83
82
  "aria-description"?: string | undefined | undefined;
84
83
  "aria-details"?: string | undefined | undefined;
85
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
84
+ "aria-disabled"?: (boolean | "false" | "true") | undefined;
86
85
  "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
87
86
  "aria-errormessage"?: string | undefined | undefined;
88
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
87
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
89
88
  "aria-flowto"?: string | undefined | undefined;
90
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
89
+ "aria-grabbed"?: (boolean | "false" | "true") | undefined;
91
90
  "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
92
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
91
+ "aria-hidden"?: (boolean | "false" | "true") | undefined;
93
92
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
94
93
  "aria-keyshortcuts"?: string | undefined | undefined;
95
94
  "aria-label"?: string | undefined | undefined;
96
95
  "aria-labelledby"?: string | undefined | undefined;
97
96
  "aria-level"?: number | undefined | undefined;
98
97
  "aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
99
- "aria-modal"?: (boolean | "true" | "false") | undefined;
100
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
101
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
98
+ "aria-modal"?: (boolean | "false" | "true") | undefined;
99
+ "aria-multiline"?: (boolean | "false" | "true") | undefined;
100
+ "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
102
101
  "aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
103
102
  "aria-owns"?: string | undefined | undefined;
104
103
  "aria-placeholder"?: string | undefined | undefined;
105
104
  "aria-posinset"?: number | undefined | undefined;
106
105
  "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
107
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
106
+ "aria-readonly"?: (boolean | "false" | "true") | undefined;
108
107
  "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
109
- "aria-required"?: (boolean | "true" | "false") | undefined;
108
+ "aria-required"?: (boolean | "false" | "true") | undefined;
110
109
  "aria-roledescription"?: string | undefined | undefined;
111
110
  "aria-rowcount"?: number | undefined | undefined;
112
111
  "aria-rowindex"?: number | undefined | undefined;
113
112
  "aria-rowindextext"?: string | undefined | undefined;
114
113
  "aria-rowspan"?: number | undefined | undefined;
115
- "aria-selected"?: (boolean | "true" | "false") | undefined;
114
+ "aria-selected"?: (boolean | "false" | "true") | undefined;
116
115
  "aria-setsize"?: number | undefined | undefined;
117
116
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
118
117
  "aria-valuemax"?: number | undefined | undefined;
119
118
  "aria-valuemin"?: number | undefined | undefined;
120
119
  "aria-valuenow"?: number | undefined | undefined;
121
120
  "aria-valuetext"?: string | undefined | undefined;
121
+ children?: React.ReactNode;
122
122
  dangerouslySetInnerHTML?: {
123
123
  __html: string | TrustedHTML;
124
124
  } | undefined | undefined;
@@ -288,10 +288,6 @@ export declare const PendingButtonProvider: React.Provider<{
288
288
  loading: boolean | undefined;
289
289
  disabled: boolean | undefined;
290
290
  stateProps: {
291
- children?: React.ReactNode;
292
- slot?: string | undefined | undefined;
293
- style?: React.CSSProperties | undefined;
294
- title?: string | undefined | undefined;
295
291
  defaultChecked?: boolean | undefined | undefined;
296
292
  defaultValue?: string | number | readonly string[] | undefined;
297
293
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -300,17 +296,20 @@ export declare const PendingButtonProvider: React.Provider<{
300
296
  autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
301
297
  autoFocus?: boolean | undefined | undefined;
302
298
  className?: string | undefined | undefined;
303
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
299
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
304
300
  contextMenu?: string | undefined | undefined;
305
301
  dir?: string | undefined | undefined;
306
- draggable?: (boolean | "true" | "false") | undefined;
302
+ draggable?: (boolean | "false" | "true") | undefined;
307
303
  enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
308
304
  hidden?: boolean | undefined | undefined;
309
305
  id?: string | undefined | undefined;
310
306
  lang?: string | undefined | undefined;
311
307
  nonce?: string | undefined | undefined;
312
- spellCheck?: (boolean | "true" | "false") | undefined;
308
+ slot?: string | undefined | undefined;
309
+ spellCheck?: (boolean | "false" | "true") | undefined;
310
+ style?: React.CSSProperties | undefined;
313
311
  tabIndex?: number | undefined | undefined;
312
+ title?: string | undefined | undefined;
314
313
  translate?: "yes" | "no" | undefined | undefined;
315
314
  radioGroup?: string | undefined | undefined;
316
315
  role?: React.AriaRole | undefined;
@@ -339,11 +338,11 @@ export declare const PendingButtonProvider: React.Provider<{
339
338
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
340
339
  is?: string | undefined | undefined;
341
340
  "aria-activedescendant"?: string | undefined | undefined;
342
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
341
+ "aria-atomic"?: (boolean | "false" | "true") | undefined;
343
342
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
344
343
  "aria-braillelabel"?: string | undefined | undefined;
345
344
  "aria-brailleroledescription"?: string | undefined | undefined;
346
- "aria-busy"?: (boolean | "true" | "false") | undefined;
345
+ "aria-busy"?: (boolean | "false" | "true") | undefined;
347
346
  "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
348
347
  "aria-colcount"?: number | undefined | undefined;
349
348
  "aria-colindex"?: number | undefined | undefined;
@@ -354,43 +353,44 @@ export declare const PendingButtonProvider: React.Provider<{
354
353
  "aria-describedby"?: string | undefined | undefined;
355
354
  "aria-description"?: string | undefined | undefined;
356
355
  "aria-details"?: string | undefined | undefined;
357
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
356
+ "aria-disabled"?: (boolean | "false" | "true") | undefined;
358
357
  "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
359
358
  "aria-errormessage"?: string | undefined | undefined;
360
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
359
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
361
360
  "aria-flowto"?: string | undefined | undefined;
362
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
361
+ "aria-grabbed"?: (boolean | "false" | "true") | undefined;
363
362
  "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
364
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
363
+ "aria-hidden"?: (boolean | "false" | "true") | undefined;
365
364
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
366
365
  "aria-keyshortcuts"?: string | undefined | undefined;
367
366
  "aria-label"?: string | undefined | undefined;
368
367
  "aria-labelledby"?: string | undefined | undefined;
369
368
  "aria-level"?: number | undefined | undefined;
370
369
  "aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
371
- "aria-modal"?: (boolean | "true" | "false") | undefined;
372
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
373
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
370
+ "aria-modal"?: (boolean | "false" | "true") | undefined;
371
+ "aria-multiline"?: (boolean | "false" | "true") | undefined;
372
+ "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
374
373
  "aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
375
374
  "aria-owns"?: string | undefined | undefined;
376
375
  "aria-placeholder"?: string | undefined | undefined;
377
376
  "aria-posinset"?: number | undefined | undefined;
378
377
  "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
379
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
378
+ "aria-readonly"?: (boolean | "false" | "true") | undefined;
380
379
  "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
381
- "aria-required"?: (boolean | "true" | "false") | undefined;
380
+ "aria-required"?: (boolean | "false" | "true") | undefined;
382
381
  "aria-roledescription"?: string | undefined | undefined;
383
382
  "aria-rowcount"?: number | undefined | undefined;
384
383
  "aria-rowindex"?: number | undefined | undefined;
385
384
  "aria-rowindextext"?: string | undefined | undefined;
386
385
  "aria-rowspan"?: number | undefined | undefined;
387
- "aria-selected"?: (boolean | "true" | "false") | undefined;
386
+ "aria-selected"?: (boolean | "false" | "true") | undefined;
388
387
  "aria-setsize"?: number | undefined | undefined;
389
388
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
390
389
  "aria-valuemax"?: number | undefined | undefined;
391
390
  "aria-valuemin"?: number | undefined | undefined;
392
391
  "aria-valuenow"?: number | undefined | undefined;
393
392
  "aria-valuetext"?: string | undefined | undefined;
393
+ children?: React.ReactNode;
394
394
  dangerouslySetInnerHTML?: {
395
395
  __html: string | TrustedHTML;
396
396
  } | undefined | undefined;
@@ -560,10 +560,6 @@ export declare const usePendingButtonContext: () => {
560
560
  loading: boolean | undefined;
561
561
  disabled: boolean | undefined;
562
562
  stateProps: {
563
- children?: React.ReactNode;
564
- slot?: string | undefined | undefined;
565
- style?: React.CSSProperties | undefined;
566
- title?: string | undefined | undefined;
567
563
  defaultChecked?: boolean | undefined | undefined;
568
564
  defaultValue?: string | number | readonly string[] | undefined;
569
565
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -572,17 +568,20 @@ export declare const usePendingButtonContext: () => {
572
568
  autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
573
569
  autoFocus?: boolean | undefined | undefined;
574
570
  className?: string | undefined | undefined;
575
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
571
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
576
572
  contextMenu?: string | undefined | undefined;
577
573
  dir?: string | undefined | undefined;
578
- draggable?: (boolean | "true" | "false") | undefined;
574
+ draggable?: (boolean | "false" | "true") | undefined;
579
575
  enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
580
576
  hidden?: boolean | undefined | undefined;
581
577
  id?: string | undefined | undefined;
582
578
  lang?: string | undefined | undefined;
583
579
  nonce?: string | undefined | undefined;
584
- spellCheck?: (boolean | "true" | "false") | undefined;
580
+ slot?: string | undefined | undefined;
581
+ spellCheck?: (boolean | "false" | "true") | undefined;
582
+ style?: React.CSSProperties | undefined;
585
583
  tabIndex?: number | undefined | undefined;
584
+ title?: string | undefined | undefined;
586
585
  translate?: "yes" | "no" | undefined | undefined;
587
586
  radioGroup?: string | undefined | undefined;
588
587
  role?: React.AriaRole | undefined;
@@ -611,11 +610,11 @@ export declare const usePendingButtonContext: () => {
611
610
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
612
611
  is?: string | undefined | undefined;
613
612
  "aria-activedescendant"?: string | undefined | undefined;
614
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
613
+ "aria-atomic"?: (boolean | "false" | "true") | undefined;
615
614
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
616
615
  "aria-braillelabel"?: string | undefined | undefined;
617
616
  "aria-brailleroledescription"?: string | undefined | undefined;
618
- "aria-busy"?: (boolean | "true" | "false") | undefined;
617
+ "aria-busy"?: (boolean | "false" | "true") | undefined;
619
618
  "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
620
619
  "aria-colcount"?: number | undefined | undefined;
621
620
  "aria-colindex"?: number | undefined | undefined;
@@ -626,43 +625,44 @@ export declare const usePendingButtonContext: () => {
626
625
  "aria-describedby"?: string | undefined | undefined;
627
626
  "aria-description"?: string | undefined | undefined;
628
627
  "aria-details"?: string | undefined | undefined;
629
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
628
+ "aria-disabled"?: (boolean | "false" | "true") | undefined;
630
629
  "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
631
630
  "aria-errormessage"?: string | undefined | undefined;
632
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
631
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
633
632
  "aria-flowto"?: string | undefined | undefined;
634
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
633
+ "aria-grabbed"?: (boolean | "false" | "true") | undefined;
635
634
  "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
636
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
635
+ "aria-hidden"?: (boolean | "false" | "true") | undefined;
637
636
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
638
637
  "aria-keyshortcuts"?: string | undefined | undefined;
639
638
  "aria-label"?: string | undefined | undefined;
640
639
  "aria-labelledby"?: string | undefined | undefined;
641
640
  "aria-level"?: number | undefined | undefined;
642
641
  "aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
643
- "aria-modal"?: (boolean | "true" | "false") | undefined;
644
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
645
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
642
+ "aria-modal"?: (boolean | "false" | "true") | undefined;
643
+ "aria-multiline"?: (boolean | "false" | "true") | undefined;
644
+ "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
646
645
  "aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
647
646
  "aria-owns"?: string | undefined | undefined;
648
647
  "aria-placeholder"?: string | undefined | undefined;
649
648
  "aria-posinset"?: number | undefined | undefined;
650
649
  "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
651
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
650
+ "aria-readonly"?: (boolean | "false" | "true") | undefined;
652
651
  "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
653
- "aria-required"?: (boolean | "true" | "false") | undefined;
652
+ "aria-required"?: (boolean | "false" | "true") | undefined;
654
653
  "aria-roledescription"?: string | undefined | undefined;
655
654
  "aria-rowcount"?: number | undefined | undefined;
656
655
  "aria-rowindex"?: number | undefined | undefined;
657
656
  "aria-rowindextext"?: string | undefined | undefined;
658
657
  "aria-rowspan"?: number | undefined | undefined;
659
- "aria-selected"?: (boolean | "true" | "false") | undefined;
658
+ "aria-selected"?: (boolean | "false" | "true") | undefined;
660
659
  "aria-setsize"?: number | undefined | undefined;
661
660
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
662
661
  "aria-valuemax"?: number | undefined | undefined;
663
662
  "aria-valuemin"?: number | undefined | undefined;
664
663
  "aria-valuenow"?: number | undefined | undefined;
665
664
  "aria-valuetext"?: string | undefined | undefined;
665
+ children?: React.ReactNode;
666
666
  dangerouslySetInnerHTML?: {
667
667
  __html: string | TrustedHTML;
668
668
  } | undefined | undefined;
@@ -2,14 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const reactPrimitive = require('@seed-design/react-primitive');
6
5
  const mannerTempBadge = require('@seed-design/css/recipes/manner-temp-badge');
7
- const createStyleContext = require('../../utils/createStyleContext.cjs');
6
+ const reactPrimitive = require('@seed-design/react-primitive');
7
+ const createRecipeContext = require('../../utils/createRecipeContext.cjs');
8
8
 
9
- const { withProvider } = createStyleContext.createStyleContext(mannerTempBadge.mannerTempBadge);
10
- const MannerTempBadge = withProvider(
11
- reactPrimitive.Primitive.span,
12
- "root"
13
- );
9
+ const { withProvider } = createRecipeContext.createRecipeContext(mannerTempBadge.mannerTempBadge);
10
+ const MannerTempBadge = withProvider(reactPrimitive.Primitive.span);
14
11
 
15
12
  exports.MannerTempBadge = MannerTempBadge;
@@ -1,5 +1,5 @@
1
- import { PrimitiveProps } from '@seed-design/react-primitive';
2
1
  import { MannerTempBadgeVariantProps } from '@seed-design/css/recipes/manner-temp-badge';
2
+ import { PrimitiveProps } from '@seed-design/react-primitive';
3
3
  import type * as React from "react";
4
4
  export interface MannerTempBadgeProps extends MannerTempBadgeVariantProps, PrimitiveProps, React.HTMLAttributes<HTMLSpanElement> {
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MannerTempBadge.d.ts","sourceRoot":"","sources":["../../../src/components/MannerTempBadge/MannerTempBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,4CAA4C,CAAC;AACpD,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,WAAW,oBACf,SAAQ,2BAA2B,EACjC,cAAc,EACd,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,eAAe,8FAG3B,CAAC"}
1
+ {"version":3,"file":"MannerTempBadge.d.ts","sourceRoot":"","sources":["../../../src/components/MannerTempBadge/MannerTempBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,WAAW,oBACf,SAAQ,2BAA2B,EACjC,cAAc,EACd,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,eAAe,8FAAsE,CAAC"}
@@ -1,11 +1,8 @@
1
- import { Primitive } from '@seed-design/react-primitive';
2
1
  import { mannerTempBadge } from '@seed-design/css/recipes/manner-temp-badge';
3
- import { createStyleContext } from '../../utils/createStyleContext.js';
2
+ import { Primitive } from '@seed-design/react-primitive';
3
+ import { createRecipeContext } from '../../utils/createRecipeContext.js';
4
4
 
5
- const { withProvider } = createStyleContext(mannerTempBadge);
6
- const MannerTempBadge = withProvider(
7
- Primitive.span,
8
- "root"
9
- );
5
+ const { withProvider } = createRecipeContext(mannerTempBadge);
6
+ const MannerTempBadge = withProvider(Primitive.span);
10
7
 
11
8
  export { MannerTempBadge };
@@ -4,9 +4,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const reactProgress = require('@seed-design/react-progress');
6
6
  const progressCircle = require('@seed-design/css/recipes/progress-circle');
7
- const createStyleContext = require('../../utils/createStyleContext.cjs');
7
+ const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
8
8
 
9
- const { withContext, withProvider } = createStyleContext.createStyleContext(progressCircle.progressCircle);
9
+ const { withContext, withProvider } = createSlotRecipeContext.createSlotRecipeContext(progressCircle.progressCircle);
10
10
  const ProgressCircleRoot = withProvider(
11
11
  reactProgress.ProgressCircle.Root,
12
12
  "root"
@@ -1,8 +1,8 @@
1
1
  import { ProgressCircle } from '@seed-design/react-progress';
2
2
  import { progressCircle } from '@seed-design/css/recipes/progress-circle';
3
- import { createStyleContext } from '../../utils/createStyleContext.js';
3
+ import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
4
4
 
5
- const { withContext, withProvider } = createStyleContext(progressCircle);
5
+ const { withContext, withProvider } = createSlotRecipeContext(progressCircle);
6
6
  const ProgressCircleRoot = withProvider(
7
7
  ProgressCircle.Root,
8
8
  "root"
@@ -4,9 +4,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const reactPullToRefresh = require('@seed-design/react-pull-to-refresh');
6
6
  const pullToRefresh = require('@seed-design/css/recipes/pull-to-refresh');
7
- const createStyleContext = require('../../utils/createStyleContext.cjs');
7
+ const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
8
8
 
9
- const { withContext, withProvider } = createStyleContext.createStyleContext(pullToRefresh.pullToRefresh);
9
+ const { withContext, withProvider } = createSlotRecipeContext.createSlotRecipeContext(pullToRefresh.pullToRefresh);
10
10
  const PullToRefreshRoot = withProvider(
11
11
  reactPullToRefresh.PullToRefresh.Root,
12
12
  "root"
@@ -1,8 +1,8 @@
1
1
  import { PullToRefresh } from '@seed-design/react-pull-to-refresh';
2
2
  import { pullToRefresh } from '@seed-design/css/recipes/pull-to-refresh';
3
- import { createStyleContext } from '../../utils/createStyleContext.js';
3
+ import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
4
4
 
5
- const { withContext, withProvider } = createStyleContext(pullToRefresh);
5
+ const { withContext, withProvider } = createSlotRecipeContext(pullToRefresh);
6
6
  const PullToRefreshRoot = withProvider(
7
7
  PullToRefresh.Root,
8
8
  "root"