@seed-design/react 0.0.19 → 0.0.21
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/lib/components/Icon/Icon.d.ts.map +1 -1
- package/lib/components/LoadingIndicator/usePendingButton.d.ts +6 -0
- package/lib/components/LoadingIndicator/usePendingButton.d.ts.map +1 -1
- package/lib/components/ResponsivePair/ResponsivePair.cjs +57 -0
- package/lib/components/ResponsivePair/ResponsivePair.d.ts +11 -0
- package/lib/components/ResponsivePair/ResponsivePair.d.ts.map +1 -0
- package/lib/components/ResponsivePair/ResponsivePair.js +34 -0
- package/lib/components/ResponsivePair/index.cjs +9 -0
- package/lib/components/ResponsivePair/index.d.ts +2 -0
- package/lib/components/ResponsivePair/index.d.ts.map +1 -0
- package/lib/components/ResponsivePair/index.js +1 -0
- package/lib/components/Text/Text.d.ts.map +1 -1
- package/lib/components/index.cjs +2 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +1 -0
- package/lib/components/private/useDismissible.d.ts +12 -0
- package/lib/components/private/useDismissible.d.ts.map +1 -1
- package/lib/index.cjs +2 -0
- package/lib/index.js +1 -0
- package/lib/utils/createWithStateProps.d.ts.map +1 -1
- package/lib/utils/styled.d.ts +1 -1
- package/lib/utils/styled.d.ts.map +1 -1
- package/package.json +27 -25
- package/src/components/ResponsivePair/ResponsivePair.tsx +39 -0
- package/src/components/ResponsivePair/index.ts +1 -0
- package/src/components/index.ts +1 -0
- package/src/utils/styled.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAI1F,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,2GAatB,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,2GAatB,CAAC;AAIF,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAI1F,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,2GAatB,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,2GAatB,CAAC;AAIF,eAAO,MAAM,YAAY,GAAI,wBAG1B;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,4CAsDjD,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC;IAErB,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,aAAa,GAAG,kBAAkB,CAAC;CAC5C;AAED,eAAO,MAAM,IAAI,qGA+BhB,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,EAC9C,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,EAC1D,gBAAgB,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,KAAK,OAAO,oHAe/D"}
|
|
@@ -65,6 +65,8 @@ export declare function usePendingButton(props: UsePendingButtonProps): {
|
|
|
65
65
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
66
66
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
67
67
|
is?: string | undefined | undefined;
|
|
68
|
+
exportparts?: string | undefined | undefined;
|
|
69
|
+
part?: string | undefined | undefined;
|
|
68
70
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
69
71
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
70
72
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -337,6 +339,8 @@ export declare const PendingButtonProvider: React.Provider<{
|
|
|
337
339
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
338
340
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
339
341
|
is?: string | undefined | undefined;
|
|
342
|
+
exportparts?: string | undefined | undefined;
|
|
343
|
+
part?: string | undefined | undefined;
|
|
340
344
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
341
345
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
342
346
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -609,6 +613,8 @@ export declare const usePendingButtonContext: () => {
|
|
|
609
613
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
610
614
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
611
615
|
is?: string | undefined | undefined;
|
|
616
|
+
exportparts?: string | undefined | undefined;
|
|
617
|
+
part?: string | undefined | undefined;
|
|
612
618
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
613
619
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
614
620
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePendingButton.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingIndicator/usePendingButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEzE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB
|
|
1
|
+
{"version":3,"file":"usePendingButton.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingIndicator/usePendingButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEzE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY5D;AAID,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAgC,CAAC;AAEnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOnC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
const reactSlot = require('@radix-ui/react-slot');
|
|
7
|
+
const React = require('react');
|
|
8
|
+
const styled = require('../../utils/styled.cjs');
|
|
9
|
+
const Flex = require('../Flex/Flex.cjs');
|
|
10
|
+
|
|
11
|
+
function _interopNamespaceDefault(e) {
|
|
12
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
13
|
+
if (e) {
|
|
14
|
+
for (const k in e) {
|
|
15
|
+
if (k !== 'default') {
|
|
16
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
17
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: () => e[k]
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
n.default = e;
|
|
25
|
+
return Object.freeze(n);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
29
|
+
|
|
30
|
+
const ResponsivePair = React__namespace.forwardRef(
|
|
31
|
+
(props, ref) => {
|
|
32
|
+
const { wrap = "wrap-reverse", gap, children, ...rest } = props;
|
|
33
|
+
const childrenArray = React__namespace.Children.toArray(children);
|
|
34
|
+
const { style } = styled.useStyleProps({
|
|
35
|
+
minWidth: `calc(${100 / childrenArray.length}% - ${styled.handleDimension(gap)} / ${childrenArray.length})`,
|
|
36
|
+
flexGrow: 1
|
|
37
|
+
});
|
|
38
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
39
|
+
Flex.Flex,
|
|
40
|
+
{
|
|
41
|
+
ref,
|
|
42
|
+
display: "flex",
|
|
43
|
+
flexDirection: "row",
|
|
44
|
+
alignContent: "stretch",
|
|
45
|
+
flexWrap: wrap,
|
|
46
|
+
gap,
|
|
47
|
+
...rest,
|
|
48
|
+
children: [
|
|
49
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactSlot.Slot, { style, children: childrenArray[0] }),
|
|
50
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactSlot.Slot, { style, children: childrenArray[1] })
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
|
|
57
|
+
exports.ResponsivePair = ResponsivePair;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FlexProps } from '../Flex';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface ResponsivePairProps extends Omit<FlexProps, "flexDirection" | "flexWrap"> {
|
|
4
|
+
/**
|
|
5
|
+
* @default wrap-reverse
|
|
6
|
+
*/
|
|
7
|
+
wrap?: "wrap" | "wrap-reverse";
|
|
8
|
+
children: [React.ReactNode, React.ReactNode];
|
|
9
|
+
}
|
|
10
|
+
export declare const ResponsivePair: React.ForwardRefExoticComponent<ResponsivePairProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
//# sourceMappingURL=ResponsivePair.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResponsivePair.d.ts","sourceRoot":"","sources":["../../../src/components/ResponsivePair/ResponsivePair.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,SAAS,EAAE,eAAe,GAAG,UAAU,CAAC;IACxF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAE/B,QAAQ,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CAC9C;AAED,eAAO,MAAM,cAAc,4FAwB1B,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useStyleProps, handleDimension } from '../../utils/styled.js';
|
|
5
|
+
import { Flex } from '../Flex/Flex.js';
|
|
6
|
+
|
|
7
|
+
const ResponsivePair = React.forwardRef(
|
|
8
|
+
(props, ref) => {
|
|
9
|
+
const { wrap = "wrap-reverse", gap, children, ...rest } = props;
|
|
10
|
+
const childrenArray = React.Children.toArray(children);
|
|
11
|
+
const { style } = useStyleProps({
|
|
12
|
+
minWidth: `calc(${100 / childrenArray.length}% - ${handleDimension(gap)} / ${childrenArray.length})`,
|
|
13
|
+
flexGrow: 1
|
|
14
|
+
});
|
|
15
|
+
return /* @__PURE__ */ jsxs(
|
|
16
|
+
Flex,
|
|
17
|
+
{
|
|
18
|
+
ref,
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "row",
|
|
21
|
+
alignContent: "stretch",
|
|
22
|
+
flexWrap: wrap,
|
|
23
|
+
gap,
|
|
24
|
+
...rest,
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ jsx(Slot, { style, children: childrenArray[0] }),
|
|
27
|
+
/* @__PURE__ */ jsx(Slot, { style, children: childrenArray[1] })
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
export { ResponsivePair };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ResponsivePair/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ResponsivePair } from './ResponsivePair.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACxB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAoCpC,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,EACxC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IACvC;;;OAGG;IACH,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAEhG;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,GAAG,kBAAkB,CA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GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;AAYD,eAAO,MAAM,IAAI,GAAI,iHAYlB,SAAS,4CA8BX,CAAC"}
|
package/lib/components/index.cjs
CHANGED
|
@@ -50,6 +50,7 @@ const ProgressCircle_namespace = require('./ProgressCircle/ProgressCircle.namesp
|
|
|
50
50
|
const PullToRefresh = require('./PullToRefresh/PullToRefresh.cjs');
|
|
51
51
|
const PullToRefresh_namespace = require('./PullToRefresh/PullToRefresh.namespace.cjs');
|
|
52
52
|
const ReactionButton = require('./ReactionButton/ReactionButton.cjs');
|
|
53
|
+
const ResponsivePair = require('./ResponsivePair/ResponsivePair.cjs');
|
|
53
54
|
const SegmentedControl = require('./SegmentedControl/SegmentedControl.cjs');
|
|
54
55
|
const SegmentedControl_namespace = require('./SegmentedControl/SegmentedControl.namespace.cjs');
|
|
55
56
|
const CheckSelectBox = require('./SelectBox/CheckSelectBox.cjs');
|
|
@@ -203,6 +204,7 @@ exports.PullToRefreshIndicator = PullToRefresh.PullToRefreshIndicator;
|
|
|
203
204
|
exports.PullToRefreshRoot = PullToRefresh.PullToRefreshRoot;
|
|
204
205
|
exports.PullToRefresh = PullToRefresh_namespace;
|
|
205
206
|
exports.ReactionButton = ReactionButton.ReactionButton;
|
|
207
|
+
exports.ResponsivePair = ResponsivePair.ResponsivePair;
|
|
206
208
|
exports.SegmentedControlIndicator = SegmentedControl.SegmentedControlIndicator;
|
|
207
209
|
exports.SegmentedControlItem = SegmentedControl.SegmentedControlItem;
|
|
208
210
|
exports.SegmentedControlItemHiddenInput = SegmentedControl.SegmentedControlItemHiddenInput;
|
|
@@ -32,6 +32,7 @@ export * from './NotificationBadge';
|
|
|
32
32
|
export * from './ProgressCircle';
|
|
33
33
|
export * from './PullToRefresh';
|
|
34
34
|
export * from './ReactionButton';
|
|
35
|
+
export * from './ResponsivePair';
|
|
35
36
|
export * from './SegmentedControl';
|
|
36
37
|
export * from './SelectBox';
|
|
37
38
|
export * from './Skeleton';
|
|
@@ -1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cAAc,kBAAkB,CAAC"}
|
package/lib/components/index.js
CHANGED
|
@@ -59,6 +59,7 @@ export { PullToRefreshContent, PullToRefreshIndicator, PullToRefreshRoot } from
|
|
|
59
59
|
import * as PullToRefresh_namespace from './PullToRefresh/PullToRefresh.namespace.js';
|
|
60
60
|
export { PullToRefresh_namespace as PullToRefresh };
|
|
61
61
|
export { ReactionButton } from './ReactionButton/ReactionButton.js';
|
|
62
|
+
export { ResponsivePair } from './ResponsivePair/ResponsivePair.js';
|
|
62
63
|
export { SegmentedControlIndicator, SegmentedControlItem, SegmentedControlItemHiddenInput, SegmentedControlRoot } from './SegmentedControl/SegmentedControl.js';
|
|
63
64
|
import * as SegmentedControl_namespace from './SegmentedControl/SegmentedControl.namespace.js';
|
|
64
65
|
export { SegmentedControl_namespace as SegmentedControl };
|
|
@@ -59,6 +59,8 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
59
59
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
60
60
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
61
61
|
is?: string | undefined | undefined;
|
|
62
|
+
exportparts?: string | undefined | undefined;
|
|
63
|
+
part?: string | undefined | undefined;
|
|
62
64
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
63
65
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
64
66
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -327,6 +329,8 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
327
329
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
328
330
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
329
331
|
is?: string | undefined | undefined;
|
|
332
|
+
exportparts?: string | undefined | undefined;
|
|
333
|
+
part?: string | undefined | undefined;
|
|
330
334
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
331
335
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
332
336
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -609,6 +613,8 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
609
613
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
610
614
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
611
615
|
is?: string | undefined | undefined;
|
|
616
|
+
exportparts?: string | undefined | undefined;
|
|
617
|
+
part?: string | undefined | undefined;
|
|
612
618
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
613
619
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
614
620
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -877,6 +883,8 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
877
883
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
878
884
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
879
885
|
is?: string | undefined | undefined;
|
|
886
|
+
exportparts?: string | undefined | undefined;
|
|
887
|
+
part?: string | undefined | undefined;
|
|
880
888
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
881
889
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
882
890
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -1159,6 +1167,8 @@ export declare const useDismissibleContext: () => {
|
|
|
1159
1167
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
1160
1168
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
1161
1169
|
is?: string | undefined | undefined;
|
|
1170
|
+
exportparts?: string | undefined | undefined;
|
|
1171
|
+
part?: string | undefined | undefined;
|
|
1162
1172
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
1163
1173
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
1164
1174
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -1427,6 +1437,8 @@ export declare const useDismissibleContext: () => {
|
|
|
1427
1437
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
1428
1438
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
1429
1439
|
is?: string | undefined | undefined;
|
|
1440
|
+
exportparts?: string | undefined | undefined;
|
|
1441
|
+
part?: string | undefined | undefined;
|
|
1430
1442
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
1431
1443
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
1432
1444
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDismissible.d.ts","sourceRoot":"","sources":["../../../src/components/private/useDismissible.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAErE,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"useDismissible.d.ts","sourceRoot":"","sources":["../../../src/components/private/useDismissible.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,C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AC;CAAG;AAE9C,eAAO,MAAM,sBAAsB,uGAOjC,CAAC"}
|
package/lib/index.cjs
CHANGED
|
@@ -50,6 +50,7 @@ const ProgressCircle_namespace = require('./components/ProgressCircle/ProgressCi
|
|
|
50
50
|
const PullToRefresh = require('./components/PullToRefresh/PullToRefresh.cjs');
|
|
51
51
|
const PullToRefresh_namespace = require('./components/PullToRefresh/PullToRefresh.namespace.cjs');
|
|
52
52
|
const ReactionButton = require('./components/ReactionButton/ReactionButton.cjs');
|
|
53
|
+
const ResponsivePair = require('./components/ResponsivePair/ResponsivePair.cjs');
|
|
53
54
|
const SegmentedControl = require('./components/SegmentedControl/SegmentedControl.cjs');
|
|
54
55
|
const SegmentedControl_namespace = require('./components/SegmentedControl/SegmentedControl.namespace.cjs');
|
|
55
56
|
const CheckSelectBox = require('./components/SelectBox/CheckSelectBox.cjs');
|
|
@@ -203,6 +204,7 @@ exports.PullToRefreshIndicator = PullToRefresh.PullToRefreshIndicator;
|
|
|
203
204
|
exports.PullToRefreshRoot = PullToRefresh.PullToRefreshRoot;
|
|
204
205
|
exports.PullToRefresh = PullToRefresh_namespace;
|
|
205
206
|
exports.ReactionButton = ReactionButton.ReactionButton;
|
|
207
|
+
exports.ResponsivePair = ResponsivePair.ResponsivePair;
|
|
206
208
|
exports.SegmentedControlIndicator = SegmentedControl.SegmentedControlIndicator;
|
|
207
209
|
exports.SegmentedControlItem = SegmentedControl.SegmentedControlItem;
|
|
208
210
|
exports.SegmentedControlItemHiddenInput = SegmentedControl.SegmentedControlItemHiddenInput;
|
package/lib/index.js
CHANGED
|
@@ -59,6 +59,7 @@ export { PullToRefreshContent, PullToRefreshIndicator, PullToRefreshRoot } from
|
|
|
59
59
|
import * as PullToRefresh_namespace from './components/PullToRefresh/PullToRefresh.namespace.js';
|
|
60
60
|
export { PullToRefresh_namespace as PullToRefresh };
|
|
61
61
|
export { ReactionButton } from './components/ReactionButton/ReactionButton.js';
|
|
62
|
+
export { ResponsivePair } from './components/ResponsivePair/ResponsivePair.js';
|
|
62
63
|
export { SegmentedControlIndicator, SegmentedControlItem, SegmentedControlItemHiddenInput, SegmentedControlRoot } from './components/SegmentedControl/SegmentedControl.js';
|
|
63
64
|
import * as SegmentedControl_namespace from './components/SegmentedControl/SegmentedControl.namespace.js';
|
|
64
65
|
export { SegmentedControl_namespace as SegmentedControl };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createWithStateProps.d.ts","sourceRoot":"","sources":["../../src/utils/createWithStateProps.tsx"],"names":[],"mappings":";AAEA,KAAK,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;AAEjC,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,UAAU,CACrB,CAAC,IAAI,CAAC,EAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,KAAK;IAAE,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;CAAE,GAAG,IAAI,CAC1F,EACD,OAAO,CAAC,EAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,IAIC,CAAC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"createWithStateProps.d.ts","sourceRoot":"","sources":["../../src/utils/createWithStateProps.tsx"],"names":[],"mappings":";AAEA,KAAK,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;AAEjC,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,UAAU,CACrB,CAAC,IAAI,CAAC,EAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,KAAK;IAAE,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;CAAE,GAAG,IAAI,CAC1F,EACD,OAAO,CAAC,EAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,IAIC,CAAC,EAAE,CAAC,EAAE,WAAW,KAAK,CAAC,aAAa,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,sHAehG"}
|
package/lib/utils/styled.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ export interface StyleProps {
|
|
|
72
72
|
flexGrow?: 0 | 1 | (number & {});
|
|
73
73
|
flexShrink?: 0 | (number & {});
|
|
74
74
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | "rowReverse" | "columnReverse";
|
|
75
|
-
flexWrap?: "wrap" | "nowrap";
|
|
75
|
+
flexWrap?: "wrap" | "wrap-reverse" | "nowrap";
|
|
76
76
|
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "flexStart" | "flexEnd" | "spaceBetween" | "spaceAround";
|
|
77
77
|
alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "flexStart" | "flexEnd";
|
|
78
78
|
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "flexStart" | "flexEnd";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../src/utils/styled.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,MAAM,EACN,QAAQ,EACR,QAAQ,EACT,MAAM,uBAAuB,CAAC;AAI/B,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,OAOpD;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,OAiBhE;AAgHD,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,aAAa,GAAG,kBAAkB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAEhE;;OAEG;IACH,EAAE,CAAC,EAAE,aAAa,GAAG,kBAAkB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAExD,KAAK,CAAC,EAAE,aAAa,GAAG,kBAAkB,GAAG,CAAC,MA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
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seed-design/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/daangn/seed-design.git",
|
|
@@ -34,38 +34,40 @@
|
|
|
34
34
|
"lint:publish": "bun publint"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@radix-ui/react-compose-refs": "^1.1.
|
|
38
|
-
"@radix-ui/react-slot": "^1.
|
|
39
|
-
"@radix-ui/react-use-controllable-state": "1.
|
|
40
|
-
"@radix-ui/react-use-layout-effect": "^1.1.
|
|
41
|
-
"@seed-design/dom-utils": "0.0.
|
|
42
|
-
"@seed-design/react-avatar": "0.0.
|
|
43
|
-
"@seed-design/react-checkbox": "0.0.
|
|
44
|
-
"@seed-design/react-dialog": "0.0.
|
|
45
|
-
"@seed-design/react-popover": "0.0.
|
|
46
|
-
"@seed-design/react-primitive": "0.0.
|
|
47
|
-
"@seed-design/react-progress": "0.0.
|
|
48
|
-
"@seed-design/react-pull-to-refresh": "0.0.
|
|
49
|
-
"@seed-design/react-radio-group": "0.0.
|
|
50
|
-
"@seed-design/react-segmented-control": "0.0.
|
|
51
|
-
"@seed-design/react-snackbar": "0.0.
|
|
52
|
-
"@seed-design/react-switch": "0.0.
|
|
53
|
-
"@seed-design/react-tabs": "0.0.
|
|
54
|
-
"@seed-design/react-text-field": "0.0.
|
|
55
|
-
"@seed-design/react-toggle": "0.0.
|
|
37
|
+
"@radix-ui/react-compose-refs": "^1.1.2",
|
|
38
|
+
"@radix-ui/react-slot": "^1.2.0",
|
|
39
|
+
"@radix-ui/react-use-controllable-state": "1.2.2",
|
|
40
|
+
"@radix-ui/react-use-layout-effect": "^1.1.1",
|
|
41
|
+
"@seed-design/dom-utils": "0.0.2",
|
|
42
|
+
"@seed-design/react-avatar": "0.0.2",
|
|
43
|
+
"@seed-design/react-checkbox": "0.0.2",
|
|
44
|
+
"@seed-design/react-dialog": "0.0.3",
|
|
45
|
+
"@seed-design/react-popover": "0.0.5",
|
|
46
|
+
"@seed-design/react-primitive": "0.0.2",
|
|
47
|
+
"@seed-design/react-progress": "0.0.2",
|
|
48
|
+
"@seed-design/react-pull-to-refresh": "0.0.3",
|
|
49
|
+
"@seed-design/react-radio-group": "0.0.2",
|
|
50
|
+
"@seed-design/react-segmented-control": "0.0.3",
|
|
51
|
+
"@seed-design/react-snackbar": "0.0.3",
|
|
52
|
+
"@seed-design/react-switch": "0.0.2",
|
|
53
|
+
"@seed-design/react-tabs": "0.0.4",
|
|
54
|
+
"@seed-design/react-text-field": "0.0.2",
|
|
55
|
+
"@seed-design/react-toggle": "0.0.2",
|
|
56
56
|
"clsx": "^2.1.1"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@seed-design/css": "0.0.
|
|
59
|
+
"@seed-design/css": "0.0.21",
|
|
60
60
|
"react": ">=18.0.0",
|
|
61
61
|
"react-dom": ">=18.0.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@seed-design/css": "0.0.
|
|
65
|
-
"@vitejs/plugin-react": "^4.
|
|
64
|
+
"@seed-design/css": "0.0.21",
|
|
65
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
66
66
|
"globby": "^14.1.0",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
67
|
+
"react": "^18.3.1",
|
|
68
|
+
"react-dom": "^18.3.1",
|
|
69
|
+
"vite": "^6.3.3",
|
|
70
|
+
"vite-plugin-dts": "^4.5.3"
|
|
69
71
|
},
|
|
70
72
|
"publishConfig": {
|
|
71
73
|
"access": "public"
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { handleDimension, useStyleProps } from "../../utils/styled";
|
|
4
|
+
import { Flex, type FlexProps } from "../Flex";
|
|
5
|
+
|
|
6
|
+
export interface ResponsivePairProps extends Omit<FlexProps, "flexDirection" | "flexWrap"> {
|
|
7
|
+
/**
|
|
8
|
+
* @default wrap-reverse
|
|
9
|
+
*/
|
|
10
|
+
wrap?: "wrap" | "wrap-reverse";
|
|
11
|
+
|
|
12
|
+
children: [React.ReactNode, React.ReactNode];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const ResponsivePair = React.forwardRef<HTMLDivElement, ResponsivePairProps>(
|
|
16
|
+
(props, ref) => {
|
|
17
|
+
const { wrap = "wrap-reverse", gap, children, ...rest } = props;
|
|
18
|
+
const childrenArray = React.Children.toArray(children);
|
|
19
|
+
const { style } = useStyleProps({
|
|
20
|
+
minWidth: `calc(${100 / childrenArray.length}% - ${handleDimension(gap)} / ${childrenArray.length})`,
|
|
21
|
+
flexGrow: 1,
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
return (
|
|
25
|
+
<Flex
|
|
26
|
+
ref={ref}
|
|
27
|
+
display="flex"
|
|
28
|
+
flexDirection="row"
|
|
29
|
+
alignContent="stretch"
|
|
30
|
+
flexWrap={wrap}
|
|
31
|
+
gap={gap}
|
|
32
|
+
{...rest}
|
|
33
|
+
>
|
|
34
|
+
<Slot style={style}>{childrenArray[0]}</Slot>
|
|
35
|
+
<Slot style={style}>{childrenArray[1]}</Slot>
|
|
36
|
+
</Flex>
|
|
37
|
+
);
|
|
38
|
+
},
|
|
39
|
+
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ResponsivePair, type ResponsivePairProps } from "./ResponsivePair";
|
package/src/components/index.ts
CHANGED
|
@@ -32,6 +32,7 @@ export * from "./NotificationBadge";
|
|
|
32
32
|
export * from "./ProgressCircle";
|
|
33
33
|
export * from "./PullToRefresh";
|
|
34
34
|
export * from "./ReactionButton";
|
|
35
|
+
export * from "./ResponsivePair";
|
|
35
36
|
export * from "./SegmentedControl";
|
|
36
37
|
export * from "./SelectBox";
|
|
37
38
|
export * from "./Skeleton";
|
package/src/utils/styled.tsx
CHANGED
|
@@ -279,7 +279,7 @@ export interface StyleProps {
|
|
|
279
279
|
| "rowReverse" // @deprecated Use `row-reverse` instead.
|
|
280
280
|
| "columnReverse"; // @deprecated Use `column-reverse` instead.
|
|
281
281
|
|
|
282
|
-
flexWrap?: "wrap" | "nowrap";
|
|
282
|
+
flexWrap?: "wrap" | "wrap-reverse" | "nowrap";
|
|
283
283
|
|
|
284
284
|
justifyContent?:
|
|
285
285
|
| "flex-start"
|