@dreamcommerce/aurora 0.3.4-164 → 0.3.4-165
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/build/esm/src/src/components/controls/components/textarea.d.ts +4 -0
- package/build/esm/src/src/components/controls/hoc/control_cell_selector/index.d.ts +4 -0
- package/build/esm/src/src/components/controls/hoc/control_checkbox/index.d.ts +16 -0
- package/build/esm/src/src/components/controls/hoc/control_checkbox_switch/index.d.ts +16 -0
- package/build/esm/src/src/components/controls/hoc/control_color_picker/index.d.ts +16 -0
- package/build/esm/src/src/components/controls/hoc/control_date_picker/index.d.ts +4 -0
- package/build/esm/src/src/components/controls/hoc/control_file_picker/index.d.ts +4 -0
- package/build/esm/src/src/components/controls/hoc/control_input/index.d.ts +19 -0
- package/build/esm/src/src/components/controls/hoc/control_multi_select/index.d.ts +4 -0
- package/build/esm/src/src/components/controls/hoc/control_radio/index.d.ts +16 -0
- package/build/esm/src/src/components/controls/hoc/control_radio_group/index.d.ts +4 -0
- package/build/esm/src/src/components/controls/hoc/control_range/index.d.ts +4 -0
- package/build/esm/src/src/components/controls/hoc/control_select/index.d.ts +19 -0
- package/build/esm/src/src/components/controls/hoc/control_tags_selector/index.d.ts +4 -0
- package/build/esm/src/src/components/controls/hoc/control_textarea/index.d.ts +19 -0
- package/build/esm/src/src/components/controls/index.d.ts +4 -0
- package/build/esm/src/src/components/date_picker/components/common_ranges.d.ts +3 -0
- package/build/esm/src/src/components/date_picker/components/month_controller.d.ts +4 -0
- package/build/esm/src/src/components/date_picker/components/pure_date_picker.d.ts +4 -0
- package/build/esm/src/src/components/date_picker/hoc/range_picker.d.ts +4 -0
- package/build/esm/src/src/components/date_picker/hoc/single_date_picker.d.ts +4 -0
- package/build/esm/src/src/components/date_picker/index.d.ts +7 -0
- package/build/esm/src/src/components/dropdown/components/option_multiple.d.ts +22 -0
- package/build/esm/src/src/components/dropdown/hoc/multiselect/index.d.ts +20 -0
- package/build/esm/src/src/components/dropdown/hoc/select/index.d.ts +20 -0
- package/build/esm/src/src/components/dropdown/index.d.ts +22 -0
- package/build/esm/src/src/components/tags_selector/index.d.ts +4 -0
- package/build/esm/src/src/index.d.ts +79 -0
- package/build/esm/src/stories/button/button.stories.d.ts +146 -0
- package/build/esm/src/stories/controls/control_cell_selector/control_cell_selector.stories.d.ts +90 -0
- package/build/esm/src/stories/controls/control_checkbox/checkbox.stories.d.ts +89 -0
- package/build/esm/src/stories/controls/control_checkbox_switch/checkbox_switch.stories.d.ts +89 -0
- package/build/esm/src/stories/controls/control_color_picker/control_color_picker.stories.d.ts +126 -0
- package/build/esm/src/stories/controls/control_date_picker/control_date_picker.stories.d.ts +164 -0
- package/build/esm/src/stories/controls/control_file_picker/control_file_picker.stories.d.ts +128 -0
- package/build/esm/src/stories/controls/control_input/control_input.stories.d.ts +184 -0
- package/build/esm/src/stories/controls/control_multi_select/control_multi_select.stories.d.ts +89 -0
- package/build/esm/src/stories/controls/control_radio/control_radio.stories.d.ts +127 -0
- package/build/esm/src/stories/controls/control_radio_group/control_radio.stories.d.ts +32 -0
- package/build/esm/src/stories/controls/control_range/control_range.stories.d.ts +71 -0
- package/build/esm/src/stories/controls/control_range_picker/control_range_picker.stories.d.ts +108 -0
- package/build/esm/src/stories/controls/control_select/control_select.stories.d.ts +108 -0
- package/build/esm/src/stories/controls/control_tags_selector/control_tags_selector.stories.d.ts +126 -0
- package/build/esm/src/stories/controls/control_textarea/control_textarea.stories.d.ts +146 -0
- package/build/esm/src/stories/data_table/data_table.stories.d.ts +33 -0
- package/build/esm/src/stories/dropdown/dropdown.stories.d.ts +127 -0
- package/build/esm/src/stories/flash_messenger/flash_messanger.stories.d.ts +31 -0
- package/build/esm/src/stories/gallery/gallery.stories.d.ts +33 -0
- package/build/esm/src/stories/grid/col.stories.d.ts +89 -0
- package/build/esm/src/stories/grid/grid.stories.d.ts +32 -0
- package/build/esm/src/stories/grid/main.stories.d.ts +71 -0
- package/build/esm/src/stories/grid/row.stories.d.ts +108 -0
- package/build/esm/src/stories/heading/heading.stories.d.ts +51 -0
- package/build/esm/src/stories/heading/subheadings.stories.d.ts +32 -0
- package/build/esm/src/stories/hint/hint.stories.d.ts +70 -0
- package/build/esm/src/stories/loader/loader.stories.d.ts +70 -0
- package/build/esm/src/stories/message_box/message_box.stories.d.ts +50 -0
- package/build/esm/src/stories/modal/modal.stories.d.ts +126 -0
- package/build/esm/src/stories/modal/modal_absolute_positioning.stories.d.ts +183 -0
- package/build/esm/src/stories/modal/modal_animations.stories.d.ts +202 -0
- package/build/esm/src/stories/modal/modal_relative_positioning.stories.d.ts +88 -0
- package/build/esm/src/stories/modal/modal_structure.stories.d.ts +31 -0
- package/build/esm/src/stories/multiselect_stories/multiselect.stories.d.ts +281 -0
- package/build/esm/src/stories/select_stories/select.stories.d.ts +281 -0
- package/build/esm/src/stories/spacing/spacing.stories.d.ts +89 -0
- package/build/esm/src/stories/table/table.stories.d.ts +91 -0
- package/build/esm/src/stories/tabs/tabs.stories.d.ts +71 -0
- package/build/esm/src/stories/tag/tag.stories.d.ts +51 -0
- package/build/esm/src/stories/tags_selector/tags_selector.stories.d.ts +108 -0
- package/build/esm/src/stories/with_loader/with_loader.stories.d.ts +51 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IControlCheckboxProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* @component
|
|
5
|
+
* @example
|
|
6
|
+
* return (
|
|
7
|
+
* <ControlCheckbox
|
|
8
|
+
* id="checkbox_example"
|
|
9
|
+
* label="Label"
|
|
10
|
+
* labelPosition="left"
|
|
11
|
+
* checked
|
|
12
|
+
* />
|
|
13
|
+
* )
|
|
14
|
+
*/
|
|
15
|
+
declare const ControlCheckbox: React.FC<IControlCheckboxProps>;
|
|
16
|
+
export default ControlCheckbox;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IControlCheckboxProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* @component
|
|
5
|
+
* @example
|
|
6
|
+
* return (
|
|
7
|
+
* <ControlCheckbox
|
|
8
|
+
* id="checkbox_example"
|
|
9
|
+
* label="Label"
|
|
10
|
+
* labelPosition="left"
|
|
11
|
+
* checked
|
|
12
|
+
* />
|
|
13
|
+
* )
|
|
14
|
+
*/
|
|
15
|
+
declare const ControlCheckboxSwitch: React.FC<IControlCheckboxProps>;
|
|
16
|
+
export default ControlCheckboxSwitch;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IControlColorPickerProps } from '@components/controls/types';
|
|
3
|
+
/**
|
|
4
|
+
* @component
|
|
5
|
+
* @example
|
|
6
|
+
* return (
|
|
7
|
+
* <ControlColorPicker
|
|
8
|
+
* initialColor="#FF00FF"
|
|
9
|
+
* name="Example color picker"
|
|
10
|
+
* isRequired
|
|
11
|
+
* label="Example color picker label"
|
|
12
|
+
* />
|
|
13
|
+
* )
|
|
14
|
+
*/
|
|
15
|
+
declare const ControlColorPicker: React.FC<IControlColorPickerProps>;
|
|
16
|
+
export default ControlColorPicker;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IControlInputProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* @component
|
|
5
|
+
* @example
|
|
6
|
+
* return (
|
|
7
|
+
* <ControlInput
|
|
8
|
+
* label="Label"
|
|
9
|
+
* isRequired={true}
|
|
10
|
+
* id="input_example"
|
|
11
|
+
* postfix="zł"
|
|
12
|
+
* placeholder="Enter text"
|
|
13
|
+
* value="example"
|
|
14
|
+
* onChange={() => {}}
|
|
15
|
+
* />
|
|
16
|
+
* )
|
|
17
|
+
*/
|
|
18
|
+
declare const ControlInput: React.FC<IControlInputProps>;
|
|
19
|
+
export default ControlInput;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IControlRadioProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* @component
|
|
5
|
+
* @example
|
|
6
|
+
* return (
|
|
7
|
+
* <ControlRadio
|
|
8
|
+
* id="checkbox_example"
|
|
9
|
+
* label="Label"
|
|
10
|
+
* labelPosition="left"
|
|
11
|
+
* checked
|
|
12
|
+
* />
|
|
13
|
+
* )
|
|
14
|
+
*/
|
|
15
|
+
declare const ControlRadio: React.FC<IControlRadioProps>;
|
|
16
|
+
export default ControlRadio;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IControlSelectProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* @component
|
|
5
|
+
* @example
|
|
6
|
+
* return (
|
|
7
|
+
* <ControlInput
|
|
8
|
+
* label="Label"
|
|
9
|
+
* isRequired={true}
|
|
10
|
+
* id="input_example"
|
|
11
|
+
* postfix="zł"
|
|
12
|
+
* placeholder="Enter text"
|
|
13
|
+
* value="example"
|
|
14
|
+
* onChange={() => {}}
|
|
15
|
+
* />
|
|
16
|
+
* )
|
|
17
|
+
*/
|
|
18
|
+
declare const ControlSelect: React.FC<IControlSelectProps>;
|
|
19
|
+
export default ControlSelect;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IControlTextareaProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* @component
|
|
5
|
+
* @example
|
|
6
|
+
* return (
|
|
7
|
+
* <ControlInput
|
|
8
|
+
* label="Label"
|
|
9
|
+
* isRequired={true}
|
|
10
|
+
* id="input_example"
|
|
11
|
+
* postfix="zł"
|
|
12
|
+
* placeholder="Enter text"
|
|
13
|
+
* value="example"
|
|
14
|
+
* onChange={() => {}}
|
|
15
|
+
* />
|
|
16
|
+
* )
|
|
17
|
+
*/
|
|
18
|
+
declare const ControlTextarea: React.FC<IControlTextareaProps>;
|
|
19
|
+
export default ControlTextarea;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IDatepickerProps } from './types';
|
|
3
|
+
import RangePicker from './hoc/range_picker';
|
|
4
|
+
import SingleDatepicker from './hoc/single_date_picker';
|
|
5
|
+
export { RangePicker, SingleDatepicker };
|
|
6
|
+
declare const _default: ({ defaultDate, defaultRange, type, name, onChange, maxDate, minDate, maxRange, minRange, className, showButtons, showDefaultRanges, }: IDatepickerProps) => JSX.Element;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IDropdownOptionMultipleProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Dropdown.OptionMultiple component. Should be only used within Dropdown.List
|
|
5
|
+
* @component
|
|
6
|
+
* @example
|
|
7
|
+
* const option = {
|
|
8
|
+
* text: 'Option 1',
|
|
9
|
+
* value: '1'
|
|
10
|
+
* }
|
|
11
|
+
*
|
|
12
|
+
* <Dropdown.OptionMultiple
|
|
13
|
+
* key="id1"
|
|
14
|
+
* option={option}
|
|
15
|
+
* isSelected={false}
|
|
16
|
+
* isDisabled={false}
|
|
17
|
+
* isReadonly={false}
|
|
18
|
+
* onClick={(option) => console.log(option)}
|
|
19
|
+
* />
|
|
20
|
+
*/
|
|
21
|
+
declare const OptionMultiple: React.FC<IDropdownOptionMultipleProps>;
|
|
22
|
+
export default OptionMultiple;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IMultiSelectProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* MultiSelect component. Build with Dropdown composed components.
|
|
5
|
+
*
|
|
6
|
+
* @component
|
|
7
|
+
* @example
|
|
8
|
+
* const options = [{
|
|
9
|
+
* text: 'Option 1',
|
|
10
|
+
* value: 'value1'
|
|
11
|
+
* }, {
|
|
12
|
+
* text: 'Option 2,,
|
|
13
|
+
* value: 'value2'
|
|
14
|
+
* }];
|
|
15
|
+
* return (
|
|
16
|
+
* <MultiSelect name="my_select_name" options={options} onChange={(option) => console.log(option)} />
|
|
17
|
+
* )
|
|
18
|
+
*/
|
|
19
|
+
declare const Multiple: React.FC<IMultiSelectProps>;
|
|
20
|
+
export default Multiple;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ISelectProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Select component. Build with Dropdown composed components.
|
|
5
|
+
*
|
|
6
|
+
* @component
|
|
7
|
+
* @example
|
|
8
|
+
* const options = [{
|
|
9
|
+
* text: 'Option 1',
|
|
10
|
+
* value: 'value1'
|
|
11
|
+
* }, {
|
|
12
|
+
* text: 'Option 2,,
|
|
13
|
+
* value: 'value2'
|
|
14
|
+
* }];
|
|
15
|
+
* return (
|
|
16
|
+
* <Select name="my_select_name" options={options} onChange={(option) => console.log(option)} />
|
|
17
|
+
* )
|
|
18
|
+
*/
|
|
19
|
+
declare const Select: React.FC<ISelectProps>;
|
|
20
|
+
export default Select;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IDropdownProps, IDropdownComposition } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Dropdown composition component. Provides several Dropdown dependant components which can be composed to create selects, multiselects or dropdowns.
|
|
5
|
+
*
|
|
6
|
+
* @component
|
|
7
|
+
* @example
|
|
8
|
+
* return (
|
|
9
|
+
* <Dropdown>
|
|
10
|
+
* <Dropdown.Label label="Wybierz link" />
|
|
11
|
+
* <Dropdown.Content>
|
|
12
|
+
* <Dropdown.List>
|
|
13
|
+
* <Dropdown.Link text="shoper.pl" href="https://shoper.pl" />
|
|
14
|
+
* <Dropdown.Link text="forum.shoper.pl" href="https://forum.shoper.pl" />
|
|
15
|
+
* <Dropdown.Link text="shoper.pl/help" href="https://shoper.pl/help" />
|
|
16
|
+
* </Dropdown.List>
|
|
17
|
+
* </Dropdown.Content>
|
|
18
|
+
* <Dropdown>
|
|
19
|
+
* )
|
|
20
|
+
*/
|
|
21
|
+
declare const Dropdown: React.FC<IDropdownProps> & IDropdownComposition;
|
|
22
|
+
export default Dropdown;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import './i18n';
|
|
2
|
+
/**
|
|
3
|
+
* import components for export
|
|
4
|
+
*/
|
|
5
|
+
import Button from '@components/button';
|
|
6
|
+
import ButtonsGroup from '@components/buttons_group';
|
|
7
|
+
import ColorPicker from '@components/color_picker';
|
|
8
|
+
import ControlInput from '@components/controls/hoc/control_input';
|
|
9
|
+
import ControlCheckbox from '@components/controls/hoc/control_checkbox';
|
|
10
|
+
import ControlCheckboxSwitch from '@components/controls/hoc/control_checkbox_switch';
|
|
11
|
+
import ControlRadio from '@components/controls/hoc/control_radio';
|
|
12
|
+
import ControlRange from '@components/controls/hoc/control_range';
|
|
13
|
+
import ControlDatepicker from '@components/controls/hoc/control_date_picker';
|
|
14
|
+
import ControlColorPicker from '@components/controls/hoc/control_color_picker';
|
|
15
|
+
import ControlTagsSelector from '@components/controls/hoc/control_tags_selector';
|
|
16
|
+
import ControlTextarea from '@components/controls/hoc/control_textarea';
|
|
17
|
+
import ControlSelect from '@components/controls/hoc/control_select';
|
|
18
|
+
import ControlMultiSelect from '@components/controls/hoc/control_multi_select';
|
|
19
|
+
import ControlFilePicker from '@components/controls/hoc/control_file_picker';
|
|
20
|
+
import ControlCellSelector from '@components/controls/hoc/control_cell_selector';
|
|
21
|
+
import Datepicker from '@components/date_picker';
|
|
22
|
+
import Dropdown from '@components/dropdown';
|
|
23
|
+
import Gallery from '@components/gallery';
|
|
24
|
+
import Grid from '@components/grid';
|
|
25
|
+
import Heading from '@components/heading';
|
|
26
|
+
import Label from '@components/label';
|
|
27
|
+
import FilePicker from '@components/file_picker';
|
|
28
|
+
import ModalProvider from '@components/modal/hoc/modal_provider';
|
|
29
|
+
import AbsoluteModal from '@components/modal/hoc/absolute_modal';
|
|
30
|
+
import RelativeModal from '@components/modal/hoc/relative_modal';
|
|
31
|
+
import MultiSelect from '@components/dropdown/hoc/multiselect';
|
|
32
|
+
import Modal from '@components/modal';
|
|
33
|
+
import Select from '@components/dropdown/hoc/select';
|
|
34
|
+
import Spacing from '@components/spacing';
|
|
35
|
+
import Table from '@components/table';
|
|
36
|
+
import DataTable from '@components/table/hoc/data-table';
|
|
37
|
+
import { TabItem, Tabs } from '@components/tabs';
|
|
38
|
+
import Tag from '@components/tag';
|
|
39
|
+
import TagsSelector from '@components/tags_selector';
|
|
40
|
+
import Hint from '@components/hint';
|
|
41
|
+
import Loader from '@components/loader';
|
|
42
|
+
import WithLoader from '@components/with_loader';
|
|
43
|
+
/**
|
|
44
|
+
* Assets
|
|
45
|
+
*/
|
|
46
|
+
import IconCalendar from '@assets/icon_calendar';
|
|
47
|
+
import IconArrow from '@assets/icon_arrow';
|
|
48
|
+
import IconTick from '@assets/icon_tick';
|
|
49
|
+
/**
|
|
50
|
+
* import context for export
|
|
51
|
+
*/
|
|
52
|
+
import { DropdownContext } from '@components/dropdown/context';
|
|
53
|
+
import { ModalContext } from '@components/modal/context/modal_context';
|
|
54
|
+
/**
|
|
55
|
+
* import types for export
|
|
56
|
+
*/
|
|
57
|
+
import { IDropdownProps, ISelectOption } from '@components/dropdown/types';
|
|
58
|
+
import { IHeadingProps } from '@components/heading/types';
|
|
59
|
+
import { ICellProps, IIRowProps, ITableProps } from '@components/table/types';
|
|
60
|
+
import { IDropdownContext } from '@components/dropdown/context/types';
|
|
61
|
+
import ControlRadioGroup from '@components/controls/hoc/control_radio_group';
|
|
62
|
+
import { IControlRadioGroupOption } from '@components/controls/types';
|
|
63
|
+
import { IColor } from '@components/color_picker/types';
|
|
64
|
+
import { IDatepickerRange } from '@components/date_picker/types';
|
|
65
|
+
import { TFilePickerFile } from '@components/file_picker/types';
|
|
66
|
+
import MessageBox from '@components/message-box';
|
|
67
|
+
import FlashMessenger from '@components/flash_messenger';
|
|
68
|
+
import { TMessageBoxType } from '@components/message-box/types';
|
|
69
|
+
import { useFlashMessenger } from '@components/flash_messenger/context';
|
|
70
|
+
import { ILoaderProps } from '@components/loader/types';
|
|
71
|
+
import { IWithLoader } from '@components/with_loader/types';
|
|
72
|
+
/**
|
|
73
|
+
* export components
|
|
74
|
+
*/
|
|
75
|
+
export { Button, ButtonsGroup, Dropdown, Select, MultiSelect, Label, ControlInput, ControlCheckbox, ControlCheckboxSwitch, ControlRadio, ControlSelect, ControlRange, ControlMultiSelect, ControlTextarea, Gallery, Datepicker, ColorPicker, ControlColorPicker, ControlDatepicker, ControlFilePicker, Heading, Modal, ModalProvider, AbsoluteModal, RelativeModal, Tabs, TabItem, Tag, TagsSelector, ControlTagsSelector, Table, DataTable, Grid, DropdownContext, ModalContext, IconCalendar, Spacing, IconArrow, IconTick, FilePicker, ControlCellSelector, Hint, ControlRadioGroup, MessageBox, FlashMessenger, useFlashMessenger, Loader, WithLoader, };
|
|
76
|
+
/**
|
|
77
|
+
* export types
|
|
78
|
+
*/
|
|
79
|
+
export type { IDropdownProps, ISelectOption, IHeadingProps, ICellProps, IIRowProps, ITableProps, IDropdownContext, IControlRadioGroupOption, IColor, IDatepickerRange, TFilePickerFile, TMessageBoxType, ILoaderProps, IWithLoader, };
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
parameters: {
|
|
4
|
+
storySource: {
|
|
5
|
+
source: string;
|
|
6
|
+
locationsMap: {
|
|
7
|
+
"standard-button": {
|
|
8
|
+
startLoc: {
|
|
9
|
+
col: number;
|
|
10
|
+
line: number;
|
|
11
|
+
};
|
|
12
|
+
endLoc: {
|
|
13
|
+
col: number;
|
|
14
|
+
line: number;
|
|
15
|
+
};
|
|
16
|
+
startBody: {
|
|
17
|
+
col: number;
|
|
18
|
+
line: number;
|
|
19
|
+
};
|
|
20
|
+
endBody: {
|
|
21
|
+
col: number;
|
|
22
|
+
line: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
"small-button": {
|
|
26
|
+
startLoc: {
|
|
27
|
+
col: number;
|
|
28
|
+
line: number;
|
|
29
|
+
};
|
|
30
|
+
endLoc: {
|
|
31
|
+
col: number;
|
|
32
|
+
line: number;
|
|
33
|
+
};
|
|
34
|
+
startBody: {
|
|
35
|
+
col: number;
|
|
36
|
+
line: number;
|
|
37
|
+
};
|
|
38
|
+
endBody: {
|
|
39
|
+
col: number;
|
|
40
|
+
line: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
"outline-button": {
|
|
44
|
+
startLoc: {
|
|
45
|
+
col: number;
|
|
46
|
+
line: number;
|
|
47
|
+
};
|
|
48
|
+
endLoc: {
|
|
49
|
+
col: number;
|
|
50
|
+
line: number;
|
|
51
|
+
};
|
|
52
|
+
startBody: {
|
|
53
|
+
col: number;
|
|
54
|
+
line: number;
|
|
55
|
+
};
|
|
56
|
+
endBody: {
|
|
57
|
+
col: number;
|
|
58
|
+
line: number;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
"button-link": {
|
|
62
|
+
startLoc: {
|
|
63
|
+
col: number;
|
|
64
|
+
line: number;
|
|
65
|
+
};
|
|
66
|
+
endLoc: {
|
|
67
|
+
col: number;
|
|
68
|
+
line: number;
|
|
69
|
+
};
|
|
70
|
+
startBody: {
|
|
71
|
+
col: number;
|
|
72
|
+
line: number;
|
|
73
|
+
};
|
|
74
|
+
endBody: {
|
|
75
|
+
col: number;
|
|
76
|
+
line: number;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
"button-link-small": {
|
|
80
|
+
startLoc: {
|
|
81
|
+
col: number;
|
|
82
|
+
line: number;
|
|
83
|
+
};
|
|
84
|
+
endLoc: {
|
|
85
|
+
col: number;
|
|
86
|
+
line: number;
|
|
87
|
+
};
|
|
88
|
+
startBody: {
|
|
89
|
+
col: number;
|
|
90
|
+
line: number;
|
|
91
|
+
};
|
|
92
|
+
endBody: {
|
|
93
|
+
col: number;
|
|
94
|
+
line: number;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
"link-button": {
|
|
98
|
+
startLoc: {
|
|
99
|
+
col: number;
|
|
100
|
+
line: number;
|
|
101
|
+
};
|
|
102
|
+
endLoc: {
|
|
103
|
+
col: number;
|
|
104
|
+
line: number;
|
|
105
|
+
};
|
|
106
|
+
startBody: {
|
|
107
|
+
col: number;
|
|
108
|
+
line: number;
|
|
109
|
+
};
|
|
110
|
+
endBody: {
|
|
111
|
+
col: number;
|
|
112
|
+
line: number;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
"link-button-with-onclick-function": {
|
|
116
|
+
startLoc: {
|
|
117
|
+
col: number;
|
|
118
|
+
line: number;
|
|
119
|
+
};
|
|
120
|
+
endLoc: {
|
|
121
|
+
col: number;
|
|
122
|
+
line: number;
|
|
123
|
+
};
|
|
124
|
+
startBody: {
|
|
125
|
+
col: number;
|
|
126
|
+
line: number;
|
|
127
|
+
};
|
|
128
|
+
endBody: {
|
|
129
|
+
col: number;
|
|
130
|
+
line: number;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
title: string;
|
|
137
|
+
component: React.FC<import("../../src/components/button/types").IButtonProps>;
|
|
138
|
+
};
|
|
139
|
+
export default _default;
|
|
140
|
+
export declare const StandardButton: () => JSX.Element;
|
|
141
|
+
export declare const SmallButton: () => JSX.Element;
|
|
142
|
+
export declare const OutlineButton: () => JSX.Element;
|
|
143
|
+
export declare const ButtonLink: () => JSX.Element;
|
|
144
|
+
export declare const ButtonLinkSmall: () => JSX.Element;
|
|
145
|
+
export declare const LinkButton: () => JSX.Element;
|
|
146
|
+
export declare const LinkButtonWithOnclickFunction: () => JSX.Element;
|
package/build/esm/src/stories/controls/control_cell_selector/control_cell_selector.stories.d.ts
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
parameters: {
|
|
4
|
+
storySource: {
|
|
5
|
+
source: string;
|
|
6
|
+
locationsMap: {
|
|
7
|
+
"standard-cell-selector": {
|
|
8
|
+
startLoc: {
|
|
9
|
+
col: number;
|
|
10
|
+
line: number;
|
|
11
|
+
};
|
|
12
|
+
endLoc: {
|
|
13
|
+
col: number;
|
|
14
|
+
line: number;
|
|
15
|
+
};
|
|
16
|
+
startBody: {
|
|
17
|
+
col: number;
|
|
18
|
+
line: number;
|
|
19
|
+
};
|
|
20
|
+
endBody: {
|
|
21
|
+
col: number;
|
|
22
|
+
line: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
"standard-control-cell-selector": {
|
|
26
|
+
startLoc: {
|
|
27
|
+
col: number;
|
|
28
|
+
line: number;
|
|
29
|
+
};
|
|
30
|
+
endLoc: {
|
|
31
|
+
col: number;
|
|
32
|
+
line: number;
|
|
33
|
+
};
|
|
34
|
+
startBody: {
|
|
35
|
+
col: number;
|
|
36
|
+
line: number;
|
|
37
|
+
};
|
|
38
|
+
endBody: {
|
|
39
|
+
col: number;
|
|
40
|
+
line: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
"control-cell-selector-with-label": {
|
|
44
|
+
startLoc: {
|
|
45
|
+
col: number;
|
|
46
|
+
line: number;
|
|
47
|
+
};
|
|
48
|
+
endLoc: {
|
|
49
|
+
col: number;
|
|
50
|
+
line: number;
|
|
51
|
+
};
|
|
52
|
+
startBody: {
|
|
53
|
+
col: number;
|
|
54
|
+
line: number;
|
|
55
|
+
};
|
|
56
|
+
endBody: {
|
|
57
|
+
col: number;
|
|
58
|
+
line: number;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
"control-cell-selector-with-knobs": {
|
|
62
|
+
startLoc: {
|
|
63
|
+
col: number;
|
|
64
|
+
line: number;
|
|
65
|
+
};
|
|
66
|
+
endLoc: {
|
|
67
|
+
col: number;
|
|
68
|
+
line: number;
|
|
69
|
+
};
|
|
70
|
+
startBody: {
|
|
71
|
+
col: number;
|
|
72
|
+
line: number;
|
|
73
|
+
};
|
|
74
|
+
endBody: {
|
|
75
|
+
col: number;
|
|
76
|
+
line: number;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
title: string;
|
|
83
|
+
component: React.FC<import("../../../src/components/controls/types").ICellSelector>;
|
|
84
|
+
decorators: ((...args: any) => any)[];
|
|
85
|
+
};
|
|
86
|
+
export default _default;
|
|
87
|
+
export declare const StandardCellSelector: () => JSX.Element;
|
|
88
|
+
export declare const StandardControlCellSelector: () => JSX.Element;
|
|
89
|
+
export declare const ControlCellSelectorWithLabel: () => JSX.Element;
|
|
90
|
+
export declare const ControlCellSelectorWithKnobs: () => JSX.Element;
|