@touchtech/baselayer-ui 8.3.22 → 8.3.24-alpha.1
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/0e188f43d5617535b8e7a4bc6e32369a.svg +3 -0
- package/dist/21befd3ef7ae5dbf3755b0daaa127b9a.svg +3 -0
- package/dist/29de0a40f0c4e5601587aa0a0480e57d.svg +3 -0
- package/dist/572b9721072b776c49437121d0124faa.svg +3 -0
- package/dist/63cf6e1911b4b54c627705abfc91c5f0.svg +17 -0
- package/dist/7f3cfca9cb3427e8b04f04d5cbe07a28.svg +4 -0
- package/dist/c50e0362e407b4fbd2a55fdb3a00c4f3.svg +3 -0
- package/dist/components/Select/Select.d.ts +2 -1
- package/dist/components/Select/SelectContext.d.ts +3 -1
- package/dist/components/Table/Table.d.ts +2 -1
- package/dist/d53f6f7fb8cef260aa31ab2e8b36b61f.svg +3 -0
- package/dist/e9e5f7a91d4c423f1117ea8252b0f34d.svg +3 -0
- package/dist/ffa0d9172f7a456fddcaa892198acec3.svg +3 -0
- package/dist/index.js +2 -2
- package/dist/main.659c57db7a26b0d38b2c.css +2162 -0
- package/dist/styles.css +27 -2
- package/dist/types/select.d.ts +2 -0
- package/package.json +2 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
+
<svg width="100%" height="100%" viewBox="0 0 46 46" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
+
<g transform="matrix(1,0,0,1,-27,-27)">
|
|
5
|
+
<path d="M73,50C73,37.3 62.7,27 50,27C37.3,27 27,37.3 27,50M30.9,50C30.9,39.5 39.4,30.9 50,30.9C60.6,30.9 69.1,39.5 69.1,50" style="fill-rule:nonzero;">
|
|
6
|
+
<animateTransform
|
|
7
|
+
attributeName="transform"
|
|
8
|
+
attributeType="XML"
|
|
9
|
+
type="rotate"
|
|
10
|
+
dur="1s"
|
|
11
|
+
from="0 50 50"
|
|
12
|
+
to="360 50 50"
|
|
13
|
+
repeatCount="indefinite"
|
|
14
|
+
/>
|
|
15
|
+
</path>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="69" height="27" viewBox="0 0 69 27" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.1333 26L13.7886 26.3622C13.8816 26.4507 14.005 26.5 14.1333 26.5V26ZM1 13.5L0.655287 13.1378C0.556127 13.2322 0.5 13.3631 0.5 13.5C0.5 13.6369 0.556127 13.7678 0.655287 13.8622L1 13.5ZM14.1333 1V0.5C14.005 0.5 13.8816 0.549345 13.7886 0.637822L14.1333 1ZM67.5 2V25H68.5V2H67.5ZM63.4667 25.5H14.1333V26.5H63.4667V25.5ZM14.478 25.6378L1.34471 13.1378L0.655287 13.8622L13.7886 26.3622L14.478 25.6378ZM1.34471 13.8622L14.478 1.36218L13.7886 0.637822L0.655287 13.1378L1.34471 13.8622ZM14.1333 1.5H63.4667V0.5H14.1333V1.5ZM67 25.5H63.4667V26.5H67V25.5ZM67 0.5H63.4667V1.5H67V0.5ZM67.5 25C67.5 25.2761 67.2761 25.5 67 25.5V26.5C67.8284 26.5 68.5 25.8284 68.5 25H67.5ZM68.5 2C68.5 1.17157 67.8284 0.5 67 0.5V1.5C67.2761 1.5 67.5 1.72386 67.5 2H68.5Z" fill="#262626"/>
|
|
3
|
+
<path d="M32.6464 6.35355L46.6464 20.3536L47.3536 19.6464L33.3536 5.64645L32.6464 6.35355ZM46.6464 5.64645L32.6464 19.6464L33.3536 20.3536L47.3536 6.35355L46.6464 5.64645Z" fill="#262626"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M15.4685 15.4665L11.2018 11.1999M6.93516 13.3332C3.40053 13.3332 0.535156 10.4678 0.535156 6.9332C0.535156 3.39858 3.40053 0.533203 6.93516 0.533203C10.4698 0.533203 13.3352 3.39858 13.3352 6.9332C13.3352 10.4678 10.4698 13.3332 6.93516 13.3332Z" stroke="#898891"/>
|
|
3
|
+
</svg>
|
|
@@ -18,6 +18,7 @@ type SelectProps = {
|
|
|
18
18
|
loading?: boolean;
|
|
19
19
|
onChange?: (values: Array<string>) => void;
|
|
20
20
|
onFilter?: (option: OptionType, searchKeyword: string) => boolean;
|
|
21
|
+
showSelectedWithTick?: boolean;
|
|
21
22
|
};
|
|
22
|
-
declare function Select({ className, defaultValue, disabled, multiple, options, placeholder, label, selectAll, showExpandedGroup, scrollMenuIntoView, size, showSelectedAsTags, showSearch, width, loading, onChange, onFilter, }: SelectProps): JSX.Element;
|
|
23
|
+
declare function Select({ className, defaultValue, disabled, multiple, options, placeholder, label, selectAll, showExpandedGroup, scrollMenuIntoView, size, showSelectedAsTags, showSearch, showSelectedWithTick, width, loading, onChange, onFilter, }: SelectProps): JSX.Element;
|
|
23
24
|
export default Select;
|
|
@@ -8,6 +8,7 @@ type Props = {
|
|
|
8
8
|
showExpandedGroup?: boolean;
|
|
9
9
|
options: Array<OptionType | GroupOptionType>;
|
|
10
10
|
onChange?: (values: Array<string>) => void;
|
|
11
|
+
showSelectedWithTick?: boolean;
|
|
11
12
|
};
|
|
12
13
|
type SelectContextState = {
|
|
13
14
|
multiple?: boolean;
|
|
@@ -18,7 +19,8 @@ type SelectContextState = {
|
|
|
18
19
|
searchKeyword: string;
|
|
19
20
|
setSearchKeyword: (value: string) => void;
|
|
20
21
|
setSelectedOptions: (values: OptionType[]) => void;
|
|
22
|
+
showSelectedWithTick?: boolean;
|
|
21
23
|
};
|
|
22
24
|
declare const SelectContext: React.Context<SelectContextState>;
|
|
23
|
-
declare const SelectContextProvider: ({ children, defaultValue, multiple, selectAll, showExpandedGroup, options, onChange, }: Props) => JSX.Element;
|
|
25
|
+
declare const SelectContextProvider: ({ children, defaultValue, multiple, selectAll, showExpandedGroup, options, onChange, showSelectedWithTick, }: Props) => JSX.Element;
|
|
24
26
|
export { SelectContext, SelectContextProvider };
|
|
@@ -32,6 +32,7 @@ type Props = {
|
|
|
32
32
|
hasVirtualScroll?: boolean;
|
|
33
33
|
className?: string;
|
|
34
34
|
scrollToTop?: boolean;
|
|
35
|
+
containerRef?: React.RefObject<HTMLDivElement>;
|
|
35
36
|
};
|
|
36
|
-
declare function Table({ columns, dataSource, onRowClick, hasArrow, onLoadMore, page, setPage, pageSize, tableHeight, placeholder, rowHeight, headerHeight, disableLazyLoader, activeRows, itemsCount, isHeaderSticky, hasVirtualScroll, scrollToTop, className, }: Props): JSX.Element;
|
|
37
|
+
declare function Table({ columns, dataSource, onRowClick, hasArrow, onLoadMore, page, setPage, pageSize, tableHeight, placeholder, rowHeight, headerHeight, disableLazyLoader, activeRows, itemsCount, isHeaderSticky, hasVirtualScroll, scrollToTop, className, containerRef, }: Props): JSX.Element;
|
|
37
38
|
export default Table;
|