oa-componentbook 0.18.24 → 0.18.26

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.
@@ -71,15 +71,14 @@ function CustomDatePicker(_ref) {
71
71
  colorBgContainerDisabled: _ColorVariablesMap.default['--color-divider'],
72
72
  colorBorder: _ColorVariablesMap.default['--color-placeholder-text'],
73
73
  // border color of input text field
74
- colorTextDisabled: _ColorVariablesMap.default['--color-secondary-content'],
74
+ colorTextDisabled: _ColorVariablesMap.default['--color-placeholder-text'],
75
75
  // Color of disabled text.
76
76
  colorTextPlaceholder: _ColorVariablesMap.default['--color-placeholder-text'],
77
77
  // Color of placeholder text
78
- colorTextQuaternary: _ColorVariablesMap.default['--color-secondary-content'],
78
+ colorTextQuaternary: _ColorVariablesMap.default['--color-placeholder-text'],
79
79
  // color of disabled calendar icon
80
80
  colorText: _ColorVariablesMap.default['--color-primary-content'],
81
81
  // Text color
82
-
83
82
  colorIcon: _ColorVariablesMap.default['--color-primary'],
84
83
  // Color of arrows icons beside month and year in datepicker
85
84
  colorIconHover: _ColorVariablesMap.default['--color-primary-hover'],
@@ -8,6 +8,6 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _templateObject, _templateObject2, _templateObject3;
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
11
- const ButtonContainer = exports.ButtonContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n gap: 20px;\n justify-content: flex-end;\n"])));
12
- const DescriptionContainer = exports.DescriptionContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin: 12px 0 24px 0;\n"])));
13
- const TitleContainer = exports.TitleContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n gap: 16px;\n flex-direction: column;\n\n img {\n height: 36px;\n width: 36px;\n }\n"])));
11
+ const ButtonContainer = exports.ButtonContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n gap: 16px;\n justify-content: flex-end;\n margin: 24px 0 0;\n"])));
12
+ const DescriptionContainer = exports.DescriptionContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding: 12px 0 0;\n"])));
13
+ const TitleContainer = exports.TitleContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n gap: 16px;\n flex-direction: column;\n margin: 0 0 16px;\n\n img {\n height: 36px;\n width: 36px;\n }\n"])));
@@ -37,5 +37,5 @@ const getColorStyles = type => {
37
37
  };
38
38
  };
39
39
  var _default = exports.default = {};
40
- const StyledTag = exports.StyledTag = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-block;\n \n padding: 4px 12px;\n \n color: ", ";\n \n background-color: ", ";\n\n border: 1px solid ", ";\n border-radius: 4px;\n \n visibility: ", ";\n"])), props => getColorStyles(props.type).textColor, props => getColorStyles(props.type).backgroundColor, props => getColorStyles(props.type).borderColor, props => props.visible ? 'visible' : 'hidden');
40
+ const StyledTag = exports.StyledTag = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-block;\n height: 24px;\n padding: 0px 12px;\n \n color: ", ";\n \n background-color: ", ";\n\n border: 1px solid ", ";\n border-radius: 4px;\n \n visibility: ", ";\n"])), props => getColorStyles(props.type).textColor, props => getColorStyles(props.type).backgroundColor, props => getColorStyles(props.type).borderColor, props => props.visible ? 'visible' : 'hidden');
41
41
  const CenteredTextContainer = exports.CenteredTextContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n"])));
@@ -48,10 +48,10 @@ function CustomTimePicker(_ref) {
48
48
  // border color of input text field
49
49
  colorText: _ColorVariablesMap.default['--color-primary-content'],
50
50
  // Text color
51
- colorTextDisabled: _ColorVariablesMap.default['--color-secondary-content'],
51
+ colorTextDisabled: _ColorVariablesMap.default['--color-placeholder-text'],
52
52
  // Text color when disabled
53
53
  colorTextPlaceholder: _ColorVariablesMap.default['--color-placeholder-text'],
54
- colorTextQuaternary: _ColorVariablesMap.default['--color-secondary-content'],
54
+ colorTextQuaternary: _ColorVariablesMap.default['--color-placeholder-text'],
55
55
  // color of disabled clock icon
56
56
 
57
57
  colorLink: _ColorVariablesMap.default['--color-primary'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oa-componentbook",
3
- "version": "0.18.24",
3
+ "version": "0.18.26",
4
4
  "private": false,
5
5
  "description": "Reusable components",
6
6
  "main": "build/index.js",