odaptos_design_system 1.4.246 → 1.4.248

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.
@@ -2,8 +2,6 @@ import React from 'react';
2
2
  export interface MarkUpBarProps {
3
3
  className?: string;
4
4
  onClick: (code: string) => void;
5
+ disabled?: boolean;
5
6
  }
6
- /**
7
- * TODO : Be sure that we want to keep the 'QWERTY' selection system
8
- */
9
- export declare const MarkUpBar: ({ className, onClick, ...props }: MarkUpBarProps) => React.JSX.Element;
7
+ export declare const MarkUpBar: ({ className, onClick, disabled, ...props }: MarkUpBarProps) => React.JSX.Element;
@@ -4850,19 +4850,22 @@ function MenuVerticalIcon({
4850
4850
  cy: "4",
4851
4851
  r: "2",
4852
4852
  transform: "rotate(90 12 4)",
4853
- fill: fill
4853
+ fill: fill,
4854
+ stroke: stroke
4854
4855
  }), /*#__PURE__*/React__default.createElement("circle", {
4855
4856
  cx: "12",
4856
4857
  cy: "12",
4857
4858
  r: "2",
4858
4859
  transform: "rotate(90 12 12)",
4859
- fill: fill
4860
+ fill: fill,
4861
+ stroke: stroke
4860
4862
  }), /*#__PURE__*/React__default.createElement("circle", {
4861
4863
  cx: "12",
4862
4864
  cy: "20",
4863
4865
  r: "2",
4864
4866
  transform: "rotate(90 12 20)",
4865
- fill: fill
4867
+ fill: fill,
4868
+ stroke: stroke
4866
4869
  })));
4867
4870
  }
4868
4871
 
@@ -10290,12 +10293,10 @@ var css_248z$n = ".MarkUpBar-modules_markup_bar__hT-fM{align-items:flex-start;di
10290
10293
  var styles$n = {"markup_bar":"MarkUpBar-modules_markup_bar__hT-fM","smiley_list":"MarkUpBar-modules_smiley_list__jP7KL","smiley_btn":"MarkUpBar-modules_smiley_btn__23W8U"};
10291
10294
  styleInject(css_248z$n);
10292
10295
 
10293
- /**
10294
- * TODO : Be sure that we want to keep the 'QWERTY' selection system
10295
- */
10296
10296
  const MarkUpBar = ({
10297
10297
  className,
10298
10298
  onClick,
10299
+ disabled,
10299
10300
  ...props
10300
10301
  }) => {
10301
10302
  return /*#__PURE__*/React__default.createElement("div", Object.assign({
@@ -10304,18 +10305,23 @@ const MarkUpBar = ({
10304
10305
  className: styles$n.smiley_list
10305
10306
  }, /*#__PURE__*/React__default.createElement("button", {
10306
10307
  className: styles$n.smiley_btn,
10308
+ disabled: disabled,
10307
10309
  onClick: () => onClick('Q')
10308
10310
  }, "\uD83D\uDE0D"), /*#__PURE__*/React__default.createElement("button", {
10309
10311
  className: styles$n.smiley_btn,
10312
+ disabled: disabled,
10310
10313
  onClick: () => onClick('W')
10311
10314
  }, "\uD83D\uDE2E"), /*#__PURE__*/React__default.createElement("button", {
10312
10315
  className: styles$n.smiley_btn,
10316
+ disabled: disabled,
10313
10317
  onClick: () => onClick('E')
10314
10318
  }, "\uD83D\uDE21"), /*#__PURE__*/React__default.createElement("button", {
10315
10319
  className: styles$n.smiley_btn,
10320
+ disabled: disabled,
10316
10321
  onClick: () => onClick('R')
10317
10322
  }, "\uD83D\uDC4D\uD83C\uDFFC"), /*#__PURE__*/React__default.createElement("button", {
10318
10323
  className: styles$n.smiley_btn,
10324
+ disabled: disabled,
10319
10325
  onClick: () => onClick('T')
10320
10326
  }, "\uD83D\uDC4E\uD83C\uDFFC")));
10321
10327
  };
@@ -13301,8 +13307,8 @@ const Textarea = ({
13301
13307
  })));
13302
13308
  };
13303
13309
 
