@seed-design/react 1.1.17 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/AspectRatio/AspectRatio.cjs +53 -0
- package/lib/components/AspectRatio/AspectRatio.d.ts +11 -0
- package/lib/components/AspectRatio/AspectRatio.d.ts.map +1 -0
- package/lib/components/AspectRatio/AspectRatio.js +30 -0
- package/lib/components/AspectRatio/index.cjs +9 -0
- package/lib/components/AspectRatio/index.d.ts +2 -0
- package/lib/components/AspectRatio/index.d.ts.map +1 -0
- package/lib/components/AspectRatio/index.js +1 -0
- package/lib/components/Avatar/Avatar.cjs +4 -10
- package/lib/components/Avatar/Avatar.d.ts +4 -4
- package/lib/components/Avatar/Avatar.d.ts.map +1 -1
- package/lib/components/Avatar/Avatar.js +4 -10
- package/lib/components/Checkbox/Checkbox.cjs +5 -0
- package/lib/components/Checkbox/Checkbox.d.ts +4 -0
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/Checkbox/Checkbox.js +5 -1
- package/lib/components/Checkbox/Checkbox.namespace.cjs +1 -0
- package/lib/components/Checkbox/Checkbox.namespace.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.namespace.d.ts.map +1 -1
- package/lib/components/Checkbox/Checkbox.namespace.js +1 -1
- package/lib/components/Checkbox/index.cjs +1 -0
- package/lib/components/Checkbox/index.d.ts +1 -1
- package/lib/components/Checkbox/index.d.ts.map +1 -1
- package/lib/components/Checkbox/index.js +1 -1
- package/lib/components/Dialog/Dialog.d.ts.map +1 -1
- package/lib/components/Fieldset/Fieldset.cjs +86 -0
- package/lib/components/Fieldset/Fieldset.d.ts +30 -0
- package/lib/components/Fieldset/Fieldset.d.ts.map +1 -0
- package/lib/components/Fieldset/Fieldset.js +75 -0
- package/lib/components/Fieldset/Fieldset.namespace.cjs +16 -0
- package/lib/components/Fieldset/Fieldset.namespace.d.ts +2 -0
- package/lib/components/Fieldset/Fieldset.namespace.d.ts.map +1 -0
- package/lib/components/Fieldset/Fieldset.namespace.js +1 -0
- package/lib/components/Fieldset/index.cjs +18 -0
- package/lib/components/Fieldset/index.d.ts +3 -0
- package/lib/components/Fieldset/index.d.ts.map +1 -0
- package/lib/components/Fieldset/index.js +3 -0
- package/lib/components/Grid/Grid.cjs +56 -0
- package/lib/components/Grid/Grid.d.ts +41 -0
- package/lib/components/Grid/Grid.d.ts.map +1 -0
- package/lib/components/Grid/Grid.js +33 -0
- package/lib/components/Grid/index.cjs +9 -0
- package/lib/components/Grid/index.d.ts +2 -0
- package/lib/components/Grid/index.d.ts.map +1 -0
- package/lib/components/Grid/index.js +1 -0
- package/lib/components/GridItem/GridItem.cjs +45 -0
- package/lib/components/GridItem/GridItem.d.ts +35 -0
- package/lib/components/GridItem/GridItem.d.ts.map +1 -0
- package/lib/components/GridItem/GridItem.js +22 -0
- package/lib/components/GridItem/index.cjs +9 -0
- package/lib/components/GridItem/index.d.ts +2 -0
- package/lib/components/GridItem/index.d.ts.map +1 -0
- package/lib/components/GridItem/index.js +1 -0
- package/lib/components/HelpBubble/HelpBubble.cjs +5 -0
- package/lib/components/HelpBubble/HelpBubble.d.ts +3 -0
- package/lib/components/HelpBubble/HelpBubble.d.ts.map +1 -1
- package/lib/components/HelpBubble/HelpBubble.js +5 -1
- package/lib/components/HelpBubble/HelpBubble.namespace.cjs +1 -0
- package/lib/components/HelpBubble/HelpBubble.namespace.d.ts +1 -1
- package/lib/components/HelpBubble/HelpBubble.namespace.d.ts.map +1 -1
- package/lib/components/HelpBubble/HelpBubble.namespace.js +1 -1
- package/lib/components/HelpBubble/index.cjs +1 -0
- package/lib/components/HelpBubble/index.d.ts +1 -1
- package/lib/components/HelpBubble/index.d.ts.map +1 -1
- package/lib/components/HelpBubble/index.js +1 -1
- package/lib/components/ImageFrame/ImageFrame.cjs +157 -0
- package/lib/components/ImageFrame/ImageFrame.d.ts +51 -0
- package/lib/components/ImageFrame/ImageFrame.d.ts.map +1 -0
- package/lib/components/ImageFrame/ImageFrame.js +129 -0
- package/lib/components/ImageFrame/index.cjs +14 -0
- package/lib/components/ImageFrame/index.d.ts +2 -0
- package/lib/components/ImageFrame/index.d.ts.map +1 -0
- package/lib/components/ImageFrame/index.js +1 -0
- package/lib/components/MenuSheet/MenuSheet.cjs +60 -24
- package/lib/components/MenuSheet/MenuSheet.d.ts +12 -0
- package/lib/components/MenuSheet/MenuSheet.d.ts.map +1 -1
- package/lib/components/MenuSheet/MenuSheet.js +57 -25
- package/lib/components/MenuSheet/MenuSheet.namespace.cjs +4 -0
- package/lib/components/MenuSheet/MenuSheet.namespace.d.ts +1 -1
- package/lib/components/MenuSheet/MenuSheet.namespace.d.ts.map +1 -1
- package/lib/components/MenuSheet/MenuSheet.namespace.js +1 -1
- package/lib/components/MenuSheet/index.cjs +4 -0
- package/lib/components/MenuSheet/index.d.ts +1 -1
- package/lib/components/MenuSheet/index.d.ts.map +1 -1
- package/lib/components/MenuSheet/index.js +1 -1
- package/lib/components/RadioGroup/RadioGroup.cjs +4 -1
- package/lib/components/RadioGroup/RadioGroup.d.ts +3 -2
- package/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/lib/components/RadioGroup/RadioGroup.js +4 -1
- package/lib/components/RadioGroupField/RadioGroupField.cjs +79 -0
- package/lib/components/RadioGroupField/RadioGroupField.d.ts +30 -0
- package/lib/components/RadioGroupField/RadioGroupField.d.ts.map +1 -0
- package/lib/components/RadioGroupField/RadioGroupField.js +68 -0
- package/lib/components/RadioGroupField/RadioGroupField.namespace.cjs +16 -0
- package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts +2 -0
- package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts.map +1 -0
- package/lib/components/RadioGroupField/RadioGroupField.namespace.js +1 -0
- package/lib/components/RadioGroupField/index.cjs +18 -0
- package/lib/components/RadioGroupField/index.d.ts +3 -0
- package/lib/components/RadioGroupField/index.d.ts.map +1 -0
- package/lib/components/RadioGroupField/index.js +3 -0
- package/lib/components/SelectBox/CheckSelectBox.cjs +117 -8
- package/lib/components/SelectBox/CheckSelectBox.d.ts +38 -10
- package/lib/components/SelectBox/CheckSelectBox.d.ts.map +1 -1
- package/lib/components/SelectBox/CheckSelectBox.js +113 -10
- package/lib/components/SelectBox/CheckSelectBox.namespace.cjs +6 -0
- package/lib/components/SelectBox/CheckSelectBox.namespace.d.ts +1 -1
- package/lib/components/SelectBox/CheckSelectBox.namespace.d.ts.map +1 -1
- package/lib/components/SelectBox/CheckSelectBox.namespace.js +1 -1
- package/lib/components/SelectBox/RadioSelectBox.cjs +112 -9
- package/lib/components/SelectBox/RadioSelectBox.d.ts +31 -7
- package/lib/components/SelectBox/RadioSelectBox.d.ts.map +1 -1
- package/lib/components/SelectBox/RadioSelectBox.js +109 -10
- package/lib/components/SelectBox/RadioSelectBox.namespace.cjs +5 -1
- package/lib/components/SelectBox/RadioSelectBox.namespace.d.ts +1 -1
- package/lib/components/SelectBox/RadioSelectBox.namespace.d.ts.map +1 -1
- package/lib/components/SelectBox/RadioSelectBox.namespace.js +1 -1
- package/lib/components/SelectBox/index.cjs +11 -1
- package/lib/components/SelectBox/index.d.ts +2 -2
- package/lib/components/SelectBox/index.d.ts.map +1 -1
- package/lib/components/SelectBox/index.js +2 -2
- package/lib/components/Switch/Switch.cjs +5 -5
- package/lib/components/Switch/Switch.d.ts +3 -3
- package/lib/components/Switch/Switch.d.ts.map +1 -1
- package/lib/components/Switch/Switch.js +5 -5
- package/lib/components/TagGroup/TagGroup.cjs +25 -9
- package/lib/components/TagGroup/TagGroup.d.ts +5 -1
- package/lib/components/TagGroup/TagGroup.d.ts.map +1 -1
- package/lib/components/TagGroup/TagGroup.js +25 -10
- package/lib/components/TagGroup/TagGroup.namespace.cjs +1 -0
- package/lib/components/TagGroup/TagGroup.namespace.d.ts +1 -1
- package/lib/components/TagGroup/TagGroup.namespace.d.ts.map +1 -1
- package/lib/components/TagGroup/TagGroup.namespace.js +1 -1
- package/lib/components/TagGroup/index.cjs +1 -0
- package/lib/components/TagGroup/index.d.ts +1 -1
- package/lib/components/TagGroup/index.d.ts.map +1 -1
- package/lib/components/TagGroup/index.js +1 -1
- package/lib/components/index.cjs +53 -1
- package/lib/components/index.d.ts +6 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +16 -6
- package/lib/index.cjs +53 -1
- package/lib/index.js +16 -6
- package/lib/utils/styled.cjs +6 -0
- package/lib/utils/styled.d.ts +6 -0
- package/lib/utils/styled.d.ts.map +1 -1
- package/lib/utils/styled.js +6 -0
- package/package.json +5 -2
- package/src/components/AspectRatio/AspectRatio.tsx +38 -0
- package/src/components/AspectRatio/index.ts +1 -0
- package/src/components/Avatar/Avatar.tsx +7 -14
- package/src/components/Checkbox/Checkbox.namespace.ts +2 -0
- package/src/components/Checkbox/Checkbox.tsx +15 -0
- package/src/components/Checkbox/index.ts +2 -0
- package/src/components/Dialog/Dialog.tsx +6 -0
- package/src/components/Fieldset/Fieldset.namespace.ts +17 -0
- package/src/components/Fieldset/Fieldset.tsx +101 -0
- package/src/components/Fieldset/index.ts +19 -0
- package/src/components/Grid/Grid.tsx +79 -0
- package/src/components/Grid/index.ts +1 -0
- package/src/components/GridItem/GridItem.tsx +70 -0
- package/src/components/GridItem/index.ts +1 -0
- package/src/components/HelpBubble/HelpBubble.namespace.ts +3 -0
- package/src/components/HelpBubble/HelpBubble.tsx +7 -2
- package/src/components/HelpBubble/index.ts +2 -0
- package/src/components/ImageFrame/ImageFrame.tsx +227 -0
- package/src/components/ImageFrame/index.ts +14 -0
- package/src/components/MenuSheet/MenuSheet.namespace.ts +8 -0
- package/src/components/MenuSheet/MenuSheet.tsx +82 -34
- package/src/components/MenuSheet/index.ts +8 -0
- package/src/components/RadioGroup/RadioGroup.tsx +8 -2
- package/src/components/RadioGroupField/RadioGroupField.namespace.ts +18 -0
- package/src/components/RadioGroupField/RadioGroupField.tsx +114 -0
- package/src/components/RadioGroupField/index.ts +2 -0
- package/src/components/SelectBox/CheckSelectBox.namespace.ts +12 -0
- package/src/components/SelectBox/CheckSelectBox.tsx +229 -24
- package/src/components/SelectBox/RadioSelectBox.namespace.ts +10 -2
- package/src/components/SelectBox/RadioSelectBox.tsx +210 -16
- package/src/components/SelectBox/index.ts +22 -2
- package/src/components/Switch/Switch.tsx +7 -7
- package/src/components/TagGroup/TagGroup.namespace.ts +2 -0
- package/src/components/TagGroup/TagGroup.tsx +33 -9
- package/src/components/TagGroup/index.ts +2 -0
- package/src/components/index.ts +6 -0
- package/src/utils/styled.tsx +18 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
+
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
const domUtils = require('@seed-design/dom-utils');
|
|
8
|
+
const React = require('react');
|
|
9
|
+
const Box = require('../Box/Box.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 Grid = React__namespace.forwardRef((props, ref) => {
|
|
31
|
+
const { align, justify, justifyItems, columns, rows, autoFlow, autoColumns, autoRows, ...rest } = props;
|
|
32
|
+
return (
|
|
33
|
+
// @ts-expect-error: display: "grid" is not allowed in the Box component
|
|
34
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35
|
+
Box.Box,
|
|
36
|
+
{
|
|
37
|
+
ref,
|
|
38
|
+
alignItems: align,
|
|
39
|
+
justifyContent: justify,
|
|
40
|
+
...domUtils.mergeProps(rest, {
|
|
41
|
+
className: "seed-grid",
|
|
42
|
+
style: {
|
|
43
|
+
"--seed-grid-columns": typeof columns === "number" ? `repeat(${columns}, minmax(0, 1fr))` : columns,
|
|
44
|
+
"--seed-grid-rows": typeof rows === "number" ? `repeat(${rows}, minmax(0, 1fr))` : rows,
|
|
45
|
+
"--seed-grid-auto-flow": autoFlow,
|
|
46
|
+
"--seed-grid-auto-columns": autoColumns,
|
|
47
|
+
"--seed-grid-auto-rows": autoRows,
|
|
48
|
+
"--seed-grid-justify-items": justifyItems
|
|
49
|
+
}
|
|
50
|
+
})
|
|
51
|
+
}
|
|
52
|
+
)
|
|
53
|
+
);
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
exports.Grid = Grid;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { BoxProps } from '../Box/Box';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface GridProps extends Omit<BoxProps, "display"> {
|
|
4
|
+
/**
|
|
5
|
+
* @default "grid"
|
|
6
|
+
*/
|
|
7
|
+
display?: "grid" | "none";
|
|
8
|
+
/**
|
|
9
|
+
* Shorthand for `alignItems`.
|
|
10
|
+
*/
|
|
11
|
+
align?: BoxProps["alignItems"];
|
|
12
|
+
/**
|
|
13
|
+
* Shorthand for `justifyContent`.
|
|
14
|
+
*/
|
|
15
|
+
justify?: BoxProps["justifyContent"];
|
|
16
|
+
justifyItems?: "flex-start" | "flex-end" | "center" | "stretch";
|
|
17
|
+
/**
|
|
18
|
+
* Shorthand for `gridTemplateColumns`.
|
|
19
|
+
* If number, `repeat({columns}, minmax(0, 1fr))` is applied.
|
|
20
|
+
*/
|
|
21
|
+
columns?: number | string;
|
|
22
|
+
/**
|
|
23
|
+
* Shorthand for `gridTemplateRows`.
|
|
24
|
+
* If number, `repeat({rows}, minmax(0, 1fr))` is applied.
|
|
25
|
+
*/
|
|
26
|
+
rows?: number | string;
|
|
27
|
+
/**
|
|
28
|
+
* Shorthand for `gridAutoFlow`.
|
|
29
|
+
*/
|
|
30
|
+
autoFlow?: "row" | "column" | "row dense" | "column dense";
|
|
31
|
+
/**
|
|
32
|
+
* Shorthand for `gridAutoColumns`.
|
|
33
|
+
*/
|
|
34
|
+
autoColumns?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Shorthand for `gridAutoRows`.
|
|
37
|
+
*/
|
|
38
|
+
autoRows?: string;
|
|
39
|
+
}
|
|
40
|
+
export declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
//# sourceMappingURL=Grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC1D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IAE/B;;OAEG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAErC,YAAY,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;IAEhE;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAMvB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,WAAW,GAAG,cAAc,CAAC;IAE3D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,IAAI,kFAwBf,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { mergeProps } from '@seed-design/dom-utils';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { Box } from '../Box/Box.js';
|
|
6
|
+
|
|
7
|
+
const Grid = React.forwardRef((props, ref) => {
|
|
8
|
+
const { align, justify, justifyItems, columns, rows, autoFlow, autoColumns, autoRows, ...rest } = props;
|
|
9
|
+
return (
|
|
10
|
+
// @ts-expect-error: display: "grid" is not allowed in the Box component
|
|
11
|
+
/* @__PURE__ */ jsx(
|
|
12
|
+
Box,
|
|
13
|
+
{
|
|
14
|
+
ref,
|
|
15
|
+
alignItems: align,
|
|
16
|
+
justifyContent: justify,
|
|
17
|
+
...mergeProps(rest, {
|
|
18
|
+
className: "seed-grid",
|
|
19
|
+
style: {
|
|
20
|
+
"--seed-grid-columns": typeof columns === "number" ? `repeat(${columns}, minmax(0, 1fr))` : columns,
|
|
21
|
+
"--seed-grid-rows": typeof rows === "number" ? `repeat(${rows}, minmax(0, 1fr))` : rows,
|
|
22
|
+
"--seed-grid-auto-flow": autoFlow,
|
|
23
|
+
"--seed-grid-auto-columns": autoColumns,
|
|
24
|
+
"--seed-grid-auto-rows": autoRows,
|
|
25
|
+
"--seed-grid-justify-items": justifyItems
|
|
26
|
+
}
|
|
27
|
+
})
|
|
28
|
+
}
|
|
29
|
+
)
|
|
30
|
+
);
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export { Grid };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Grid } from './Grid.js';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
+
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
const React = require('react');
|
|
8
|
+
const Box = require('../Box/Box.cjs');
|
|
9
|
+
|
|
10
|
+
function _interopNamespaceDefault(e) {
|
|
11
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
12
|
+
if (e) {
|
|
13
|
+
for (const k in e) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: () => e[k]
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
n.default = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
28
|
+
|
|
29
|
+
const GridItem = React__namespace.forwardRef((props, ref) => {
|
|
30
|
+
const { asChild = false, colSpan, colStart, colEnd, rowSpan, rowStart, rowEnd, ...rest } = props;
|
|
31
|
+
const gridColumn = getGridLine(colSpan, colStart, colEnd);
|
|
32
|
+
const gridRow = getGridLine(rowSpan, rowStart, rowEnd);
|
|
33
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Box.Box, { ref, asChild, gridColumn, gridRow, ...rest });
|
|
34
|
+
});
|
|
35
|
+
GridItem.displayName = "GridItem";
|
|
36
|
+
function getGridLine(span, start, end) {
|
|
37
|
+
if (span === "full") return "1 / -1";
|
|
38
|
+
if (start !== void 0 && end !== void 0) return `${start} / ${end}`;
|
|
39
|
+
if (start !== void 0) return `${start}`;
|
|
40
|
+
if (end !== void 0) return `auto / ${end}`;
|
|
41
|
+
if (span !== void 0) return `span ${span}`;
|
|
42
|
+
return void 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.GridItem = GridItem;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BoxProps } from '../Box/Box';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface GridItemProps extends Omit<BoxProps, "gridColumn" | "gridRow" | "gridArea"> {
|
|
4
|
+
/**
|
|
5
|
+
* If true, the component will render its children directly without a wrapper element.
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Number of columns to span, or "full" for full width (1 / -1).
|
|
11
|
+
*/
|
|
12
|
+
colSpan?: number | "full";
|
|
13
|
+
/**
|
|
14
|
+
* Number of rows to span, or "full" for full height (1 / -1).
|
|
15
|
+
*/
|
|
16
|
+
rowSpan?: number | "full";
|
|
17
|
+
/**
|
|
18
|
+
* Starting column
|
|
19
|
+
*/
|
|
20
|
+
colStart?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Ending column.
|
|
23
|
+
*/
|
|
24
|
+
colEnd?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Starting row
|
|
27
|
+
*/
|
|
28
|
+
rowStart?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Ending row.
|
|
31
|
+
*/
|
|
32
|
+
rowEnd?: number;
|
|
33
|
+
}
|
|
34
|
+
export declare const GridItem: React.ForwardRefExoticComponent<GridItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
//# sourceMappingURL=GridItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GridItem.d.ts","sourceRoot":"","sources":["../../../src/components/GridItem/GridItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,QAAQ,EAAE,YAAY,GAAG,SAAS,GAAG,UAAU,CAAC;IAC1F;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CAGjB;AAED,eAAO,MAAM,QAAQ,sFAOnB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { Box } from '../Box/Box.js';
|
|
5
|
+
|
|
6
|
+
const GridItem = React.forwardRef((props, ref) => {
|
|
7
|
+
const { asChild = false, colSpan, colStart, colEnd, rowSpan, rowStart, rowEnd, ...rest } = props;
|
|
8
|
+
const gridColumn = getGridLine(colSpan, colStart, colEnd);
|
|
9
|
+
const gridRow = getGridLine(rowSpan, rowStart, rowEnd);
|
|
10
|
+
return /* @__PURE__ */ jsx(Box, { ref, asChild, gridColumn, gridRow, ...rest });
|
|
11
|
+
});
|
|
12
|
+
GridItem.displayName = "GridItem";
|
|
13
|
+
function getGridLine(span, start, end) {
|
|
14
|
+
if (span === "full") return "1 / -1";
|
|
15
|
+
if (start !== void 0 && end !== void 0) return `${start} / ${end}`;
|
|
16
|
+
if (start !== void 0) return `${start}`;
|
|
17
|
+
if (end !== void 0) return `auto / ${end}`;
|
|
18
|
+
if (span !== void 0) return `span ${span}`;
|
|
19
|
+
return void 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { GridItem };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/GridItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GridItem } from './GridItem.js';
|
|
@@ -75,6 +75,10 @@ const HelpBubbleCloseButton = withContext(
|
|
|
75
75
|
reactPopover.Popover.CloseButton,
|
|
76
76
|
"closeButton"
|
|
77
77
|
);
|
|
78
|
+
const HelpBubbleBody = withContext(
|
|
79
|
+
withStateProps(reactPrimitive.Primitive.div),
|
|
80
|
+
"body"
|
|
81
|
+
);
|
|
78
82
|
const HelpBubbleTitle = withContext(
|
|
79
83
|
withStateProps(reactPrimitive.Primitive.span),
|
|
80
84
|
"title"
|
|
@@ -87,6 +91,7 @@ const HelpBubbleDescription = withContext(
|
|
|
87
91
|
exports.HelpBubbleAnchor = HelpBubbleAnchor;
|
|
88
92
|
exports.HelpBubbleArrow = HelpBubbleArrow;
|
|
89
93
|
exports.HelpBubbleArrowTip = HelpBubbleArrowTip;
|
|
94
|
+
exports.HelpBubbleBody = HelpBubbleBody;
|
|
90
95
|
exports.HelpBubbleCloseButton = HelpBubbleCloseButton;
|
|
91
96
|
exports.HelpBubbleContent = HelpBubbleContent;
|
|
92
97
|
exports.HelpBubbleDescription = HelpBubbleDescription;
|
|
@@ -51,6 +51,9 @@ export declare const HelpBubbleArrowTip: ForwardRefExoticComponent<Omit<HelpBubb
|
|
|
51
51
|
export interface HelpBubbleCloseButtonProps extends PopoverPrimitive.CloseButtonProps {
|
|
52
52
|
}
|
|
53
53
|
export declare const HelpBubbleCloseButton: ForwardRefExoticComponent<HelpBubbleCloseButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
54
|
+
export interface HelpBubbleBodyProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
|
|
55
|
+
}
|
|
56
|
+
export declare const HelpBubbleBody: ForwardRefExoticComponent<HelpBubbleBodyProps & RefAttributes<HTMLDivElement>>;
|
|
54
57
|
export interface HelpBubbleTitleProps extends PrimitiveProps, React.HTMLAttributes<HTMLSpanElement> {
|
|
55
58
|
}
|
|
56
59
|
export declare const HelpBubbleTitle: ForwardRefExoticComponent<HelpBubbleTitleProps & RefAttributes<HTMLSpanElement>>;
|
|
@@ -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;AASrE,MAAM,WAAW,mBAAoB,SAAQ,sBAAsB,EAAE,gBAAgB,CAAC,SAAS;IAC7F;;OAEG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;IAC9C;;OAEG;IACH,eAAe,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAChE;;OAEG;IACH,YAAY,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CAC3D;AAED,eAAO,MAAM,cAAc,gEAOzB,CAAC;AAIH,MAAM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AQ,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,gIAiC9B,CAAC;AAKF,MAAM,WAAW,0BAA2B,SAAQ,gBAAgB,CAAC,gBAAgB;CAAG;AAExF,eAAO,MAAM,qBAAqB,0HAGjC,CAAC;AAIF,MAAM,WAAW,mBAAoB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAEpG,eAAO,MAAM,cAAc,gHAG1B,CAAC;AAEF,MAAM,WAAW,oBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,eAAe,kHAG3B,CAAC;AAEF,MAAM,WAAW,0BACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,qBAAqB,uHAGjC,CAAC"}
|
|
@@ -71,6 +71,10 @@ const HelpBubbleCloseButton = withContext(
|
|
|
71
71
|
Popover.CloseButton,
|
|
72
72
|
"closeButton"
|
|
73
73
|
);
|
|
74
|
+
const HelpBubbleBody = withContext(
|
|
75
|
+
withStateProps(Primitive.div),
|
|
76
|
+
"body"
|
|
77
|
+
);
|
|
74
78
|
const HelpBubbleTitle = withContext(
|
|
75
79
|
withStateProps(Primitive.span),
|
|
76
80
|
"title"
|
|
@@ -80,4 +84,4 @@ const HelpBubbleDescription = withContext(
|
|
|
80
84
|
"description"
|
|
81
85
|
);
|
|
82
86
|
|
|
83
|
-
export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger };
|
|
87
|
+
export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleBody, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger };
|
|
@@ -9,6 +9,7 @@ const HelpBubble = require('./HelpBubble.cjs');
|
|
|
9
9
|
exports.Anchor = HelpBubble.HelpBubbleAnchor;
|
|
10
10
|
exports.Arrow = HelpBubble.HelpBubbleArrow;
|
|
11
11
|
exports.ArrowTip = HelpBubble.HelpBubbleArrowTip;
|
|
12
|
+
exports.Body = HelpBubble.HelpBubbleBody;
|
|
12
13
|
exports.CloseButton = HelpBubble.HelpBubbleCloseButton;
|
|
13
14
|
exports.Content = HelpBubble.HelpBubbleContent;
|
|
14
15
|
exports.Description = HelpBubble.HelpBubbleDescription;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { HelpBubbleAnchor as Anchor, HelpBubbleArrow as Arrow, HelpBubbleArrowTip as ArrowTip, HelpBubbleCloseButton as CloseButton, HelpBubbleContent as Content, HelpBubbleDescription as Description, HelpBubblePositioner as Positioner, HelpBubblePositionerPortal as PositionerPortal, HelpBubbleRoot as Root, HelpBubbleTitle as Title, HelpBubbleTrigger as Trigger, type HelpBubbleArrowProps as ArrowProps, type HelpBubbleArrowTipProps as ArrowTipProps, type HelpBubbleCloseButtonProps as CloseButtonProps, type HelpBubbleContentProps as ContentProps, type HelpBubbleDescriptionProps as DescriptionProps, type HelpBubblePositionerProps as PositionerProps, type HelpBubblePositionerPortalProps as PositionerPortalProps, type HelpBubbleRootProps as RootProps, type HelpBubbleTitleProps as TitleProps, type HelpBubbleTriggerProps as TriggerProps, } from './HelpBubble';
|
|
1
|
+
export { HelpBubbleAnchor as Anchor, HelpBubbleArrow as Arrow, HelpBubbleArrowTip as ArrowTip, HelpBubbleBody as Body, HelpBubbleCloseButton as CloseButton, HelpBubbleContent as Content, HelpBubbleDescription as Description, HelpBubblePositioner as Positioner, HelpBubblePositionerPortal as PositionerPortal, HelpBubbleRoot as Root, HelpBubbleTitle as Title, HelpBubbleTrigger as Trigger, type HelpBubbleAnchorProps as AnchorProps, type HelpBubbleArrowProps as ArrowProps, type HelpBubbleArrowTipProps as ArrowTipProps, type HelpBubbleBodyProps as BodyProps, type HelpBubbleCloseButtonProps as CloseButtonProps, type HelpBubbleContentProps as ContentProps, type HelpBubbleDescriptionProps as DescriptionProps, type HelpBubblePositionerProps as PositionerProps, type HelpBubblePositionerPortalProps as PositionerPortalProps, type HelpBubbleRootProps as RootProps, type HelpBubbleTitleProps as TitleProps, type HelpBubbleTriggerProps as TriggerProps, } from './HelpBubble';
|
|
2
2
|
//# sourceMappingURL=HelpBubble.namespace.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpBubble.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/HelpBubble/HelpBubble.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,MAAM,EAC1B,eAAe,IAAI,KAAK,EACxB,kBAAkB,IAAI,QAAQ,EAC9B,qBAAqB,IAAI,WAAW,EACpC,iBAAiB,IAAI,OAAO,EAC5B,qBAAqB,IAAI,WAAW,EACpC,oBAAoB,IAAI,UAAU,EAClC,0BAA0B,IAAI,gBAAgB,EAC9C,cAAc,IAAI,IAAI,EACtB,eAAe,IAAI,KAAK,EACxB,iBAAiB,IAAI,OAAO,EAC5B,KAAK,oBAAoB,IAAI,UAAU,EACvC,KAAK,uBAAuB,IAAI,aAAa,EAC7C,KAAK,0BAA0B,IAAI,gBAAgB,EACnD,KAAK,sBAAsB,IAAI,YAAY,EAC3C,KAAK,0BAA0B,IAAI,gBAAgB,EACnD,KAAK,yBAAyB,IAAI,eAAe,EACjD,KAAK,+BAA+B,IAAI,qBAAqB,EAC7D,KAAK,mBAAmB,IAAI,SAAS,EACrC,KAAK,oBAAoB,IAAI,UAAU,EACvC,KAAK,sBAAsB,IAAI,YAAY,GAC5C,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"HelpBubble.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/HelpBubble/HelpBubble.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,MAAM,EAC1B,eAAe,IAAI,KAAK,EACxB,kBAAkB,IAAI,QAAQ,EAC9B,cAAc,IAAI,IAAI,EACtB,qBAAqB,IAAI,WAAW,EACpC,iBAAiB,IAAI,OAAO,EAC5B,qBAAqB,IAAI,WAAW,EACpC,oBAAoB,IAAI,UAAU,EAClC,0BAA0B,IAAI,gBAAgB,EAC9C,cAAc,IAAI,IAAI,EACtB,eAAe,IAAI,KAAK,EACxB,iBAAiB,IAAI,OAAO,EAC5B,KAAK,qBAAqB,IAAI,WAAW,EACzC,KAAK,oBAAoB,IAAI,UAAU,EACvC,KAAK,uBAAuB,IAAI,aAAa,EAC7C,KAAK,mBAAmB,IAAI,SAAS,EACrC,KAAK,0BAA0B,IAAI,gBAAgB,EACnD,KAAK,sBAAsB,IAAI,YAAY,EAC3C,KAAK,0BAA0B,IAAI,gBAAgB,EACnD,KAAK,yBAAyB,IAAI,eAAe,EACjD,KAAK,+BAA+B,IAAI,qBAAqB,EAC7D,KAAK,mBAAmB,IAAI,SAAS,EACrC,KAAK,oBAAoB,IAAI,UAAU,EACvC,KAAK,sBAAsB,IAAI,YAAY,GAC5C,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { HelpBubbleAnchor as Anchor, HelpBubbleArrow as Arrow, HelpBubbleArrowTip as ArrowTip, HelpBubbleCloseButton as CloseButton, HelpBubbleContent as Content, HelpBubbleDescription as Description, HelpBubblePositioner as Positioner, HelpBubblePositionerPortal as PositionerPortal, HelpBubbleRoot as Root, HelpBubbleTitle as Title, HelpBubbleTrigger as Trigger } from './HelpBubble.js';
|
|
1
|
+
export { HelpBubbleAnchor as Anchor, HelpBubbleArrow as Arrow, HelpBubbleArrowTip as ArrowTip, HelpBubbleBody as Body, HelpBubbleCloseButton as CloseButton, HelpBubbleContent as Content, HelpBubbleDescription as Description, HelpBubblePositioner as Positioner, HelpBubblePositionerPortal as PositionerPortal, HelpBubbleRoot as Root, HelpBubbleTitle as Title, HelpBubbleTrigger as Trigger } from './HelpBubble.js';
|
|
@@ -10,6 +10,7 @@ const HelpBubble_namespace = require('./HelpBubble.namespace.cjs');
|
|
|
10
10
|
exports.HelpBubbleAnchor = HelpBubble.HelpBubbleAnchor;
|
|
11
11
|
exports.HelpBubbleArrow = HelpBubble.HelpBubbleArrow;
|
|
12
12
|
exports.HelpBubbleArrowTip = HelpBubble.HelpBubbleArrowTip;
|
|
13
|
+
exports.HelpBubbleBody = HelpBubble.HelpBubbleBody;
|
|
13
14
|
exports.HelpBubbleCloseButton = HelpBubble.HelpBubbleCloseButton;
|
|
14
15
|
exports.HelpBubbleContent = HelpBubble.HelpBubbleContent;
|
|
15
16
|
exports.HelpBubbleDescription = HelpBubble.HelpBubbleDescription;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger, type HelpBubbleAnchorProps, type HelpBubbleArrowProps, type HelpBubbleArrowTipProps, type HelpBubbleCloseButtonProps, type HelpBubbleContentProps, type HelpBubbleDescriptionProps, type HelpBubblePositionerProps, type HelpBubblePositionerPortalProps, type HelpBubbleRootProps, type HelpBubbleTitleProps, type HelpBubbleTriggerProps, } from './HelpBubble';
|
|
1
|
+
export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleBody, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger, type HelpBubbleAnchorProps, type HelpBubbleArrowProps, type HelpBubbleArrowTipProps, type HelpBubbleBodyProps, type HelpBubbleCloseButtonProps, type HelpBubbleContentProps, type HelpBubbleDescriptionProps, type HelpBubblePositionerProps, type HelpBubblePositionerPortalProps, type HelpBubbleRootProps, type HelpBubbleTitleProps, type HelpBubbleTriggerProps, } from './HelpBubble';
|
|
2
2
|
export * as HelpBubble from './HelpBubble.namespace';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/HelpBubble/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/HelpBubble/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger } from './HelpBubble.js';
|
|
1
|
+
export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleBody, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger } from './HelpBubble.js';
|
|
2
2
|
import * as HelpBubble_namespace from './HelpBubble.namespace.js';
|
|
3
3
|
export { HelpBubble_namespace as HelpBubble };
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
+
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
const imageFrame = require('@seed-design/css/recipes/image-frame');
|
|
8
|
+
const imageFrameIcon = require('@seed-design/css/recipes/image-frame-icon');
|
|
9
|
+
const imageFrameIndicator = require('@seed-design/css/recipes/image-frame-indicator');
|
|
10
|
+
const imageFrameReactionButton = require('@seed-design/css/recipes/image-frame-reaction-button');
|
|
11
|
+
const component = require('@seed-design/css/vars/component');
|
|
12
|
+
const reactImage = require('@seed-design/react-image');
|
|
13
|
+
const reactToggle = require('@seed-design/react-toggle');
|
|
14
|
+
const clsx = require('clsx');
|
|
15
|
+
const React = require('react');
|
|
16
|
+
const AspectRatio = require('../AspectRatio/AspectRatio.cjs');
|
|
17
|
+
const Badge = require('../Badge/Badge.cjs');
|
|
18
|
+
const Float = require('../Float/Float.cjs');
|
|
19
|
+
const Icon = require('../Icon/Icon.cjs');
|
|
20
|
+
|
|
21
|
+
function _interopNamespaceDefault(e) {
|
|
22
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
23
|
+
if (e) {
|
|
24
|
+
for (const k in e) {
|
|
25
|
+
if (k !== 'default') {
|
|
26
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
27
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: () => e[k]
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
n.default = e;
|
|
35
|
+
return Object.freeze(n);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
39
|
+
|
|
40
|
+
const ImageFrame = React__namespace.forwardRef(
|
|
41
|
+
({
|
|
42
|
+
ratio = 4 / 3,
|
|
43
|
+
rounded,
|
|
44
|
+
stroke,
|
|
45
|
+
src,
|
|
46
|
+
alt,
|
|
47
|
+
fallback,
|
|
48
|
+
className,
|
|
49
|
+
loading,
|
|
50
|
+
decoding,
|
|
51
|
+
crossOrigin,
|
|
52
|
+
referrerPolicy,
|
|
53
|
+
sizes,
|
|
54
|
+
srcSet,
|
|
55
|
+
onLoad,
|
|
56
|
+
onError,
|
|
57
|
+
children,
|
|
58
|
+
...rest
|
|
59
|
+
}, ref) => {
|
|
60
|
+
return /* @__PURE__ */ jsxRuntime.jsx(AspectRatio.AspectRatio, { ref, ratio, className, ...rest, children: /* @__PURE__ */ jsxRuntime.jsxs(reactImage.Image.Root, { className: imageFrame.imageFrame({ rounded, stroke }), children: [
|
|
61
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
62
|
+
reactImage.Image.Content,
|
|
63
|
+
{
|
|
64
|
+
src,
|
|
65
|
+
alt,
|
|
66
|
+
loading,
|
|
67
|
+
decoding,
|
|
68
|
+
crossOrigin,
|
|
69
|
+
referrerPolicy,
|
|
70
|
+
sizes,
|
|
71
|
+
srcSet,
|
|
72
|
+
onLoad,
|
|
73
|
+
onError
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
fallback && /* @__PURE__ */ jsxRuntime.jsx(reactImage.Image.Fallback, { children: fallback }),
|
|
77
|
+
children
|
|
78
|
+
] }) });
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
ImageFrame.displayName = "ImageFrame";
|
|
82
|
+
const ImageFrameFloater = React__namespace.forwardRef(
|
|
83
|
+
({
|
|
84
|
+
offsetX = component.imageFrameFloater.base.enabled.root.offset,
|
|
85
|
+
offsetY = component.imageFrameFloater.base.enabled.root.offset,
|
|
86
|
+
...rest
|
|
87
|
+
}, ref) => {
|
|
88
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Float.Float, { ref, offsetX, offsetY, ...rest });
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
ImageFrameFloater.displayName = "ImageFrameFloater";
|
|
92
|
+
const ImageFrameBadge = React__namespace.forwardRef(
|
|
93
|
+
(props, ref) => {
|
|
94
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Badge.Badge, { ref, ...props });
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
ImageFrameBadge.displayName = "ImageFrameBadge";
|
|
98
|
+
const ImageFrameIcon = React__namespace.forwardRef(
|
|
99
|
+
({ svg, className, ...rest }, ref) => {
|
|
100
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { ref, className: clsx(imageFrameIcon.imageFrameIcon(), className), ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, { svg }) });
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
ImageFrameIcon.displayName = "ImageFrameIcon";
|
|
104
|
+
const ImageFrameIndicator = React__namespace.forwardRef(
|
|
105
|
+
({ children, className, ...rest }, ref) => {
|
|
106
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { ref, className: clsx(imageFrameIndicator.imageFrameIndicator(), className), ...rest, children });
|
|
107
|
+
}
|
|
108
|
+
);
|
|
109
|
+
ImageFrameIndicator.displayName = "ImageFrameIndicator";
|
|
110
|
+
const HeartFillPath = "M15.5452 10C11.7873 10 9.25 12.9484 9.25 16.6267C9.25 19.8754 11.1219 22.0952 13.1877 23.969C13.7807 24.5069 14.4438 25.0617 15.095 25.6066C15.5434 25.9817 15.9862 26.3522 16.3967 26.7093C17.4501 27.6257 18.4191 28.557 19.1995 29.5994C19.3886 29.8518 19.6856 30.0003 20.001 30C20.3163 29.9997 20.6131 29.8507 20.8016 29.5979C21.5785 28.5562 22.5453 27.6253 23.598 26.7091C24.0105 26.35 24.4568 25.9766 24.9089 25.5984C25.5573 25.0559 26.2176 24.5035 26.807 23.9693C28.8739 22.096 30.75 19.8761 30.75 16.6267C30.75 12.9484 28.2127 10 24.4548 10C22.6365 10 21.1002 11.0545 20 12.4906C18.8998 11.0545 17.3635 10 15.5452 10Z";
|
|
111
|
+
const HeartOutlineStrokePath = "M15.5452 12C13.0342 12 11.25 13.905 11.25 16.6267C11.25 18.9912 12.5659 20.7048 14.5314 22.4876C15.1157 23.0176 15.7038 23.5087 16.3148 24.019C16.7646 24.3946 17.2269 24.7807 17.7093 25.2003C18.4947 25.8835 19.2814 26.6141 19.9988 27.4215C20.7144 26.614 21.5001 25.8836 22.2849 25.2005C22.7714 24.7771 23.2368 24.3885 23.6895 24.0105C24.2967 23.5035 24.8813 23.0154 25.4639 22.4874C27.4317 20.704 28.75 18.9906 28.75 16.6267C28.75 13.905 26.9658 12 24.4548 12C23.069 12 21.747 12.8325 20.8919 14.5189C20.7215 14.8549 20.3768 15.0667 20 15.0667C19.6233 15.0667 19.2785 14.8549 19.1081 14.5189C18.2531 12.8325 16.931 12 15.5452 12ZM9.25 16.6267C9.25 12.9484 11.7873 10 15.5452 10C17.3146 10 18.8683 10.8364 20 12.2306C21.1317 10.8364 22.6854 10 24.4548 10C28.2127 10 30.75 12.9484 30.75 16.6267C30.75 19.8761 28.8739 22.096 26.807 23.9693C26.2176 24.5035 25.5573 25.0559 24.9089 25.5984C24.4568 25.9766 24.0105 26.35 23.598 26.7091C22.5453 27.6253 21.5785 28.5562 20.8016 29.5979C20.6131 29.8507 20.3163 29.9997 20.001 30C19.6856 30.0003 19.3886 29.8518 19.1995 29.5994C18.4191 28.557 17.4501 27.6257 16.3967 26.7093C15.9862 26.3522 15.5434 25.9817 15.095 25.6066C14.4438 25.0617 13.7807 24.5069 13.1877 23.969C11.1219 22.0952 9.25 19.8754 9.25 16.6267Z";
|
|
112
|
+
const UnselectedHeartIcon = () => /* @__PURE__ */ jsxRuntime.jsxs("svg", { viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: [
|
|
113
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: HeartFillPath, fill: "black", fillOpacity: "0.063" }),
|
|
114
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: HeartOutlineStrokePath, fill: "white" })
|
|
115
|
+
] });
|
|
116
|
+
const SelectedHeartIcon = () => {
|
|
117
|
+
const id = React__namespace.useId();
|
|
118
|
+
const gradientId = `seed-heart-gradient${id.replace(/:/g, "")}`;
|
|
119
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: [
|
|
120
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: HeartFillPath, fill: `url(#${gradientId})` }),
|
|
121
|
+
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
122
|
+
"linearGradient",
|
|
123
|
+
{
|
|
124
|
+
id: gradientId,
|
|
125
|
+
x1: "7",
|
|
126
|
+
y1: "8.5",
|
|
127
|
+
x2: "26.0974",
|
|
128
|
+
y2: "10.5391",
|
|
129
|
+
gradientUnits: "userSpaceOnUse",
|
|
130
|
+
children: [
|
|
131
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#FF9A56" }),
|
|
132
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "1", stopColor: "#FF6600" })
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
) })
|
|
136
|
+
] });
|
|
137
|
+
};
|
|
138
|
+
const ImageFrameReactionButton = React__namespace.forwardRef(({ className, pressed, ...rest }, ref) => {
|
|
139
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
140
|
+
reactToggle.Toggle.Root,
|
|
141
|
+
{
|
|
142
|
+
ref,
|
|
143
|
+
className: clsx(imageFrameReactionButton.imageFrameReactionButton(), className),
|
|
144
|
+
pressed,
|
|
145
|
+
...rest,
|
|
146
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, { svg: pressed ? /* @__PURE__ */ jsxRuntime.jsx(SelectedHeartIcon, {}) : /* @__PURE__ */ jsxRuntime.jsx(UnselectedHeartIcon, {}) })
|
|
147
|
+
}
|
|
148
|
+
);
|
|
149
|
+
});
|
|
150
|
+
ImageFrameReactionButton.displayName = "ImageFrameReactionButton";
|
|
151
|
+
|
|
152
|
+
exports.ImageFrame = ImageFrame;
|
|
153
|
+
exports.ImageFrameBadge = ImageFrameBadge;
|
|
154
|
+
exports.ImageFrameFloater = ImageFrameFloater;
|
|
155
|
+
exports.ImageFrameIcon = ImageFrameIcon;
|
|
156
|
+
exports.ImageFrameIndicator = ImageFrameIndicator;
|
|
157
|
+
exports.ImageFrameReactionButton = ImageFrameReactionButton;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ImageFrameVariantProps } from '@seed-design/css/recipes/image-frame';
|
|
2
|
+
import { ImageFrameIconVariantProps } from '@seed-design/css/recipes/image-frame-icon';
|
|
3
|
+
import { ImageFrameIndicatorVariantProps } from '@seed-design/css/recipes/image-frame-indicator';
|
|
4
|
+
import { Toggle as TogglePrimitive } from '@seed-design/react-toggle';
|
|
5
|
+
import { AspectRatioProps } from '../AspectRatio/AspectRatio';
|
|
6
|
+
import { BadgeProps } from '../Badge/Badge';
|
|
7
|
+
import { FloatProps } from '../Float/Float';
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
export interface ImageFrameProps extends Omit<AspectRatioProps, "children">, ImageFrameVariantProps {
|
|
10
|
+
src: string;
|
|
11
|
+
alt: string;
|
|
12
|
+
fallback?: React.ReactNode;
|
|
13
|
+
loading?: "eager" | "lazy";
|
|
14
|
+
decoding?: "async" | "auto" | "sync";
|
|
15
|
+
crossOrigin?: "anonymous" | "use-credentials" | "";
|
|
16
|
+
referrerPolicy?: React.HTMLAttributeReferrerPolicy;
|
|
17
|
+
sizes?: string;
|
|
18
|
+
srcSet?: string;
|
|
19
|
+
onLoad?: React.ReactEventHandler<HTMLImageElement>;
|
|
20
|
+
onError?: React.ReactEventHandler<HTMLImageElement>;
|
|
21
|
+
/**
|
|
22
|
+
* Overlay elements to be rendered on top of the image.
|
|
23
|
+
* Use ImageFrameFloater to position them.
|
|
24
|
+
*/
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
}
|
|
27
|
+
export declare const ImageFrame: React.ForwardRefExoticComponent<ImageFrameProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
export interface ImageFrameFloaterProps extends FloatProps {
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* ImageFrame 내에서 오버레이 요소를 배치하기 위한 컴포넌트
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* offsetX, offsetY 기본값은 rootage 스펙(image-frame-floater)에서 가져옵니다.
|
|
35
|
+
*/
|
|
36
|
+
export declare const ImageFrameFloater: React.ForwardRefExoticComponent<ImageFrameFloaterProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
+
export interface ImageFrameBadgeProps extends BadgeProps {
|
|
38
|
+
}
|
|
39
|
+
export declare const ImageFrameBadge: React.ForwardRefExoticComponent<ImageFrameBadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
40
|
+
export interface ImageFrameIconProps extends ImageFrameIconVariantProps, Omit<React.HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
41
|
+
svg: React.ReactNode;
|
|
42
|
+
}
|
|
43
|
+
export declare const ImageFrameIcon: React.ForwardRefExoticComponent<ImageFrameIconProps & React.RefAttributes<HTMLSpanElement>>;
|
|
44
|
+
export interface ImageFrameIndicatorProps extends ImageFrameIndicatorVariantProps, React.HTMLAttributes<HTMLSpanElement> {
|
|
45
|
+
children: React.ReactNode;
|
|
46
|
+
}
|
|
47
|
+
export declare const ImageFrameIndicator: React.ForwardRefExoticComponent<ImageFrameIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
48
|
+
export interface ImageFrameReactionButtonProps extends Omit<TogglePrimitive.RootProps, "children"> {
|
|
49
|
+
}
|
|
50
|
+
export declare const ImageFrameReactionButton: React.ForwardRefExoticComponent<ImageFrameReactionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
51
|
+
//# sourceMappingURL=ImageFrame.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageFrame.d.ts","sourceRoot":"","sources":["../../../src/components/ImageFrame/ImageFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,gDAAgD,CAAC;AAIxD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AA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