odaptos_design_system 2.0.352 → 2.0.354

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/dist/index.cjs CHANGED
@@ -16555,9 +16555,9 @@ var v$7 = "5.5.5";
16555
16555
  var fr$10 = 25;
16556
16556
  var ip$7 = 0;
16557
16557
  var op$7 = 75;
16558
- var w$7 = 120;
16559
- var h$7 = 120;
16560
- var nm$7 = "Loading-2-cropped";
16558
+ var w$7 = 16;
16559
+ var h$7 = 16;
16560
+ var nm$7 = "Loading-2-1rem";
16561
16561
  var ddd$7 = 0;
16562
16562
  var assets$7 = [];
16563
16563
  var layers$7 = [{
@@ -16594,8 +16594,8 @@ var layers$7 = [{
16594
16594
  "p": {
16595
16595
  "a": 0,
16596
16596
  "k": [
16597
- 60,
16598
- 60,
16597
+ 8,
16598
+ 8,
16599
16599
  0
16600
16600
  ],
16601
16601
  "ix": 2
@@ -16612,8 +16612,8 @@ var layers$7 = [{
16612
16612
  "s": {
16613
16613
  "a": 0,
16614
16614
  "k": [
16615
- 160,
16616
- 160,
16615
+ 22,
16616
+ 22,
16617
16617
  100
16618
16618
  ],
16619
16619
  "ix": 6
@@ -16822,8 +16822,8 @@ var layers$7 = [{
16822
16822
  "p": {
16823
16823
  "a": 0,
16824
16824
  "k": [
16825
- 60,
16826
- 60,
16825
+ 8,
16826
+ 8,
16827
16827
  0
16828
16828
  ],
16829
16829
  "ix": 2
@@ -16840,8 +16840,8 @@ var layers$7 = [{
16840
16840
  "s": {
16841
16841
  "a": 0,
16842
16842
  "k": [
16843
- 160,
16844
- 160,
16843
+ 22,
16844
+ 22,
16845
16845
  100
16846
16846
  ],
16847
16847
  "ix": 6
@@ -17768,7 +17768,7 @@ const Switch = ({ id, label, labelWeight = "bold", rightLabel, checked, disabled
17768
17768
 
17769
17769
  //#endregion
17770
17770
  //#region src/Atoms/Tag/Tag.modules.scss
17771
- var css_248z$66 = ".Tag-modules_tag__sYiD6{align-items:center;border-radius:.25rem;display:flex;gap:.25rem;padding:0 .375rem;width:-moz-fit-content;width:fit-content}.Tag-modules_tag__sYiD6 p{padding:0!important;white-space:nowrap}.Tag-modules_tag_ellipsis__-WHk-{align-items:center;border-radius:.25rem;display:flex;gap:.25rem;padding:0 .375rem;width:-moz-fit-content;width:fit-content}.Tag-modules_tag_ellipsis__-WHk- p{max-width:95%;overflow:hidden;padding:0!important;text-overflow:ellipsis;white-space:nowrap!important;width:100%}.Tag-modules_tag_idle__ym-G7{background:var(--color-neutral-dark-shades-600,#717376)}.Tag-modules_tag_idle__ym-G7 svg{fill:#fff!important;stroke:#fff!important}.Tag-modules_tag_info__Q6-WL{background:var(--color-primary-100,#e5f1ff)}.Tag-modules_tag_info__Q6-WL svg{fill:#004799!important;stroke:#004799!important}.Tag-modules_tag_violet__CgNel{background:var(--Color-Extended-Purple-100,#e9d3fd)}.Tag-modules_tag_violet__CgNel svg{fill:#5c1994!important;stroke:#5c1994!important}.Tag-modules_tag_light__RqIr6{background:var(--Color-Neutral-Clear-Shades-150,#eee)}.Tag-modules_tag_light__RqIr6 svg{fill:#32353a!important;stroke:#32353a!important}.Tag-modules_tag_success__yANfh{background:var(--color-extended-green-100,#e8f5ea)}.Tag-modules_tag_success__yANfh svg{fill:#3c743d!important;stroke:#3c743d!important}.Tag-modules_tag_warning__C-O5t{background:var(--color-extended-yellow-100,#fff3d6)}.Tag-modules_tag_warning__C-O5t svg{fill:#6e4f00!important;stroke:#6e4f00!important}.Tag-modules_tag_critical__v79so{background:var(--color-extended-red-100,#fddbdb)}.Tag-modules_tag_critical__v79so svg{fill:#98312e!important;stroke:#98312e!important}.Tag-modules_tag_sm__KQwsr{height:1.25rem}.Tag-modules_tag_sm__KQwsr svg{height:.75rem;width:.75rem}.Tag-modules_tag_base__omYEM{height:1.75rem}.Tag-modules_tag_base__omYEM svg{height:1rem;width:1rem}.Tag-modules_tag_lg__E0lbY{height:2.25rem;padding:.25rem .75rem!important}.Tag-modules_tag_lg__E0lbY svg{height:1.5rem;width:1.5rem}.Tag-modules_canBeRemoved__ei-3U svg{cursor:pointer}";
17771
+ var css_248z$66 = ".Tag-modules_tag__sYiD6{align-items:center;border-radius:.25rem;display:flex;gap:.25rem;padding:0 .375rem;width:-moz-fit-content;width:fit-content}.Tag-modules_tag__sYiD6 p{padding:0!important;white-space:nowrap}.Tag-modules_tag_ellipsis__-WHk-{align-items:center;border-radius:.25rem;display:flex;gap:.25rem;padding:0 .375rem;width:-moz-fit-content;width:fit-content}.Tag-modules_tag_ellipsis__-WHk- p{max-width:95%;overflow:hidden;padding:0!important;text-overflow:ellipsis;white-space:nowrap!important;width:100%}.Tag-modules_tag_idle__ym-G7{background:var(--color-neutral-dark-shades-600,#717376)}.Tag-modules_tag_idle__ym-G7 svg{fill:#fff!important;stroke:#fff!important}.Tag-modules_tag_info__Q6-WL{background:var(--color-primary-100,#e5f1ff)}.Tag-modules_tag_info__Q6-WL svg{fill:#004799!important;stroke:#004799!important}.Tag-modules_tag_violet__CgNel{background:var(--Color-Extended-Purple-100,#e9d3fd)}.Tag-modules_tag_violet__CgNel svg{fill:#5c1994!important;stroke:#5c1994!important}.Tag-modules_tag_light__RqIr6{background:var(--Color-Neutral-Clear-Shades-150,#eee)}.Tag-modules_tag_light__RqIr6 svg{fill:#32353a!important;stroke:#32353a!important}.Tag-modules_tag_success__yANfh{background:var(--color-extended-green-100,#e8f5ea)}.Tag-modules_tag_success__yANfh svg{fill:#3c743d!important;stroke:#3c743d!important}.Tag-modules_tag_warning__C-O5t{background:var(--color-extended-yellow-100,#fff3d6)}.Tag-modules_tag_warning__C-O5t svg{fill:#6e4f00!important;stroke:#6e4f00!important}.Tag-modules_tag_critical__v79so{background:var(--color-extended-red-100,#fddbdb)}.Tag-modules_tag_critical__v79so svg{fill:#98312e!important;stroke:#98312e!important}.Tag-modules_tag_sm__KQwsr{height:1.25rem}.Tag-modules_tag_sm__KQwsr svg{height:.75rem;width:.75rem}.Tag-modules_tag_base__omYEM{height:1.75rem}.Tag-modules_tag_base__omYEM svg{height:1rem;width:1rem}.Tag-modules_tag_lg__E0lbY{gap:.5rem;height:2.25rem;padding:.25rem .75rem!important}.Tag-modules_tag_lg__E0lbY svg{height:1.5rem;width:1.5rem}.Tag-modules_tag_xl__vljwh{gap:.5rem;height:3rem;padding:.25rem .75rem!important}.Tag-modules_tag_xl__vljwh svg{height:2rem;width:2rem}.Tag-modules_canBeRemoved__ei-3U svg{cursor:pointer}";
17772
17772
  var Tag_modules_default = {
17773
17773
  "tag": "Tag-modules_tag__sYiD6",
17774
17774
  "tag_ellipsis": "Tag-modules_tag_ellipsis__-WHk-",
@@ -17782,6 +17782,7 @@ var Tag_modules_default = {
17782
17782
  "tag_sm": "Tag-modules_tag_sm__KQwsr",
17783
17783
  "tag_base": "Tag-modules_tag_base__omYEM",
17784
17784
  "tag_lg": "Tag-modules_tag_lg__E0lbY",
17785
+ "tag_xl": "Tag-modules_tag_xl__vljwh",
17785
17786
  "canBeRemoved": "Tag-modules_canBeRemoved__ei-3U"
17786
17787
  };
17787
17788
  style_inject_es_default(css_248z$66);
@@ -17818,12 +17819,14 @@ const Tag = ({ text, id, status = "idle", size = "base", iconLeft, iconRight, am
17818
17819
  if (size === "sm") return Tag_modules_default.tag_sm;
17819
17820
  else if (size === "base") return Tag_modules_default.tag_base;
17820
17821
  else if (size === "lg") return Tag_modules_default.tag_lg;
17822
+ else if (size === "xl") return Tag_modules_default.tag_xl;
17821
17823
  else return Tag_modules_default.tag_base;
17822
17824
  };
17823
17825
  const getTextSize = () => {
17824
17826
  if (size === "sm") return "xs";
17825
17827
  else if (size === "base") return "sm";
17826
17828
  else if (size === "lg") return "base";
17829
+ else if (size === "xl") return "xl";
17827
17830
  else return "base";
17828
17831
  };
17829
17832
  const [isEllipsisActive, setIsEllipsisActive] = (0, react.useState)(false);