@taiv/ui 1.3.2 → 1.4.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/components/Data/Cards/ChartCard.d.ts +2 -1
- package/dist/components/Data/Cards/ChartCard.d.ts.map +1 -1
- package/dist/components/Data/Cards/ChartCard.js +6 -4
- package/dist/components/Data/Cards/PieChartCard.d.ts +2 -1
- package/dist/components/Data/Cards/PieChartCard.d.ts.map +1 -1
- package/dist/components/Data/Cards/PieChartCard.js +6 -4
- package/dist/components/Data/Cards/StatsCard.d.ts +1 -1
- package/dist/components/Data/Cards/StatsCard.d.ts.map +1 -1
- package/dist/components/Data/Cards/StatsCard.js +4 -4
- package/dist/components/Data/Chart.js +4 -4
- package/dist/components/Data/CheckboxTable.d.ts +1 -1
- package/dist/components/Data/CheckboxTable.d.ts.map +1 -1
- package/dist/components/Data/CheckboxTable.js +6 -6
- package/dist/components/Data/PieChart.js +4 -4
- package/dist/components/Info/InfoCard.d.ts +1 -1
- package/dist/components/Info/InfoCard.d.ts.map +1 -1
- package/dist/components/Info/InfoCard.js +2 -2
- package/dist/components/Info/Modals/Modal.js +2 -2
- package/dist/components/Info/Notifications/variants.js +1 -1
- package/dist/components/Info/Tooltips/FormulaTooltip.js +3 -3
- package/dist/components/Info/Tooltips/InfoTooltip.d.ts +16 -1
- package/dist/components/Info/Tooltips/InfoTooltip.d.ts.map +1 -1
- package/dist/components/Info/Tooltips/InfoTooltip.js +18 -4
- package/dist/components/Inputs/Buttons/Button/Button.d.ts +12 -0
- package/dist/components/Inputs/Buttons/Button/Button.d.ts.map +1 -0
- package/dist/components/Inputs/Buttons/Button/Button.js +37 -0
- package/dist/components/Inputs/Buttons/Button/Button.stories.d.ts +11 -0
- package/dist/components/Inputs/Buttons/Button/Button.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Buttons/Button/Button.stories.js +176 -0
- package/dist/components/Inputs/Buttons/Button/sizes.d.ts +25 -0
- package/dist/components/Inputs/Buttons/Button/sizes.d.ts.map +1 -0
- package/dist/components/Inputs/Buttons/Button/sizes.js +7 -0
- package/dist/components/Inputs/Buttons/Button/variants.d.ts +191 -0
- package/dist/components/Inputs/Buttons/Button/variants.d.ts.map +1 -0
- package/dist/components/Inputs/Buttons/Button/variants.js +191 -0
- package/dist/components/Inputs/Buttons/UnstyledButton/UnstyledButton.d.ts +10 -0
- package/dist/components/Inputs/Buttons/UnstyledButton/UnstyledButton.d.ts.map +1 -0
- package/dist/components/Inputs/Buttons/UnstyledButton/UnstyledButton.js +6 -0
- package/dist/components/Inputs/Buttons/UnstyledButton/UnstyledButton.stories.d.ts +8 -0
- package/dist/components/Inputs/Buttons/UnstyledButton/UnstyledButton.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Buttons/UnstyledButton/UnstyledButton.stories.js +97 -0
- package/dist/components/Inputs/Controls/Checkbox/Checkbox.d.ts +27 -0
- package/dist/components/Inputs/Controls/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Inputs/Controls/Checkbox/Checkbox.js +55 -0
- package/dist/components/Inputs/Controls/Checkbox/Checkbox.stories.d.ts +10 -0
- package/dist/components/Inputs/Controls/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Controls/Checkbox/Checkbox.stories.js +154 -0
- package/dist/components/Inputs/Controls/Radio/Radio.d.ts +8 -0
- package/dist/components/Inputs/Controls/Radio/Radio.d.ts.map +1 -0
- package/dist/components/Inputs/Controls/Radio/Radio.js +43 -0
- package/dist/components/Inputs/Controls/Radio/Radio.stories.d.ts +10 -0
- package/dist/components/Inputs/Controls/Radio/Radio.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Controls/Radio/Radio.stories.js +143 -0
- package/dist/components/Inputs/Controls/RadioList/RadioList.d.ts +16 -0
- package/dist/components/Inputs/Controls/RadioList/RadioList.d.ts.map +1 -0
- package/dist/components/Inputs/Controls/RadioList/RadioList.js +24 -0
- package/dist/components/Inputs/Controls/RadioList/RadioList.stories.d.ts +11 -0
- package/dist/components/Inputs/Controls/RadioList/RadioList.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Controls/RadioList/RadioList.stories.js +138 -0
- package/dist/components/Inputs/Controls/Toggle/Toggle.d.ts +29 -0
- package/dist/components/Inputs/Controls/Toggle/Toggle.d.ts.map +1 -0
- package/dist/components/Inputs/Controls/Toggle/Toggle.js +40 -0
- package/dist/components/Inputs/Controls/Toggle/Toggle.stories.d.ts +11 -0
- package/dist/components/Inputs/Controls/Toggle/Toggle.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Controls/Toggle/Toggle.stories.js +179 -0
- package/dist/components/Inputs/Dates/DatePicker/DatePicker.d.ts +12 -0
- package/dist/components/Inputs/Dates/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/Inputs/Dates/DatePicker/DatePicker.js +74 -0
- package/dist/components/Inputs/Dates/DatePicker/DatePicker.stories.d.ts +12 -0
- package/dist/components/Inputs/Dates/DatePicker/DatePicker.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Dates/DatePicker/DatePicker.stories.js +203 -0
- package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.d.ts +17 -0
- package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.d.ts.map +1 -0
- package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.js +70 -0
- package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.stories.d.ts +14 -0
- package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.stories.js +362 -0
- package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.d.ts +11 -0
- package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.d.ts.map +1 -0
- package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.js +48 -0
- package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.stories.d.ts +12 -0
- package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.stories.js +215 -0
- package/dist/components/Inputs/Dropdowns/FontSelect/font-options.d.ts +9 -0
- package/dist/components/Inputs/Dropdowns/FontSelect/font-options.d.ts.map +1 -0
- package/dist/components/Inputs/Dropdowns/FontSelect/font-options.js +65 -0
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.d.ts +12 -0
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.js +94 -0
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.stories.d.ts +12 -0
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.stories.js +260 -0
- package/dist/components/Inputs/Dropdowns/Select/Select.d.ts +11 -0
- package/dist/components/Inputs/Dropdowns/Select/Select.d.ts.map +1 -0
- package/dist/components/Inputs/Dropdowns/Select/Select.js +62 -0
- package/dist/components/Inputs/Dropdowns/Select/Select.stories.d.ts +12 -0
- package/dist/components/Inputs/Dropdowns/Select/Select.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Dropdowns/Select/Select.stories.js +242 -0
- package/dist/components/Inputs/Sliders/Slider/Slider.d.ts +16 -0
- package/dist/components/Inputs/Sliders/Slider/Slider.d.ts.map +1 -0
- package/dist/components/Inputs/Sliders/Slider/Slider.js +91 -0
- package/dist/components/Inputs/Sliders/VolumeSlider/VolumeSlider.d.ts +6 -0
- package/dist/components/Inputs/Sliders/VolumeSlider/VolumeSlider.d.ts.map +1 -0
- package/dist/components/Inputs/Sliders/VolumeSlider/VolumeSlider.js +37 -0
- package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.d.ts +11 -0
- package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.js +57 -0
- package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.stories.d.ts +12 -0
- package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.stories.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.stories.js +218 -0
- package/dist/components/Inputs/TextInputs/PasswordInput/PasswordInput.d.ts +12 -0
- package/dist/components/Inputs/TextInputs/PasswordInput/PasswordInput.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputs/PasswordInput/PasswordInput.js +52 -0
- package/dist/components/Inputs/TextInputs/PasswordInput/PasswordInput.stories.d.ts +12 -0
- package/dist/components/Inputs/TextInputs/PasswordInput/PasswordInput.stories.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputs/PasswordInput/PasswordInput.stories.js +235 -0
- package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.d.ts +7 -0
- package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.js +23 -0
- package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.stories.d.ts +12 -0
- package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.stories.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.stories.js +202 -0
- package/dist/components/Inputs/TextInputs/TextArea/TextArea.d.ts +12 -0
- package/dist/components/Inputs/TextInputs/TextArea/TextArea.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputs/TextArea/TextArea.js +33 -0
- package/dist/components/Inputs/TextInputs/TextArea/TextArea.stories.d.ts +12 -0
- package/dist/components/Inputs/TextInputs/TextArea/TextArea.stories.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputs/TextArea/TextArea.stories.js +231 -0
- package/dist/components/Inputs/TextInputs/TextInput/TextInput.d.ts +12 -0
- package/dist/components/Inputs/TextInputs/TextInput/TextInput.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputs/TextInput/TextInput.js +32 -0
- package/dist/components/Inputs/TextInputs/TextInput/TextInput.stories.d.ts +12 -0
- package/dist/components/Inputs/TextInputs/TextInput/TextInput.stories.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputs/TextInput/TextInput.stories.js +219 -0
- package/dist/components/Layout/AutoGrid/AutoGrid.d.ts +8 -0
- package/dist/components/Layout/AutoGrid/AutoGrid.d.ts.map +1 -0
- package/dist/components/Layout/AutoGrid/AutoGrid.js +6 -0
- package/dist/components/Layout/Box/Box.d.ts +10 -0
- package/dist/components/Layout/Box/Box.d.ts.map +1 -0
- package/dist/components/Layout/Box/Box.js +6 -0
- package/dist/components/Layout/Box/Box.stories.d.ts +9 -0
- package/dist/components/Layout/Box/Box.stories.d.ts.map +1 -0
- package/dist/components/Layout/Box/Box.stories.js +121 -0
- package/dist/components/Layout/Card/Card.d.ts +8 -0
- package/dist/components/Layout/Card/Card.d.ts.map +1 -0
- package/dist/components/Layout/Card/Card.js +16 -0
- package/dist/components/Layout/Center/Center.d.ts +9 -0
- package/dist/components/Layout/Center/Center.d.ts.map +1 -0
- package/dist/components/Layout/Center/Center.js +6 -0
- package/dist/components/Layout/Divider/Divider.d.ts +10 -0
- package/dist/components/Layout/Divider/Divider.d.ts.map +1 -0
- package/dist/components/Layout/Divider/Divider.js +7 -0
- package/dist/components/Layout/Frame/Frame.d.ts +12 -0
- package/dist/components/Layout/Frame/Frame.d.ts.map +1 -0
- package/dist/components/Layout/Frame/Frame.js +7 -0
- package/dist/components/Layout/Grid/Grid.d.ts +10 -0
- package/dist/components/Layout/Grid/Grid.d.ts.map +1 -0
- package/dist/components/Layout/Grid/Grid.js +9 -0
- package/dist/components/Layout/Group/Group.d.ts +10 -0
- package/dist/components/Layout/Group/Group.d.ts.map +1 -0
- package/dist/components/Layout/Group/Group.js +6 -0
- package/dist/components/Layout/Loader/Loader.d.ts +8 -0
- package/dist/components/Layout/Loader/Loader.d.ts.map +1 -0
- package/dist/components/Layout/Loader/Loader.js +6 -0
- package/dist/components/Layout/SectionCard/SectionCard.d.ts +11 -0
- package/dist/components/Layout/SectionCard/SectionCard.d.ts.map +1 -0
- package/dist/components/Layout/SectionCard/SectionCard.js +13 -0
- package/dist/components/Layout/Stack/Stack.d.ts +10 -0
- package/dist/components/Layout/Stack/Stack.d.ts.map +1 -0
- package/dist/components/Layout/Stack/Stack.js +6 -0
- package/dist/components/Layout/Stack/Stack.stories.d.ts +9 -0
- package/dist/components/Layout/Stack/Stack.stories.d.ts.map +1 -0
- package/dist/components/Layout/Stack/Stack.stories.js +108 -0
- package/dist/components/Layout/Tabs/Tabs.d.ts +17 -0
- package/dist/components/Layout/Tabs/Tabs.d.ts.map +1 -0
- package/dist/components/Layout/Tabs/Tabs.js +48 -0
- package/dist/components/Misc/IconBadge/IconBadge.d.ts +8 -0
- package/dist/components/Misc/IconBadge/IconBadge.d.ts.map +1 -0
- package/dist/components/Misc/IconBadge/IconBadge.js +28 -0
- package/dist/components/Misc/Transition/Transition.d.ts +4 -0
- package/dist/components/Misc/Transition/Transition.d.ts.map +1 -0
- package/dist/components/Misc/Transition/Transition.js +6 -0
- package/dist/components/Typography/CollapsibleText.js +4 -4
- package/dist/components/Typography/Formula.d.ts.map +1 -1
- package/dist/components/Typography/Formula.js +2 -6
- package/dist/components/Typography/Fraction.js +2 -2
- package/dist/components/Typography/Text.d.ts.map +1 -1
- package/dist/components/Typography/Text.js +0 -2
- package/dist/components/index.d.ts +32 -32
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +32 -32
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +1 -0
- package/dist/hooks/useConfirmationModal.d.ts.map +1 -1
- package/dist/hooks/useConfirmationModal.js +6 -6
- package/dist/hooks/useInfoModal.d.ts.map +1 -1
- package/dist/hooks/useInfoModal.js +4 -4
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/select.d.ts +1 -0
- package/dist/utils/select.d.ts.map +1 -1
- package/dist/utils/select.js +18 -0
- package/package.json +10 -2
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Select } from './Select';
|
|
3
|
+
import { Group } from '../../../Layout/Group/Group';
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'Components/Inputs/Dropdowns/Select',
|
|
6
|
+
component: Select,
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: 'centered',
|
|
9
|
+
},
|
|
10
|
+
argTypes: {
|
|
11
|
+
size: {
|
|
12
|
+
control: { type: 'select' },
|
|
13
|
+
options: ['sm', 'md', 'lg'],
|
|
14
|
+
description: 'Controls the select size',
|
|
15
|
+
table: {
|
|
16
|
+
type: { summary: "'sm' | 'md' | 'lg'" },
|
|
17
|
+
defaultValue: { summary: "'md'" },
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
placeholder: {
|
|
21
|
+
control: { type: 'text' },
|
|
22
|
+
description: 'Placeholder text',
|
|
23
|
+
table: {
|
|
24
|
+
type: { summary: 'string' },
|
|
25
|
+
defaultValue: { summary: "'Select an option'" },
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
label: {
|
|
29
|
+
control: { type: 'text' },
|
|
30
|
+
description: 'Select label',
|
|
31
|
+
table: {
|
|
32
|
+
type: { summary: 'string' },
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
description: {
|
|
36
|
+
control: { type: 'text' },
|
|
37
|
+
description: 'Description text',
|
|
38
|
+
table: {
|
|
39
|
+
type: { summary: 'string' },
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
error: {
|
|
43
|
+
control: { type: 'text' },
|
|
44
|
+
description: 'Error message',
|
|
45
|
+
table: {
|
|
46
|
+
type: { summary: 'string' },
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
disabled: {
|
|
50
|
+
control: { type: 'boolean' },
|
|
51
|
+
description: 'Disabled state',
|
|
52
|
+
table: {
|
|
53
|
+
type: { summary: 'boolean' },
|
|
54
|
+
defaultValue: { summary: 'false' },
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
required: {
|
|
58
|
+
control: { type: 'boolean' },
|
|
59
|
+
description: 'Required field',
|
|
60
|
+
table: {
|
|
61
|
+
type: { summary: 'boolean' },
|
|
62
|
+
defaultValue: { summary: 'false' },
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
fullWidth: {
|
|
66
|
+
control: { type: 'boolean' },
|
|
67
|
+
description: 'Full width of container',
|
|
68
|
+
table: {
|
|
69
|
+
type: { summary: 'boolean' },
|
|
70
|
+
defaultValue: { summary: 'false' },
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
width: {
|
|
74
|
+
control: { type: 'text' },
|
|
75
|
+
description: 'Custom width',
|
|
76
|
+
table: {
|
|
77
|
+
type: { summary: 'string | number' },
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
clearable: {
|
|
81
|
+
control: { type: 'boolean' },
|
|
82
|
+
description: 'Allow clearing selection',
|
|
83
|
+
table: {
|
|
84
|
+
type: { summary: 'boolean' },
|
|
85
|
+
defaultValue: { summary: 'false' },
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
searchable: {
|
|
89
|
+
control: { type: 'boolean' },
|
|
90
|
+
description: 'Allow searching options',
|
|
91
|
+
table: {
|
|
92
|
+
type: { summary: 'boolean' },
|
|
93
|
+
defaultValue: { summary: 'false' },
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
styles: {
|
|
97
|
+
control: { type: 'object' },
|
|
98
|
+
description: 'Custom styles object',
|
|
99
|
+
table: {
|
|
100
|
+
type: { summary: 'Record<string, CSSObject>' },
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
onChange: {
|
|
104
|
+
action: 'changed',
|
|
105
|
+
description: 'Change handler function',
|
|
106
|
+
table: {
|
|
107
|
+
type: { summary: '(value: string | null) => void' },
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
};
|
|
112
|
+
export default meta;
|
|
113
|
+
const basicOptions = [
|
|
114
|
+
{ value: 'option1', label: 'Option 1' },
|
|
115
|
+
{ value: 'option2', label: 'Option 2' },
|
|
116
|
+
{ value: 'option3', label: 'Option 3' },
|
|
117
|
+
{ value: 'option4', label: 'Option 4' },
|
|
118
|
+
];
|
|
119
|
+
const countryOptions = [
|
|
120
|
+
{ value: 'us', label: 'United States' },
|
|
121
|
+
{ value: 'ca', label: 'Canada' },
|
|
122
|
+
{ value: 'uk', label: 'United Kingdom' },
|
|
123
|
+
{ value: 'de', label: 'Germany' },
|
|
124
|
+
{ value: 'fr', label: 'France' },
|
|
125
|
+
{ value: 'jp', label: 'Japan' },
|
|
126
|
+
{ value: 'au', label: 'Australia' },
|
|
127
|
+
];
|
|
128
|
+
export const Default = {
|
|
129
|
+
args: {
|
|
130
|
+
label: 'Choose an option',
|
|
131
|
+
data: basicOptions,
|
|
132
|
+
placeholder: 'Select an option',
|
|
133
|
+
size: 'md',
|
|
134
|
+
disabled: false,
|
|
135
|
+
required: false,
|
|
136
|
+
fullWidth: false,
|
|
137
|
+
clearable: false,
|
|
138
|
+
searchable: false,
|
|
139
|
+
},
|
|
140
|
+
decorators: [
|
|
141
|
+
(Story) => (_jsx("div", { style: { height: '220px' }, children: _jsx(Story, {}) })),
|
|
142
|
+
],
|
|
143
|
+
parameters: {
|
|
144
|
+
docs: {
|
|
145
|
+
source: {
|
|
146
|
+
code: `<Select
|
|
147
|
+
label="Choose an option"
|
|
148
|
+
value={selectedValue}
|
|
149
|
+
onChange={setSelectedValue}
|
|
150
|
+
data={[
|
|
151
|
+
{ value: '1', label: 'Option 1' },
|
|
152
|
+
{ value: '2', label: 'Option 2' },
|
|
153
|
+
{ value: '3', label: 'Option 3' },
|
|
154
|
+
]}
|
|
155
|
+
/>`,
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
};
|
|
160
|
+
export const Sizes = {
|
|
161
|
+
render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(Select, { size: "sm", label: "Small Select", data: basicOptions }), _jsx(Select, { size: "md", label: "Medium Select (Default)", data: basicOptions }), _jsx(Select, { size: "lg", label: "Large Select", data: basicOptions })] })),
|
|
162
|
+
parameters: {
|
|
163
|
+
docs: {
|
|
164
|
+
source: {
|
|
165
|
+
code: `<Select size="sm" label="Small Select" value={value} onChange={setValue} data={options} />
|
|
166
|
+
<Select size="lg" label="Large Select" value={value} onChange={setValue} data={options} />`,
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
};
|
|
171
|
+
export const States = {
|
|
172
|
+
render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(Select, { label: "Normal Select", data: basicOptions, placeholder: "Select option" }), _jsx(Select, { label: "Disabled Select", data: basicOptions, placeholder: "Select option", disabled: true }), _jsx(Select, { label: "Required Select", data: basicOptions, placeholder: "Select option", required: true }), _jsx(Select, { label: "Select with Description", description: "Please choose an option", data: basicOptions, placeholder: "Select option" }), _jsx(Select, { label: "Select with Error", error: "This field is required", data: basicOptions, placeholder: "Select option" })] })),
|
|
173
|
+
parameters: {
|
|
174
|
+
docs: {
|
|
175
|
+
source: {
|
|
176
|
+
code: false,
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
};
|
|
181
|
+
export const WithFeatures = {
|
|
182
|
+
render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(Select, { label: "Searchable Select", placeholder: "Type to search...", searchable: true, data: countryOptions }), _jsx(Select, { label: "Clearable Select", data: basicOptions, clearable: true, value: "option1" })] })),
|
|
183
|
+
parameters: {
|
|
184
|
+
docs: {
|
|
185
|
+
source: {
|
|
186
|
+
code: `<Select
|
|
187
|
+
label="Searchable Select"
|
|
188
|
+
placeholder="Type to search..."
|
|
189
|
+
searchable
|
|
190
|
+
value={value}
|
|
191
|
+
onChange={setValue}
|
|
192
|
+
data={options}
|
|
193
|
+
/>`,
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
};
|
|
198
|
+
export const FullWidth = {
|
|
199
|
+
render: () => (_jsx("div", { style: { width: '400px' }, children: _jsx(Select, { label: "Full Width Select", data: basicOptions, placeholder: "Select option", fullWidth: true }) })),
|
|
200
|
+
parameters: {
|
|
201
|
+
docs: {
|
|
202
|
+
source: {
|
|
203
|
+
code: false,
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
};
|
|
208
|
+
export const CustomStyles = {
|
|
209
|
+
render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(Select, { label: "Custom Styled Select", data: basicOptions, placeholder: "Select option", styles: {
|
|
210
|
+
input: {
|
|
211
|
+
borderColor: '#ff6b6b',
|
|
212
|
+
'&:focus': {
|
|
213
|
+
borderColor: '#ff6b6b',
|
|
214
|
+
boxShadow: '0 0 0 2px rgba(255, 107, 107, 0.2)',
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
label: {
|
|
218
|
+
color: '#ff6b6b',
|
|
219
|
+
fontWeight: 600,
|
|
220
|
+
},
|
|
221
|
+
} }), _jsx(Select, { label: "Another Custom Style", data: basicOptions, placeholder: "Select option", styles: {
|
|
222
|
+
input: {
|
|
223
|
+
backgroundColor: '#f8f9fa',
|
|
224
|
+
borderColor: '#4CAF50',
|
|
225
|
+
'&:focus': {
|
|
226
|
+
borderColor: '#4CAF50',
|
|
227
|
+
boxShadow: '0 0 0 2px rgba(76, 175, 80, 0.2)',
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
label: {
|
|
231
|
+
color: '#4CAF50',
|
|
232
|
+
fontSize: '16px',
|
|
233
|
+
},
|
|
234
|
+
} })] })),
|
|
235
|
+
parameters: {
|
|
236
|
+
docs: {
|
|
237
|
+
source: {
|
|
238
|
+
code: false,
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
|
+
import { SliderProps as MantineSliderProps } from '@mantine/core';
|
|
3
|
+
import { componentSizes } from '../shared/sizes';
|
|
4
|
+
export interface SliderProps extends MantineSliderProps {
|
|
5
|
+
width?: string | number;
|
|
6
|
+
fullWidth?: boolean;
|
|
7
|
+
size?: keyof typeof componentSizes;
|
|
8
|
+
setValue: (value: number) => void;
|
|
9
|
+
animate?: boolean;
|
|
10
|
+
label?: React.ReactNode;
|
|
11
|
+
compact?: boolean;
|
|
12
|
+
styles?: Record<string, CSSProperties>;
|
|
13
|
+
}
|
|
14
|
+
declare const Slider: ({ width, size, value, setValue, disabled, styles, animate, label, fullWidth, compact, ...props }: SliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export { Slider };
|
|
16
|
+
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Sliders/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAA2B,WAAW,IAAI,kBAAkB,EAAa,MAAM,eAAe,CAAC;AAItG,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;CACxC;AAED,QAAA,MAAM,MAAM,GAAI,kGAAyI,WAAW,4CA8FnK,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Slider as MantineSlider } from '@mantine/core';
|
|
3
|
+
import { useHover } from '@mantine/hooks';
|
|
4
|
+
import { neutral, primary } from '../../../../constants/colors';
|
|
5
|
+
import { fontBase, textStyle } from '../../../../constants/font';
|
|
6
|
+
import { componentSizes } from '../shared/sizes';
|
|
7
|
+
const Slider = ({ width, size = 'md', value, setValue, disabled = false, styles, animate = false, label, fullWidth = false, compact = false, ...props }) => {
|
|
8
|
+
const { hovered, ref } = useHover();
|
|
9
|
+
const sliderColor = disabled ? neutral[100] : primary[200];
|
|
10
|
+
const selectedSize = componentSizes[size];
|
|
11
|
+
const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}rem`;
|
|
12
|
+
const wrapperStyle = {
|
|
13
|
+
container: {
|
|
14
|
+
width: fullWidth ? '100%' : 'auto',
|
|
15
|
+
display: 'flex',
|
|
16
|
+
gap: '1rem',
|
|
17
|
+
alignItems: 'center',
|
|
18
|
+
},
|
|
19
|
+
label: {
|
|
20
|
+
...fontBase,
|
|
21
|
+
...selectedSize.labelFontSize,
|
|
22
|
+
color: disabled ? neutral[100] : neutral[200],
|
|
23
|
+
whiteSpace: 'nowrap',
|
|
24
|
+
flexShrink: 0,
|
|
25
|
+
},
|
|
26
|
+
valueLabel: {
|
|
27
|
+
...fontBase,
|
|
28
|
+
...selectedSize.valueFontSize,
|
|
29
|
+
color: disabled ? neutral[100] : neutral[200],
|
|
30
|
+
whiteSpace: 'nowrap',
|
|
31
|
+
flexShrink: 0,
|
|
32
|
+
textAlign: 'right',
|
|
33
|
+
minWidth: '2rem',
|
|
34
|
+
},
|
|
35
|
+
sliderContainer: {
|
|
36
|
+
display: 'flex',
|
|
37
|
+
alignItems: 'center',
|
|
38
|
+
gap: '1rem',
|
|
39
|
+
flex: fullWidth ? 1 : 'none',
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const sliderStyle = {
|
|
43
|
+
root: {
|
|
44
|
+
flex: 1,
|
|
45
|
+
minWidth: '10rem',
|
|
46
|
+
},
|
|
47
|
+
thumb: {
|
|
48
|
+
width: `${selectedSize.thumbSize}rem`,
|
|
49
|
+
height: `${selectedSize.thumbSize}rem`,
|
|
50
|
+
backgroundColor: sliderColor,
|
|
51
|
+
borderColor: sliderColor,
|
|
52
|
+
boxShadow: '0 2px 2px rgba(0,0,0,0.2)',
|
|
53
|
+
transition: 'opacity 150ms ease',
|
|
54
|
+
opacity: animate ? (hovered ? 1 : 0) : 1,
|
|
55
|
+
},
|
|
56
|
+
trackContainer: {
|
|
57
|
+
cursor: disabled ? 'default' : 'pointer',
|
|
58
|
+
},
|
|
59
|
+
track: {
|
|
60
|
+
height: `${selectedSize.trackHeight}rem`,
|
|
61
|
+
backgroundColor: sliderColor,
|
|
62
|
+
},
|
|
63
|
+
bar: {
|
|
64
|
+
height: `${selectedSize.trackHeight}rem`,
|
|
65
|
+
backgroundColor: sliderColor,
|
|
66
|
+
},
|
|
67
|
+
marksContainer: {
|
|
68
|
+
height: `${selectedSize.trackHeight}rem`,
|
|
69
|
+
},
|
|
70
|
+
mark: {
|
|
71
|
+
width: '0.7rem',
|
|
72
|
+
height: '0.7rem',
|
|
73
|
+
borderColor: neutral[50],
|
|
74
|
+
backgroundColor: neutral[50],
|
|
75
|
+
transform: 'translateY(-0.15rem) translateX(-0.2rem)',
|
|
76
|
+
},
|
|
77
|
+
markFilled: {
|
|
78
|
+
borderColor: sliderColor,
|
|
79
|
+
backgroundColor: 'white',
|
|
80
|
+
},
|
|
81
|
+
markLabel: {
|
|
82
|
+
...textStyle['caption'],
|
|
83
|
+
color: disabled ? neutral[100] : neutral[200],
|
|
84
|
+
marginTop: '0.4rem',
|
|
85
|
+
textAlign: 'center',
|
|
86
|
+
},
|
|
87
|
+
...styles,
|
|
88
|
+
};
|
|
89
|
+
return (_jsxs("div", { style: wrapperStyle.container, children: [!compact && label && _jsx("div", { style: wrapperStyle.label, children: label }), _jsxs("div", { style: wrapperStyle.sliderContainer, children: [_jsx(MantineSlider, { value: value, onChange: setValue, w: computedWidth, showLabelOnHover: false, disabled: disabled, ref: ref, styles: sliderStyle, ...props }), !compact && _jsx("div", { style: wrapperStyle.valueLabel, children: value })] })] }));
|
|
90
|
+
};
|
|
91
|
+
export { Slider };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SliderProps } from '../Slider/Slider';
|
|
2
|
+
interface VolumeSliderProps extends Omit<SliderProps, 'label'> {
|
|
3
|
+
}
|
|
4
|
+
declare const VolumeSlider: ({ compact, size, fullWidth, ...props }: VolumeSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export { VolumeSlider };
|
|
6
|
+
//# sourceMappingURL=VolumeSlider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VolumeSlider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Sliders/VolumeSlider/VolumeSlider.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGvD,UAAU,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;CAAG;AAEjE,QAAA,MAAM,YAAY,GAAI,wCAA+D,iBAAiB,4CAmCrG,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { IconVolume, IconVolume2, IconVolume3 } from '@tabler/icons-react';
|
|
3
|
+
import { neutral } from '../../../../constants/colors';
|
|
4
|
+
import { Slider } from '../Slider/Slider';
|
|
5
|
+
import { componentSizes } from '../shared/sizes';
|
|
6
|
+
const VolumeSlider = ({ compact = false, size = 'md', fullWidth = false, ...props }) => {
|
|
7
|
+
const selectedSize = componentSizes[size];
|
|
8
|
+
const getIcon = () => {
|
|
9
|
+
var _a;
|
|
10
|
+
const iconColor = props.disabled ? neutral[100] : neutral[200];
|
|
11
|
+
const currentValue = (_a = props.value) !== null && _a !== void 0 ? _a : 0;
|
|
12
|
+
if (currentValue === 0)
|
|
13
|
+
return _jsx(IconVolume3, { size: selectedSize.iconSize, color: iconColor });
|
|
14
|
+
if (currentValue <= 50)
|
|
15
|
+
return _jsx(IconVolume2, { size: selectedSize.iconSize, color: iconColor });
|
|
16
|
+
return _jsx(IconVolume, { size: selectedSize.iconSize, color: iconColor });
|
|
17
|
+
};
|
|
18
|
+
const style = {
|
|
19
|
+
container: {
|
|
20
|
+
display: 'flex',
|
|
21
|
+
alignItems: 'center',
|
|
22
|
+
gap: '1rem',
|
|
23
|
+
width: fullWidth ? '100%' : 'auto',
|
|
24
|
+
padding: '0.5rem 0',
|
|
25
|
+
},
|
|
26
|
+
iconContainer: {
|
|
27
|
+
display: 'flex',
|
|
28
|
+
alignItems: 'center',
|
|
29
|
+
justifyContent: 'center',
|
|
30
|
+
width: `${selectedSize.iconSize / 10}rem`, // Based on 10px root font
|
|
31
|
+
height: `${selectedSize.iconSize / 10}rem`,
|
|
32
|
+
flexShrink: 0,
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
return (_jsxs("div", { style: style.container, children: [!compact && _jsx("div", { style: style.iconContainer, children: getIcon() }), _jsx(Slider, { ...props, compact: compact, size: size, fullWidth: fullWidth })] }));
|
|
36
|
+
};
|
|
37
|
+
export { VolumeSlider };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AutocompleteProps as MantineAutocompleteProps } from '@mantine/core';
|
|
2
|
+
import { CSSObject } from '@mantine/styles';
|
|
3
|
+
import { componentSizes } from '../../Dropdowns/shared/sizes';
|
|
4
|
+
export interface AutoCompleteProps extends MantineAutocompleteProps {
|
|
5
|
+
size?: keyof typeof componentSizes;
|
|
6
|
+
width?: string | number;
|
|
7
|
+
fullWidth?: boolean;
|
|
8
|
+
styles?: Record<string, CSSObject>;
|
|
9
|
+
}
|
|
10
|
+
export declare const AutoComplete: ({ size, width, fullWidth, placeholder, styles, ...props }: AutoCompleteProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=AutoComplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoComplete.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/TextInputs/AutoComplete/AutoComplete.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuC,iBAAiB,IAAI,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACnH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,WAAW,iBAAkB,SAAQ,wBAAwB;IACjE,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,YAAY,GAAI,2DAA+F,iBAAiB,4CAqD5I,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Autocomplete as MantineAutocomplete } from '@mantine/core';
|
|
3
|
+
import { neutral } from '../../../../constants/colors';
|
|
4
|
+
import { fontBase } from '../../../../constants/font';
|
|
5
|
+
import { componentSizes } from '../../Dropdowns/shared/sizes';
|
|
6
|
+
export const AutoComplete = ({ size = 'md', width, fullWidth = false, placeholder = 'Select an option', styles, ...props }) => {
|
|
7
|
+
const selectedSize = componentSizes[size];
|
|
8
|
+
const computedWidth = fullWidth ? '100%' : width || `${selectedSize.minWidth}rem`;
|
|
9
|
+
const style = {
|
|
10
|
+
input: {
|
|
11
|
+
height: `${selectedSize.height}rem`,
|
|
12
|
+
fontSize: selectedSize.fontSize,
|
|
13
|
+
padding: selectedSize.inputPadding,
|
|
14
|
+
...fontBase,
|
|
15
|
+
color: neutral[300],
|
|
16
|
+
transition: 'all 200ms ease-in-out',
|
|
17
|
+
borderRadius: '8px',
|
|
18
|
+
},
|
|
19
|
+
label: {
|
|
20
|
+
...fontBase,
|
|
21
|
+
fontSize: `calc(${selectedSize.fontSize} - 0.05rem)`,
|
|
22
|
+
color: neutral[200],
|
|
23
|
+
},
|
|
24
|
+
dropdown: {
|
|
25
|
+
border: 'none',
|
|
26
|
+
borderRadius: '8px',
|
|
27
|
+
boxShadow: '0 10px 15px -3px rgba(0, 0, 0, 0.1)',
|
|
28
|
+
},
|
|
29
|
+
item: {
|
|
30
|
+
padding: selectedSize.dropdownPadding,
|
|
31
|
+
marginBottom: '0.5rem',
|
|
32
|
+
...fontBase,
|
|
33
|
+
fontSize: selectedSize.fontSize,
|
|
34
|
+
color: neutral[200],
|
|
35
|
+
borderRadius: '8px',
|
|
36
|
+
backgroundColor: 'white',
|
|
37
|
+
'&[data-selected]': {
|
|
38
|
+
backgroundColor: neutral[50],
|
|
39
|
+
color: neutral[200],
|
|
40
|
+
'&:hover': {
|
|
41
|
+
backgroundColor: neutral[50],
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
'&:hover': {
|
|
45
|
+
backgroundColor: neutral[50],
|
|
46
|
+
},
|
|
47
|
+
'&:not(:hover):not([data-selected])': {
|
|
48
|
+
backgroundColor: 'white',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
rightSection: {
|
|
52
|
+
color: neutral[200],
|
|
53
|
+
},
|
|
54
|
+
...styles,
|
|
55
|
+
};
|
|
56
|
+
return _jsx(MantineAutocomplete, { w: computedWidth, size: size, styles: style, placeholder: placeholder, maxDropdownHeight: selectedSize.dropdownHeight, ...props });
|
|
57
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { AutoComplete } from './AutoComplete';
|
|
3
|
+
declare const meta: Meta<typeof AutoComplete>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Variants: Story;
|
|
8
|
+
export declare const Sizes: Story;
|
|
9
|
+
export declare const States: Story;
|
|
10
|
+
export declare const AdditionalFunctionality: Story;
|
|
11
|
+
export declare const CustomStyling: Story;
|
|
12
|
+
//# sourceMappingURL=AutoComplete.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoComplete.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/TextInputs/AutoComplete/AutoComplete.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAkGnC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAMnC,eAAO,MAAM,OAAO,EAAE,KA0BrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAgBnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAiBpB,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KA6BrC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KA+C3B,CAAC"}
|