@algolia/satellite 1.0.0-beta.118 → 1.0.0-beta.119

Sign up to get free protection for your applications and to get access to all the features.
@@ -144,7 +144,7 @@ var Dropdown = function Dropdown(_ref) {
144
144
  }), /*#__PURE__*/_react["default"].createElement(_Card["default"], {
145
145
  fullBleed: true,
146
146
  elevation: "300",
147
- className: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["flex flex-col py-1"])))
147
+ className: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["flex flex-col py-1 text-grey-900"])))
148
148
  }, children, footer ? /*#__PURE__*/_react["default"].createElement(_DropdownFooterItem["default"], null, footer) : null))), document.body)));
149
149
  };
150
150
 
@@ -66,7 +66,7 @@ var DropdownCollapsibleItem = function DropdownCollapsibleItem(_ref) {
66
66
  className: (0, _satellitePrefixer["default"])(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["text-grey-500"]))),
67
67
  size: "1.25em"
68
68
  })), isExpanded && /*#__PURE__*/_react["default"].createElement("div", {
69
- className: (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["bg-grey-50 border-l-2 border-grey-300"])))
69
+ className: (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["bg-grey-50 border-l-2 border-grey-300 typo-subdued"])))
70
70
  }, children));
71
71
  };
72
72
 
@@ -21,7 +21,7 @@ var useDropdownItemProps = function useDropdownItemProps(props) {
21
21
  var _useDropdownContext = (0, _DropdownContext.useDropdownContext)(),
22
22
  showMenu = _useDropdownContext.showMenu;
23
23
 
24
- var className = (0, _classnames["default"])((0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n flex items-center\n min-h-10 px-4 text-left\n focus:no-underline hover:no-underline\n ", "\n "])), props.disabled ? "text-grey-300 cursor-not-allowed" : "text-grey-900 hover:bg-grey-100 focus:bg-grey-100 focus:outline-none cursor-pointer"), props.className);
24
+ var className = (0, _classnames["default"])((0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n flex items-center\n min-h-10 px-4 text-left\n focus:no-underline hover:no-underline\n ", "\n "])), props.disabled ? "text-grey-300 cursor-not-allowed" : "text-inherit hover:bg-grey-100 focus:bg-grey-100 focus:outline-none cursor-pointer"), props.className);
25
25
  return {
26
26
  className: className,
27
27
  onClick: props.disabled ? function (evt) {
@@ -108,7 +108,7 @@ export var Dropdown = function Dropdown(_ref) {
108
108
  }), /*#__PURE__*/React.createElement(Card, {
109
109
  fullBleed: true,
110
110
  elevation: "300",
111
- className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["flex flex-col py-1"])))
111
+ className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["flex flex-col py-1 text-grey-900"])))
112
112
  }, children, footer ? /*#__PURE__*/React.createElement(DropdownFooterItem, null, footer) : null))), document.body)));
113
113
  };
114
114
  Dropdown.ButtonItem = DropdownButtonItem;
@@ -45,7 +45,7 @@ export var DropdownCollapsibleItem = function DropdownCollapsibleItem(_ref) {
45
45
  className: stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["text-grey-500"]))),
46
46
  size: "1.25em"
47
47
  })), isExpanded && /*#__PURE__*/React.createElement("div", {
48
- className: stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["bg-grey-50 border-l-2 border-grey-300"])))
48
+ className: stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["bg-grey-50 border-l-2 border-grey-300 typo-subdued"])))
49
49
  }, children));
50
50
  };
51
51
  export default DropdownCollapsibleItem;
@@ -9,7 +9,7 @@ export var useDropdownItemProps = function useDropdownItemProps(props) {
9
9
  var _useDropdownContext = useDropdownContext(),
10
10
  showMenu = _useDropdownContext.showMenu;
11
11
 
12
- var className = cx(stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n flex items-center\n min-h-10 px-4 text-left\n focus:no-underline hover:no-underline\n ", "\n "])), props.disabled ? "text-grey-300 cursor-not-allowed" : "text-grey-900 hover:bg-grey-100 focus:bg-grey-100 focus:outline-none cursor-pointer"), props.className);
12
+ var className = cx(stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n flex items-center\n min-h-10 px-4 text-left\n focus:no-underline hover:no-underline\n ", "\n "])), props.disabled ? "text-grey-300 cursor-not-allowed" : "text-inherit hover:bg-grey-100 focus:bg-grey-100 focus:outline-none cursor-pointer"), props.className);
13
13
  return {
14
14
  className: className,
15
15
  onClick: props.disabled ? function (evt) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/satellite",
3
- "version": "1.0.0-beta.118",
3
+ "version": "1.0.0-beta.119",
4
4
  "description": "Algolia design system React components",
5
5
  "scripts": {
6
6
  "clean": "del dist",