@synerise/ds-select 1.3.27 → 1.3.28

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,12 @@
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.3.28](https://github.com/synerise/synerise-design/compare/@synerise/ds-select@1.3.27...@synerise/ds-select@1.3.28) (2026-05-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add exports field to all component packages for correct ESM detection ([6eccfde](https://github.com/synerise/synerise-design/commit/6eccfde8f2dd73c59860793231fbd7bcd61813b4))
11
+
6
12
  ## [1.3.27](https://github.com/synerise/synerise-design/compare/@synerise/ds-select@1.3.26...@synerise/ds-select@1.3.27) (2026-04-29)
7
13
 
8
14
  **Note:** Version bump only for package @synerise/ds-select
package/dist/Select.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { default as AntdSelect } from 'antd/lib/select';
1
+ import { Select as AntdSelect } from 'antd';
2
2
  import { default as React } from 'react';
3
- export declare const Select: React.ForwardRefExoticComponent<Omit<import('antd/lib/select').SelectProps<import('antd/lib/select').SelectValue, import('antd/lib/select').DefaultOptionType>, "listHeight"> & {
3
+ export declare const Select: React.ForwardRefExoticComponent<Omit<import('antd').SelectProps<import('antd/lib/select').SelectValue, import('antd/lib/select').DefaultOptionType>, "listHeight"> & {
4
4
  error?: boolean;
5
5
  clearTooltip?: string;
6
6
  prefixel?: React.ReactNode;
package/dist/Select.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import AntdSelect$1 from "antd/lib/select";
2
+ import { Select as Select$1 } from "antd";
3
3
  import classNames from "classnames";
4
4
  import { forwardRef } from "react";
5
5
  import FormField from "@synerise/ds-form-field";
@@ -65,8 +65,8 @@ const Select = forwardRef(({
65
65
  return raw ? simpleSelect : /* @__PURE__ */ jsx(SelectContainer, { className: "ds-select-container", hasBottomMargin, ref: forwardedRef, children: /* @__PURE__ */ jsx(FormField, { errorText, description, label, tooltip, tooltipConfig, children: simpleSelect }) });
66
66
  });
67
67
  const SelectWithComponents = Object.assign(Select, {
68
- Option: AntdSelect$1.Option,
69
- OptGroup: AntdSelect$1.OptGroup
68
+ Option: Select$1.Option,
69
+ OptGroup: Select$1.OptGroup
70
70
  });
71
71
  export {
72
72
  Select,
@@ -1,4 +1,4 @@
1
- import AntdSelect$1 from "antd/lib/select";
1
+ import { Select } from "antd";
2
2
  import styled, { css } from "styled-components";
3
3
  const errorStyle = (props) => `
4
4
  border-color: ${props.theme.palette["red-600"]};
@@ -31,7 +31,7 @@ const SelectContainer = /* @__PURE__ */ styled.div.withConfig({
31
31
  displayName: "Selectstyles__SelectContainer",
32
32
  componentId: "sc-n9lk0v-0"
33
33
  })(["display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;margin:0 0 ", "px;"], (props) => props.hasBottomMargin ? 16 : 0);
34
- const AntdSelect = /* @__PURE__ */ styled(AntdSelect$1).withConfig({
34
+ const AntdSelect = /* @__PURE__ */ styled(Select).withConfig({
35
35
  displayName: "Selectstyles__AntdSelect",
36
36
  componentId: "sc-n9lk0v-1"
37
37
  })(["", " &.ant-select-multiple{.ant-select-arrow{top:16px;}}&&{.ant-select-selector{", "}}&&&{width:100%;.ant-select-clear{height:18px;background-position:center;background-repeat:no-repeat;background-size:contain;top:50%;right:8px;transform-origin:50% 25%;display:flex;transform:translateY(-50%);align-items:center;justify-content:center;margin-top:0;}.ant-select-selector{", " ", "}span[aria-label='search']{svg{display:none;}width:24px;height:24px;background-color:rgba(0,0,0,0);background-image:", ";}}&.error{.ant-select-selector.ant-select-selector{", "}.ant-select-clear{background-color:", ";}}&&&.ant-select-disabled{.ant-select-selector.ant-select-selector{color:", ";cursor:", ";background-color:", ";}.ant-select-arrow{opacity:0.5;}}"], (props) => props.size === "large" && `
@@ -1,4 +1,5 @@
1
- import { SelectProps, SelectValue } from 'antd/lib/select';
1
+ import { SelectProps } from 'antd';
2
+ import { SelectValue } from 'antd/lib/select';
2
3
  import { ReactNode, ReactText } from 'react';
3
4
  import { CSSObject } from 'styled-components';
4
5
  import { FormFieldCommonProps } from '@synerise/ds-form-field';
package/package.json CHANGED
@@ -1,10 +1,19 @@
1
1
  {
2
2
  "name": "@synerise/ds-select",
3
- "version": "1.3.27",
3
+ "version": "1.3.28",
4
4
  "description": "Select UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
7
7
  "main": "dist/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
13
+ },
14
+ "./dist/*.js": "./dist/*.js",
15
+ "./dist/*": "./dist/*.js"
16
+ },
8
17
  "files": [
9
18
  "/dist",
10
19
  "CHANGELOG.md",
@@ -32,10 +41,10 @@
32
41
  ],
33
42
  "types": "dist/index.d.ts",
34
43
  "dependencies": {
35
- "@synerise/ds-form-field": "^1.3.17",
36
- "@synerise/ds-icon": "^1.17.2",
37
- "@synerise/ds-tooltip": "^1.4.17",
38
- "@synerise/ds-utils": "^1.8.0",
44
+ "@synerise/ds-form-field": "^1.3.18",
45
+ "@synerise/ds-icon": "^1.17.3",
46
+ "@synerise/ds-tooltip": "^1.4.18",
47
+ "@synerise/ds-utils": "^1.8.1",
39
48
  "classnames": "^2.5.1"
40
49
  },
41
50
  "peerDependencies": {
@@ -45,5 +54,5 @@
45
54
  "styled-components": "^5.3.3",
46
55
  "vitest": "4"
47
56
  },
48
- "gitHead": "82150f1e50f5a3e19682c68e4eec9ae441950327"
57
+ "gitHead": "c5eee882509cbeb4544cb45939620881b829d4d9"
49
58
  }