13304
- var css_248z$S = ".Thematic-modules_thematic__2tMJ4{border:1px dashed;border-radius:.5rem;display:flex;flex-direction:column;gap:1.5rem;padding:1rem}.Thematic-modules_thematic__header__T0fSS{display:flex;justify-content:space-between}.Thematic-modules_thematic__2tMJ4 .Thematic-modules_tagsContainer__9u2dr{display:flex;flex-wrap:wrap;gap:.5rem}.Thematic-modules_thematic__2tMJ4 .Thematic-modules_tagsContainer__9u2dr .Thematic-modules_tag__sXUS8{cursor:pointer}.Thematic-modules_thematicPopover__31kBQ .Thematic-modules_dropdown__o2IzB{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;padding:.5rem}.Thematic-modules_thematicPopover__31kBQ .Thematic-modules_dropdown__o2IzB .Thematic-modules_item__a0v-e{align-items:center;align-self:stretch;border-radius:.25rem;cursor:pointer;display:flex;flex:1 0 0;gap:.5rem;height:3rem;padding:.5rem .75rem}.Thematic-modules_thematicPopover__31kBQ .Thematic-modules_dropdown__o2IzB .Thematic-modules_item__a0v-e:hover{background-color:#eee}";
13305
- var styles$S = {"thematic":"Thematic-modules_thematic__2tMJ4","thematic__header":"Thematic-modules_thematic__header__T0fSS","tagsContainer":"Thematic-modules_tagsContainer__9u2dr","tag":"Thematic-modules_tag__sXUS8","thematicPopover":"Thematic-modules_thematicPopover__31kBQ","dropdown":"Thematic-modules_dropdown__o2IzB","item":"Thematic-modules_item__a0v-e"};
13310
+ var css_248z$S = ".Thematic-modules_thematic__2tMJ4{border:1px dashed;border-radius:.5rem;display:flex;flex-direction:column;gap:1.5rem;padding:1rem}.Thematic-modules_thematic__header__T0fSS{display:flex;justify-content:space-between}.Thematic-modules_thematic__2tMJ4 .Thematic-modules_tagsContainer__9u2dr{display:flex;flex-wrap:wrap;gap:.5rem}.Thematic-modules_thematic__2tMJ4 .Thematic-modules_tagsContainer__9u2dr .Thematic-modules_tag__sXUS8{cursor:pointer}.Thematic-modules_thematic__2tMJ4 .Thematic-modules_tagsContainer__9u2dr .Thematic-modules_overflow_tag__VpRL6 p{overflow:unset;text-overflow:unset}.Thematic-modules_thematicPopover__31kBQ .Thematic-modules_dropdown__o2IzB{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;padding:.5rem}.Thematic-modules_thematicPopover__31kBQ .Thematic-modules_dropdown__o2IzB .Thematic-modules_item__a0v-e{align-items:center;align-self:stretch;border-radius:.25rem;cursor:pointer;display:flex;flex:1 0 0;gap:.5rem;height:3rem;padding:.5rem .75rem}.Thematic-modules_thematicPopover__31kBQ .Thematic-modules_dropdown__o2IzB .Thematic-modules_item__a0v-e:hover{background-color:#eee}";
13311
+ var styles$S = {"thematic":"Thematic-modules_thematic__2tMJ4","thematic__header":"Thematic-modules_thematic__header__T0fSS","tagsContainer":"Thematic-modules_tagsContainer__9u2dr","tag":"Thematic-modules_tag__sXUS8","overflow_tag":"Thematic-modules_overflow_tag__VpRL6","thematicPopover":"Thematic-modules_thematicPopover__31kBQ","dropdown":"Thematic-modules_dropdown__o2IzB","item":"Thematic-modules_item__a0v-e"};
13306
13312
  styleInject(css_248z$S);
13307
13313
 
13308
13314
  const Thematic = ({
@@ -13401,7 +13407,8 @@ const Thematic = ({
13401
13407
  text: tag.name,
13402
13408
  customColor: tag.color,
13403
13409
  size: "base",
13404
- amountNumber: tag.amount
13410
+ amountNumber: tag.amount,
13411
+ className: styles$S.overflow_tag
13405
13412
  })))));
13406
13413
  };
13407
13414