@synerise/ds-card-select 0.9.9 → 1.1.0
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 +11 -0
- package/README.md +1 -1
- package/dist/CardSelect.js +1 -1
- package/dist/CardSelect.styles.d.ts +1 -6
- package/dist/CardSelect.styles.js +1 -1
- package/dist/CardSelect.types.d.ts +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card-select@1.0.0...@synerise/ds-card-select@1.1.0) (2025-03-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **button:** add support for tag in button ([32b6956](https://github.com/Synerise/synerise-design/commit/32b6956d5e1f46df03abb4de8fbaf0a7d487043e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.9.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card-select@0.9.8...@synerise/ds-card-select@0.9.9) (2025-03-10)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @synerise/ds-card-select
|
package/README.md
CHANGED
|
@@ -73,7 +73,7 @@ yarn add @synerise/ds-card-select
|
|
|
73
73
|
|
|
74
74
|
### TagProps
|
|
75
75
|
|
|
76
|
-
accepts a subset of TagProps. See @synerise/ds-
|
|
76
|
+
accepts a subset of TagProps. See @synerise/ds-tag for API
|
|
77
77
|
```
|
|
78
78
|
Omit<TagProps, 'shape' | 'removable' | 'asPill' | 'onRemove' | 'image' | 'texts'>
|
|
79
79
|
```
|
package/dist/CardSelect.js
CHANGED
|
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
2
2
|
import React, { useState, useRef } from 'react';
|
|
3
3
|
import { withTheme } from 'styled-components';
|
|
4
4
|
import Icon, { Check3M, InfoFillS } from '@synerise/ds-icon';
|
|
5
|
-
import { TagShape } from '@synerise/ds-
|
|
5
|
+
import { TagShape } from '@synerise/ds-tag';
|
|
6
6
|
import { useOnClickOutside } from '@synerise/ds-utils';
|
|
7
7
|
import Tooltip from '@synerise/ds-tooltip';
|
|
8
8
|
import * as S from './CardSelect.styles';
|
|
@@ -33,12 +33,7 @@ export declare const Container: import("styled-components").StyledComponent<"div
|
|
|
33
33
|
error?: boolean | undefined;
|
|
34
34
|
} & ThemeProps, never>;
|
|
35
35
|
export declare const TagRibbonAnchor: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
36
|
-
export declare const TagRibbon: import("styled-components").StyledComponent<{
|
|
37
|
-
({ id, name, className, disabled, removable, image, shape, color, textColor, onRemove, onClick, prefixel, suffixel, texts, asPill, dashed, ...htmlAttributes }: import("@synerise/ds-tags/dist/Tag/Tag.types").TagProps): React.JSX.Element;
|
|
38
|
-
defaultProps: {
|
|
39
|
-
shape: import("@synerise/ds-tags").TagShape;
|
|
40
|
-
};
|
|
41
|
-
}, any, {}, never>;
|
|
36
|
+
export declare const TagRibbon: import("styled-components").StyledComponent<({ id, name, className, disabled, removable, image, shape, color, textColor, onRemove, onClick, prefixel, suffixel, texts, asPill, dashed, ...htmlAttributes }: import("@synerise/ds-tag").TagProps) => React.JSX.Element, any, {}, never>;
|
|
42
37
|
export declare const Main: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
43
38
|
export declare const TickIcon: import("styled-components").StyledComponent<"div", any, {
|
|
44
39
|
size?: CardSelectSizeType | undefined;
|
|
@@ -2,7 +2,7 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
|
2
2
|
function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
|
|
3
3
|
import styled, { css } from 'styled-components';
|
|
4
4
|
import is, { isNot } from 'styled-is';
|
|
5
|
-
import
|
|
5
|
+
import Tag from '@synerise/ds-tag';
|
|
6
6
|
var TRANSITION = "\n TRANSITION-timing-function: ease-in-out;\n transition-duration: 0.2s;\n transition-property: border-color, background-color;\n";
|
|
7
7
|
var MAIN_PADDING = 8;
|
|
8
8
|
var RADIO_WIDTH = 20;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Key, ReactNode } from 'react';
|
|
2
|
-
import type { TagProps } from '@synerise/ds-
|
|
2
|
+
import type { TagProps } from '@synerise/ds-tag';
|
|
3
3
|
import type { TooltipProps } from '@synerise/ds-tooltip';
|
|
4
4
|
type CardSelectTagProps = Omit<TagProps, 'shape' | 'removable' | 'asPill' | 'onRemove' | 'image' | 'texts'>;
|
|
5
5
|
export type CardSelectAlignType = 'left' | 'center' | 'right';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-card-select",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Card-Select UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-icon": "^0.
|
|
38
|
-
"@synerise/ds-
|
|
39
|
-
"@synerise/ds-tooltip": "^
|
|
40
|
-
"@synerise/ds-utils": "^0.
|
|
37
|
+
"@synerise/ds-icon": "^1.0.1",
|
|
38
|
+
"@synerise/ds-tag": "^1.1.0",
|
|
39
|
+
"@synerise/ds-tooltip": "^1.1.0",
|
|
40
|
+
"@synerise/ds-utils": "^1.0.1",
|
|
41
41
|
"styled-is": "^1.3.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": ">=16.9.0 <= 18.3.1",
|
|
47
47
|
"styled-components": "^5.3.3"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "218110f61f4371bc04d793b2b976b71d14e99e76"
|
|
50
50
|
}
|