@synerise/ds-logic 1.1.31 → 1.1.32
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/CHANGELOG.md +4 -0
- package/dist/Logic.d.ts +2 -2
- package/dist/Logic.js +31 -42
- package/dist/Logic.style.d.ts +1 -1
- package/dist/Logic.style.js +38 -11
- package/dist/Logic.types.d.ts +2 -2
- package/dist/Logic.types.js +1 -1
- package/dist/Matching/Matching.d.ts +2 -2
- package/dist/Matching/Matching.js +33 -38
- package/dist/Matching/Matching.styles.d.ts +2 -2
- package/dist/Matching/Matching.styles.js +49 -27
- package/dist/Matching/Matching.types.d.ts +1 -1
- package/dist/Matching/Matching.types.js +1 -1
- package/dist/Placeholder/Placeholder.d.ts +2 -2
- package/dist/Placeholder/Placeholder.js +15 -15
- package/dist/Placeholder/Placeholder.styles.d.ts +1 -1
- package/dist/Placeholder/Placeholder.styles.js +6 -7
- package/dist/Placeholder/Placeholder.types.js +1 -1
- package/dist/index.js +8 -3
- package/dist/modules.d.js +1 -1
- package/dist/modules.d.ts +0 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.1.32](https://github.com/Synerise/synerise-design/compare/@synerise/ds-logic@1.1.31...@synerise/ds-logic@1.1.32) (2026-03-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-logic
|
|
9
|
+
|
|
6
10
|
## [1.1.31](https://github.com/Synerise/synerise-design/compare/@synerise/ds-logic@1.1.30...@synerise/ds-logic@1.1.31) (2026-03-20)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @synerise/ds-logic
|
package/dist/Logic.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { LogicProps, LogicSubComponents } from './Logic.types';
|
|
3
3
|
declare const Logic: React.FC<LogicProps> & LogicSubComponents;
|
|
4
4
|
export default Logic;
|
package/dist/Logic.js
CHANGED
|
@@ -1,50 +1,39 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { useIntl } from "react-intl";
|
|
4
|
+
import { Title } from "@synerise/ds-typography";
|
|
5
|
+
import { Logic as Logic$1 } from "./Logic.style.js";
|
|
6
|
+
import Matching from "./Matching/Matching.js";
|
|
7
|
+
const DEFAULT_OPTIONS = ["AND", "OR"];
|
|
8
|
+
const Logic = ({
|
|
9
|
+
value,
|
|
10
|
+
options,
|
|
11
|
+
onChange,
|
|
12
|
+
readOnly = false
|
|
13
|
+
}) => {
|
|
14
|
+
const intl = useIntl();
|
|
15
|
+
const operators = React.useMemo(() => {
|
|
16
|
+
if (options !== void 0 && options.length) {
|
|
16
17
|
return options;
|
|
17
18
|
}
|
|
18
|
-
return DEFAULT_OPTIONS.map(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
});
|
|
19
|
+
return DEFAULT_OPTIONS.map((option) => ({
|
|
20
|
+
value: option,
|
|
21
|
+
label: intl.formatMessage({
|
|
22
|
+
id: `DS.LOGIC.${option}`
|
|
23
|
+
})
|
|
24
|
+
}));
|
|
26
25
|
}, [options, intl]);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
});
|
|
31
|
-
var nextOperatorIndex = currentOperatorIndex + 1 >= operators.length ? 0 : currentOperatorIndex + 1;
|
|
26
|
+
const handleNextLogic = React.useCallback(() => {
|
|
27
|
+
const currentOperatorIndex = operators.findIndex((operator) => operator.value === value);
|
|
28
|
+
const nextOperatorIndex = currentOperatorIndex + 1 >= operators.length ? 0 : currentOperatorIndex + 1;
|
|
32
29
|
onChange(operators[nextOperatorIndex].value);
|
|
33
30
|
}, [onChange, operators, value]);
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
return (_operators$find = operators.find(function (option) {
|
|
37
|
-
return option.value === value;
|
|
38
|
-
})) == null ? void 0 : _operators$find.label;
|
|
31
|
+
const renderValue = React.useMemo(() => {
|
|
32
|
+
return operators.find((option) => option.value === value)?.label;
|
|
39
33
|
}, [operators, value]);
|
|
40
|
-
return
|
|
41
|
-
className: "ds-logic",
|
|
42
|
-
onClick: !readOnly ? handleNextLogic : undefined,
|
|
43
|
-
readOnly: readOnly
|
|
44
|
-
}, /*#__PURE__*/React.createElement(Title, {
|
|
45
|
-
withoutMargin: true,
|
|
46
|
-
level: 4
|
|
47
|
-
}, renderValue));
|
|
34
|
+
return /* @__PURE__ */ jsx(Logic$1, { className: "ds-logic", onClick: !readOnly ? handleNextLogic : void 0, readOnly, children: /* @__PURE__ */ jsx(Title, { withoutMargin: true, level: 4, children: renderValue }) });
|
|
48
35
|
};
|
|
49
36
|
Logic.Matching = Matching;
|
|
50
|
-
export
|
|
37
|
+
export {
|
|
38
|
+
Logic as default
|
|
39
|
+
};
|
package/dist/Logic.style.d.ts
CHANGED
package/dist/Logic.style.js
CHANGED
|
@@ -1,13 +1,40 @@
|
|
|
1
|
-
import styled from
|
|
2
|
-
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
const Logic = /* @__PURE__ */ styled.div.withConfig({
|
|
3
3
|
displayName: "Logicstyle__Logic",
|
|
4
4
|
componentId: "sc-yp0pif-0"
|
|
5
|
-
})(["user-select:none;position:relative;.ds-title{cursor:pointer;", "}", ""],
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
})(["user-select:none;position:relative;.ds-title{cursor:pointer;", "}", ""], ({
|
|
6
|
+
readOnly,
|
|
7
|
+
theme
|
|
8
|
+
}) => !readOnly ? `&:after {
|
|
9
|
+
position: absolute;
|
|
10
|
+
bottom: -2px;
|
|
11
|
+
width: 100%;
|
|
12
|
+
content: '';
|
|
13
|
+
height: 1px;
|
|
14
|
+
left: 1px;
|
|
15
|
+
background-image: linear-gradient(
|
|
16
|
+
to right,
|
|
17
|
+
${theme.palette["grey-600"]} 25%,
|
|
18
|
+
${theme.palette.white} 0%
|
|
19
|
+
);
|
|
20
|
+
background-position: top;
|
|
21
|
+
background-size: 4px 1px;
|
|
22
|
+
background-repeat: repeat-x;
|
|
23
|
+
}` : "", ({
|
|
24
|
+
readOnly,
|
|
25
|
+
theme
|
|
26
|
+
}) => !readOnly ? ` &:hover {
|
|
27
|
+
.ds-title {
|
|
28
|
+
color: ${theme.palette["blue-700"]};
|
|
29
|
+
&:after {
|
|
30
|
+
background-image: linear-gradient(
|
|
31
|
+
to right,
|
|
32
|
+
${theme.palette["blue-700"]} 25%,
|
|
33
|
+
${theme.palette.white} 0%
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}` : "");
|
|
38
|
+
export {
|
|
39
|
+
Logic
|
|
40
|
+
};
|
package/dist/Logic.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as Matching } from './Matching/Matching';
|
|
3
3
|
export type LogicOperatorValue = 'AND' | 'OR' | string;
|
|
4
4
|
export type LogicOperator = {
|
|
5
5
|
value: string;
|
package/dist/Logic.types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { MatchingProps } from './Matching.types';
|
|
3
3
|
declare const Matching: ({ matching, sentence, onChange, texts, readOnly, ...htmlAttributes }: MatchingProps) => React.JSX.Element;
|
|
4
4
|
export default Matching;
|
|
@@ -1,51 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var intl = useIntl();
|
|
18
|
-
var text = React.useMemo(function () {
|
|
19
|
-
return _extends({
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { useIntl } from "react-intl";
|
|
4
|
+
import { Toggle, MatchingWrapper } from "./Matching.styles.js";
|
|
5
|
+
const MATCHING_TOGGLE = "#MATCHING_TOGGLE#";
|
|
6
|
+
const Matching = ({
|
|
7
|
+
matching = true,
|
|
8
|
+
sentence,
|
|
9
|
+
onChange,
|
|
10
|
+
texts,
|
|
11
|
+
readOnly = false,
|
|
12
|
+
...htmlAttributes
|
|
13
|
+
}) => {
|
|
14
|
+
const intl = useIntl();
|
|
15
|
+
const text = React.useMemo(() => {
|
|
16
|
+
return {
|
|
20
17
|
matching: intl.formatMessage({
|
|
21
|
-
id:
|
|
22
|
-
defaultMessage:
|
|
18
|
+
id: "DS.MATCHING.MATCHING",
|
|
19
|
+
defaultMessage: "matching"
|
|
23
20
|
}),
|
|
24
21
|
notMatching: intl.formatMessage({
|
|
25
|
-
id:
|
|
26
|
-
defaultMessage:
|
|
27
|
-
})
|
|
28
|
-
|
|
22
|
+
id: "DS.MATCHING.NOT-MATCHING",
|
|
23
|
+
defaultMessage: "not matching"
|
|
24
|
+
}),
|
|
25
|
+
...texts
|
|
26
|
+
};
|
|
29
27
|
}, [texts, intl]);
|
|
30
|
-
|
|
28
|
+
const handleClick = React.useCallback(() => {
|
|
31
29
|
onChange(!matching);
|
|
32
30
|
}, [onChange, matching]);
|
|
33
|
-
|
|
34
|
-
return
|
|
35
|
-
onClick: !readOnly ? handleClick : undefined,
|
|
36
|
-
matching: matching,
|
|
37
|
-
className: "ds-matching-toggle",
|
|
38
|
-
readOnly: readOnly
|
|
39
|
-
}, matching ? text.matching : text.notMatching);
|
|
31
|
+
const getToggle = React.useMemo(() => {
|
|
32
|
+
return /* @__PURE__ */ jsx(Toggle, { onClick: !readOnly ? handleClick : void 0, matching, className: "ds-matching-toggle", readOnly, children: matching ? text.matching : text.notMatching });
|
|
40
33
|
}, [handleClick, matching, text, readOnly]);
|
|
41
|
-
|
|
34
|
+
const getLabelWithToggle = React.useMemo(() => {
|
|
42
35
|
if (sentence) {
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
const startOfToggle = sentence?.search(MATCHING_TOGGLE);
|
|
37
|
+
const endOfToggle = startOfToggle + MATCHING_TOGGLE.length;
|
|
45
38
|
return [sentence.substring(0, startOfToggle), getToggle, sentence.substring(endOfToggle, sentence.length)];
|
|
46
39
|
}
|
|
47
40
|
return getToggle;
|
|
48
41
|
}, [getToggle, sentence]);
|
|
49
|
-
return
|
|
42
|
+
return /* @__PURE__ */ jsx(MatchingWrapper, { ...htmlAttributes, children: getLabelWithToggle });
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
Matching as default
|
|
50
46
|
};
|
|
51
|
-
export default Matching;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const MatchingWrapper: import(
|
|
2
|
-
export declare const Toggle: import(
|
|
1
|
+
export declare const MatchingWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Toggle: import('styled-components').StyledComponent<"span", any, {
|
|
3
3
|
matching: boolean;
|
|
4
4
|
readOnly?: boolean;
|
|
5
5
|
}, never>;
|
|
@@ -1,36 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
hovered = _ref$hovered === void 0 ? false : _ref$hovered;
|
|
1
|
+
import styled, { css } from "styled-components";
|
|
2
|
+
const getColor = ({
|
|
3
|
+
theme,
|
|
4
|
+
matching,
|
|
5
|
+
readOnly,
|
|
6
|
+
hovered = false
|
|
7
|
+
}) => {
|
|
9
8
|
if (readOnly) {
|
|
10
|
-
return theme.palette[
|
|
9
|
+
return theme.palette[`grey-800`];
|
|
11
10
|
}
|
|
12
|
-
|
|
13
|
-
return theme.palette[matching ?
|
|
11
|
+
const hue = hovered ? "700" : "600";
|
|
12
|
+
return theme.palette[matching ? `green-${hue}` : `red-${hue}`];
|
|
14
13
|
};
|
|
15
|
-
|
|
14
|
+
const MatchingWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
16
15
|
displayName: "Matchingstyles__MatchingWrapper",
|
|
17
16
|
componentId: "sc-7z57qz-0"
|
|
18
|
-
})(["font-size:16px;font-weight:500;line-height:1.25;color:", ";text-align:left;user-select:none;&:first-letter{text-transform:uppercase;}"],
|
|
19
|
-
|
|
20
|
-
});
|
|
21
|
-
export var Toggle = styled.span.withConfig({
|
|
17
|
+
})(["font-size:16px;font-weight:500;line-height:1.25;color:", ";text-align:left;user-select:none;&:first-letter{text-transform:uppercase;}"], (props) => props.theme.palette["grey-800"]);
|
|
18
|
+
const Toggle = /* @__PURE__ */ styled.span.withConfig({
|
|
22
19
|
displayName: "Matchingstyles__Toggle",
|
|
23
20
|
componentId: "sc-7z57qz-1"
|
|
24
|
-
})(["cursor:pointer;font-size:16px;font-weight:500;line-height:1.25;color:", ";transition:color 0.1s ease-in-out;position:relative;display:inline-flex;", " ", ""], getColor,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
21
|
+
})(["cursor:pointer;font-size:16px;font-weight:500;line-height:1.25;color:", ";transition:color 0.1s ease-in-out;position:relative;display:inline-flex;", " ", ""], getColor, (props) => {
|
|
22
|
+
const color = getColor(props);
|
|
23
|
+
const {
|
|
24
|
+
readOnly,
|
|
25
|
+
theme
|
|
26
|
+
} = props;
|
|
27
|
+
return !readOnly && `
|
|
28
|
+
&:after {
|
|
29
|
+
position: absolute;
|
|
30
|
+
bottom: -2px;
|
|
31
|
+
width: 100%;
|
|
32
|
+
content: '';
|
|
33
|
+
height: 1px;
|
|
34
|
+
left: 1px;
|
|
35
|
+
background-image: linear-gradient(
|
|
36
|
+
to right,
|
|
37
|
+
${color} 25%,
|
|
38
|
+
${theme.palette.white} 0%
|
|
39
|
+
);
|
|
40
|
+
background-position: top;
|
|
41
|
+
background-size: 4px 1px;
|
|
42
|
+
background-repeat: repeat-x;
|
|
43
|
+
}`;
|
|
44
|
+
}, (props) => {
|
|
45
|
+
const hoveredColor = getColor({
|
|
46
|
+
...props,
|
|
31
47
|
hovered: true
|
|
32
|
-
})
|
|
33
|
-
|
|
34
|
-
|
|
48
|
+
});
|
|
49
|
+
const {
|
|
50
|
+
readOnly,
|
|
51
|
+
theme
|
|
52
|
+
} = props;
|
|
35
53
|
return !readOnly && css(["&:hover{color:", ";&:after{background-image:linear-gradient( to right,", " 25%,", " 0% );}"], hoveredColor, hoveredColor, theme.palette.white);
|
|
36
|
-
});
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
MatchingWrapper,
|
|
57
|
+
Toggle
|
|
58
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PlaceholderType } from './Placeholder.types';
|
|
3
3
|
declare const Placeholder: React.FC<PlaceholderType>;
|
|
4
4
|
export default Placeholder;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { theme } from
|
|
3
|
-
import Icon, { ClickM } from
|
|
4
|
-
import { Text } from
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
color: theme.palette[
|
|
11
|
-
|
|
12
|
-
})
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { theme } from "@synerise/ds-core";
|
|
3
|
+
import Icon, { ClickM } from "@synerise/ds-icon";
|
|
4
|
+
import { Text } from "@synerise/ds-typography";
|
|
5
|
+
import { PlaceholderContainer } from "./Placeholder.styles.js";
|
|
6
|
+
const Placeholder = ({
|
|
7
|
+
text
|
|
8
|
+
}) => {
|
|
9
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(PlaceholderContainer, { children: [
|
|
10
|
+
/* @__PURE__ */ jsx(Icon, { size: 24, color: theme.palette["grey-600"], component: /* @__PURE__ */ jsx(ClickM, {}) }),
|
|
11
|
+
/* @__PURE__ */ jsx(Text, { size: "medium", children: text })
|
|
12
|
+
] }) });
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
Placeholder as default
|
|
15
16
|
};
|
|
16
|
-
export default Placeholder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PlaceholderContainer: import(
|
|
1
|
+
export declare const PlaceholderContainer: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import styled from
|
|
2
|
-
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
const PlaceholderContainer = /* @__PURE__ */ styled.div.withConfig({
|
|
3
3
|
displayName: "Placeholderstyles__PlaceholderContainer",
|
|
4
4
|
componentId: "sc-1dp40dc-0"
|
|
5
|
-
})(["width:100%;min-height:63px;margin:auto;border-radius:3px;background-color:", ";display:flex;justify-content:center;align-items:center;flex-direction:row;span.ds-text{display:block;font-size:13px;margin:6px 0 5px 11px;color:", ";}"],
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
});
|
|
5
|
+
})(["width:100%;min-height:63px;margin:auto;border-radius:3px;background-color:", ";display:flex;justify-content:center;align-items:center;flex-direction:row;span.ds-text{display:block;font-size:13px;margin:6px 0 5px 11px;color:", ";}"], (props) => props.theme.palette.white, (props) => props.theme.palette["grey-600"]);
|
|
6
|
+
export {
|
|
7
|
+
PlaceholderContainer
|
|
8
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { default as default2 } from "./Logic.js";
|
|
2
|
+
import { default as default3 } from "./Matching/Matching.js";
|
|
3
|
+
import { default as default4 } from "./Placeholder/Placeholder.js";
|
|
4
|
+
export {
|
|
5
|
+
default3 as Matching,
|
|
6
|
+
default4 as Placeholder,
|
|
7
|
+
default2 as default
|
|
8
|
+
};
|
package/dist/modules.d.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-logic",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.32",
|
|
4
4
|
"description": "Logic UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "
|
|
19
|
+
"build": "vite build",
|
|
20
20
|
"build:css": "node ../../../scripts/style/less.js",
|
|
21
21
|
"build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
|
|
22
|
-
"build:watch": "
|
|
22
|
+
"build:watch": "vite build --watch",
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
24
|
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
25
|
"prepublish": "pnpm run build",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-icon": "^1.15.
|
|
39
|
-
"@synerise/ds-typography": "^1.1.
|
|
40
|
-
"@synerise/ds-utils": "^1.7.
|
|
38
|
+
"@synerise/ds-icon": "^1.15.1",
|
|
39
|
+
"@synerise/ds-typography": "^1.1.13",
|
|
40
|
+
"@synerise/ds-utils": "^1.7.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@synerise/ds-core": "*",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
46
46
|
"styled-components": "^5.3.3"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "e4ecca8944fc9b41c1b9d59c8bcad5e5e2013225"
|
|
49
49
|
}
|