@synerise/ds-factors 2.3.3 → 2.4.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/CHANGELOG.md +19 -0
- package/CLAUDE.md +1 -1
- package/dist/FactorTypeSelector/FactorTypeSelector.js +1 -2
- package/dist/FactorTypeSelector/FactorTypeSelector.styles.d.ts +2 -2
- package/dist/FactorTypeSelector/FactorTypeSelector.styles.js +2 -2
- package/dist/FactorValue/Array/Array.js +2 -4
- package/dist/FactorValue/Array/Array.styles.d.ts +2 -2
- package/dist/FactorValue/Array/Array.styles.js +1 -1
- package/dist/FactorValue/Parameter/Parameter.style.d.ts +2 -2
- package/dist/FactorValue/Parameter/Parameter.style.js +3 -3
- package/dist/FactorValue/Parameter/ParameterDropdown.js +1 -3
- package/dist/FactorValue/RelativeDate/RelativeDate.js +2 -4
- package/dist/FactorValue/RelativeDate/RelativeDateDropdown.styles.js +2 -2
- package/dist/FactorValue/Text/Text.js +1 -3
- package/dist/FactorValue/Text/Text.styles.js +1 -1
- package/dist/style/Factors.style.d.ts +1 -1
- package/package.json +30 -30
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
## [2.4.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@2.4.0...@synerise/ds-factors@2.4.1) (2026-11-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-factors
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [2.4.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@2.3.3...@synerise/ds-factors@2.4.0) (2026-10-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* integrate Token Studio design tokens across the design system ([aabb447](https://github.com/Synerise/synerise-design/commit/aabb447edfb2d0c85e3de1f07e809ef84083453b))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [2.3.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@2.3.2...@synerise/ds-factors@2.3.3) (2026-10-28)
|
|
7
26
|
|
|
8
27
|
|
package/CLAUDE.md
CHANGED
|
@@ -168,7 +168,7 @@ Merges the user-provided `texts` (any `DeepPartial<FactorsTexts>`) with react-in
|
|
|
168
168
|
|
|
169
169
|
## Styling
|
|
170
170
|
|
|
171
|
-
Styles are minimal — the outer `Group` wrapper uses `@synerise/ds-input` group primitives. Individual factor value components each have their own styles files. All use
|
|
171
|
+
Styles are minimal — the outer `Group` wrapper uses `@synerise/ds-input` group primitives. Individual factor value components each have their own styles files. All use `var(--ds-*)` tokens; no hardcoded colours.
|
|
172
172
|
|
|
173
173
|
## Key dependencies
|
|
174
174
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
-
import { theme } from "@synerise/ds-core";
|
|
4
3
|
import { DropdownMenu } from "@synerise/ds-dropdown";
|
|
5
4
|
import Icon, { CheckS } from "@synerise/ds-icon";
|
|
6
5
|
import Tooltip from "@synerise/ds-tooltip";
|
|
@@ -29,7 +28,7 @@ const FactorTypeSelector = ({
|
|
|
29
28
|
className: "ds-factor-type",
|
|
30
29
|
key: typeData.name,
|
|
31
30
|
prefixel: /* @__PURE__ */ jsx(Icon, { component: typeData.icon }),
|
|
32
|
-
suffixel: type === selectedFactorType ? /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(CheckS, {}), color:
|
|
31
|
+
suffixel: type === selectedFactorType ? /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(CheckS, {}), color: "var(--ds-color-icon-success-default)" }) : "",
|
|
33
32
|
onClick: () => {
|
|
34
33
|
setSelectedFactorType(type);
|
|
35
34
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const FactorTypeList: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const TriggerButton: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<Omit<import('@synerise/ds-button/dist/BaseButton.types').BaseButtonProps, "type"> & {
|
|
2
|
+
export declare const TriggerButton: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<Omit<import('@synerise/ds-button/dist/BaseButton.types.js').BaseButtonProps, "type"> & {
|
|
3
3
|
type?: import('@synerise/ds-button').ButtonType;
|
|
4
|
-
mode?: import('@synerise/ds-utils').LiteralStringUnion<import('@synerise/ds-button/dist/Button.types').ButtonMode>;
|
|
4
|
+
mode?: import('@synerise/ds-utils').LiteralStringUnion<import('@synerise/ds-button/dist/Button.types.js').ButtonMode>;
|
|
5
5
|
color?: import('@synerise/ds-utils').LiteralStringUnion<"blue" | "grey" | "red" | "green" | "yellow" | "pink" | "mars" | "orange" | "fern" | "cyan" | "purple" | "violet">;
|
|
6
6
|
groupVariant?: import('@synerise/ds-utils').LiteralStringUnion<"left-rounded" | "squared" | "right-rounded">;
|
|
7
7
|
loading?: boolean | {
|
|
@@ -3,11 +3,11 @@ import Button from "@synerise/ds-button";
|
|
|
3
3
|
const FactorTypeList = /* @__PURE__ */ styled.div.withConfig({
|
|
4
4
|
displayName: "FactorTypeSelectorstyles__FactorTypeList",
|
|
5
5
|
componentId: "sc-15cv997-0"
|
|
6
|
-
})(["padding:8px;background:
|
|
6
|
+
})(["padding:8px;background:var(--ds-color-background-base-default);"]);
|
|
7
7
|
const TriggerButton = /* @__PURE__ */ styled(Button).withConfig({
|
|
8
8
|
displayName: "FactorTypeSelectorstyles__TriggerButton",
|
|
9
9
|
componentId: "sc-15cv997-1"
|
|
10
|
-
})(["&&&{display:inline-flex;border-radius:3px 0 0 3px;min-width:32px
|
|
10
|
+
})(["&&&{display:inline-flex;border-radius:3px 0 0 3px;min-width:32px;}"]);
|
|
11
11
|
export {
|
|
12
12
|
FactorTypeList,
|
|
13
13
|
TriggerButton
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useMemo } from "react";
|
|
3
|
-
import { useTheme } from "@synerise/ds-core";
|
|
4
3
|
import Icon, { EditS } from "@synerise/ds-icon";
|
|
5
4
|
import { TagShape } from "@synerise/ds-tag";
|
|
6
5
|
import { TriggerButton, TriggerButtonLabel } from "./Array.styles.js";
|
|
@@ -37,12 +36,11 @@ const Array = ({
|
|
|
37
36
|
setIsVisible(false);
|
|
38
37
|
onDeactivate && onDeactivate();
|
|
39
38
|
};
|
|
40
|
-
const theme = useTheme();
|
|
41
39
|
const tagProps = {
|
|
42
40
|
asPill: true,
|
|
43
41
|
name: `${arrayValue.length}`,
|
|
44
|
-
color: error ?
|
|
45
|
-
textColor: "
|
|
42
|
+
color: error ? "var(--ds-color-background-danger-solid)" : "var(--ds-color-background-neutral-solid)",
|
|
43
|
+
textColor: "var(--ds-color-text-base-onsolid)",
|
|
46
44
|
shape: TagShape.DEFAULT_ROUND
|
|
47
45
|
};
|
|
48
46
|
const tooltipProps = arrayValue?.length ? {
|
|
@@ -4,9 +4,9 @@ export declare const Modal: import('styled-components').StyledComponent<import('
|
|
|
4
4
|
}, never>;
|
|
5
5
|
export declare const EmptyState: import('styled-components').StyledComponent<({ size, label, text, button, fontSize, customIcon, className, mode, iconPosition, textAlign, }: import('@synerise/ds-empty-states').EmptyStatesProps) => React.JSX.Element, any, {}, never>;
|
|
6
6
|
export declare const TriggerButtonLabel: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
7
|
-
export declare const TriggerButton: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<Omit<import('@synerise/ds-button/dist/BaseButton.types').BaseButtonProps, "type"> & {
|
|
7
|
+
export declare const TriggerButton: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<Omit<import('@synerise/ds-button/dist/BaseButton.types.js').BaseButtonProps, "type"> & {
|
|
8
8
|
type?: import('@synerise/ds-button').ButtonType;
|
|
9
|
-
mode?: import('@synerise/ds-utils').LiteralStringUnion<import('@synerise/ds-button/dist/Button.types').ButtonMode>;
|
|
9
|
+
mode?: import('@synerise/ds-utils').LiteralStringUnion<import('@synerise/ds-button/dist/Button.types.js').ButtonMode>;
|
|
10
10
|
color?: import('@synerise/ds-utils').LiteralStringUnion<"blue" | "grey" | "red" | "green" | "yellow" | "pink" | "mars" | "orange" | "fern" | "cyan" | "purple" | "violet">;
|
|
11
11
|
groupVariant?: import('@synerise/ds-utils').LiteralStringUnion<"left-rounded" | "squared" | "right-rounded">;
|
|
12
12
|
loading?: boolean | {
|
|
@@ -62,7 +62,7 @@ const CreatorItemsList = /* @__PURE__ */ styled.div.withConfig({
|
|
|
62
62
|
const DeleteIcon = /* @__PURE__ */ styled(Icon).withConfig({
|
|
63
63
|
displayName: "Arraystyles__DeleteIcon",
|
|
64
64
|
componentId: "sc-9atgo7-14"
|
|
65
|
-
})(["position:absolute;right:0;top:50%;transform:translateY(-50%);display:none;color:
|
|
65
|
+
})(["position:absolute;right:0;top:50%;transform:translateY(-50%);display:none;color:var(--ds-color-icon-danger-default);&:hover{color:var(--ds-color-icon-danger-defaulthover);}"]);
|
|
66
66
|
const CollectorWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
67
67
|
displayName: "Arraystyles__CollectorWrapper",
|
|
68
68
|
componentId: "sc-9atgo7-15"
|
|
@@ -9,9 +9,9 @@ export declare const SearchResultHighlight: import('styled-components').StyledCo
|
|
|
9
9
|
export declare const Value: import('styled-components').StyledComponent<"span", any, {
|
|
10
10
|
$fluidMinWidth?: string | number;
|
|
11
11
|
}, never>;
|
|
12
|
-
export declare const ParameterButton: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<Omit<import('@synerise/ds-button/dist/BaseButton.types').BaseButtonProps, "type"> & {
|
|
12
|
+
export declare const ParameterButton: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<Omit<import('@synerise/ds-button/dist/BaseButton.types.js').BaseButtonProps, "type"> & {
|
|
13
13
|
type?: import('@synerise/ds-button').ButtonType;
|
|
14
|
-
mode?: import('@synerise/ds-utils').LiteralStringUnion<import('@synerise/ds-button/dist/Button.types').ButtonMode>;
|
|
14
|
+
mode?: import('@synerise/ds-utils').LiteralStringUnion<import('@synerise/ds-button/dist/Button.types.js').ButtonMode>;
|
|
15
15
|
color?: import('@synerise/ds-utils').LiteralStringUnion<"blue" | "grey" | "red" | "green" | "yellow" | "pink" | "mars" | "orange" | "fern" | "cyan" | "purple" | "violet">;
|
|
16
16
|
groupVariant?: import('@synerise/ds-utils').LiteralStringUnion<"left-rounded" | "squared" | "right-rounded">;
|
|
17
17
|
loading?: boolean | {
|
|
@@ -18,11 +18,11 @@ const ItemsList = /* @__PURE__ */ styled.div.withConfig({
|
|
|
18
18
|
const SearchResult = /* @__PURE__ */ styled.span.withConfig({
|
|
19
19
|
displayName: "Parameterstyle__SearchResult",
|
|
20
20
|
componentId: "sc-u2uvgh-3"
|
|
21
|
-
})(["font-weight:400;color:
|
|
21
|
+
})(["font-weight:400;color:var(--ds-divider-header-text-color);"]);
|
|
22
22
|
const SearchResultHighlight = /* @__PURE__ */ styled.span.withConfig({
|
|
23
23
|
displayName: "Parameterstyle__SearchResultHighlight",
|
|
24
24
|
componentId: "sc-u2uvgh-4"
|
|
25
|
-
})(["font-weight:500;color:
|
|
25
|
+
})(["font-weight:500;color:var(--ds-color-text-base-subtle);"]);
|
|
26
26
|
const Value = /* @__PURE__ */ styled.span.withConfig({
|
|
27
27
|
displayName: "Parameterstyle__Value",
|
|
28
28
|
componentId: "sc-u2uvgh-5"
|
|
@@ -46,7 +46,7 @@ const Skeleton = /* @__PURE__ */ styled(DropdownSkeleton).withConfig({
|
|
|
46
46
|
const Title = /* @__PURE__ */ styled.div.withConfig({
|
|
47
47
|
displayName: "Parameterstyle__Title",
|
|
48
48
|
componentId: "sc-u2uvgh-9"
|
|
49
|
-
})(["font-size:10px;line-height:1.6;font-weight:500;text-transform:uppercase;color:
|
|
49
|
+
})(["font-size:10px;line-height:1.6;font-weight:500;text-transform:uppercase;color:var(--ds-divider-header-text-color);padding:8px 12px;"]);
|
|
50
50
|
const ShowMoreItem = /* @__PURE__ */ styled.div.withConfig({
|
|
51
51
|
displayName: "Parameterstyle__ShowMoreItem",
|
|
52
52
|
componentId: "sc-u2uvgh-10"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React, { useRef, useState, useMemo, useCallback, useEffect } from "react";
|
|
3
|
-
import { useTheme } from "@synerise/ds-core";
|
|
4
3
|
import Divider from "@synerise/ds-divider";
|
|
5
4
|
import Dropdown from "@synerise/ds-dropdown";
|
|
6
5
|
import Icon, { ArrowRightCircleM, SearchM } from "@synerise/ds-icon";
|
|
@@ -32,7 +31,6 @@ const ParameterDropdown = ({
|
|
|
32
31
|
const listRef = useRef(null);
|
|
33
32
|
const overlayRef = useRef(null);
|
|
34
33
|
const scrollBarRef = useRef(null);
|
|
35
|
-
const theme = useTheme();
|
|
36
34
|
const {
|
|
37
35
|
visibleGroups,
|
|
38
36
|
tabs,
|
|
@@ -237,7 +235,7 @@ const ParameterDropdown = ({
|
|
|
237
235
|
setSearchInputFocus(true);
|
|
238
236
|
});
|
|
239
237
|
}, children: [
|
|
240
|
-
/* @__PURE__ */ jsx(Dropdown.SearchInput, { onSearchChange: handleSearch, onClearInput: () => handleSearch(""), placeholder: texts.parameter.searchPlaceholder, value: searchQuery, autofocus: !searchQuery || searchInputCanBeFocused, autofocusDelay: 50, iconLeft: /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(SearchM, {})
|
|
238
|
+
/* @__PURE__ */ jsx(Dropdown.SearchInput, { onSearchChange: handleSearch, onClearInput: () => handleSearch(""), placeholder: texts.parameter.searchPlaceholder, value: searchQuery, autofocus: !searchQuery || searchInputCanBeFocused, autofocusDelay: 50, iconLeft: /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(SearchM, {}) }) }),
|
|
241
239
|
tabs.length > 1 && /* @__PURE__ */ jsx(TabsWrapper, { children: /* @__PURE__ */ jsx(Tabs, { block: true, tabs, activeTab, handleTabClick: (index) => {
|
|
242
240
|
setActiveTab(index);
|
|
243
241
|
setActiveGroup(void 0);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
3
|
-
import { useTheme } from "@synerise/ds-core";
|
|
4
3
|
import Dropdown from "@synerise/ds-dropdown";
|
|
5
4
|
import Icon, { AngleDownS, Close3S } from "@synerise/ds-icon";
|
|
6
5
|
import { getPopupContainer } from "@synerise/ds-utils";
|
|
@@ -23,7 +22,6 @@ const RelativeDateInput = ({
|
|
|
23
22
|
}) => {
|
|
24
23
|
const [isOpen, setIsOpen] = useState(opened);
|
|
25
24
|
const [localValue, setLocalValue] = useState(() => value);
|
|
26
|
-
const theme = useTheme();
|
|
27
25
|
const {
|
|
28
26
|
relativeDate: texts
|
|
29
27
|
} = allTexts;
|
|
@@ -63,9 +61,9 @@ const RelativeDateInput = ({
|
|
|
63
61
|
}
|
|
64
62
|
return /* @__PURE__ */ jsxs(IconWrapper, { children: [
|
|
65
63
|
/* @__PURE__ */ jsx(ChevronIcon, { onClick: handleOpen, component: /* @__PURE__ */ jsx(AngleDownS, {}) }),
|
|
66
|
-
/* @__PURE__ */ jsx(ClearIcon, { onClick: handleClear,
|
|
64
|
+
/* @__PURE__ */ jsx(ClearIcon, { onClick: handleClear, component: /* @__PURE__ */ jsx(Close3S, {}) })
|
|
67
65
|
] });
|
|
68
|
-
}, [localValue, allowClear, handleClear, handleOpen
|
|
66
|
+
}, [localValue, allowClear, handleClear, handleOpen]);
|
|
69
67
|
const trigger = useMemo(() => {
|
|
70
68
|
return /* @__PURE__ */ jsx(Trigger, { "data-testid": "ds-factors-relative-date-trigger", error, readOnly: true, autoResize: {
|
|
71
69
|
minWidth: "123px",
|
|
@@ -10,7 +10,7 @@ const RelativeDateDropdownWrapper = /* @__PURE__ */ styled(Dropdown.Wrapper).wit
|
|
|
10
10
|
const RelativeDateDropdownFooter = /* @__PURE__ */ styled.div.withConfig({
|
|
11
11
|
displayName: "RelativeDateDropdownstyles__RelativeDateDropdownFooter",
|
|
12
12
|
componentId: "sc-1xn8l81-1"
|
|
13
|
-
})(["background:
|
|
13
|
+
})(["background:var(--ds-color-background-base-muted);display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px;"]);
|
|
14
14
|
const RelativeDateCurrentLabel = /* @__PURE__ */ styled.div.withConfig({
|
|
15
15
|
displayName: "RelativeDateDropdownstyles__RelativeDateCurrentLabel",
|
|
16
16
|
componentId: "sc-1xn8l81-2"
|
|
@@ -30,7 +30,7 @@ const ChevronIcon = /* @__PURE__ */ styled(Icon).withConfig({
|
|
|
30
30
|
const Trigger = /* @__PURE__ */ styled(Input).withConfig({
|
|
31
31
|
displayName: "RelativeDateDropdownstyles__Trigger",
|
|
32
32
|
componentId: "sc-1xn8l81-6"
|
|
33
|
-
})(["", "{display:none;}&:hover{", "{display:block
|
|
33
|
+
})(["", "{display:none;color:var(--ds-color-icon-danger-default);}&:hover{", "{display:block;&:hover{color:var(--ds-color-icon-danger-defaulthover);}}", "{display:none;}}"], ClearIcon, ClearIcon, ChevronIcon);
|
|
34
34
|
export {
|
|
35
35
|
ChevronIcon,
|
|
36
36
|
ClearIcon,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
3
3
|
import Autocomplete from "@synerise/ds-autocomplete";
|
|
4
|
-
import { useTheme } from "@synerise/ds-core";
|
|
5
4
|
import Icon, { FullScreenM } from "@synerise/ds-icon";
|
|
6
5
|
import { Input } from "@synerise/ds-input";
|
|
7
6
|
import { TextWrapper, InputWrapper, IconWrapper } from "./Text.styles.js";
|
|
@@ -27,7 +26,6 @@ const TextInput = ({
|
|
|
27
26
|
const [inputRef, setInputRef] = useState();
|
|
28
27
|
const [localValue, setLocalValue] = useState(() => value);
|
|
29
28
|
const [localError, setLocalError] = useState(false);
|
|
30
|
-
const theme = useTheme();
|
|
31
29
|
useEffect(() => {
|
|
32
30
|
if (inputRef?.current && opened) {
|
|
33
31
|
inputRef.current.focus();
|
|
@@ -76,7 +74,7 @@ const TextInput = ({
|
|
|
76
74
|
return /* @__PURE__ */ jsx(InputWrapper, { children: /* @__PURE__ */ jsx(Input, { ...inputProps, ...extraInputProps, handleInputRef: setInputRef, placeholder: texts.valuePlaceholder, value: localValue, onChange: handleChange, onBlur: onDeactivate, onFocus: onActivate, error: localError || error, readOnly, resetMargin: true }) });
|
|
77
75
|
}
|
|
78
76
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
79
|
-
/* @__PURE__ */ jsx(InputWrapper, { children: /* @__PURE__ */ jsx(Input, { ...inputProps, ...extraInputProps, handleInputRef: setInputRef, placeholder: texts.valuePlaceholder, icon1: /* @__PURE__ */ jsx(IconWrapper, { onClick: () => setOpenExpanseEditor(true), children: !readOnly && /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(FullScreenM, { "data-testid": "ds-factors-expansible-icon" })
|
|
77
|
+
/* @__PURE__ */ jsx(InputWrapper, { children: /* @__PURE__ */ jsx(Input, { ...inputProps, ...extraInputProps, handleInputRef: setInputRef, placeholder: texts.valuePlaceholder, icon1: /* @__PURE__ */ jsx(IconWrapper, { onClick: () => setOpenExpanseEditor(true), children: !readOnly && /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(FullScreenM, { "data-testid": "ds-factors-expansible-icon" }) }) }), value: localValue, onChange: handleChange, onBlur: onDeactivate, onFocus: onActivate, error: localError || error, readOnly, resetMargin: true }) }),
|
|
80
78
|
/* @__PURE__ */ jsx(TextModal, { visible: openExpanseEditor, onCancel: () => setOpenExpanseEditor(false), value: localValue, onApply: handleApply, texts })
|
|
81
79
|
] });
|
|
82
80
|
};
|
|
@@ -2,7 +2,7 @@ import styled from "styled-components";
|
|
|
2
2
|
const IconWrapper = /* @__PURE__ */ styled.span.withConfig({
|
|
3
3
|
displayName: "Textstyles__IconWrapper",
|
|
4
4
|
componentId: "sc-rjr8p0-0"
|
|
5
|
-
})(["
|
|
5
|
+
})(["color:var(--ds-form-icon-color-default);&:hover{cursor:pointer;color:var(--ds-color-icon-brand-default);}"]);
|
|
6
6
|
const InputWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
7
7
|
displayName: "Textstyles__InputWrapper",
|
|
8
8
|
componentId: "sc-rjr8p0-1"
|
|
@@ -1,3 +1,3 @@
|
|
|
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, {
|
|
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.js').Props) => React.JSX.Element, any, {
|
|
2
2
|
withoutTypeSelector: boolean;
|
|
3
3
|
}, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-factors",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "Factors UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -42,34 +42,34 @@
|
|
|
42
42
|
],
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@synerise/ds-autocomplete": "^2.
|
|
46
|
-
"@synerise/ds-badge": "^2.
|
|
47
|
-
"@synerise/ds-button": "^2.1
|
|
48
|
-
"@synerise/ds-button-group": "^2.
|
|
49
|
-
"@synerise/ds-collector": "^2.
|
|
50
|
-
"@synerise/ds-date-picker": "^2.1
|
|
51
|
-
"@synerise/ds-date-range-picker": "^2.
|
|
52
|
-
"@synerise/ds-divider": "^2.
|
|
53
|
-
"@synerise/ds-dropdown": "^2.1
|
|
54
|
-
"@synerise/ds-empty-states": "^2.
|
|
55
|
-
"@synerise/ds-icon": "^2.
|
|
56
|
-
"@synerise/ds-information-card": "^2.
|
|
57
|
-
"@synerise/ds-inline-alert": "^2.
|
|
58
|
-
"@synerise/ds-inline-edit": "^2.
|
|
59
|
-
"@synerise/ds-input": "^2.
|
|
60
|
-
"@synerise/ds-input-number": "^2.
|
|
61
|
-
"@synerise/ds-list-item": "^2.
|
|
62
|
-
"@synerise/ds-modal": "^2.
|
|
63
|
-
"@synerise/ds-result": "^2.
|
|
64
|
-
"@synerise/ds-scrollbar": "^2.
|
|
65
|
-
"@synerise/ds-search": "^2.
|
|
66
|
-
"@synerise/ds-select": "^2.1
|
|
67
|
-
"@synerise/ds-short-cuts": "^2.
|
|
68
|
-
"@synerise/ds-skeleton": "^2.
|
|
69
|
-
"@synerise/ds-tabs": "^2.
|
|
70
|
-
"@synerise/ds-tag": "^2.
|
|
71
|
-
"@synerise/ds-tooltip": "^2.
|
|
72
|
-
"@synerise/ds-utils": "^2.
|
|
45
|
+
"@synerise/ds-autocomplete": "^2.1.1",
|
|
46
|
+
"@synerise/ds-badge": "^2.1.1",
|
|
47
|
+
"@synerise/ds-button": "^2.2.1",
|
|
48
|
+
"@synerise/ds-button-group": "^2.1.1",
|
|
49
|
+
"@synerise/ds-collector": "^2.1.1",
|
|
50
|
+
"@synerise/ds-date-picker": "^2.2.1",
|
|
51
|
+
"@synerise/ds-date-range-picker": "^2.3.1",
|
|
52
|
+
"@synerise/ds-divider": "^2.1.1",
|
|
53
|
+
"@synerise/ds-dropdown": "^2.2.1",
|
|
54
|
+
"@synerise/ds-empty-states": "^2.1.1",
|
|
55
|
+
"@synerise/ds-icon": "^2.3.1",
|
|
56
|
+
"@synerise/ds-information-card": "^2.1.1",
|
|
57
|
+
"@synerise/ds-inline-alert": "^2.1.1",
|
|
58
|
+
"@synerise/ds-inline-edit": "^2.1.1",
|
|
59
|
+
"@synerise/ds-input": "^2.1.1",
|
|
60
|
+
"@synerise/ds-input-number": "^2.1.1",
|
|
61
|
+
"@synerise/ds-list-item": "^2.4.0",
|
|
62
|
+
"@synerise/ds-modal": "^2.2.1",
|
|
63
|
+
"@synerise/ds-result": "^2.1.1",
|
|
64
|
+
"@synerise/ds-scrollbar": "^2.1.1",
|
|
65
|
+
"@synerise/ds-search": "^2.1.1",
|
|
66
|
+
"@synerise/ds-select": "^2.2.1",
|
|
67
|
+
"@synerise/ds-short-cuts": "^2.1.1",
|
|
68
|
+
"@synerise/ds-skeleton": "^2.1.1",
|
|
69
|
+
"@synerise/ds-tabs": "^2.1.1",
|
|
70
|
+
"@synerise/ds-tag": "^2.1.1",
|
|
71
|
+
"@synerise/ds-tooltip": "^2.1.1",
|
|
72
|
+
"@synerise/ds-utils": "^2.3.1",
|
|
73
73
|
"lodash.merge": "^4.6.2",
|
|
74
74
|
"react-window": "^1.8.11"
|
|
75
75
|
},
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
85
85
|
"styled-components": "^5.3.3"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "2d2a540b35fddf8855da45f0dec2f4612c6d87b6"
|
|
88
88
|
}
|