@synerise/ds-completed-within 1.2.10 → 1.2.12

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 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.2.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-completed-within@1.2.11...@synerise/ds-completed-within@1.2.12) (2026-04-01)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-completed-within
9
+
10
+ ## [1.2.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-completed-within@1.2.10...@synerise/ds-completed-within@1.2.11) (2026-03-24)
11
+
12
+ **Note:** Version bump only for package @synerise/ds-completed-within
13
+
6
14
  ## [1.2.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-completed-within@1.2.9...@synerise/ds-completed-within@1.2.10) (2026-03-20)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-completed-within
@@ -1,7 +1,7 @@
1
- import { type StyledButton } from '@synerise/ds-button';
1
+ import { StyledButton } from '@synerise/ds-button';
2
2
  export declare const TriggerButton: StyledButton;
3
3
  export declare const ClearButton: StyledButton;
4
- export declare const CompletedWithinWrapper: import("styled-components").StyledComponent<"div", any, {
4
+ export declare const CompletedWithinWrapper: import('styled-components').StyledComponent<"div", any, {
5
5
  withValue: boolean;
6
6
  readOnly?: boolean;
7
7
  }, never>;
@@ -1,25 +1,20 @@
1
- import styled, { css } from 'styled-components';
2
- import Button from '@synerise/ds-button';
3
- import { IconContainer } from '@synerise/ds-icon';
4
- export var TriggerButton = styled(Button).withConfig({
1
+ import styled, { css } from "styled-components";
2
+ import Button from "@synerise/ds-button";
3
+ import { IconContainer } from "@synerise/ds-icon";
4
+ const TriggerButton = /* @__PURE__ */ styled(Button).withConfig({
5
5
  displayName: "CompleteWithinstyles__TriggerButton",
6
6
  componentId: "sc-1hcip2f-0"
7
7
  })(["transition:padding 0s;"]);
8
- export var ClearButton = styled(Button).withConfig({
8
+ const ClearButton = /* @__PURE__ */ styled(Button).withConfig({
9
9
  displayName: "CompleteWithinstyles__ClearButton",
10
10
  componentId: "sc-1hcip2f-1"
11
- })(["&&&{opacity:0;pointer-events:none;transition:opacity 0.3s ease-in-out,width 0.3s ease-in-out;", "{svg{fill:", ";color:", ";}}&:hover{", "{svg{fill:", " !important;color:", " !important;}}}&:focus{.btn-focus{box-shadow:none;}}}"], IconContainer, function (props) {
12
- return props.theme.palette['red-600'];
13
- }, function (props) {
14
- return props.theme.palette['red-600'];
15
- }, IconContainer, function (props) {
16
- return props.theme.palette['red-600'];
17
- }, function (props) {
18
- return props.theme.palette['red-600'];
19
- });
20
- export var CompletedWithinWrapper = styled.div.withConfig({
11
+ })(["&&&{opacity:0;pointer-events:none;transition:opacity 0.3s ease-in-out,width 0.3s ease-in-out;", "{svg{fill:", ";color:", ";}}&:hover{", "{svg{fill:", " !important;color:", " !important;}}}&:focus{.btn-focus{box-shadow:none;}}}"], IconContainer, (props) => props.theme.palette["red-600"], (props) => props.theme.palette["red-600"], IconContainer, (props) => props.theme.palette["red-600"], (props) => props.theme.palette["red-600"]);
12
+ const CompletedWithinWrapper = /* @__PURE__ */ styled.div.withConfig({
21
13
  displayName: "CompleteWithinstyles__CompletedWithinWrapper",
22
14
  componentId: "sc-1hcip2f-2"
23
- })(["display:flex;align-items:center;justify-content:flex-start;height:32px;position:relative;", ";"], function (props) {
24
- return Boolean(props.withValue) && !props.readOnly && css(["&&&{", "{padding-right:32px;}", "{background-color:transparent !important;position:absolute;right:0;opacity:1;pointer-events:all;}}"], TriggerButton, ClearButton);
25
- });
15
+ })(["display:flex;align-items:center;justify-content:flex-start;height:32px;position:relative;", ";"], (props) => Boolean(props.withValue) && !props.readOnly && css(["&&&{", "{padding-right:32px;}", "{background-color:transparent !important;position:absolute;right:0;opacity:1;pointer-events:all;}}"], TriggerButton, ClearButton));
16
+ export {
17
+ ClearButton,
18
+ CompletedWithinWrapper,
19
+ TriggerButton
20
+ };
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { type CompletedWithinProps } from './CompletedWithin.types';
1
+ import { default as React } from 'react';
2
+ import { CompletedWithinProps } from './CompletedWithin.types';
3
3
  export declare const DEFAULT_PERIODS: string[];
4
4
  declare const CompletedWithin: ({ value, maxValue, onSetValue, text, periods, placeholder, tooltip, readOnly, }: CompletedWithinProps) => React.JSX.Element;
5
5
  export default CompletedWithin;
@@ -1,150 +1,102 @@
1
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
- import React, { useCallback, useMemo, useState } from 'react';
3
- import { useIntl } from 'react-intl';
4
- import Dropdown from '@synerise/ds-dropdown';
5
- import Icon, { ClockM, Close3S } from '@synerise/ds-icon';
6
- import Tooltip from '@synerise/ds-tooltip';
7
- import * as S from './CompleteWithin.styles';
8
- import Settings from './Settings/Settings';
9
- export var DEFAULT_PERIODS = ['SECONDS', 'MINUTES', 'HOURS', 'DAYS', 'MONTHS', 'YEARS'];
10
- var CompletedWithin = function CompletedWithin(_ref) {
11
- var value = _ref.value,
12
- maxValue = _ref.maxValue,
13
- onSetValue = _ref.onSetValue,
14
- text = _ref.text,
15
- periods = _ref.periods,
16
- placeholder = _ref.placeholder,
17
- tooltip = _ref.tooltip,
18
- readOnly = _ref.readOnly;
19
- var intl = useIntl();
20
- var texts = useMemo(function () {
21
- return _extends({
22
- header: intl.formatMessage({
23
- id: 'DS.COMPLETED-WITHIN.HEADER',
24
- defaultMessage: 'Completed within'
25
- }),
26
- completedLabel: intl.formatMessage({
27
- id: 'DS.COMPLETED-WITHIN.COMPLETED-WIHITN',
28
- defaultMessage: 'Completed within'
29
- }),
30
- clear: intl.formatMessage({
31
- id: 'DS.COMPLETED-WITHIN.CLEAR',
32
- defaultMessage: 'Clear'
33
- }),
34
- periodPlaceholder: intl.formatMessage({
35
- id: 'DS.COMPLETED-WITHIN.PERIOD-PLACEHOLDER',
36
- defaultMessage: 'Interval'
37
- })
38
- }, text);
39
- }, [text, intl]);
40
- var getPeriods = useMemo(function () {
41
- if (periods !== undefined && periods.length) {
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { useMemo, useState, useCallback } from "react";
3
+ import { useIntl } from "react-intl";
4
+ import Dropdown from "@synerise/ds-dropdown";
5
+ import Icon, { Close3S, ClockM } from "@synerise/ds-icon";
6
+ import Tooltip from "@synerise/ds-tooltip";
7
+ import { CompletedWithinWrapper, ClearButton, TriggerButton } from "./CompleteWithin.styles.js";
8
+ import Settings from "./Settings/Settings.js";
9
+ const DEFAULT_PERIODS = ["SECONDS", "MINUTES", "HOURS", "DAYS", "MONTHS", "YEARS"];
10
+ const CompletedWithin = ({
11
+ value,
12
+ maxValue,
13
+ onSetValue,
14
+ text,
15
+ periods,
16
+ placeholder,
17
+ tooltip,
18
+ readOnly
19
+ }) => {
20
+ const intl = useIntl();
21
+ const texts = useMemo(() => ({
22
+ header: intl.formatMessage({
23
+ id: "DS.COMPLETED-WITHIN.HEADER",
24
+ defaultMessage: "Completed within"
25
+ }),
26
+ completedLabel: intl.formatMessage({
27
+ id: "DS.COMPLETED-WITHIN.COMPLETED-WIHITN",
28
+ defaultMessage: "Completed within"
29
+ }),
30
+ clear: intl.formatMessage({
31
+ id: "DS.COMPLETED-WITHIN.CLEAR",
32
+ defaultMessage: "Clear"
33
+ }),
34
+ periodPlaceholder: intl.formatMessage({
35
+ id: "DS.COMPLETED-WITHIN.PERIOD-PLACEHOLDER",
36
+ defaultMessage: "Interval"
37
+ }),
38
+ ...text
39
+ }), [text, intl]);
40
+ const getPeriods = useMemo(() => {
41
+ if (periods !== void 0 && periods.length) {
42
42
  return periods;
43
43
  }
44
- return DEFAULT_PERIODS.map(function (period) {
45
- return {
46
- value: period,
47
- label: intl.formatMessage({
48
- id: "DS.COMPLETED-WITHIN." + period,
49
- defaultMessage: period
50
- })
51
- };
52
- });
44
+ return DEFAULT_PERIODS.map((period) => ({
45
+ value: period,
46
+ label: intl.formatMessage({
47
+ id: `DS.COMPLETED-WITHIN.${period}`,
48
+ defaultMessage: period
49
+ })
50
+ }));
53
51
  }, [periods, intl]);
54
- var _useState = useState(value.value),
55
- innerValue = _useState[0],
56
- setInnerValue = _useState[1];
57
- var _useState2 = useState(value.period),
58
- innerPeriod = _useState2[0],
59
- setInnerPeriod = _useState2[1];
60
- var _useState3 = useState(false),
61
- tooltipOpen = _useState3[0],
62
- setTooltipOpen = _useState3[1];
63
- var _useState4 = useState(false),
64
- settingsOpen = _useState4[0],
65
- setSettingsVisible = _useState4[1];
66
- var hasValue = useMemo(function () {
67
- return value.value !== undefined && value.value > 0;
68
- }, [value]);
69
- var handleOpenChange = useCallback(function (visible) {
52
+ const [innerValue, setInnerValue] = useState(value.value);
53
+ const [innerPeriod, setInnerPeriod] = useState(value.period);
54
+ const [tooltipOpen, setTooltipOpen] = useState(false);
55
+ const [settingsOpen, setSettingsVisible] = useState(false);
56
+ const hasValue = useMemo(() => value.value !== void 0 && value.value > 0, [value]);
57
+ const handleOpenChange = useCallback((visible) => {
70
58
  setSettingsVisible(visible);
71
59
  setTooltipOpen(false);
72
60
  if (!visible && innerValue && innerPeriod) {
73
- var newValue = maxValue && maxValue < Number(innerValue) ? maxValue : innerValue;
61
+ const newValue = maxValue && maxValue < Number(innerValue) ? maxValue : innerValue;
74
62
  onSetValue({
75
63
  value: Number(newValue),
76
64
  period: innerPeriod
77
65
  });
78
66
  }
79
67
  }, [innerPeriod, innerValue, maxValue, onSetValue]);
80
- var handleClear = useCallback(function () {
81
- setInnerPeriod(undefined);
82
- setInnerValue(undefined);
68
+ const handleClear = useCallback(() => {
69
+ setInnerPeriod(void 0);
70
+ setInnerValue(void 0);
83
71
  onSetValue({
84
- value: undefined,
85
- period: undefined
72
+ value: void 0,
73
+ period: void 0
86
74
  });
87
75
  }, [onSetValue]);
88
- var triggerMode = useMemo(function () {
76
+ const triggerMode = useMemo(() => {
89
77
  if (hasValue || placeholder) {
90
- return 'icon-label';
78
+ return "icon-label";
91
79
  }
92
- return 'single-icon';
80
+ return "single-icon";
93
81
  }, [hasValue, placeholder]);
94
- var triggerLabel = useMemo(function () {
95
- var _getPeriods$find;
96
- return hasValue ? texts.completedLabel + " " + value.value + " " + ((_getPeriods$find = getPeriods.find(function (singlePeriod) {
97
- return singlePeriod.value === value.period;
98
- })) == null ? void 0 : _getPeriods$find.label) : placeholder;
82
+ const triggerLabel = useMemo(() => {
83
+ return hasValue ? `${texts.completedLabel} ${value.value} ${getPeriods.find((singlePeriod) => singlePeriod.value === value.period)?.label}` : placeholder;
99
84
  }, [getPeriods, hasValue, texts, value, placeholder]);
100
- var trigger = /*#__PURE__*/React.createElement(Tooltip, {
101
- type: "largeSimple",
102
- description: tooltip,
103
- trigger: ['hover'],
104
- onOpenChange: setTooltipOpen,
105
- open: !settingsOpen && tooltipOpen
106
- }, /*#__PURE__*/React.createElement(S.TriggerButton, {
107
- "data-testid": "completed-within-trigger",
108
- readOnly: readOnly,
109
- className: "ds-completed-within",
110
- type: "tertiary",
111
- mode: triggerMode
112
- }, /*#__PURE__*/React.createElement(Icon, {
113
- component: /*#__PURE__*/React.createElement(ClockM, null)
114
- }), triggerLabel));
115
- return /*#__PURE__*/React.createElement(S.CompletedWithinWrapper, {
116
- readOnly: readOnly,
117
- withValue: hasValue
118
- }, readOnly ? trigger : /*#__PURE__*/React.createElement(Dropdown, {
119
- overlay: /*#__PURE__*/React.createElement(Settings, {
120
- value: {
121
- value: innerValue !== undefined ? Number(innerValue) : undefined,
122
- period: innerPeriod
123
- },
124
- maxValue: maxValue,
125
- onValueChange: setInnerValue,
126
- onPeriodChange: setInnerPeriod,
127
- text: texts,
128
- readOnly: readOnly,
129
- periods: getPeriods
130
- }),
131
- trigger: ['click'],
132
- open: settingsOpen,
133
- onOpenChange: handleOpenChange,
134
- placement: "topLeft",
135
- size: 238,
136
- popoverProps: {
137
- testId: 'completed-within'
138
- }
139
- }, trigger), hasValue && !readOnly && /*#__PURE__*/React.createElement(Tooltip, {
140
- title: texts.clear
141
- }, /*#__PURE__*/React.createElement(S.ClearButton, {
142
- mode: "single-icon",
143
- type: "ghost",
144
- onClick: handleClear,
145
- "data-testid": "clear-button"
146
- }, /*#__PURE__*/React.createElement(Icon, {
147
- component: /*#__PURE__*/React.createElement(Close3S, null)
148
- }))));
85
+ const trigger = /* @__PURE__ */ jsx(Tooltip, { type: "largeSimple", description: tooltip, trigger: ["hover"], onOpenChange: setTooltipOpen, open: !settingsOpen && tooltipOpen, children: /* @__PURE__ */ jsxs(TriggerButton, { "data-testid": "completed-within-trigger", readOnly, className: "ds-completed-within", type: "tertiary", mode: triggerMode, children: [
86
+ /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(ClockM, {}) }),
87
+ triggerLabel
88
+ ] }) });
89
+ return /* @__PURE__ */ jsxs(CompletedWithinWrapper, { readOnly, withValue: hasValue, children: [
90
+ readOnly ? trigger : /* @__PURE__ */ jsx(Dropdown, { overlay: /* @__PURE__ */ jsx(Settings, { value: {
91
+ value: innerValue !== void 0 ? Number(innerValue) : void 0,
92
+ period: innerPeriod
93
+ }, maxValue, onValueChange: setInnerValue, onPeriodChange: setInnerPeriod, text: texts, readOnly, periods: getPeriods }), trigger: ["click"], open: settingsOpen, onOpenChange: handleOpenChange, placement: "topLeft", size: 238, popoverProps: {
94
+ testId: "completed-within"
95
+ }, children: trigger }),
96
+ hasValue && !readOnly && /* @__PURE__ */ jsx(Tooltip, { title: texts.clear, children: /* @__PURE__ */ jsx(ClearButton, { mode: "single-icon", type: "ghost", onClick: handleClear, "data-testid": "clear-button", children: /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(Close3S, {}) }) }) })
97
+ ] });
98
+ };
99
+ export {
100
+ DEFAULT_PERIODS,
101
+ CompletedWithin as default
149
102
  };
150
- export default CompletedWithin;
@@ -1,5 +1,5 @@
1
- import type { ReactNode } from 'react';
2
- import type { LiteralStringUnion } from '@synerise/ds-utils';
1
+ import { ReactNode } from 'react';
2
+ import { LiteralStringUnion } from '@synerise/ds-utils';
3
3
  export type CompletedWithinTexts = {
4
4
  clear: ReactNode;
5
5
  header: ReactNode;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type SettingsProps } from './Settings.types';
1
+ import { default as React } from 'react';
2
+ import { SettingsProps } from './Settings.types';
3
3
  declare const Settings: ({ value, text, onPeriodChange, onValueChange, periods, maxValue, readOnly, }: SettingsProps) => React.JSX.Element;
4
4
  export default Settings;
@@ -1,48 +1,36 @@
1
- import React from 'react';
2
- import { InputGroup } from '@synerise/ds-input';
3
- import InputNumber from '@synerise/ds-input-number';
4
- import Select from '@synerise/ds-select';
5
- import * as S from './Settings.styles';
6
- var Settings = function Settings(_ref) {
7
- var value = _ref.value,
8
- text = _ref.text,
9
- onPeriodChange = _ref.onPeriodChange,
10
- onValueChange = _ref.onValueChange,
11
- periods = _ref.periods,
12
- maxValue = _ref.maxValue,
13
- readOnly = _ref.readOnly;
14
- return /*#__PURE__*/React.createElement(S.Settings, {
15
- "data-testid": "completed-within-dropdown"
16
- }, /*#__PURE__*/React.createElement(InputGroup, {
17
- size: "default",
18
- label: text.header,
19
- resetMargin: true,
20
- compact: true
21
- }, /*#__PURE__*/React.createElement(InputNumber, {
22
- size: "small",
23
- raw: true,
24
- readOnly: readOnly,
25
- value: value.value,
26
- onChange: onValueChange,
27
- min: 0,
28
- max: maxValue != null ? maxValue : Number.MAX_SAFE_INTEGER
29
- }), /*#__PURE__*/React.createElement(Select
30
- // readOnly={readOnly} - STOR-1872: add readOnly prop to select
31
- , {
32
- size: 'default',
33
- value: value.period,
34
- placeholder: text.periodPlaceholder,
35
- onChange: function onChange(option) {
36
- onPeriodChange(option);
37
- },
38
- dropdownStyle: {
39
- minWidth: '150px'
40
- }
41
- }, periods.map(function (period) {
42
- return /*#__PURE__*/React.createElement(Select.Option, {
43
- key: period.value,
44
- value: period.value
45
- }, period.label);
46
- }))));
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { InputGroup } from "@synerise/ds-input";
3
+ import InputNumber from "@synerise/ds-input-number";
4
+ import Select from "@synerise/ds-select";
5
+ import { Settings as Settings$1 } from "./Settings.styles.js";
6
+ const Settings = ({
7
+ value,
8
+ text,
9
+ onPeriodChange,
10
+ onValueChange,
11
+ periods,
12
+ maxValue,
13
+ readOnly
14
+ }) => {
15
+ return /* @__PURE__ */ jsx(Settings$1, { "data-testid": "completed-within-dropdown", children: /* @__PURE__ */ jsxs(InputGroup, { size: "default", label: text.header, resetMargin: true, compact: true, children: [
16
+ /* @__PURE__ */ jsx(InputNumber, { size: "small", raw: true, readOnly, value: value.value, onChange: onValueChange, min: 0, max: maxValue ?? Number.MAX_SAFE_INTEGER }),
17
+ /* @__PURE__ */ jsx(
18
+ Select,
19
+ {
20
+ size: "default",
21
+ value: value.period,
22
+ placeholder: text.periodPlaceholder,
23
+ onChange: (option) => {
24
+ onPeriodChange(option);
25
+ },
26
+ dropdownStyle: {
27
+ minWidth: "150px"
28
+ },
29
+ children: periods.map((period) => /* @__PURE__ */ jsx(Select.Option, { value: period.value, children: period.label }, period.value))
30
+ }
31
+ )
32
+ ] }) });
33
+ };
34
+ export {
35
+ Settings as default
47
36
  };
48
- export default Settings;
@@ -1 +1 @@
1
- export declare const Settings: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const Settings: import('styled-components').StyledComponent<"div", any, {}, never>;
@@ -1,8 +1,9 @@
1
- import styled from 'styled-components';
2
- import { InputGroupWrapper } from '@synerise/ds-input/dist/InputGroup.styles';
3
- export var Settings = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ import { InputGroupWrapper } from "@synerise/ds-input/dist/InputGroup.styles";
3
+ const Settings = /* @__PURE__ */ styled.div.withConfig({
4
4
  displayName: "Settingsstyles__Settings",
5
5
  componentId: "sc-11xtzjt-0"
6
- })(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:20px;background-color:", ";max-width:238px;.ant-select-selection-item,.ant-select-selection-placeholder{font-weight:500;}", "{width:100%;}"], function (props) {
7
- return props.theme.palette.white;
8
- }, InputGroupWrapper);
6
+ })(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:20px;background-color:", ";max-width:238px;.ant-select-selection-item,.ant-select-selection-placeholder{font-weight:500;}", "{width:100%;}"], (props) => props.theme.palette.white, InputGroupWrapper);
7
+ export {
8
+ Settings
9
+ };
@@ -1,5 +1,5 @@
1
- import type InputNumber from '@synerise/ds-input-number';
2
- import { type CompletedWithinProps, type CompletedWithinTexts, type CustomPeriod, type Period, type PeriodValue } from '../CompletedWithin.types';
1
+ import { default as InputNumber } from '@synerise/ds-input-number';
2
+ import { CompletedWithinProps, CompletedWithinTexts, CustomPeriod, Period, PeriodValue } from '../CompletedWithin.types';
3
3
  type InputProps = React.ComponentProps<typeof InputNumber>;
4
4
  export type SettingsProps = Omit<CompletedWithinProps, 'onClear' | 'onSetValue' | 'periods' | 'text'> & {
5
5
  onValueChange: InputProps['onChange'];
@@ -1 +1 @@
1
- export {};
1
+
package/dist/index.js CHANGED
@@ -1 +1,4 @@
1
- export { default } from './CompletedWithin';
1
+ import { default as default2 } from "./CompletedWithin.js";
2
+ export {
3
+ default2 as default
4
+ };
package/dist/modules.d.js CHANGED
@@ -1 +1 @@
1
- import '@testing-library/jest-dom';
1
+ import "@testing-library/jest-dom";
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-completed-within",
3
- "version": "1.2.10",
3
+ "version": "1.2.12",
4
4
  "description": "CompletedWithin 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": "pnpm run build:js && pnpm run build:css && pnpm run defs",
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": "pnpm run build:js -- --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,14 +35,14 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-button": "^1.5.17",
39
- "@synerise/ds-dropdown": "^1.3.1",
40
- "@synerise/ds-icon": "^1.15.0",
41
- "@synerise/ds-input": "^1.6.9",
42
- "@synerise/ds-input-number": "^1.2.34",
43
- "@synerise/ds-select": "^1.3.19",
44
- "@synerise/ds-tooltip": "^1.4.9",
45
- "@synerise/ds-utils": "^1.7.0"
38
+ "@synerise/ds-button": "^1.5.19",
39
+ "@synerise/ds-dropdown": "^1.3.3",
40
+ "@synerise/ds-icon": "^1.15.2",
41
+ "@synerise/ds-input": "^1.6.11",
42
+ "@synerise/ds-input-number": "^1.2.36",
43
+ "@synerise/ds-select": "^1.3.21",
44
+ "@synerise/ds-tooltip": "^1.4.11",
45
+ "@synerise/ds-utils": "^1.7.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "vitest": "4"
@@ -54,5 +54,5 @@
54
54
  "react-intl": ">=3.12.0 <= 6.8",
55
55
  "styled-components": "^5.3.3"
56
56
  },
57
- "gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
57
+ "gitHead": "c2384982c3533a31eb5e5e0408f8dcecb2b0f399"
58
58
  }