@synerise/ds-factors 1.12.8 → 1.12.10
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 +8 -0
- package/dist/FactorValue/Array/Array.styles.js +1 -1
- package/dist/FactorValue/DynamicKey/DynamicKey.style.js +1 -1
- package/dist/FactorValue/FactorValue.style.js +5 -2
- package/dist/style/Factors.style.d.ts +1 -1
- package/dist/style/Factors.style.js +2 -2
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.12.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@1.12.9...@synerise/ds-factors@1.12.10) (2026-07-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-factors
|
|
9
|
+
|
|
10
|
+
## [1.12.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@1.12.8...@synerise/ds-factors@1.12.9) (2026-07-09)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-factors
|
|
13
|
+
|
|
6
14
|
## [1.12.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@1.12.7...@synerise/ds-factors@1.12.8) (2026-07-09)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-factors
|
|
@@ -10,7 +10,7 @@ const TextArea = /* @__PURE__ */ styled.textarea.withConfig({
|
|
|
10
10
|
const Modal = /* @__PURE__ */ styled(ModalProxy).withConfig({
|
|
11
11
|
displayName: "Arraystyles__Modal",
|
|
12
12
|
componentId: "sc-9atgo7-1"
|
|
13
|
-
})(["&&{top:50px
|
|
13
|
+
})(["&&{top:50px;}", "{height:calc(", "vh - 215px);min-height:auto;resize:none;font-family:'IBM Plex Mono Regular',monospace;&,&:focus{border:0;background:transparent;box-shadow:none;}}"], TextArea, (props) => props.viewportHeight);
|
|
14
14
|
const EmptyState = /* @__PURE__ */ styled(EmptyStateBase).withConfig({
|
|
15
15
|
displayName: "Arraystyles__EmptyState",
|
|
16
16
|
componentId: "sc-9atgo7-2"
|
|
@@ -3,7 +3,7 @@ import { Input } from "@synerise/ds-input";
|
|
|
3
3
|
const DynamicKeyInput = /* @__PURE__ */ styled(Input).withConfig({
|
|
4
4
|
displayName: "DynamicKeystyle__DynamicKeyInput",
|
|
5
5
|
componentId: "sc-43cup-0"
|
|
6
|
-
})(["flex:1;&:focus{z-index:2;}
|
|
6
|
+
})(["flex:1;&:focus-within{z-index:2;}input{", "}"], (props) => props.index === 0 ? css(["border-radius:", ";"], props.withoutTypeSelector ? "3px 0 0 3px" : "0") : css(["border-radius:0 3px 3px 0;border-left:0;"]));
|
|
7
7
|
const DynamicKey = /* @__PURE__ */ styled.div.withConfig({
|
|
8
8
|
displayName: "DynamicKeystyle__DynamicKey",
|
|
9
9
|
componentId: "sc-43cup-1"
|
|
@@ -8,7 +8,7 @@ const DEFAULT_WIDTH = {
|
|
|
8
8
|
const FactorInput = /* @__PURE__ */ styled.div.withConfig({
|
|
9
9
|
displayName: "FactorValuestyle__FactorInput",
|
|
10
10
|
componentId: "sc-17jtnx3-0"
|
|
11
|
-
})(["&&{", ";", "{width:auto;}.ds-autocomplete{display:flex
|
|
11
|
+
})(["&&{", ";", "{width:auto;}.ds-autocomplete{display:flex;width:100%;> *{min-width:0;flex-grow:1;}.ant-select-selection-placeholder{padding:0;}.ant-select-selector{border-radius:", ";}}}"], (props) => {
|
|
12
12
|
const {
|
|
13
13
|
inputType,
|
|
14
14
|
inputTextType = "default"
|
|
@@ -21,11 +21,14 @@ const FactorInput = /* @__PURE__ */ styled.div.withConfig({
|
|
|
21
21
|
return css(["&&&{min-width:173px;}"]);
|
|
22
22
|
}
|
|
23
23
|
if (inputType === "text" && DEFAULT_WIDTH[`${inputType}-${inputTextType}`]) {
|
|
24
|
+
if (inputTextType === "autocomplete") {
|
|
25
|
+
return css(["&&& .ds-autocomplete{min-width:", ";}"], DEFAULT_WIDTH["text-autocomplete"]);
|
|
26
|
+
}
|
|
24
27
|
return css(["&&&{input{min-width:", ";}}"], DEFAULT_WIDTH[`${inputType}-${inputTextType}`]);
|
|
25
28
|
}
|
|
26
29
|
}
|
|
27
30
|
return false;
|
|
28
|
-
}, Container, (props) => props.withoutTypeSelector ? "3px" : "0 3px 3px 0"
|
|
31
|
+
}, Container, (props) => props.withoutTypeSelector ? "3px" : "0 3px 3px 0");
|
|
29
32
|
export {
|
|
30
33
|
FactorInput
|
|
31
34
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const Group: import('styled-components').StyledComponent<({ children, label, errors, description, resetMargin, tooltip, tooltipConfig, ...
|
|
1
|
+
export declare const Group: import('styled-components').StyledComponent<({ children, label, errorText, errors, description, resetMargin, tooltip, tooltipConfig, compact, growItem, className, style, size: _size, ...rest }: import('@synerise/ds-input/dist/InputGroup.types').Props) => React.JSX.Element, any, {
|
|
2
2
|
withoutTypeSelector: boolean;
|
|
3
3
|
}, never>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
2
|
import { InputGroup } from "@synerise/ds-input";
|
|
3
3
|
import { OuterWrapper } from "@synerise/ds-input/dist/Input.styles";
|
|
4
|
-
import {
|
|
4
|
+
import { InputGroupItem } from "@synerise/ds-input/dist/InputGroup.styles";
|
|
5
5
|
import { FactorInput } from "../FactorValue/FactorValue.style.js";
|
|
6
6
|
const Group = /* @__PURE__ */ styled(InputGroup).withConfig({
|
|
7
7
|
displayName: "Factorsstyle__Group",
|
|
8
8
|
componentId: "sc-1kkuis0-0"
|
|
9
|
-
})(["&&&{display:flex
|
|
9
|
+
})(["&&&{display:flex;.ds-input-group-item-0{", "}.ds-input-group-item-1{.ant-btn{border-radius:0 3px 3px 0;}}&.ds-factors-parameter,&.ds-factors-contextParameter,&.ds-factors-formula{", "{&.ds-input-group-item-1{flex-grow:0;}}}&.ds-factors-text,&.ds-factors-array{", "{&.ds-input-group-item-1{min-width:0;}}}", "{margin:0;}", "{> *{border-radius:", ";}}}"], (props) => props.withoutTypeSelector ? "" : "flex: 0 0 auto", InputGroupItem, InputGroupItem, OuterWrapper, FactorInput, (props) => props.withoutTypeSelector ? "3px" : "0 3px 3px 0");
|
|
10
10
|
export {
|
|
11
11
|
Group
|
|
12
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-factors",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.10",
|
|
4
4
|
"description": "Factors UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -41,31 +41,31 @@
|
|
|
41
41
|
],
|
|
42
42
|
"types": "dist/index.d.ts",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@synerise/ds-alert": "^1.1.
|
|
45
|
-
"@synerise/ds-autocomplete": "^1.2.
|
|
44
|
+
"@synerise/ds-alert": "^1.1.61",
|
|
45
|
+
"@synerise/ds-autocomplete": "^1.2.50",
|
|
46
46
|
"@synerise/ds-badge": "^1.0.57",
|
|
47
|
-
"@synerise/ds-button": "^1.5.
|
|
48
|
-
"@synerise/ds-button-group": "^1.1.
|
|
49
|
-
"@synerise/ds-collector": "^1.4.
|
|
50
|
-
"@synerise/ds-date-picker": "^1.4.
|
|
51
|
-
"@synerise/ds-date-range-picker": "^1.7.
|
|
47
|
+
"@synerise/ds-button": "^1.5.34",
|
|
48
|
+
"@synerise/ds-button-group": "^1.1.59",
|
|
49
|
+
"@synerise/ds-collector": "^1.4.50",
|
|
50
|
+
"@synerise/ds-date-picker": "^1.4.21",
|
|
51
|
+
"@synerise/ds-date-range-picker": "^1.7.11",
|
|
52
52
|
"@synerise/ds-divider": "^1.3.15",
|
|
53
|
-
"@synerise/ds-dropdown": "^1.3.
|
|
53
|
+
"@synerise/ds-dropdown": "^1.3.19",
|
|
54
54
|
"@synerise/ds-empty-states": "^1.0.48",
|
|
55
55
|
"@synerise/ds-icon": "^1.18.4",
|
|
56
|
-
"@synerise/ds-information-card": "^1.7.
|
|
57
|
-
"@synerise/ds-inline-edit": "^1.1.
|
|
58
|
-
"@synerise/ds-input": "^1.7.
|
|
59
|
-
"@synerise/ds-input-number": "^1.2.
|
|
60
|
-
"@synerise/ds-list-item": "^1.6.
|
|
61
|
-
"@synerise/ds-modal": "^1.6.
|
|
62
|
-
"@synerise/ds-result": "^1.0.
|
|
56
|
+
"@synerise/ds-information-card": "^1.7.7",
|
|
57
|
+
"@synerise/ds-inline-edit": "^1.1.47",
|
|
58
|
+
"@synerise/ds-input": "^1.7.12",
|
|
59
|
+
"@synerise/ds-input-number": "^1.2.49",
|
|
60
|
+
"@synerise/ds-list-item": "^1.6.1",
|
|
61
|
+
"@synerise/ds-modal": "^1.6.5",
|
|
62
|
+
"@synerise/ds-result": "^1.0.65",
|
|
63
63
|
"@synerise/ds-scrollbar": "^1.5.1",
|
|
64
|
-
"@synerise/ds-search": "^1.5.
|
|
64
|
+
"@synerise/ds-search": "^1.5.33",
|
|
65
65
|
"@synerise/ds-select": "^1.3.33",
|
|
66
66
|
"@synerise/ds-short-cuts": "^1.0.55",
|
|
67
67
|
"@synerise/ds-skeleton": "^1.0.59",
|
|
68
|
-
"@synerise/ds-tabs": "^1.2.
|
|
68
|
+
"@synerise/ds-tabs": "^1.2.5",
|
|
69
69
|
"@synerise/ds-tag": "^1.4.31",
|
|
70
70
|
"@synerise/ds-tooltip": "^1.5.3",
|
|
71
71
|
"@synerise/ds-utils": "^1.10.1",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"styled-components": "^5.3.3",
|
|
86
86
|
"vitest": "4"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "a81ab6519d49a3dea9c0cfebcdc9104cbb4f4226"
|
|
89
89
|
}
|