@decisiv/ui-components 2.0.1-alpha.149 → 2.0.1-alpha.150
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/lib/components/Combobox/Target.d.ts.map +1 -1
- package/lib/components/Combobox/Target.js +6 -0
- package/lib/components/Select/Target.d.ts.map +1 -1
- package/lib/components/Select/Target.js +5 -1
- package/lib/components/SelectDate/Target.d.ts.map +1 -1
- package/lib/components/SelectDate/Target.js +5 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Target.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAO,sBAAsB,EAAc,MAAM,OAAO,CAAC;AAkBvE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Target.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAO,sBAAsB,EAAc,MAAM,OAAO,CAAC;AAkBvE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAmLtC,QAAA,MAAM,aAAa,EAAE,sBAAsB,CACzC,gBAAgB,EAChB,WAAW,CACS,CAAC;AAGvB,eAAe,aAAa,CAAC"}
|
|
@@ -112,6 +112,9 @@ function Target(_ref, ref) {
|
|
|
112
112
|
}, rest)), hasClearButton && !readOnly && _react.default.createElement(ClearButtonContainer, {
|
|
113
113
|
hasExpandIndicator: hasExpandIndicator
|
|
114
114
|
}, _react.default.createElement(_Button.default, {
|
|
115
|
+
style: {
|
|
116
|
+
padding: 0
|
|
117
|
+
},
|
|
115
118
|
"aria-label": translate(clearButtonLabel, 'combobox.clearButtonLabel', {
|
|
116
119
|
label: inputFieldLabel
|
|
117
120
|
}),
|
|
@@ -131,6 +134,9 @@ function Target(_ref, ref) {
|
|
|
131
134
|
})), hasExpandIndicator && _react.default.createElement(ExpandedIndicatorContainer, {
|
|
132
135
|
disabled: disabled
|
|
133
136
|
}, _react.default.createElement(_Button.default, {
|
|
137
|
+
style: {
|
|
138
|
+
padding: 0
|
|
139
|
+
},
|
|
134
140
|
variant: "ghost",
|
|
135
141
|
size: "small",
|
|
136
142
|
tabIndex: -1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Target.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAO,sBAAsB,EAAc,MAAM,OAAO,CAAC;AAmBvE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Target.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAO,sBAAsB,EAAc,MAAM,OAAO,CAAC;AAmBvE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAgHjD,QAAA,MAAM,aAAa,EAAE,sBAAsB,CACzC,SAAS,EACT,WAAW,CACS,CAAC;AAGvB,eAAe,aAAa,CAAC"}
|
|
@@ -56,7 +56,8 @@ var TargetButton = (0, _styledComponents.default)(_BaseButton.default).withConfi
|
|
|
56
56
|
})(["background:transparent;border:transparent;cursor:inherit;font-size:", ";font-weight:", ";height:24px;line-height:140%;margin-right:", "px;overflow:hidden;padding:0;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;&:active,&:focus{outline:none;}"], (0, _rem.default)(_typography.default.size.alias.default), _typography.default.weight.alias.medium, _spacing.default.base * 0.5);
|
|
57
57
|
var ExpandedIndicatorContainer = (0, _styledComponents.default)(_Flex.default).attrs({
|
|
58
58
|
alignItems: 'center',
|
|
59
|
-
|
|
59
|
+
paddingLeft: 0.7,
|
|
60
|
+
paddingRight: 1
|
|
60
61
|
}).withConfig({
|
|
61
62
|
displayName: "Target__ExpandedIndicatorContainer",
|
|
62
63
|
componentId: "sc-1t0verh-2"
|
|
@@ -77,6 +78,9 @@ function Target(_ref, ref) {
|
|
|
77
78
|
return _react.default.createElement(TargetContainer, null, _react.default.createElement(TargetButton, _extends({}, rest, {
|
|
78
79
|
ref: ref
|
|
79
80
|
}), children), hasClearButton && !readOnly && _react.default.createElement(_Button.default, {
|
|
81
|
+
style: {
|
|
82
|
+
padding: 0
|
|
83
|
+
},
|
|
80
84
|
"aria-label": translate(clearButtonLabel, 'select.clearButtonLabel', {
|
|
81
85
|
label: inputFieldLabel
|
|
82
86
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../src/components/SelectDate/Target.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAO,sBAAsB,EAAc,MAAM,OAAO,CAAC;AAmBvE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../src/components/SelectDate/Target.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAO,sBAAsB,EAAc,MAAM,OAAO,CAAC;AAmBvE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAkHjE,QAAA,MAAM,uBAAuB,EAAE,sBAAsB,CACnD,cAAc,EACd,sBAAsB,CACQ,CAAC;AAGjC,eAAe,uBAAuB,CAAC"}
|
|
@@ -56,7 +56,8 @@ var TargetButton = (0, _styledComponents.default)(_BaseButton.default).withConfi
|
|
|
56
56
|
})(["background:transparent;border:transparent;cursor:inherit;font-size:", ";font-weight:", ";height:24px;line-height:140%;margin-right:", "px;overflow:hidden;padding:0;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;&:active,&:focus{outline:none;}"], (0, _rem.default)(_typography.default.size.alias.default), _typography.default.weight.alias.medium, _spacing.default.base * 0.5);
|
|
57
57
|
var ExpandedIndicatorContainer = (0, _styledComponents.default)(_Flex.default).attrs({
|
|
58
58
|
alignItems: 'center',
|
|
59
|
-
|
|
59
|
+
paddingLeft: 0.7,
|
|
60
|
+
paddingRight: 1
|
|
60
61
|
}).withConfig({
|
|
61
62
|
displayName: "Target__ExpandedIndicatorContainer",
|
|
62
63
|
componentId: "ks9oxf-2"
|
|
@@ -78,6 +79,9 @@ function SelectDateTarget(_ref, ref) {
|
|
|
78
79
|
type: "button",
|
|
79
80
|
ref: ref
|
|
80
81
|
}), children), hasClearButton && !readOnly && _react.default.createElement(_Button.default, {
|
|
82
|
+
style: {
|
|
83
|
+
padding: 0
|
|
84
|
+
},
|
|
81
85
|
"aria-label": translate(clearButtonLabel, 'selectDate.clearButtonLabel', {
|
|
82
86
|
label: inputFieldLabel
|
|
83
87
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decisiv/ui-components",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.150+c4256d9",
|
|
4
4
|
"description": "Decisiv's design system React components",
|
|
5
5
|
"author": "Decisiv UI Development Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
73
|
"private": false,
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "c4256d982a897c2f5877b05d6ed5c9863a64ef05"
|
|
75
75
|
}
|