shared-design-system 1.11.0 → 1.13.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/src/components/Alert.d.ts +2 -1
- package/dist/src/components/Alert.js +80 -38
- package/dist/src/components/Alert.js.map +1 -1
- package/dist/src/components/Avatar.d.ts +11 -1
- package/dist/src/components/Avatar.js +96 -31
- package/dist/src/components/Avatar.js.map +1 -1
- package/dist/src/components/Badge.d.ts +5 -2
- package/dist/src/components/Badge.js +94 -30
- package/dist/src/components/Badge.js.map +1 -1
- package/dist/src/components/Breadcrumbs.d.ts +4 -1
- package/dist/src/components/Breadcrumbs.js +56 -27
- package/dist/src/components/Breadcrumbs.js.map +1 -1
- package/dist/src/components/Button.d.ts +4 -2
- package/dist/src/components/Button.js +99 -95
- package/dist/src/components/Button.js.map +1 -1
- package/dist/src/components/Card.d.ts +6 -1
- package/dist/src/components/Card.js +109 -21
- package/dist/src/components/Card.js.map +1 -1
- package/dist/src/components/ConfirmModal.d.ts +5 -2
- package/dist/src/components/ConfirmModal.js +99 -47
- package/dist/src/components/ConfirmModal.js.map +1 -1
- package/dist/src/components/DatePicker.js +55 -8
- package/dist/src/components/DatePicker.js.map +1 -1
- package/dist/src/components/Divider.d.ts +5 -1
- package/dist/src/components/Divider.js +53 -18
- package/dist/src/components/Divider.js.map +1 -1
- package/dist/src/components/InputComponents.d.ts +2 -4
- package/dist/src/components/InputComponents.js +89 -132
- package/dist/src/components/InputComponents.js.map +1 -1
- package/dist/src/components/ListComponents.d.ts +7 -4
- package/dist/src/components/ListComponents.js +70 -35
- package/dist/src/components/ListComponents.js.map +1 -1
- package/dist/src/components/LoadingSpinner.d.ts +9 -2
- package/dist/src/components/LoadingSpinner.js +59 -17
- package/dist/src/components/LoadingSpinner.js.map +1 -1
- package/dist/src/components/MultiSelect.d.ts +14 -0
- package/dist/src/components/MultiSelect.js +142 -0
- package/dist/src/components/MultiSelect.js.map +1 -0
- package/dist/src/components/Progress.d.ts +5 -1
- package/dist/src/components/Progress.js +58 -26
- package/dist/src/components/Progress.js.map +1 -1
- package/dist/src/components/Radio.d.ts +4 -0
- package/dist/src/components/Radio.js +50 -24
- package/dist/src/components/Radio.js.map +1 -1
- package/dist/src/components/ReadOnlyField.d.ts +6 -1
- package/dist/src/components/ReadOnlyField.js +78 -18
- package/dist/src/components/ReadOnlyField.js.map +1 -1
- package/dist/src/components/Select.d.ts +19 -0
- package/dist/src/components/Select.js +110 -0
- package/dist/src/components/Select.js.map +1 -0
- package/dist/src/components/Skeleton.d.ts +3 -1
- package/dist/src/components/Skeleton.js +52 -22
- package/dist/src/components/Skeleton.js.map +1 -1
- package/dist/src/components/Stack.d.ts +4 -0
- package/dist/src/components/Stack.js +32 -18
- package/dist/src/components/Stack.js.map +1 -1
- package/dist/src/components/Steps.d.ts +3 -1
- package/dist/src/components/Steps.js +93 -68
- package/dist/src/components/Steps.js.map +1 -1
- package/dist/src/components/Switch.d.ts +6 -2
- package/dist/src/components/Switch.js +45 -22
- package/dist/src/components/Switch.js.map +1 -1
- package/dist/src/components/Table.d.ts +9 -1
- package/dist/src/components/Table.js +102 -37
- package/dist/src/components/Table.js.map +1 -1
- package/dist/src/components/Tabs.d.ts +9 -5
- package/dist/src/components/Tabs.js +88 -88
- package/dist/src/components/Tabs.js.map +1 -1
- package/dist/src/components/Tag.d.ts +5 -2
- package/dist/src/components/Tag.js +106 -28
- package/dist/src/components/Tag.js.map +1 -1
- package/dist/src/components/Tooltip.d.ts +3 -0
- package/dist/src/components/Tooltip.js +89 -38
- package/dist/src/components/Tooltip.js.map +1 -1
- package/dist/src/components/Typography.d.ts +15 -2
- package/dist/src/components/Typography.js +108 -53
- package/dist/src/components/Typography.js.map +1 -1
- package/dist/src/index.d.ts +12 -8
- package/dist/src/index.js +6 -4
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,70 +1,125 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { tokens } from '../tokens';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
const HEADING_SIZES = {
|
|
5
|
+
1: tokens.font['2xl'],
|
|
6
|
+
2: tokens.font.xl,
|
|
7
|
+
3: tokens.font.lg,
|
|
8
|
+
4: tokens.font.md,
|
|
9
|
+
5: tokens.font.base,
|
|
10
|
+
6: tokens.font.sm,
|
|
11
|
+
};
|
|
12
|
+
const HEADING_LINE_HEIGHTS = {
|
|
13
|
+
1: 1.15,
|
|
14
|
+
2: 1.2,
|
|
15
|
+
3: 1.25,
|
|
16
|
+
4: 1.3,
|
|
17
|
+
5: 1.35,
|
|
18
|
+
6: 1.4,
|
|
19
|
+
};
|
|
20
|
+
const HEADING_LETTER_SPACING = {
|
|
21
|
+
1: '-0.03em',
|
|
22
|
+
2: '-0.025em',
|
|
23
|
+
3: '-0.02em',
|
|
24
|
+
4: '-0.015em',
|
|
25
|
+
5: '-0.01em',
|
|
26
|
+
6: '0',
|
|
27
|
+
};
|
|
28
|
+
export const Heading = ({ level = 2, children, className = '', style = {}, gradient = false, ...props }) => {
|
|
14
29
|
const baseStyle = {
|
|
15
30
|
fontFamily: tokens.font.family,
|
|
16
31
|
fontWeight: tokens.font.weightBold,
|
|
17
32
|
color: tokens.color.text,
|
|
18
|
-
fontSize:
|
|
33
|
+
fontSize: HEADING_SIZES[level] || tokens.font.base,
|
|
19
34
|
margin: 0,
|
|
20
|
-
lineHeight: 1.
|
|
21
|
-
|
|
35
|
+
lineHeight: HEADING_LINE_HEIGHTS[level] || 1.25,
|
|
36
|
+
letterSpacing: HEADING_LETTER_SPACING[level] || '-0.02em',
|
|
37
|
+
...(gradient ? {
|
|
38
|
+
background: `linear-gradient(135deg, ${tokens.color.slate800} 0%, ${tokens.color.slate600} 100%)`,
|
|
39
|
+
WebkitBackgroundClip: 'text',
|
|
40
|
+
WebkitTextFillColor: 'transparent',
|
|
41
|
+
backgroundClip: 'text',
|
|
42
|
+
} : {}),
|
|
43
|
+
...style,
|
|
22
44
|
};
|
|
23
45
|
const tag = `h${level}`;
|
|
24
|
-
return React.createElement(tag, { style: baseStyle, className
|
|
46
|
+
return React.createElement(tag, { style: baseStyle, className: `ds-heading ${className}`, ...props }, children);
|
|
25
47
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
if (color === 'danger')
|
|
47
|
-
return tokens.color.danger;
|
|
48
|
-
return tokens.color.text;
|
|
49
|
-
};
|
|
48
|
+
const COLOR_MAP = {
|
|
49
|
+
muted: tokens.color.textMuted,
|
|
50
|
+
disabled: tokens.color.textDisabled,
|
|
51
|
+
primary: tokens.color.primary,
|
|
52
|
+
danger: tokens.color.danger,
|
|
53
|
+
success: tokens.color.success,
|
|
54
|
+
warning: tokens.color.warning,
|
|
55
|
+
info: tokens.color.info,
|
|
56
|
+
default: tokens.color.text,
|
|
57
|
+
};
|
|
58
|
+
const WEIGHT_MAP = {
|
|
59
|
+
normal: tokens.font.weightNormal,
|
|
60
|
+
medium: tokens.font.weightMedium,
|
|
61
|
+
semibold: tokens.font.weightSemibold,
|
|
62
|
+
bold: tokens.font.weightBold,
|
|
63
|
+
};
|
|
64
|
+
export const Text = ({ size = 'base', weight = 'normal', color = 'default', truncate = false, as: Tag = 'p', children, className = '', style = {}, ...props }) => {
|
|
65
|
+
const resolvedColor = COLOR_MAP[color] ||
|
|
66
|
+
tokens.color[color] ||
|
|
67
|
+
tokens.color.text;
|
|
50
68
|
const baseStyle = {
|
|
51
69
|
fontFamily: tokens.font.family,
|
|
52
|
-
fontSize:
|
|
53
|
-
fontWeight:
|
|
54
|
-
color:
|
|
70
|
+
fontSize: tokens.font[size] || tokens.font.base,
|
|
71
|
+
fontWeight: WEIGHT_MAP[weight] || tokens.font.weightNormal,
|
|
72
|
+
color: resolvedColor,
|
|
55
73
|
margin: 0,
|
|
56
|
-
lineHeight: 1.
|
|
57
|
-
...
|
|
74
|
+
lineHeight: 1.65,
|
|
75
|
+
...(truncate ? {
|
|
76
|
+
whiteSpace: 'nowrap',
|
|
77
|
+
overflow: 'hidden',
|
|
78
|
+
textOverflow: 'ellipsis',
|
|
79
|
+
} : {}),
|
|
80
|
+
...style,
|
|
58
81
|
};
|
|
59
|
-
return
|
|
82
|
+
return React.createElement(Tag, { style: baseStyle, className: `ds-text ${className}`, ...props }, children);
|
|
60
83
|
};
|
|
61
|
-
export const
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
84
|
+
export const Label = ({ children, required, className = '', style = {}, ...props }) => (_jsxs("label", { style: {
|
|
85
|
+
display: 'inline-flex',
|
|
86
|
+
alignItems: 'center',
|
|
87
|
+
gap: '3px',
|
|
88
|
+
fontSize: tokens.font.xs,
|
|
89
|
+
fontWeight: tokens.font.weightSemibold,
|
|
90
|
+
color: tokens.color.slate600,
|
|
91
|
+
letterSpacing: '0.02em',
|
|
92
|
+
...style,
|
|
93
|
+
}, className: `ds-label ${className}`, ...props, children: [children, required && (_jsx("span", { style: { color: tokens.color.danger, lineHeight: 1 }, children: "*" }))] }));
|
|
94
|
+
export const Caption = ({ children, className = '', style = {}, ...props }) => (_jsx("span", { style: {
|
|
95
|
+
fontSize: '11px',
|
|
96
|
+
fontWeight: tokens.font.weightMedium,
|
|
97
|
+
color: tokens.color.textMuted,
|
|
98
|
+
lineHeight: 1.5,
|
|
99
|
+
...style,
|
|
100
|
+
}, className: `ds-caption ${className}`, ...props, children: children }));
|
|
101
|
+
export const SectionHeader = ({ title, description, className = '', style = {}, }) => (_jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: tokens.spacing[4], margin: `${tokens.spacing[6]} 0`, ...style }, className: `ds-section-header ${className}`, children: [_jsx("div", { style: {
|
|
102
|
+
width: '3px',
|
|
103
|
+
height: '16px',
|
|
104
|
+
background: `linear-gradient(to bottom, ${tokens.color.primary}, ${tokens.color.info})`,
|
|
105
|
+
borderRadius: tokens.radius.full,
|
|
106
|
+
flexShrink: 0,
|
|
107
|
+
} }), _jsxs("div", { style: { flex: 1 }, children: [_jsx("h4", { style: {
|
|
108
|
+
fontSize: tokens.font.xs,
|
|
109
|
+
fontWeight: tokens.font.weightBold,
|
|
110
|
+
color: tokens.color.slate700,
|
|
111
|
+
textTransform: 'uppercase',
|
|
112
|
+
letterSpacing: '0.1em',
|
|
113
|
+
margin: 0,
|
|
114
|
+
lineHeight: 1.4,
|
|
115
|
+
}, children: title }), description && (_jsx("p", { style: {
|
|
116
|
+
fontSize: '11px',
|
|
117
|
+
color: tokens.color.textMuted,
|
|
118
|
+
margin: '2px 0 0 0',
|
|
119
|
+
fontWeight: tokens.font.weightMedium,
|
|
120
|
+
}, children: description }))] }), _jsx("div", { style: {
|
|
121
|
+
flex: 1,
|
|
122
|
+
height: '1px',
|
|
123
|
+
background: `linear-gradient(to right, ${tokens.color.slate200}, transparent)`,
|
|
124
|
+
} })] }));
|
|
70
125
|
//# sourceMappingURL=Typography.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.js","sourceRoot":"","sources":["../../../src/components/Typography.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"Typography.js","sourceRoot":"","sources":["../../../src/components/Typography.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MA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E,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,EAAE,EACpH,SAAS,EAAE,qBAAqB,SAAS,EAAE,aAE3C,cAAK,KAAK,EAAE;gBACV,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE,8BAA8B,MAAM,CAAC,KAAK,CAAC,OAAO,KAAK,MAAM,CAAC,KAAK,CAAC,IAAI,GAAG;gBACvF,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI;gBAChC,UAAU,EAAE,CAAC;aACd,GAAI,EACL,eAAK,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,aACrB,aAAI,KAAK,EAAE;wBACT,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE;wBACxB,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU;wBAClC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ;wBAC5B,aAAa,EAAE,WAAoB;wBACnC,aAAa,EAAE,OAAO;wBACtB,MAAM,EAAE,CAAC;wBACT,UAAU,EAAE,GAAG;qBAChB,YACE,KAAK,GACH,EACJ,WAAW,IAAI,CACd,YAAG,KAAK,EAAE;wBACR,QAAQ,EAAE,MAAM;wBAChB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,SAAS;wBAC7B,MAAM,EAAE,WAAW;wBACnB,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,YAAY;qBACrC,YACE,WAAW,GACV,CACL,IACG,EACN,cAAK,KAAK,EAAE;gBACV,IAAI,EAAE,CAAC;gBACP,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE,6BAA6B,MAAM,CAAC,KAAK,CAAC,QAAQ,gBAAgB;aAC/E,GAAI,IACD,CACP,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -6,17 +6,21 @@ export { Badge } from './components/Badge';
|
|
|
6
6
|
export type { BadgeProps } from './components/Badge';
|
|
7
7
|
export { Card } from './components/Card';
|
|
8
8
|
export type { CardProps } from './components/Card';
|
|
9
|
-
export { Input, Textarea,
|
|
9
|
+
export { Input, Textarea, Checkbox, NativeSelect } from './components/InputComponents';
|
|
10
10
|
export { DatePicker } from './components/DatePicker';
|
|
11
|
-
export
|
|
12
|
-
export {
|
|
13
|
-
export type {
|
|
14
|
-
export {
|
|
15
|
-
export type {
|
|
11
|
+
export { MultiSelect } from './components/MultiSelect';
|
|
12
|
+
export { Select } from './components/Select';
|
|
13
|
+
export type { InputProps, TextareaProps, CheckboxProps, NativeSelectProps } from './components/InputComponents';
|
|
14
|
+
export type { MultiSelectProps } from './components/MultiSelect';
|
|
15
|
+
export type { SelectProps, SelectOption } from './components/Select';
|
|
16
|
+
export { Heading, Text, SectionHeader, Label, Caption } from './components/Typography';
|
|
17
|
+
export type { HeadingProps, TextProps, SectionHeaderProps, LabelProps, CaptionProps } from './components/Typography';
|
|
18
|
+
export { LoadingSpinner, LoadingOverlay } from './components/LoadingSpinner';
|
|
19
|
+
export type { LoadingSpinnerProps, LoadingOverlayProps } from './components/LoadingSpinner';
|
|
16
20
|
export { ReadOnlyField } from './components/ReadOnlyField';
|
|
17
21
|
export type { ReadOnlyFieldProps } from './components/ReadOnlyField';
|
|
18
|
-
export { Avatar } from './components/Avatar';
|
|
19
|
-
export type { AvatarProps } from './components/Avatar';
|
|
22
|
+
export { Avatar, AvatarGroup } from './components/Avatar';
|
|
23
|
+
export type { AvatarProps, AvatarGroupProps } from './components/Avatar';
|
|
20
24
|
export { Switch } from './components/Switch';
|
|
21
25
|
export type { SwitchProps } from './components/Switch';
|
|
22
26
|
export { Tabs, Tab } from './components/Tabs';
|
package/dist/src/index.js
CHANGED
|
@@ -3,13 +3,15 @@ export { Button } from './components/Button';
|
|
|
3
3
|
export { ConfirmModal } from './components/ConfirmModal';
|
|
4
4
|
export { Badge } from './components/Badge';
|
|
5
5
|
export { Card } from './components/Card';
|
|
6
|
-
export { Input, Textarea,
|
|
6
|
+
export { Input, Textarea, Checkbox, NativeSelect } from './components/InputComponents';
|
|
7
7
|
export { DatePicker } from './components/DatePicker';
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
8
|
+
export { MultiSelect } from './components/MultiSelect';
|
|
9
|
+
export { Select } from './components/Select';
|
|
10
|
+
export { Heading, Text, SectionHeader, Label, Caption } from './components/Typography';
|
|
11
|
+
export { LoadingSpinner, LoadingOverlay } from './components/LoadingSpinner';
|
|
10
12
|
export { ReadOnlyField } from './components/ReadOnlyField';
|
|
11
13
|
// ─── Phase 2 Components ───────────────────────────────────────────────────────
|
|
12
|
-
export { Avatar } from './components/Avatar';
|
|
14
|
+
export { Avatar, AvatarGroup } from './components/Avatar';
|
|
13
15
|
export { Switch } from './components/Switch';
|
|
14
16
|
export { Tabs, Tab } from './components/Tabs';
|
|
15
17
|
export { Breadcrumbs } from './components/Breadcrumbs';
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAG7C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAG3C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGzC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAG7C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAG3C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGzC,OAAO,EAAE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