@taiv/ui 1.11.0 → 1.12.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.
@@ -0,0 +1,26 @@
1
+ import { SegmentedControlProps as MantineSegmentedControlProps } from '@mantine/core';
2
+ import { CSSObject } from '@mantine/styles';
3
+ declare const componentSizes: {
4
+ readonly sm: {
5
+ readonly fontSize: string;
6
+ readonly lineHeight: string;
7
+ readonly mantineSize: "md";
8
+ };
9
+ readonly md: {
10
+ readonly fontSize: string;
11
+ readonly lineHeight: string;
12
+ readonly mantineSize: "lg";
13
+ };
14
+ readonly lg: {
15
+ readonly fontSize: string;
16
+ readonly lineHeight: string;
17
+ readonly mantineSize: "xl";
18
+ };
19
+ };
20
+ interface SegmentedControlProps extends Omit<MantineSegmentedControlProps, 'size'> {
21
+ size?: keyof typeof componentSizes;
22
+ styles?: Record<string, CSSObject>;
23
+ }
24
+ declare const SegmentedControl: ({ styles, size, color, ...props }: SegmentedControlProps) => import("react/jsx-runtime").JSX.Element;
25
+ export { SegmentedControl };
26
+ //# sourceMappingURL=SegmentedControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Controls/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,qBAAqB,IAAI,4BAA4B,EACtD,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;CAIV,CAAC;AAEX,UAAU,qBAAsB,SAAQ,IAAI,CAAC,4BAA4B,EAAE,MAAM,CAAC;IAChF,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC;AAED,QAAA,MAAM,gBAAgB,GAAI,mCAA0C,qBAAqB,4CA+BxF,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,41 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { SegmentedControl as MantineSegmentedControl, } from '@mantine/core';
3
+ import { primary, neutral, white } from '../../../../constants/colors';
4
+ import { fontBase, fontSize, fontWeight } from '../../../../constants/font';
5
+ const componentSizes = {
6
+ sm: { mantineSize: 'md', ...fontSize['xs'] },
7
+ md: { mantineSize: 'lg', ...fontSize['sm'] },
8
+ lg: { mantineSize: 'xl', ...fontSize['md'] },
9
+ };
10
+ const SegmentedControl = ({ styles, size = 'md', color, ...props }) => {
11
+ const selectedSize = componentSizes[size];
12
+ const style = {
13
+ root: {
14
+ backgroundColor: neutral[50],
15
+ },
16
+ controlActive: {
17
+ backgroundColor: white,
18
+ },
19
+ label: {
20
+ ...fontBase,
21
+ fontSize: selectedSize.fontSize,
22
+ '&:not([data-active])': {
23
+ color: neutral[200],
24
+ },
25
+ '&[data-active]': {
26
+ '&, &:hover': {
27
+ color: primary[200],
28
+ fontWeight: fontWeight.semibold,
29
+ },
30
+ },
31
+ },
32
+ control: {
33
+ '&:not(:first-of-type)': {
34
+ borderColor: neutral[100],
35
+ },
36
+ },
37
+ ...styles,
38
+ };
39
+ return _jsx(MantineSegmentedControl, { radius: 'md', color: color, size: selectedSize.mantineSize, styles: style, transitionTimingFunction: 'linear', transitionDuration: 300, ...props });
40
+ };
41
+ export { SegmentedControl };
@@ -0,0 +1,13 @@
1
+ import type { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { SegmentedControl } from './SegmentedControl';
3
+ declare const meta: Meta<typeof SegmentedControl>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const Sizes: Story;
8
+ export declare const StringData: Story;
9
+ export declare const States: Story;
10
+ export declare const FullWidth: Story;
11
+ export declare const Orientation: Story;
12
+ export declare const CustomStyles: Story;
13
+ //# sourceMappingURL=SegmentedControl.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SegmentedControl.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Controls/SegmentedControl/SegmentedControl.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAUtD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAkHvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KA8BrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAenB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAWxB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAwBpB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAavB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAczB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KA2B1B,CAAC"}
@@ -0,0 +1,231 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { SegmentedControl } from './SegmentedControl';
4
+ import { Group } from '../../../Layout/Group/Group';
5
+ import { Stack } from '../../../Layout/Stack/Stack';
6
+ const sampleData = [
7
+ { label: 'React', value: 'react' },
8
+ { label: 'Angular', value: 'ng' },
9
+ { label: 'Vue', value: 'vue' },
10
+ ];
11
+ const meta = {
12
+ title: 'Components/Inputs/Controls/SegmentedControl',
13
+ component: SegmentedControl,
14
+ parameters: {
15
+ layout: 'centered',
16
+ },
17
+ argTypes: {
18
+ size: {
19
+ control: { type: 'select' },
20
+ options: ['sm', 'md', 'lg'],
21
+ description: 'Controls segment padding and label font size',
22
+ table: {
23
+ type: { summary: "'sm' | 'md' | 'lg'" },
24
+ defaultValue: { summary: "'md'" },
25
+ },
26
+ },
27
+ data: {
28
+ control: { type: 'object' },
29
+ description: 'Segments as strings or { value, label, disabled? } objects',
30
+ table: {
31
+ type: { summary: "string[] | SegmentedControlItem[]" },
32
+ },
33
+ },
34
+ value: {
35
+ control: { type: 'text' },
36
+ description: 'Selected segment value (controlled)',
37
+ table: {
38
+ type: { summary: 'string' },
39
+ },
40
+ },
41
+ defaultValue: {
42
+ control: { type: 'text' },
43
+ description: 'Default value when uncontrolled',
44
+ table: {
45
+ type: { summary: 'string' },
46
+ },
47
+ },
48
+ disabled: {
49
+ control: { type: 'boolean' },
50
+ description: 'Disables the entire control',
51
+ table: {
52
+ type: { summary: 'boolean' },
53
+ defaultValue: { summary: 'false' },
54
+ },
55
+ },
56
+ fullWidth: {
57
+ control: { type: 'boolean' },
58
+ description: 'Stretch to 100% of the container width',
59
+ table: {
60
+ type: { summary: 'boolean' },
61
+ defaultValue: { summary: 'false' },
62
+ },
63
+ },
64
+ orientation: {
65
+ control: { type: 'select' },
66
+ options: ['horizontal', 'vertical'],
67
+ description: 'Layout direction of segments',
68
+ table: {
69
+ type: { summary: "'horizontal' | 'vertical'" },
70
+ defaultValue: { summary: "'horizontal'" },
71
+ },
72
+ },
73
+ readOnly: {
74
+ control: { type: 'boolean' },
75
+ description: 'Non-interactive but not visually disabled',
76
+ table: {
77
+ type: { summary: 'boolean' },
78
+ defaultValue: { summary: 'false' },
79
+ },
80
+ },
81
+ color: {
82
+ control: { type: 'color' },
83
+ description: 'Active segment color (Mantine color key or CSS color)',
84
+ table: {
85
+ type: { summary: 'MantineColor' },
86
+ },
87
+ },
88
+ radius: {
89
+ control: { type: 'text' },
90
+ description: 'Border radius (theme key or CSS value)',
91
+ table: {
92
+ type: { summary: "MantineNumberSize" },
93
+ },
94
+ },
95
+ transitionDuration: {
96
+ control: { type: 'number' },
97
+ description: 'Transition duration in ms (0 to disable)',
98
+ table: {
99
+ type: { summary: 'number' },
100
+ defaultValue: { summary: '200' },
101
+ },
102
+ },
103
+ name: {
104
+ control: { type: 'text' },
105
+ description: 'Name attribute for the underlying radio group',
106
+ table: {
107
+ type: { summary: 'string' },
108
+ },
109
+ },
110
+ styles: {
111
+ control: { type: 'object' },
112
+ description: 'Custom styles object (Mantine Styles API)',
113
+ table: {
114
+ type: { summary: 'Record<string, CSSObject>' },
115
+ },
116
+ },
117
+ onChange: {
118
+ action: 'changed',
119
+ description: 'Called with the new value when selection changes',
120
+ table: {
121
+ type: { summary: '(value: string) => void' },
122
+ },
123
+ },
124
+ },
125
+ };
126
+ export default meta;
127
+ export const Default = {
128
+ render: (args) => {
129
+ var _a, _b;
130
+ const [value, setValue] = useState((_a = args.value) !== null && _a !== void 0 ? _a : 'react');
131
+ return _jsx(SegmentedControl, { ...args, data: (_b = args.data) !== null && _b !== void 0 ? _b : sampleData, value: value, onChange: setValue });
132
+ },
133
+ args: {
134
+ data: sampleData,
135
+ size: 'md',
136
+ disabled: false,
137
+ fullWidth: false,
138
+ orientation: 'horizontal',
139
+ readOnly: false,
140
+ },
141
+ parameters: {
142
+ docs: {
143
+ source: {
144
+ code: `const [value, setValue] = useState('react');
145
+
146
+ <SegmentedControl
147
+ data={[
148
+ { label: 'React', value: 'react' },
149
+ { label: 'Angular', value: 'ng' },
150
+ { label: 'Vue', value: 'vue' },
151
+ ]}
152
+ value={value}
153
+ onChange={setValue}
154
+ />`,
155
+ },
156
+ },
157
+ },
158
+ };
159
+ export const Sizes = {
160
+ render: () => (_jsxs(Stack, { gap: "1.6rem", children: [_jsx(SegmentedControl, { size: "sm", data: sampleData, value: "react", onChange: () => { } }), _jsx(SegmentedControl, { size: "md", data: sampleData, value: "ng", onChange: () => { } }), _jsx(SegmentedControl, { size: "lg", data: sampleData, value: "vue", onChange: () => { } })] })),
161
+ parameters: {
162
+ docs: {
163
+ source: {
164
+ code: false,
165
+ },
166
+ },
167
+ },
168
+ };
169
+ export const StringData = {
170
+ render: () => (_jsx(SegmentedControl, { data: ['Day', 'Week', 'Month', 'Year'], value: "Week", onChange: () => { } })),
171
+ parameters: {
172
+ docs: {
173
+ source: {
174
+ code: false,
175
+ },
176
+ },
177
+ },
178
+ };
179
+ export const States = {
180
+ render: () => (_jsxs(Stack, { gap: "1.6rem", style: { minWidth: '28rem' }, children: [_jsx(SegmentedControl, { data: sampleData, value: "react", onChange: () => { } }), _jsx(SegmentedControl, { data: sampleData, value: "react", onChange: () => { }, disabled: true }), _jsx(SegmentedControl, { data: [
181
+ { value: 'preview', label: 'Preview', disabled: true },
182
+ { value: 'code', label: 'Code' },
183
+ { value: 'export', label: 'Export' },
184
+ ], value: "code", onChange: () => { } }), _jsx(SegmentedControl, { data: sampleData, value: "vue", onChange: () => { }, readOnly: true })] })),
185
+ parameters: {
186
+ docs: {
187
+ source: {
188
+ code: false,
189
+ },
190
+ },
191
+ },
192
+ };
193
+ export const FullWidth = {
194
+ render: () => (_jsx("div", { style: { width: '36rem', maxWidth: '100%' }, children: _jsx(SegmentedControl, { fullWidth: true, data: sampleData, value: "react", onChange: () => { } }) })),
195
+ parameters: {
196
+ docs: {
197
+ source: {
198
+ code: false,
199
+ },
200
+ },
201
+ },
202
+ };
203
+ export const Orientation = {
204
+ render: () => (_jsxs(Group, { gap: "3rem", align: "flex-start", children: [_jsx(SegmentedControl, { data: sampleData, value: "ng", onChange: () => { }, orientation: "horizontal" }), _jsx(SegmentedControl, { data: sampleData, value: "vue", onChange: () => { }, orientation: "vertical" })] })),
205
+ parameters: {
206
+ docs: {
207
+ source: {
208
+ code: false,
209
+ },
210
+ },
211
+ },
212
+ };
213
+ export const CustomStyles = {
214
+ render: () => (_jsx(Group, { gap: "2rem", children: _jsx(SegmentedControl, { data: sampleData, value: "react", onChange: () => { }, styles: {
215
+ root: {
216
+ backgroundColor: '#f0f4f8',
217
+ },
218
+ label: {
219
+ '&:not([data-active])': {
220
+ color: '#495057',
221
+ },
222
+ },
223
+ } }) })),
224
+ parameters: {
225
+ docs: {
226
+ source: {
227
+ code: false,
228
+ },
229
+ },
230
+ },
231
+ };
@@ -24,6 +24,7 @@ export { Checkbox } from './Inputs/Controls/Checkbox/Checkbox';
24
24
  export { Radio } from './Inputs/Controls/Radio/Radio';
25
25
  export { RadioList } from './Inputs/Controls/RadioList/RadioList';
26
26
  export { Toggle } from './Inputs/Controls/Toggle/Toggle';
27
+ export { SegmentedControl } from './Inputs/Controls/SegmentedControl/SegmentedControl';
27
28
  export { FontSelect } from './Inputs/Dropdowns/FontSelect/FontSelect';
28
29
  export { MultiSelect } from './Inputs/Dropdowns/MultiSelect/MultiSelect';
29
30
  export { CascadingSelect } from './Inputs/Dropdowns/CascadingSelect/CascadingSelect';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGpD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gEAAgE,CAAC;AACtG,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC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BAAwB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAG1C,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAGvD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC"}
@@ -27,6 +27,7 @@ export { Checkbox } from './Inputs/Controls/Checkbox/Checkbox';
27
27
  export { Radio } from './Inputs/Controls/Radio/Radio';
28
28
  export { RadioList } from './Inputs/Controls/RadioList/RadioList';
29
29
  export { Toggle } from './Inputs/Controls/Toggle/Toggle';
30
+ export { SegmentedControl } from './Inputs/Controls/SegmentedControl/SegmentedControl';
30
31
  export { FontSelect } from './Inputs/Dropdowns/FontSelect/FontSelect';
31
32
  export { MultiSelect } from './Inputs/Dropdowns/MultiSelect/MultiSelect';
32
33
  export { CascadingSelect } from './Inputs/Dropdowns/CascadingSelect/CascadingSelect';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiv/ui",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "author": "Taiv",
5
5
  "description": "Taiv's web UI Toolkit built on Mantine v6",
6
6
  "main": "dist/index.js",