@speakapbv/dough-component-library 9.9.0 → 9.10.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.
@@ -6,6 +6,7 @@ export interface TagProps {
6
6
  children?: ReactNode;
7
7
  dataAttributes?: DoughDataAttributes;
8
8
  color?: Colors;
9
+ big?: boolean;
9
10
  onRemove?(): void;
10
11
  }
11
12
  export declare const Tag: {
package/dist/index.es.js CHANGED
@@ -2895,7 +2895,7 @@ var css_248z$k = "/* COLORS */\n/* Typography*/\n/*Dennis should provide medium
2895
2895
  styleInject(css_248z$k);
2896
2896
 
2897
2897
  var Tag = function (props) { return (React.createElement("div", __assign({ className: cn("dough-tag-item", props.color ? props.color : Colors.HEADER, props.className) }, props.dataAttributes),
2898
- React.createElement(Text, { tiny: true, bold: true }, props.children),
2898
+ React.createElement(Text, { tiny: !props.big, bold: true }, props.children),
2899
2899
  props.onRemove && (React.createElement(Button, { padding: false, color: Colors.TRANSPARENT, icon: React.createElement(CloseIcon, null), onClick: function (e) {
2900
2900
  cancelEvent(e);
2901
2901
  if (typeof props.onRemove === "function") {
package/dist/index.js CHANGED
@@ -2880,7 +2880,7 @@ var css_248z$k = "/* COLORS */\n/* Typography*/\n/*Dennis should provide medium
2880
2880
  styleInject(css_248z$k);
2881
2881
 
2882
2882
  var Tag = function (props) { return (React__default.createElement("div", __assign({ className: cn("dough-tag-item", props.color ? props.color : exports.Colors.HEADER, props.className) }, props.dataAttributes),
2883
- React__default.createElement(Text, { tiny: true, bold: true }, props.children),
2883
+ React__default.createElement(Text, { tiny: !props.big, bold: true }, props.children),
2884
2884
  props.onRemove && (React__default.createElement(Button, { padding: false, color: exports.Colors.TRANSPARENT, icon: React__default.createElement(CloseIcon, null), onClick: function (e) {
2885
2885
  cancelEvent(e);
2886
2886
  if (typeof props.onRemove === "function") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakapbv/dough-component-library",
3
- "version": "9.9.0",
3
+ "version": "9.10.0",
4
4
  "description": "DOUGH: Speakap React Component Library",
5
5
  "author": "Speakap",
6
6
  "license": "MIT",