@ssa-ui-kit/core 2.1.0 → 2.1.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/LICENSE +21 -21
- package/dist/components/Field/FieldProvider.d.ts +5 -1
- package/dist/components/Field/index.d.ts +3 -3
- package/dist/components/Field/index.parts.d.ts +2 -2
- package/dist/components/FiltersMultiSelect/index.d.ts +4 -4
- package/dist/components/NestedTable/components/NestedTableCell.d.ts +2 -1
- package/dist/components/NestedTable/components/NestedTableCellSubHeader.d.ts +2 -1
- package/dist/components/NestedTable/components/NestedTableRow.d.ts +2 -1
- package/dist/contexts/Translation/TranslationContext.d.ts +1 -1
- package/dist/contexts/Translation/types.d.ts +1 -1
- package/dist/index.js +207 -278
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 SSA Group
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 SSA Group
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -8,5 +8,9 @@ export interface FieldContextValue {
|
|
|
8
8
|
}
|
|
9
9
|
export declare const FieldProvider: ({ children, value, }: {
|
|
10
10
|
value: FieldContextValue;
|
|
11
|
-
children: React.
|
|
11
|
+
children: React.
|
|
12
|
+
/**
|
|
13
|
+
* If true, ReactElement children will be focused if FieldControl is clicked.
|
|
14
|
+
*/
|
|
15
|
+
ReactNode;
|
|
12
16
|
}) => import("react").FunctionComponentElement<import("react").ProviderProps<FieldContextValue | null>>, useFieldContext: () => FieldContextValue;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as default from './index.parts';
|
|
2
|
-
export { FieldRootProps as FieldProps } from './FieldRoot';
|
|
3
|
-
export { FieldLabelProps } from './FieldLabel';
|
|
4
|
-
export { FieldControlProps } from './FieldControl';
|
|
2
|
+
export { type FieldRootProps as FieldProps } from './FieldRoot';
|
|
3
|
+
export { type FieldLabelProps } from './FieldLabel';
|
|
4
|
+
export { type FieldControlProps } from './FieldControl';
|
|
5
5
|
export { useFieldContext } from './FieldProvider';
|
|
@@ -2,5 +2,5 @@ export { FieldRoot as Root } from './FieldRoot';
|
|
|
2
2
|
export { FieldError as Error } from './FieldError';
|
|
3
3
|
export { FieldSuccess as Success } from './FieldSuccess';
|
|
4
4
|
export { FieldDescription as Description } from './FieldDescription';
|
|
5
|
-
export { FieldLabel as Label
|
|
6
|
-
export { FieldControl as Control
|
|
5
|
+
export { FieldLabel as Label } from './FieldLabel';
|
|
6
|
+
export { FieldControl as Control } from './FieldControl';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { FiltersMultiSelect, FiltersMultiSelectProps, } from './FiltersMultiSelect';
|
|
2
|
-
export { FiltersMultiSelectOption, FiltersMultiSelectOptionProps, } from './components/FiltersMultiSelectOption';
|
|
1
|
+
export { FiltersMultiSelect, type FiltersMultiSelectProps, } from './FiltersMultiSelect';
|
|
2
|
+
export { FiltersMultiSelectOption, type FiltersMultiSelectOptionProps, } from './components/FiltersMultiSelectOption';
|
|
3
3
|
export { FiltersMultiSelectOptions } from './components/FiltersMultiSelectOptions';
|
|
4
|
-
export { FiltersMultiSelectEmpty, FiltersMultiSelectEmptyProps, } from './components/FiltersMultiSelectEmpty';
|
|
5
|
-
export { useFilterMultiSelect, Filter, SelectedFilter, } from './useFiltersMultiSelect';
|
|
4
|
+
export { FiltersMultiSelectEmpty, type FiltersMultiSelectEmptyProps, } from './components/FiltersMultiSelectEmpty';
|
|
5
|
+
export { useFilterMultiSelect, type Filter, type SelectedFilter, } from './useFiltersMultiSelect';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export declare const NestedTableCell: ({ children, ...props }: React.PropsWithChildren<HTMLAttributes<HTMLTableCellElement>>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
1
2
|
export declare const NestedTableCellSubHeader: ({ isHeader, ...props }: {
|
|
2
3
|
isHeader?: boolean;
|
|
3
|
-
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
} & HTMLAttributes<HTMLTableCellElement>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
1
2
|
export declare const NestedTableRow: ({ children, isHeader, ...props }: React.PropsWithChildren<{
|
|
2
3
|
isHeader?: boolean;
|
|
3
|
-
}
|
|
4
|
+
} & HTMLAttributes<HTMLTableRowElement>>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { JSONObject } from '
|
|
2
|
+
import { JSONObject } from '@global-types/json';
|
|
3
3
|
import { TranslationContextContent } from './types';
|
|
4
4
|
export declare const TranslationContext: import("react").Context<TranslationContextContent>;
|
|
5
5
|
export declare const TranslationProvider: ({ children, defaultTranslations, }: {
|