@synerise/ds-input 0.19.9 → 0.19.11

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,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
+ ## [0.19.11](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@0.19.10...@synerise/ds-input@0.19.11) (2023-12-11)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **input:** wordkaround for input group with single child ([72be45c](https://github.com/synerise/synerise-design/commit/72be45c44ec8a0b160c538bda8d90a3e2001919e))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.19.10](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@0.19.9...@synerise/ds-input@0.19.10) (2023-12-06)
18
+
19
+ **Note:** Version bump only for package @synerise/ds-input
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.19.9](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@0.19.8...@synerise/ds-input@0.19.9) (2023-11-16)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-input
@@ -2,12 +2,12 @@ import styled, { css } from 'styled-components';
2
2
  export var InputGroupItem = styled.div.withConfig({
3
3
  displayName: "InputGroupstyles__InputGroupItem",
4
4
  componentId: "sc-1cn2cc5-0"
5
- })(["&:not(:last-child){margin-right:12px;}&:last-child{flex-grow:1;}"]);
5
+ })([""]);
6
6
  export var InputGroupWrapper = styled.div.withConfig({
7
7
  displayName: "InputGroupstyles__InputGroupWrapper",
8
8
  componentId: "sc-1cn2cc5-1"
9
9
  })(["&&&{display:flex;align-items:", ";", "}"], function (props) {
10
10
  return props.compact ? '' : 'stretch';
11
11
  }, function (props) {
12
- return !!props.compact && css(["", ":not(:last-child){margin-right:-1px;.ant-input,.ant-input-number,.ant-select-selector{border-top-right-radius:0px;border-bottom-right-radius:0px;}}", ":last-child{.ant-input,.ant-input-number,.ant-select-selector{border-top-left-radius:0px;border-bottom-left-radius:0px;}flex-grow:0;}"], InputGroupItem, InputGroupItem);
12
+ return props.compact ? css(["", "{&:only-child{flex-grow:1;}&:not(:only-child){&:not(:last-child){margin-right:-1px;.ant-input,.ant-input-number,.ant-select-selector{border-top-right-radius:0px;border-bottom-right-radius:0px;}}&:last-child{.ant-input,.ant-input-number,.ant-select-selector{border-top-left-radius:0px;border-bottom-left-radius:0px;}flex:auto;}}"], InputGroupItem) : css(["", ":last-child{flex-grow:1;}", ":not(:last-child){margin-right:12px;}"], InputGroupItem, InputGroupItem);
13
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-input",
3
- "version": "0.19.9",
3
+ "version": "0.19.11",
4
4
  "description": "Input UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -18,7 +18,7 @@
18
18
  "scripts": {
19
19
  "build": "npm run build:js && npm run build:css && npm run defs",
20
20
  "build:css": "node ../../../scripts/style/less.js",
21
- "build:js": "babel --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
21
+ "build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
22
22
  "build:watch": "npm run build:js -- --watch",
23
23
  "defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
24
24
  "pack:ci": "npm pack --pack-destination ../../portal/storybook-static/static",
@@ -33,11 +33,11 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-icon": "^0.58.7",
37
- "@synerise/ds-scrollbar": "^0.6.13",
38
- "@synerise/ds-tooltip": "^0.14.10",
39
- "@synerise/ds-typography": "^0.13.3",
40
- "@synerise/ds-utils": "^0.24.21",
36
+ "@synerise/ds-icon": "^0.58.8",
37
+ "@synerise/ds-scrollbar": "^0.6.14",
38
+ "@synerise/ds-tooltip": "^0.14.12",
39
+ "@synerise/ds-typography": "^0.14.1",
40
+ "@synerise/ds-utils": "^0.24.22",
41
41
  "antd-mask-input": "^0.1.13",
42
42
  "csstype": "2.6.9",
43
43
  "uuid": "^8.3.2"
@@ -51,5 +51,5 @@
51
51
  "devDependencies": {
52
52
  "@testing-library/react": "10.0.1"
53
53
  },
54
- "gitHead": "7c20a32482f03300c9a6c6cd3c644d307371bb0d"
54
+ "gitHead": "5ab278e69cd049334216bc9867cca2ce6a5fc218"
55
55
  }