@telicent-oss/ds 0.28.0 → 0.28.2
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/ds.js +2 -2
- package/dist/ds.umd.cjs +2 -2
- package/dist/logout-syncer/sw.js +1 -1
- package/dist/src/candidate-packages/authorize-flow/types.d.ts +3 -1
- package/dist/src/component-library/Map/FeatureMap.d.ts +1 -1
- package/dist/src/component-library/Map/FeatureMap.stories.d.ts +2 -2
- package/dist/src/component-library/Map/layer-selector/useLayerSelector.d.ts +1 -1
- package/dist/src/components/TeliButton/TeliButton.d.ts +1 -1
- package/dist/src/components/TeliButton/TeliButtonBase.d.ts +1 -1
- package/dist/src/v1/components/inputs/SearchBox/MiniSearchAutocomplete.d.ts +5 -3
- package/dist/src/v1/theme/colors/theme-colors.d.ts +1 -2
- package/package.json +2 -7
package/dist/ds.js
CHANGED
|
@@ -80337,7 +80337,7 @@ const useStyleSelector = (initialMapConfig) => {
|
|
|
80337
80337
|
mapConfig,
|
|
80338
80338
|
props: {
|
|
80339
80339
|
onChange: onChange2,
|
|
80340
|
-
data: [mapConfig
|
|
80340
|
+
data: [...Array.isArray(mapConfig.vectorStyles) ? mapConfig.vectorStyles : mapConfig.vectorStyles ? [mapConfig.vectorStyles] : [], ...mapConfig.tileSets].filter(Boolean)
|
|
80341
80341
|
}
|
|
80342
80342
|
};
|
|
80343
80343
|
};
|
|
@@ -80524,7 +80524,7 @@ const FeatureMap = ({
|
|
|
80524
80524
|
findByClassUri,
|
|
80525
80525
|
attributionControl = true
|
|
80526
80526
|
}) => {
|
|
80527
|
-
const mapContainerRef = React__default.
|
|
80527
|
+
const mapContainerRef = React__default.createRef();
|
|
80528
80528
|
const [cursor2, setCursor] = useState("auto");
|
|
80529
80529
|
const styleSelector = useStyleSelector(mapStyleOptions);
|
|
80530
80530
|
const resetCursor = () => {
|
package/dist/ds.umd.cjs
CHANGED
|
@@ -80355,7 +80355,7 @@ uniform ${i3} ${s4} u_${a3};
|
|
|
80355
80355
|
mapConfig,
|
|
80356
80356
|
props: {
|
|
80357
80357
|
onChange: onChange2,
|
|
80358
|
-
data: [mapConfig
|
|
80358
|
+
data: [...Array.isArray(mapConfig.vectorStyles) ? mapConfig.vectorStyles : mapConfig.vectorStyles ? [mapConfig.vectorStyles] : [], ...mapConfig.tileSets].filter(Boolean)
|
|
80359
80359
|
}
|
|
80360
80360
|
};
|
|
80361
80361
|
};
|
|
@@ -80542,7 +80542,7 @@ uniform ${i3} ${s4} u_${a3};
|
|
|
80542
80542
|
findByClassUri,
|
|
80543
80543
|
attributionControl = true
|
|
80544
80544
|
}) => {
|
|
80545
|
-
const mapContainerRef = React$2.
|
|
80545
|
+
const mapContainerRef = React$2.createRef();
|
|
80546
80546
|
const [cursor2, setCursor] = React$2.useState("auto");
|
|
80547
80547
|
const styleSelector = useStyleSelector(mapStyleOptions);
|
|
80548
80548
|
const resetCursor = () => {
|
package/dist/logout-syncer/sw.js
CHANGED
|
@@ -12,7 +12,9 @@ export interface AuthConfig {
|
|
|
12
12
|
}
|
|
13
13
|
export interface ApiFactory {
|
|
14
14
|
instance: AxiosInstance;
|
|
15
|
-
withSessionHandling: (config: SessionHandlingConfig) =>
|
|
15
|
+
withSessionHandling: (config: SessionHandlingConfig) => {
|
|
16
|
+
instance: AxiosInstance;
|
|
17
|
+
};
|
|
16
18
|
build: () => {
|
|
17
19
|
instance: AxiosInstance;
|
|
18
20
|
};
|
|
@@ -46,10 +46,10 @@ declare const meta: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
decorators: (Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react/*').ReactRenderer, {
|
|
49
|
-
mapStyleOptions
|
|
49
|
+
mapStyleOptions: {
|
|
50
50
|
vectorStyles?: import('./utils/schema').StyleOption | import('./utils/schema').StyleOption[];
|
|
51
51
|
tileSets?: import('./utils/schema').StyleOption[];
|
|
52
|
-
}
|
|
52
|
+
};
|
|
53
53
|
initialViewState?: {
|
|
54
54
|
latitude: number;
|
|
55
55
|
longitude: number;
|
|
@@ -12,5 +12,5 @@ export interface TeliButtonProps extends TeliButtonBaseProps {
|
|
|
12
12
|
*/
|
|
13
13
|
tooltipPlacement?: "bottom-end" | "bottom-start" | "bottom" | "left-end" | "left-start" | "left" | "right-end" | "right-start" | "right" | "top-end" | "top-start" | "top";
|
|
14
14
|
}
|
|
15
|
-
declare const TeliButton: React.
|
|
15
|
+
declare const TeliButton: React.ForwardRefExoticComponent<Omit<TeliButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
export default TeliButton;
|
|
@@ -33,5 +33,5 @@ export interface TeliButtonBaseProps extends MUIButtonBaseProps {
|
|
|
33
33
|
*/
|
|
34
34
|
size?: "small" | "medium" | "large";
|
|
35
35
|
}
|
|
36
|
-
declare const TeliButtonBase: React.
|
|
36
|
+
declare const TeliButtonBase: React.ForwardRefExoticComponent<Omit<TeliButtonBaseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
37
37
|
export default TeliButtonBase;
|
|
@@ -50,7 +50,7 @@ export interface MiniSearchAutocompleteProps<Value extends AutocompleteOption =
|
|
|
50
50
|
*
|
|
51
51
|
* `(event: React.MouseEvent<HTMLButtonElement>) => void;`
|
|
52
52
|
*/
|
|
53
|
-
onSearch?: React.MouseEventHandler<
|
|
53
|
+
onSearch?: React.MouseEventHandler<HTMLElement>;
|
|
54
54
|
/**
|
|
55
55
|
* Callback fired when the a key is pressed
|
|
56
56
|
*
|
|
@@ -58,5 +58,7 @@ export interface MiniSearchAutocompleteProps<Value extends AutocompleteOption =
|
|
|
58
58
|
*/
|
|
59
59
|
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
60
60
|
}
|
|
61
|
-
declare const
|
|
62
|
-
|
|
61
|
+
declare const _default: <Value extends AutocompleteOption = AutocompleteOption, Multiple extends boolean = false, DisableClearable extends boolean = false, FreeSolo extends boolean = false>(props: MiniSearchAutocompleteProps<Value, Multiple, DisableClearable, FreeSolo> & {
|
|
62
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
63
|
+
}) => React.ReactElement | null;
|
|
64
|
+
export default _default;
|
|
@@ -2,14 +2,13 @@ import { default as zod } from 'zod';
|
|
|
2
2
|
|
|
3
3
|
export declare const UIThemeSchema: zod.ZodEnum<["DataNavy", "DocumentPink", "GraphOrange", "AdminBlue", "Blank"]>;
|
|
4
4
|
export type UITheme = zod.infer<typeof UIThemeSchema>;
|
|
5
|
-
declare const THEME_COLORS: Record<UITheme,
|
|
5
|
+
declare const THEME_COLORS: Record<UITheme, {
|
|
6
6
|
50: string;
|
|
7
7
|
100: string;
|
|
8
8
|
200: string;
|
|
9
9
|
400: string;
|
|
10
10
|
500: string;
|
|
11
11
|
600: string;
|
|
12
|
-
}> & {
|
|
13
12
|
main: string;
|
|
14
13
|
light: string;
|
|
15
14
|
dark: string;
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://github.com/telicent-oss/telicent-ds.git"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "0.28.
|
|
10
|
+
"version": "0.28.2",
|
|
11
11
|
"private": false,
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@emotion/react": "^11.10.6",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@mui/material": "^5.16.6",
|
|
21
21
|
"@mui/x-tree-view": "7.3.1",
|
|
22
22
|
"@react-spring/web": "9.7.3",
|
|
23
|
-
"@telicent-oss/ontologyservice": "0.
|
|
23
|
+
"@telicent-oss/ontologyservice": "1.0.0",
|
|
24
24
|
"@telicent-oss/react-lib": "^0.5.0",
|
|
25
25
|
"@telicent-oss/telicent-frontend-cli": "^1.2.1",
|
|
26
26
|
"classnames": "^2.3.1",
|
|
@@ -225,10 +225,5 @@
|
|
|
225
225
|
"engine": {
|
|
226
226
|
"node": "20.14.0"
|
|
227
227
|
},
|
|
228
|
-
"ci": {
|
|
229
|
-
"shared-workflows/.github/workflows/javascript-test-feature-branch.yml": {
|
|
230
|
-
"WARNING: TSC CHECK NO ERROR": true
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
228
|
"color": "#FF9999"
|
|
234
229
|
}
|