@tonyarbor/components 0.4.0 → 0.7.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/dist/Button.d.mts +1 -1
- package/dist/Button.d.ts +1 -1
- package/dist/Button.js +56 -0
- package/dist/Button.js.map +1 -1
- package/dist/Button.mjs +1 -1
- package/dist/ButtonSegmented.d.mts +61 -0
- package/dist/ButtonSegmented.d.ts +61 -0
- package/dist/ButtonSegmented.js +167 -0
- package/dist/ButtonSegmented.js.map +1 -0
- package/dist/ButtonSegmented.mjs +7 -0
- package/dist/ButtonSegmented.mjs.map +1 -0
- package/dist/ListRow.d.mts +72 -0
- package/dist/ListRow.d.ts +72 -0
- package/dist/ListRow.js +194 -0
- package/dist/ListRow.js.map +1 -0
- package/dist/ListRow.mjs +7 -0
- package/dist/ListRow.mjs.map +1 -0
- package/dist/ListRowMultiLine.d.mts +56 -0
- package/dist/ListRowMultiLine.d.ts +56 -0
- package/dist/ListRowMultiLine.js +182 -0
- package/dist/ListRowMultiLine.js.map +1 -0
- package/dist/ListRowMultiLine.mjs +7 -0
- package/dist/ListRowMultiLine.mjs.map +1 -0
- package/dist/Logo.d.mts +39 -0
- package/dist/Logo.d.ts +39 -0
- package/dist/Logo.js +119 -0
- package/dist/Logo.js.map +1 -0
- package/dist/Logo.mjs +7 -0
- package/dist/Logo.mjs.map +1 -0
- package/dist/Modal.d.mts +73 -0
- package/dist/Modal.d.ts +73 -0
- package/dist/Modal.js +114 -0
- package/dist/Modal.js.map +1 -0
- package/dist/Modal.mjs +9 -0
- package/dist/Modal.mjs.map +1 -0
- package/dist/ModalFooter.d.mts +40 -0
- package/dist/ModalFooter.d.ts +40 -0
- package/dist/ModalFooter.js +73 -0
- package/dist/ModalFooter.js.map +1 -0
- package/dist/ModalFooter.mjs +7 -0
- package/dist/ModalFooter.mjs.map +1 -0
- package/dist/ModalHeader.d.mts +65 -0
- package/dist/ModalHeader.d.ts +65 -0
- package/dist/ModalHeader.js +257 -0
- package/dist/ModalHeader.js.map +1 -0
- package/dist/ModalHeader.mjs +8 -0
- package/dist/ModalHeader.mjs.map +1 -0
- package/dist/Section.d.mts +57 -0
- package/dist/Section.d.ts +57 -0
- package/dist/Section.js +72 -0
- package/dist/Section.js.map +1 -0
- package/dist/Section.mjs +7 -0
- package/dist/Section.mjs.map +1 -0
- package/dist/SectionHeading.d.mts +111 -0
- package/dist/SectionHeading.d.ts +111 -0
- package/dist/SectionHeading.js +385 -0
- package/dist/SectionHeading.js.map +1 -0
- package/dist/SectionHeading.mjs +8 -0
- package/dist/SectionHeading.mjs.map +1 -0
- package/dist/SectionHeadingInteractive.d.mts +67 -0
- package/dist/SectionHeadingInteractive.d.ts +67 -0
- package/dist/SectionHeadingInteractive.js +225 -0
- package/dist/SectionHeadingInteractive.js.map +1 -0
- package/dist/SectionHeadingInteractive.mjs +7 -0
- package/dist/SectionHeadingInteractive.mjs.map +1 -0
- package/dist/SectionIcon.d.mts +35 -0
- package/dist/SectionIcon.d.ts +35 -0
- package/dist/SectionIcon.js +142 -0
- package/dist/SectionIcon.js.map +1 -0
- package/dist/SectionIcon.mjs +7 -0
- package/dist/SectionIcon.mjs.map +1 -0
- package/dist/SubSectionHeading.d.mts +75 -0
- package/dist/SubSectionHeading.d.ts +75 -0
- package/dist/SubSectionHeading.js +225 -0
- package/dist/SubSectionHeading.js.map +1 -0
- package/dist/SubSectionHeading.mjs +7 -0
- package/dist/SubSectionHeading.mjs.map +1 -0
- package/dist/SubSectionInteractive.d.mts +65 -0
- package/dist/SubSectionInteractive.d.ts +65 -0
- package/dist/SubSectionInteractive.js +211 -0
- package/dist/SubSectionInteractive.js.map +1 -0
- package/dist/SubSectionInteractive.mjs +7 -0
- package/dist/SubSectionInteractive.mjs.map +1 -0
- package/dist/chunk-7JWINM2N.mjs +77 -0
- package/dist/chunk-7JWINM2N.mjs.map +1 -0
- package/dist/chunk-7NYBJKJS.mjs +106 -0
- package/dist/chunk-7NYBJKJS.mjs.map +1 -0
- package/dist/chunk-ALLCJATI.mjs +189 -0
- package/dist/chunk-ALLCJATI.mjs.map +1 -0
- package/dist/chunk-F6JVEIWC.mjs +158 -0
- package/dist/chunk-F6JVEIWC.mjs.map +1 -0
- package/dist/chunk-GHATS25Y.mjs +249 -0
- package/dist/chunk-GHATS25Y.mjs.map +1 -0
- package/dist/chunk-GIQDPHZQ.mjs +121 -0
- package/dist/chunk-GIQDPHZQ.mjs.map +1 -0
- package/dist/chunk-ILLGBZ6R.mjs +131 -0
- package/dist/chunk-ILLGBZ6R.mjs.map +1 -0
- package/dist/chunk-NNYU4DPD.mjs +83 -0
- package/dist/chunk-NNYU4DPD.mjs.map +1 -0
- package/dist/{chunk-ALEJXAZY.mjs → chunk-NOUFR6W2.mjs} +57 -1
- package/dist/chunk-NOUFR6W2.mjs.map +1 -0
- package/dist/chunk-ODKT7LGV.mjs +146 -0
- package/dist/chunk-ODKT7LGV.mjs.map +1 -0
- package/dist/chunk-P7RKUESQ.mjs +37 -0
- package/dist/chunk-P7RKUESQ.mjs.map +1 -0
- package/dist/chunk-RL4G7MR3.mjs +189 -0
- package/dist/chunk-RL4G7MR3.mjs.map +1 -0
- package/dist/chunk-X2CW5GF3.mjs +175 -0
- package/dist/chunk-X2CW5GF3.mjs.map +1 -0
- package/dist/chunk-YJ36ZZJQ.mjs +36 -0
- package/dist/chunk-YJ36ZZJQ.mjs.map +1 -0
- package/dist/index.d.mts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +1722 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +55 -1
- package/package.json +66 -1
- package/dist/chunk-ALEJXAZY.mjs.map +0 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SubSectionHeadingProps {
|
|
4
|
+
/**
|
|
5
|
+
* The heading text (required)
|
|
6
|
+
*/
|
|
7
|
+
title: string;
|
|
8
|
+
/**
|
|
9
|
+
* Show an info icon next to the heading text
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
icon?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Button variant to display on the right
|
|
15
|
+
* - 'primary': Green button with white text
|
|
16
|
+
* - 'tertiary': Gray button with dark text
|
|
17
|
+
* - undefined: No button
|
|
18
|
+
*/
|
|
19
|
+
button?: 'primary' | 'tertiary';
|
|
20
|
+
/**
|
|
21
|
+
* Text to display in the button (required if button is specified)
|
|
22
|
+
*/
|
|
23
|
+
buttonText?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Icon to display in the button (renders before button text)
|
|
26
|
+
*/
|
|
27
|
+
buttonIcon?: React.ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* Click handler for the button
|
|
30
|
+
*/
|
|
31
|
+
onButtonClick?: () => void;
|
|
32
|
+
/**
|
|
33
|
+
* Additional CSS class name
|
|
34
|
+
*/
|
|
35
|
+
className?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Additional inline styles
|
|
38
|
+
*/
|
|
39
|
+
style?: React.CSSProperties;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* SubSectionHeading component - Arbor Design System
|
|
43
|
+
*
|
|
44
|
+
* A sub-section heading component for dividing content within sections.
|
|
45
|
+
* Supports optional icon next to text and optional button on the right.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```tsx
|
|
49
|
+
* // Basic sub-section heading
|
|
50
|
+
* <SubSectionHeading title="Details" />
|
|
51
|
+
*
|
|
52
|
+
* // With info icon
|
|
53
|
+
* <SubSectionHeading title="Details" icon />
|
|
54
|
+
*
|
|
55
|
+
* // With primary button
|
|
56
|
+
* <SubSectionHeading
|
|
57
|
+
* title="Items"
|
|
58
|
+
* button="primary"
|
|
59
|
+
* buttonText="Add Item"
|
|
60
|
+
* onButtonClick={() => handleAdd()}
|
|
61
|
+
* />
|
|
62
|
+
*
|
|
63
|
+
* // With tertiary button and icon
|
|
64
|
+
* <SubSectionHeading
|
|
65
|
+
* title="Settings"
|
|
66
|
+
* icon
|
|
67
|
+
* button="tertiary"
|
|
68
|
+
* buttonText="Configure"
|
|
69
|
+
* onButtonClick={() => handleConfigure()}
|
|
70
|
+
* />
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
declare const SubSectionHeading: React.ForwardRefExoticComponent<SubSectionHeadingProps & React.RefAttributes<HTMLDivElement>>;
|
|
74
|
+
|
|
75
|
+
export { SubSectionHeading, type SubSectionHeadingProps };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SubSectionHeadingProps {
|
|
4
|
+
/**
|
|
5
|
+
* The heading text (required)
|
|
6
|
+
*/
|
|
7
|
+
title: string;
|
|
8
|
+
/**
|
|
9
|
+
* Show an info icon next to the heading text
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
icon?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Button variant to display on the right
|
|
15
|
+
* - 'primary': Green button with white text
|
|
16
|
+
* - 'tertiary': Gray button with dark text
|
|
17
|
+
* - undefined: No button
|
|
18
|
+
*/
|
|
19
|
+
button?: 'primary' | 'tertiary';
|
|
20
|
+
/**
|
|
21
|
+
* Text to display in the button (required if button is specified)
|
|
22
|
+
*/
|
|
23
|
+
buttonText?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Icon to display in the button (renders before button text)
|
|
26
|
+
*/
|
|
27
|
+
buttonIcon?: React.ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* Click handler for the button
|
|
30
|
+
*/
|
|
31
|
+
onButtonClick?: () => void;
|
|
32
|
+
/**
|
|
33
|
+
* Additional CSS class name
|
|
34
|
+
*/
|
|
35
|
+
className?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Additional inline styles
|
|
38
|
+
*/
|
|
39
|
+
style?: React.CSSProperties;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* SubSectionHeading component - Arbor Design System
|
|
43
|
+
*
|
|
44
|
+
* A sub-section heading component for dividing content within sections.
|
|
45
|
+
* Supports optional icon next to text and optional button on the right.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```tsx
|
|
49
|
+
* // Basic sub-section heading
|
|
50
|
+
* <SubSectionHeading title="Details" />
|
|
51
|
+
*
|
|
52
|
+
* // With info icon
|
|
53
|
+
* <SubSectionHeading title="Details" icon />
|
|
54
|
+
*
|
|
55
|
+
* // With primary button
|
|
56
|
+
* <SubSectionHeading
|
|
57
|
+
* title="Items"
|
|
58
|
+
* button="primary"
|
|
59
|
+
* buttonText="Add Item"
|
|
60
|
+
* onButtonClick={() => handleAdd()}
|
|
61
|
+
* />
|
|
62
|
+
*
|
|
63
|
+
* // With tertiary button and icon
|
|
64
|
+
* <SubSectionHeading
|
|
65
|
+
* title="Settings"
|
|
66
|
+
* icon
|
|
67
|
+
* button="tertiary"
|
|
68
|
+
* buttonText="Configure"
|
|
69
|
+
* onButtonClick={() => handleConfigure()}
|
|
70
|
+
* />
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
declare const SubSectionHeading: React.ForwardRefExoticComponent<SubSectionHeadingProps & React.RefAttributes<HTMLDivElement>>;
|
|
74
|
+
|
|
75
|
+
export { SubSectionHeading, type SubSectionHeadingProps };
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/SubSectionHeading/index.ts
|
|
31
|
+
var SubSectionHeading_exports = {};
|
|
32
|
+
__export(SubSectionHeading_exports, {
|
|
33
|
+
SubSectionHeading: () => SubSectionHeading
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(SubSectionHeading_exports);
|
|
36
|
+
|
|
37
|
+
// src/SubSectionHeading/SubSectionHeading.tsx
|
|
38
|
+
var React = __toESM(require("react"));
|
|
39
|
+
var import_clsx = require("clsx");
|
|
40
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
41
|
+
var InfoIcon = () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
42
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "8", cy: "8", r: "6.5", stroke: "#2f2f2f", strokeWidth: "1.2" }),
|
|
43
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
44
|
+
"path",
|
|
45
|
+
{
|
|
46
|
+
d: "M8 7V11",
|
|
47
|
+
stroke: "#2f2f2f",
|
|
48
|
+
strokeWidth: "1.2",
|
|
49
|
+
strokeLinecap: "round"
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "8", cy: "5", r: "0.75", fill: "#2f2f2f" })
|
|
53
|
+
] });
|
|
54
|
+
var PlusIcon = ({ color = "#2f2f2f" }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
55
|
+
"path",
|
|
56
|
+
{
|
|
57
|
+
d: "M8 3V13M3 8H13",
|
|
58
|
+
stroke: color,
|
|
59
|
+
strokeWidth: "1.2",
|
|
60
|
+
strokeLinecap: "round",
|
|
61
|
+
strokeLinejoin: "round"
|
|
62
|
+
}
|
|
63
|
+
) });
|
|
64
|
+
var subSectionHeadingStyles = {
|
|
65
|
+
container: {
|
|
66
|
+
display: "flex",
|
|
67
|
+
alignItems: "center",
|
|
68
|
+
width: "100%",
|
|
69
|
+
borderBottom: "1px solid #efefef",
|
|
70
|
+
fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
|
|
71
|
+
boxSizing: "border-box"
|
|
72
|
+
},
|
|
73
|
+
containerNoButton: {
|
|
74
|
+
padding: "12px 8px",
|
|
75
|
+
gap: "0px"
|
|
76
|
+
},
|
|
77
|
+
containerWithButton: {
|
|
78
|
+
padding: "8px",
|
|
79
|
+
gap: "12px",
|
|
80
|
+
justifyContent: "space-between"
|
|
81
|
+
},
|
|
82
|
+
textContainer: {
|
|
83
|
+
display: "flex",
|
|
84
|
+
alignItems: "center",
|
|
85
|
+
gap: "8px",
|
|
86
|
+
flex: 1,
|
|
87
|
+
minHeight: "16px"
|
|
88
|
+
},
|
|
89
|
+
title: {
|
|
90
|
+
fontSize: "18px",
|
|
91
|
+
fontWeight: "600",
|
|
92
|
+
color: "#2f2f2f",
|
|
93
|
+
lineHeight: "1.25",
|
|
94
|
+
margin: 0,
|
|
95
|
+
whiteSpace: "nowrap"
|
|
96
|
+
},
|
|
97
|
+
iconWrapper: {
|
|
98
|
+
display: "flex",
|
|
99
|
+
alignItems: "center",
|
|
100
|
+
justifyContent: "center",
|
|
101
|
+
width: "16px",
|
|
102
|
+
height: "16px",
|
|
103
|
+
flexShrink: 0
|
|
104
|
+
},
|
|
105
|
+
buttonBase: {
|
|
106
|
+
display: "flex",
|
|
107
|
+
alignItems: "center",
|
|
108
|
+
justifyContent: "center",
|
|
109
|
+
gap: "8px",
|
|
110
|
+
height: "32px",
|
|
111
|
+
minHeight: "32px",
|
|
112
|
+
padding: "0 16px",
|
|
113
|
+
borderRadius: "99px",
|
|
114
|
+
border: "none",
|
|
115
|
+
cursor: "pointer",
|
|
116
|
+
fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
|
|
117
|
+
fontSize: "13px",
|
|
118
|
+
fontWeight: "600",
|
|
119
|
+
lineHeight: "1.5",
|
|
120
|
+
whiteSpace: "nowrap",
|
|
121
|
+
flexShrink: 0,
|
|
122
|
+
transition: "background-color 0.15s ease-in-out, opacity 0.15s ease-in-out"
|
|
123
|
+
},
|
|
124
|
+
buttonPrimary: {
|
|
125
|
+
backgroundColor: "#0e8a0e",
|
|
126
|
+
color: "#ffffff"
|
|
127
|
+
},
|
|
128
|
+
buttonPrimaryHover: {
|
|
129
|
+
backgroundColor: "#0a6b0a"
|
|
130
|
+
},
|
|
131
|
+
buttonTertiary: {
|
|
132
|
+
backgroundColor: "#efefef",
|
|
133
|
+
color: "#2f2f2f"
|
|
134
|
+
},
|
|
135
|
+
buttonTertiaryHover: {
|
|
136
|
+
backgroundColor: "#e5e5e5"
|
|
137
|
+
},
|
|
138
|
+
buttonIconWrapper: {
|
|
139
|
+
display: "flex",
|
|
140
|
+
alignItems: "center",
|
|
141
|
+
justifyContent: "center",
|
|
142
|
+
width: "16px",
|
|
143
|
+
height: "16px",
|
|
144
|
+
flexShrink: 0
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
var SubSectionHeading = React.forwardRef(
|
|
148
|
+
({
|
|
149
|
+
title,
|
|
150
|
+
icon = false,
|
|
151
|
+
button,
|
|
152
|
+
buttonText = "Button Text",
|
|
153
|
+
buttonIcon,
|
|
154
|
+
onButtonClick,
|
|
155
|
+
className,
|
|
156
|
+
style,
|
|
157
|
+
...props
|
|
158
|
+
}, ref) => {
|
|
159
|
+
const [isButtonHovered, setIsButtonHovered] = React.useState(false);
|
|
160
|
+
const containerStyle = {
|
|
161
|
+
...subSectionHeadingStyles.container,
|
|
162
|
+
...button ? subSectionHeadingStyles.containerWithButton : subSectionHeadingStyles.containerNoButton,
|
|
163
|
+
...style
|
|
164
|
+
};
|
|
165
|
+
const getButtonStyle = () => {
|
|
166
|
+
const baseStyle = { ...subSectionHeadingStyles.buttonBase };
|
|
167
|
+
if (button === "primary") {
|
|
168
|
+
return {
|
|
169
|
+
...baseStyle,
|
|
170
|
+
...subSectionHeadingStyles.buttonPrimary,
|
|
171
|
+
...isButtonHovered && subSectionHeadingStyles.buttonPrimaryHover
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
if (button === "tertiary") {
|
|
175
|
+
return {
|
|
176
|
+
...baseStyle,
|
|
177
|
+
...subSectionHeadingStyles.buttonTertiary,
|
|
178
|
+
...isButtonHovered && subSectionHeadingStyles.buttonTertiaryHover
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
return baseStyle;
|
|
182
|
+
};
|
|
183
|
+
const renderButtonIcon = () => {
|
|
184
|
+
if (buttonIcon) {
|
|
185
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: subSectionHeadingStyles.buttonIconWrapper, children: buttonIcon });
|
|
186
|
+
}
|
|
187
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: subSectionHeadingStyles.buttonIconWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PlusIcon, { color: button === "primary" ? "#ffffff" : "#2f2f2f" }) });
|
|
188
|
+
};
|
|
189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
190
|
+
"div",
|
|
191
|
+
{
|
|
192
|
+
ref,
|
|
193
|
+
className: (0, import_clsx.clsx)("arbor-sub-section-heading", className),
|
|
194
|
+
style: containerStyle,
|
|
195
|
+
...props,
|
|
196
|
+
children: [
|
|
197
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: subSectionHeadingStyles.textContainer, children: [
|
|
198
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", { style: subSectionHeadingStyles.title, children: title }),
|
|
199
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: subSectionHeadingStyles.iconWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InfoIcon, {}) })
|
|
200
|
+
] }),
|
|
201
|
+
button && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
202
|
+
"button",
|
|
203
|
+
{
|
|
204
|
+
type: "button",
|
|
205
|
+
style: getButtonStyle(),
|
|
206
|
+
onClick: onButtonClick,
|
|
207
|
+
onMouseEnter: () => setIsButtonHovered(true),
|
|
208
|
+
onMouseLeave: () => setIsButtonHovered(false),
|
|
209
|
+
children: [
|
|
210
|
+
renderButtonIcon(),
|
|
211
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: buttonText })
|
|
212
|
+
]
|
|
213
|
+
}
|
|
214
|
+
)
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
);
|
|
218
|
+
}
|
|
219
|
+
);
|
|
220
|
+
SubSectionHeading.displayName = "SubSectionHeading";
|
|
221
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
222
|
+
0 && (module.exports = {
|
|
223
|
+
SubSectionHeading
|
|
224
|
+
});
|
|
225
|
+
//# sourceMappingURL=SubSectionHeading.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/SubSectionHeading/index.ts","../src/SubSectionHeading/SubSectionHeading.tsx"],"sourcesContent":["export { SubSectionHeading } from './SubSectionHeading';\nexport type { SubSectionHeadingProps } from './SubSectionHeading';\n","import * as React from 'react';\nimport { clsx } from 'clsx';\n\nexport interface SubSectionHeadingProps {\n /**\n * The heading text (required)\n */\n title: string;\n /**\n * Show an info icon next to the heading text\n * @default false\n */\n icon?: boolean;\n /**\n * Button variant to display on the right\n * - 'primary': Green button with white text\n * - 'tertiary': Gray button with dark text\n * - undefined: No button\n */\n button?: 'primary' | 'tertiary';\n /**\n * Text to display in the button (required if button is specified)\n */\n buttonText?: string;\n /**\n * Icon to display in the button (renders before button text)\n */\n buttonIcon?: React.ReactNode;\n /**\n * Click handler for the button\n */\n onButtonClick?: () => void;\n /**\n * Additional CSS class name\n */\n className?: string;\n /**\n * Additional inline styles\n */\n style?: React.CSSProperties;\n}\n\n// Info icon (circle with i)\nconst InfoIcon = () => (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"8\" cy=\"8\" r=\"6.5\" stroke=\"#2f2f2f\" strokeWidth=\"1.2\" />\n <path\n d=\"M8 7V11\"\n stroke=\"#2f2f2f\"\n strokeWidth=\"1.2\"\n strokeLinecap=\"round\"\n />\n <circle cx=\"8\" cy=\"5\" r=\"0.75\" fill=\"#2f2f2f\" />\n </svg>\n);\n\n// Default plus icon for buttons\nconst PlusIcon = ({ color = '#2f2f2f' }: { color?: string }) => (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M8 3V13M3 8H13\"\n stroke={color}\n strokeWidth=\"1.2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n);\n\n// Arbor Design System sub-section heading styles\nconst subSectionHeadingStyles = {\n container: {\n display: 'flex',\n alignItems: 'center',\n width: '100%',\n borderBottom: '1px solid #efefef',\n fontFamily: \"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\",\n boxSizing: 'border-box' as const,\n },\n containerNoButton: {\n padding: '12px 8px',\n gap: '0px',\n },\n containerWithButton: {\n padding: '8px',\n gap: '12px',\n justifyContent: 'space-between',\n },\n textContainer: {\n display: 'flex',\n alignItems: 'center',\n gap: '8px',\n flex: 1,\n minHeight: '16px',\n },\n title: {\n fontSize: '18px',\n fontWeight: '600',\n color: '#2f2f2f',\n lineHeight: '1.25',\n margin: 0,\n whiteSpace: 'nowrap' as const,\n },\n iconWrapper: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: '16px',\n height: '16px',\n flexShrink: 0,\n },\n buttonBase: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n gap: '8px',\n height: '32px',\n minHeight: '32px',\n padding: '0 16px',\n borderRadius: '99px',\n border: 'none',\n cursor: 'pointer',\n fontFamily: \"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\",\n fontSize: '13px',\n fontWeight: '600',\n lineHeight: '1.5',\n whiteSpace: 'nowrap' as const,\n flexShrink: 0,\n transition: 'background-color 0.15s ease-in-out, opacity 0.15s ease-in-out',\n },\n buttonPrimary: {\n backgroundColor: '#0e8a0e',\n color: '#ffffff',\n },\n buttonPrimaryHover: {\n backgroundColor: '#0a6b0a',\n },\n buttonTertiary: {\n backgroundColor: '#efefef',\n color: '#2f2f2f',\n },\n buttonTertiaryHover: {\n backgroundColor: '#e5e5e5',\n },\n buttonIconWrapper: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: '16px',\n height: '16px',\n flexShrink: 0,\n },\n};\n\n/**\n * SubSectionHeading component - Arbor Design System\n *\n * A sub-section heading component for dividing content within sections.\n * Supports optional icon next to text and optional button on the right.\n *\n * @example\n * ```tsx\n * // Basic sub-section heading\n * <SubSectionHeading title=\"Details\" />\n *\n * // With info icon\n * <SubSectionHeading title=\"Details\" icon />\n *\n * // With primary button\n * <SubSectionHeading\n * title=\"Items\"\n * button=\"primary\"\n * buttonText=\"Add Item\"\n * onButtonClick={() => handleAdd()}\n * />\n *\n * // With tertiary button and icon\n * <SubSectionHeading\n * title=\"Settings\"\n * icon\n * button=\"tertiary\"\n * buttonText=\"Configure\"\n * onButtonClick={() => handleConfigure()}\n * />\n * ```\n */\nexport const SubSectionHeading = React.forwardRef<HTMLDivElement, SubSectionHeadingProps>(\n (\n {\n title,\n icon = false,\n button,\n buttonText = 'Button Text',\n buttonIcon,\n onButtonClick,\n className,\n style,\n ...props\n },\n ref\n ) => {\n const [isButtonHovered, setIsButtonHovered] = React.useState(false);\n\n const containerStyle: React.CSSProperties = {\n ...subSectionHeadingStyles.container,\n ...(button\n ? subSectionHeadingStyles.containerWithButton\n : subSectionHeadingStyles.containerNoButton),\n ...style,\n };\n\n const getButtonStyle = (): React.CSSProperties => {\n const baseStyle = { ...subSectionHeadingStyles.buttonBase };\n\n if (button === 'primary') {\n return {\n ...baseStyle,\n ...subSectionHeadingStyles.buttonPrimary,\n ...(isButtonHovered && subSectionHeadingStyles.buttonPrimaryHover),\n };\n }\n\n if (button === 'tertiary') {\n return {\n ...baseStyle,\n ...subSectionHeadingStyles.buttonTertiary,\n ...(isButtonHovered && subSectionHeadingStyles.buttonTertiaryHover),\n };\n }\n\n return baseStyle;\n };\n\n const renderButtonIcon = () => {\n if (buttonIcon) {\n return (\n <span style={subSectionHeadingStyles.buttonIconWrapper}>{buttonIcon}</span>\n );\n }\n // Default icon based on button type\n return (\n <span style={subSectionHeadingStyles.buttonIconWrapper}>\n <PlusIcon color={button === 'primary' ? '#ffffff' : '#2f2f2f'} />\n </span>\n );\n };\n\n return (\n <div\n ref={ref}\n className={clsx('arbor-sub-section-heading', className)}\n style={containerStyle}\n {...props}\n >\n <div style={subSectionHeadingStyles.textContainer}>\n <h3 style={subSectionHeadingStyles.title}>{title}</h3>\n {icon && (\n <span style={subSectionHeadingStyles.iconWrapper}>\n <InfoIcon />\n </span>\n )}\n </div>\n {button && (\n <button\n type=\"button\"\n style={getButtonStyle()}\n onClick={onButtonClick}\n onMouseEnter={() => setIsButtonHovered(true)}\n onMouseLeave={() => setIsButtonHovered(false)}\n >\n {renderButtonIcon()}\n <span>{buttonText}</span>\n </button>\n )}\n </div>\n );\n }\n);\n\nSubSectionHeading.displayName = 'SubSectionHeading';\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SubSectionInteractiveProps {
|
|
4
|
+
/**
|
|
5
|
+
* The heading text (required)
|
|
6
|
+
*/
|
|
7
|
+
title: string;
|
|
8
|
+
/**
|
|
9
|
+
* Content to display when expanded (list rows, etc.)
|
|
10
|
+
*/
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the section is expanded (controlled mode)
|
|
14
|
+
*/
|
|
15
|
+
expanded?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Default expanded state (uncontrolled mode)
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
defaultExpanded?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Callback when expanded state changes
|
|
23
|
+
*/
|
|
24
|
+
onExpandedChange?: (expanded: boolean) => void;
|
|
25
|
+
/**
|
|
26
|
+
* Additional CSS class name
|
|
27
|
+
*/
|
|
28
|
+
className?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Additional inline styles
|
|
31
|
+
*/
|
|
32
|
+
style?: React.CSSProperties;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* SubSectionInteractive component - Arbor Design System
|
|
36
|
+
*
|
|
37
|
+
* A collapsible sub-section component that can contain list rows and other content.
|
|
38
|
+
* Click the header to expand/collapse the content area.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```tsx
|
|
42
|
+
* // Basic collapsible section
|
|
43
|
+
* <SubSectionInteractive title="Personal Details">
|
|
44
|
+
* <ListRow label="Name" value="John Smith" />
|
|
45
|
+
* <ListRow label="Email" value="john@example.com" />
|
|
46
|
+
* </SubSectionInteractive>
|
|
47
|
+
*
|
|
48
|
+
* // Initially collapsed
|
|
49
|
+
* <SubSectionInteractive title="Additional Info" defaultExpanded={false}>
|
|
50
|
+
* <ListRow label="Notes" value="Some notes here" />
|
|
51
|
+
* </SubSectionInteractive>
|
|
52
|
+
*
|
|
53
|
+
* // Controlled mode
|
|
54
|
+
* <SubSectionInteractive
|
|
55
|
+
* title="Settings"
|
|
56
|
+
* expanded={isExpanded}
|
|
57
|
+
* onExpandedChange={setIsExpanded}
|
|
58
|
+
* >
|
|
59
|
+
* <ListRow label="Theme" value="Dark" />
|
|
60
|
+
* </SubSectionInteractive>
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
declare const SubSectionInteractive: React.ForwardRefExoticComponent<SubSectionInteractiveProps & React.RefAttributes<HTMLDivElement>>;
|
|
64
|
+
|
|
65
|
+
export { SubSectionInteractive, type SubSectionInteractiveProps };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SubSectionInteractiveProps {
|
|
4
|
+
/**
|
|
5
|
+
* The heading text (required)
|
|
6
|
+
*/
|
|
7
|
+
title: string;
|
|
8
|
+
/**
|
|
9
|
+
* Content to display when expanded (list rows, etc.)
|
|
10
|
+
*/
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the section is expanded (controlled mode)
|
|
14
|
+
*/
|
|
15
|
+
expanded?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Default expanded state (uncontrolled mode)
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
defaultExpanded?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Callback when expanded state changes
|
|
23
|
+
*/
|
|
24
|
+
onExpandedChange?: (expanded: boolean) => void;
|
|
25
|
+
/**
|
|
26
|
+
* Additional CSS class name
|
|
27
|
+
*/
|
|
28
|
+
className?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Additional inline styles
|
|
31
|
+
*/
|
|
32
|
+
style?: React.CSSProperties;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* SubSectionInteractive component - Arbor Design System
|
|
36
|
+
*
|
|
37
|
+
* A collapsible sub-section component that can contain list rows and other content.
|
|
38
|
+
* Click the header to expand/collapse the content area.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```tsx
|
|
42
|
+
* // Basic collapsible section
|
|
43
|
+
* <SubSectionInteractive title="Personal Details">
|
|
44
|
+
* <ListRow label="Name" value="John Smith" />
|
|
45
|
+
* <ListRow label="Email" value="john@example.com" />
|
|
46
|
+
* </SubSectionInteractive>
|
|
47
|
+
*
|
|
48
|
+
* // Initially collapsed
|
|
49
|
+
* <SubSectionInteractive title="Additional Info" defaultExpanded={false}>
|
|
50
|
+
* <ListRow label="Notes" value="Some notes here" />
|
|
51
|
+
* </SubSectionInteractive>
|
|
52
|
+
*
|
|
53
|
+
* // Controlled mode
|
|
54
|
+
* <SubSectionInteractive
|
|
55
|
+
* title="Settings"
|
|
56
|
+
* expanded={isExpanded}
|
|
57
|
+
* onExpandedChange={setIsExpanded}
|
|
58
|
+
* >
|
|
59
|
+
* <ListRow label="Theme" value="Dark" />
|
|
60
|
+
* </SubSectionInteractive>
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
declare const SubSectionInteractive: React.ForwardRefExoticComponent<SubSectionInteractiveProps & React.RefAttributes<HTMLDivElement>>;
|
|
64
|
+
|
|
65
|
+
export { SubSectionInteractive, type SubSectionInteractiveProps };
|