@davincihealthcare/elty-design-system-vue 1.64.3 → 2.0.1

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.
@@ -1,41 +1,43 @@
1
1
  import { ElIconProps } from './ElIcon.vue';
2
2
 
3
- export declare const elTagColors: readonly ["primary", "rose", "pink", "purple", "indigo", "blue", "cyan", "gray", "teal", "green", "yellow", "orange", "red"];
3
+ export declare const elTagColors: readonly ["brand-blue", "rose", "pink", "purple", "indigo", "blue", "cyan", "gray", "brand-green", "green", "yellow", "orange", "red"];
4
4
  export type ElTagColor = (typeof elTagColors)[number];
5
5
  export declare const elTagSizes: readonly ["xxs", "xs"];
6
6
  export type ElTagSize = (typeof elTagSizes)[number];
7
+ export declare const elTagAppearance: readonly ["filled", "outlined"];
8
+ export type ElTagAppearance = (typeof elTagAppearance)[number];
7
9
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
10
  text: string;
9
11
  color?: ElTagColor;
10
12
  size?: ElTagSize;
11
- outlined?: boolean;
13
+ appearance?: ElTagAppearance;
12
14
  leadingIcon?: ElIconProps;
13
15
  trailingIcon?: ElIconProps;
14
16
  }>, {
15
17
  color: string;
16
18
  size: string;
17
- outlined: boolean;
19
+ appearance: string;
18
20
  leadingIcon: undefined;
19
21
  trailingIcon: undefined;
20
22
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
21
23
  text: string;
22
24
  color?: ElTagColor;
23
25
  size?: ElTagSize;
24
- outlined?: boolean;
26
+ appearance?: ElTagAppearance;
25
27
  leadingIcon?: ElIconProps;
26
28
  trailingIcon?: ElIconProps;
27
29
  }>, {
28
30
  color: string;
29
31
  size: string;
30
- outlined: boolean;
32
+ appearance: string;
31
33
  leadingIcon: undefined;
32
34
  trailingIcon: undefined;
33
35
  }>>>, {
34
36
  color: ElTagColor;
35
37
  size: ElTagSize;
38
+ appearance: ElTagAppearance;
36
39
  leadingIcon: ElIconProps;
37
40
  trailingIcon: ElIconProps;
38
- outlined: boolean;
39
41
  }, {}>;
40
42
  export default _default;
41
43
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
package/dist/index.js CHANGED
@@ -23447,7 +23447,7 @@ const aB = () => {
23447
23447
  key: 1,
23448
23448
  class: "text-xs"
23449
23449
  }, wP = [
23450
- "primary",
23450
+ "brand-blue",
23451
23451
  "rose",
23452
23452
  "pink",
23453
23453
  "purple",
@@ -23455,18 +23455,18 @@ const aB = () => {
23455
23455
  "blue",
23456
23456
  "cyan",
23457
23457
  "gray",
23458
- "teal",
23458
+ "brand-green",
23459
23459
  "green",
23460
23460
  "yellow",
23461
23461
  "orange",
23462
23462
  "red"
23463
- ], DP = ["xxs", "xs"], ya = /* @__PURE__ */ Te({
23463
+ ], DP = ["xxs", "xs"], gP = ["filled", "outlined"], ya = /* @__PURE__ */ Te({
23464
23464
  __name: "ElTag",
23465
23465
  props: {
23466
23466
  text: {},
23467
- color: { default: "primary" },
23467
+ color: { default: "brand-blue" },
23468
23468
  size: { default: "xxs" },
23469
- outlined: { type: Boolean, default: !1 },
23469
+ appearance: { default: "filled" },
23470
23470
  leadingIcon: { default: void 0 },
23471
23471
  trailingIcon: { default: void 0 }
23472
23472
  },
@@ -23487,8 +23487,8 @@ const aB = () => {
23487
23487
  return "bg-cyan-50 text-cyan-700";
23488
23488
  case "gray":
23489
23489
  return "bg-gray-100 text-neutral-darker";
23490
- case "teal":
23491
- return "bg-teal-50 text-teal-700";
23490
+ case "brand-green":
23491
+ return "bg-brandGreen-100 text-brandGreen-700";
23492
23492
  case "green":
23493
23493
  return "bg-green-50 text-green-700";
23494
23494
  case "yellow":
@@ -23497,9 +23497,9 @@ const aB = () => {
23497
23497
  return "bg-orange-50 text-orange-700";
23498
23498
  case "red":
23499
23499
  return "bg-red-50 text-red-700";
23500
- case "primary":
23500
+ case "brand-blue":
23501
23501
  default:
23502
- return "bg-brandBlue-100 text-brandBlue-800";
23502
+ return "bg-brandBlue-200 text-brandBlue-800";
23503
23503
  }
23504
23504
  }), A = te(() => {
23505
23505
  switch (e.color) {
@@ -23517,8 +23517,8 @@ const aB = () => {
23517
23517
  return "text-cyan-500 border border-cyan-500";
23518
23518
  case "gray":
23519
23519
  return "text-neutral-lighter border border-gray-500";
23520
- case "teal":
23521
- return "text-teal-500 border border-teal-500";
23520
+ case "brand-green":
23521
+ return "text-brandGreen-700 border border-brandGreen-500";
23522
23522
  case "green":
23523
23523
  return "text-green-500 border border-green-500";
23524
23524
  case "yellow":
@@ -23527,7 +23527,7 @@ const aB = () => {
23527
23527
  return "text-orange-500 border border-orange-500";
23528
23528
  case "red":
23529
23529
  return "text-red-500 border border-red-500";
23530
- case "primary":
23530
+ case "brand-blue":
23531
23531
  default:
23532
23532
  return "text-brandBlue-800 border border-brandBlue-800";
23533
23533
  }
@@ -23538,7 +23538,7 @@ const aB = () => {
23538
23538
  "h-5 px-2": o.size === "xxs",
23539
23539
  "h-6 px-3": o.size === "xs"
23540
23540
  },
23541
- o.outlined ? A.value : r.value
23541
+ o.appearance === "outlined" ? A.value : r.value
23542
23542
  ]])
23543
23543
  }, [
23544
23544
  o.leadingIcon ? (I(), Ae(Qe, {
@@ -23572,7 +23572,7 @@ const aB = () => {
23572
23572
  }, null, -1), dG = [
23573
23573
  cG,
23574
23574
  uG
23575
- ], NG = { key: 0 }, gP = ["normal", "larger"], N5 = /* @__PURE__ */ Te({
23575
+ ], NG = { key: 0 }, PP = ["normal", "larger"], N5 = /* @__PURE__ */ Te({
23576
23576
  __name: "ElSpinner",
23577
23577
  props: {
23578
23578
  label: { default: "" },
@@ -23600,7 +23600,7 @@ const aB = () => {
23600
23600
  }), CG = { class: "flex flex-row items-start gap-x-2 flex-grow basis-64" }, LG = { class: "text-sm flex flex-col flex-grow mt-0.5" }, RG = {
23601
23601
  key: 0,
23602
23602
  class: "font-semibold min-h-6"
23603
- }, SG = { key: 1 }, PP = ["error", "warning", "info"], ZP = /* @__PURE__ */ Te({
23603
+ }, SG = { key: 1 }, ZP = ["error", "warning", "info"], FP = /* @__PURE__ */ Te({
23604
23604
  __name: "ElInlineBanner",
23605
23605
  props: {
23606
23606
  status: { default: "info" },
@@ -23665,7 +23665,7 @@ const aB = () => {
23665
23665
  hG
23666
23666
  ], vG = /* @__PURE__ */ O("path", { d: "M10 5.5C7.24 5.5 5 7.74 5 10.5C5 13.26 7.24 15.5 10 15.5C12.76 15.5 15 13.26 15 10.5C15 7.74 12.76 5.5 10 5.5ZM10 0.5C4.48 0.5 0 4.98 0 10.5C0 16.02 4.48 20.5 10 20.5C15.52 20.5 20 16.02 20 10.5C20 4.98 15.52 0.5 10 0.5ZM10 18.5C5.58 18.5 2 14.92 2 10.5C2 6.08 5.58 2.5 10 2.5C14.42 2.5 18 6.08 18 10.5C18 14.92 14.42 18.5 10 18.5Z" }, null, -1), pG = [
23667
23667
  vG
23668
- ], FP = ["xs", "xxs"], xP = ["primary", "secondary", "inactive"], Un = Hr(), UP = /* @__PURE__ */ Te({
23668
+ ], xP = ["xs", "xxs"], UP = ["primary", "secondary", "inactive"], Un = Hr(), yP = /* @__PURE__ */ Te({
23669
23669
  __name: "ElInputRadioButton",
23670
23670
  props: {
23671
23671
  id: Un.id,
@@ -24975,7 +24975,7 @@ const aB = () => {
24975
24975
  }, null, 8, ["total-rows-count", "rows-per-page", "hide-footer", "onUpdate:currentPage"])
24976
24976
  ]));
24977
24977
  }
24978
- }), yP = ["vertical", "horizontal"], il = /* @__PURE__ */ Te({
24978
+ }), HP = ["vertical", "horizontal"], il = /* @__PURE__ */ Te({
24979
24979
  __name: "ElDivider",
24980
24980
  props: {
24981
24981
  direction: { default: "horizontal" }
@@ -25165,7 +25165,7 @@ const mV = {
25165
25165
  }, VV = { class: "fixed inset-0 transition-opacity" }, wV = { class: "flex items-center justify-between gap-2 flex-1 overflow-hidden" }, DV = { class: "text-xl font-semibold truncate flex-1" }, gV = {
25166
25166
  key: 0,
25167
25167
  class: "text-base font-normal text-wrap break-words"
25168
- }, XA = ["xs", "m", "l", "xl"], PV = { xs: 360, m: 576, l: 768, xl: 1280 }, HP = ["primary", "secondary", "error"], Il = /* @__PURE__ */ Te({
25168
+ }, XA = ["xs", "m", "l", "xl"], PV = { xs: 360, m: 576, l: 768, xl: 1280 }, bP = ["primary", "secondary", "error"], Il = /* @__PURE__ */ Te({
25169
25169
  __name: "ElModal",
25170
25170
  props: /* @__PURE__ */ jn({
25171
25171
  size: { default: "m" },
@@ -25292,7 +25292,7 @@ const mV = {
25292
25292
  }, xV = { class: "flex flex-col space-y-1 justify-center items-center self-stretch" }, UV = ["datetime"], yV = { class: "flex justify-center items-center flex-grow" }, HV = {
25293
25293
  key: 1,
25294
25294
  class: "h-4 relative flex justify-center items-end"
25295
- }, bP = ["primary", "secondary"], kP = ["default", "hover", "active"], bV = /* @__PURE__ */ Te({
25295
+ }, kP = ["primary", "secondary"], _P = ["default", "hover", "active"], bV = /* @__PURE__ */ Te({
25296
25296
  __name: "ElVerticalTab",
25297
25297
  props: {
25298
25298
  icon: {},
@@ -25379,7 +25379,7 @@ const mV = {
25379
25379
  }, WV = { class: "flex items-center gap-2" }, QV = { class: "min-w-44" }, qV = { class: "px-4 pb-6" }, YV = {
25380
25380
  key: 1,
25381
25381
  class: "flex"
25382
- }, KV = { class: "min-w-72" }, XV = { class: "flex-1 w-full" }, _P = ["table", "drawer"], $P = /* @__PURE__ */ Te({
25382
+ }, KV = { class: "min-w-72" }, XV = { class: "flex-1 w-full" }, $P = ["table", "drawer"], zP = /* @__PURE__ */ Te({
25383
25383
  __name: "ElContainerTemplate",
25384
25384
  props: {
25385
25385
  title: {},
@@ -25438,7 +25438,7 @@ const mV = {
25438
25438
  ]);
25439
25439
  };
25440
25440
  }
25441
- }), JV = ["id", "checked", "data-cy"], ew = ["for"], zP = ["xs", "xxs"], jP = ["primary", "secondary"], WP = ["left", "right"], QP = /* @__PURE__ */ Te({
25441
+ }), JV = ["id", "checked", "data-cy"], ew = ["for"], jP = ["xs", "xxs"], WP = ["primary", "secondary"], QP = ["left", "right"], qP = /* @__PURE__ */ Te({
25442
25442
  __name: "ElInputSwitch",
25443
25443
  props: {
25444
25444
  modelValue: { type: Boolean },
@@ -29227,7 +29227,7 @@ const VD = {
29227
29227
  }, DD = {
29228
29228
  key: 0,
29229
29229
  class: "bg-black opacity-30 left-0 absolute w-full h-full top-0 rounded-2xl"
29230
- }, gD = { class: "font-semibold text-neutral-inverse text-xl md:text-2xl lg:text-4xl" }, PD = { class: "py-2 md:py-3 lg:py-4" }, ZD = { class: "px-6 w-full mb-20 hidden md:absolute md:mt-0 lg:top-60 md:bottom-0 lg:flex justify-between" }, FD = { class: "w-9 h-9 flex justify-center items-center bg-white rounded-full z-10 overflow-hidden" }, xD = { class: "w-9 h-9 flex justify-center items-center bg-white rounded-full z-10 overflow-hidden" }, qP = ["sm", "md", "lg"], YP = /* @__PURE__ */ Te({
29230
+ }, gD = { class: "font-semibold text-neutral-inverse text-xl md:text-2xl lg:text-4xl" }, PD = { class: "py-2 md:py-3 lg:py-4" }, ZD = { class: "px-6 w-full mb-20 hidden md:absolute md:mt-0 lg:top-60 md:bottom-0 lg:flex justify-between" }, FD = { class: "w-9 h-9 flex justify-center items-center bg-white rounded-full z-10 overflow-hidden" }, xD = { class: "w-9 h-9 flex justify-center items-center bg-white rounded-full z-10 overflow-hidden" }, YP = ["sm", "md", "lg"], KP = /* @__PURE__ */ Te({
29231
29231
  __name: "ElCarousel",
29232
29232
  props: {
29233
29233
  size: {},
@@ -29331,7 +29331,7 @@ const VD = {
29331
29331
  }), UD = ["data-cy"], yD = {
29332
29332
  key: 2,
29333
29333
  class: "h-4 ml-1 relative flex justify-center items-start"
29334
- }, KP = ["base", "l"], XP = ["primary", "secondary"], JP = ["default", "hover", "pressed", "active"], eZ = /* @__PURE__ */ Te({
29334
+ }, XP = ["base", "l"], JP = ["primary", "secondary"], eZ = ["default", "hover", "pressed", "active"], tZ = /* @__PURE__ */ Te({
29335
29335
  __name: "ElActionButton",
29336
29336
  props: {
29337
29337
  id: {},
@@ -29916,7 +29916,7 @@ const VD = {
29916
29916
  }, xg = { class: "text-sm font-normal text-neutral-darker" }, Ug = { class: "fixed inset-0 transition-opacity" }, yg = {
29917
29917
  ref: "backdrop",
29918
29918
  class: "absolute inset-0 bg-gray-500 opacity-75"
29919
- }, tZ = ["primary", "secondary"], rZ = ["default", "filled", "blank"], nZ = /* @__PURE__ */ Te({
29919
+ }, rZ = ["primary", "secondary"], nZ = ["default", "filled", "blank"], AZ = /* @__PURE__ */ Te({
29920
29920
  __name: "ElInputSearch",
29921
29921
  props: /* @__PURE__ */ jn({
29922
29922
  ...u5(),
@@ -30053,7 +30053,7 @@ const VD = {
30053
30053
  })
30054
30054
  ]));
30055
30055
  }
30056
- }), AZ = /* @__PURE__ */ Te({
30056
+ }), aZ = /* @__PURE__ */ Te({
30057
30057
  __name: "ElResponsiveTable",
30058
30058
  props: {
30059
30059
  columns: {},
@@ -30541,7 +30541,7 @@ const VD = {
30541
30541
  }, 8, ["color", "selection", "data", "filters", "loading", "prevent-default-item-click"]);
30542
30542
  };
30543
30543
  }
30544
- }), aZ = /* @__PURE__ */ Te({
30544
+ }), oZ = /* @__PURE__ */ Te({
30545
30545
  __name: "ElServerSideResponsiveTable",
30546
30546
  props: {
30547
30547
  mobileBehaviour: {},
@@ -30906,22 +30906,22 @@ export {
30906
30906
  bs as DrugTimeMeasures,
30907
30907
  ks as DrugUnitMeasures,
30908
30908
  Qg as ElAccordion,
30909
- eZ as ElActionButton,
30909
+ tZ as ElActionButton,
30910
30910
  or as ElAvatar,
30911
30911
  I5 as ElBadge,
30912
30912
  $0 as ElButton,
30913
30913
  tP as ElCalendarCard,
30914
30914
  aP as ElCalendarCell,
30915
- YP as ElCarousel,
30915
+ KP as ElCarousel,
30916
30916
  Xs as ElClipToAnchor,
30917
- $P as ElContainerTemplate,
30917
+ zP as ElContainerTemplate,
30918
30918
  il as ElDivider,
30919
30919
  nB as ElDrawer,
30920
30920
  rO as ElDropdown,
30921
30921
  CB as ElFile,
30922
30922
  Qe as ElIcon,
30923
30923
  p0 as ElIconButton,
30924
- ZP as ElInlineBanner,
30924
+ FP as ElInlineBanner,
30925
30925
  Jt as ElInputCheckbox,
30926
30926
  x1 as ElInputContainer,
30927
30927
  xa as ElInputDate,
@@ -30929,10 +30929,10 @@ export {
30929
30929
  SP as ElInputMeasureUnit,
30930
30930
  TP as ElInputNumber,
30931
30931
  fP as ElInputPhone,
30932
- UP as ElInputRadioButton,
30933
- nZ as ElInputSearch,
30932
+ yP as ElInputRadioButton,
30933
+ AZ as ElInputSearch,
30934
30934
  Ua as ElInputSelect,
30935
- QP as ElInputSwitch,
30935
+ qP as ElInputSwitch,
30936
30936
  br as ElInputText,
30937
30937
  hP as ElInputTextarea,
30938
30938
  Al as ElItem,
@@ -30940,9 +30940,9 @@ export {
30940
30940
  pP as ElLogo,
30941
30941
  pO as ElMobileTable,
30942
30942
  Il as ElModal,
30943
- AZ as ElResponsiveTable,
30943
+ aZ as ElResponsiveTable,
30944
30944
  Hg as ElServerSideMobileTable,
30945
- aZ as ElServerSideResponsiveTable,
30945
+ oZ as ElServerSideResponsiveTable,
30946
30946
  TV as ElServerSideTable,
30947
30947
  iG as ElSortingHeader,
30948
30948
  N5 as ElSpinner,
@@ -30962,9 +30962,9 @@ export {
30962
30962
  _g as EltyVuePlugin,
30963
30963
  Za as Role,
30964
30964
  Wg as elAccordionColors,
30965
- XP as elActionButtonColors,
30966
- KP as elActionButtonSizes,
30967
- JP as elActionButtonStatus,
30965
+ JP as elActionButtonColors,
30966
+ XP as elActionButtonSizes,
30967
+ eZ as elActionButtonStatus,
30968
30968
  qg as elAvatarSizes,
30969
30969
  Yg as elBadgeColors,
30970
30970
  Kg as elButtonSizes,
@@ -30973,43 +30973,44 @@ export {
30973
30973
  eP as elCalendarCardStatuses,
30974
30974
  AP as elCalendarCellAvailabilities,
30975
30975
  nP as elCalendarCellColors,
30976
- qP as elCarouselSizes,
30976
+ YP as elCarouselSizes,
30977
30977
  wp as elClipToAnchorPositions,
30978
- _P as elContainerTemplateVariants,
30979
- yP as elDividerDirection,
30978
+ $P as elContainerTemplateVariants,
30979
+ HP as elDividerDirection,
30980
30980
  OP as elDropdownMaxHeight,
30981
30981
  IP as elFileVariants,
30982
30982
  lP as elIconButtonSizes,
30983
30983
  Qv as elIconColors,
30984
- PP as elInlineBannerStatuses,
30984
+ ZP as elInlineBannerStatuses,
30985
30985
  cP as elInputCheckboxColors,
30986
30986
  uP as elInputCheckboxModelValues,
30987
30987
  EP as elInputCheckboxSizes,
30988
30988
  dP as elInputDateTypes,
30989
30989
  LP as elInputFileTypes,
30990
- tZ as elInputSearchColors,
30991
- rZ as elInputSearchStatus,
30990
+ rZ as elInputSearchColors,
30991
+ nZ as elInputSearchStatus,
30992
30992
  sP as elInputTextTypes,
30993
30993
  MP as elLogoColors,
30994
30994
  vP as elLogoVariants,
30995
- HP as elModalColors,
30995
+ bP as elModalColors,
30996
30996
  XA as elModalSizes,
30997
30997
  PV as elModalSizesBreakpoints,
30998
- xP as elRadioButtonColors,
30999
- FP as elRadioButtonSizes,
30998
+ UP as elRadioButtonColors,
30999
+ xP as elRadioButtonSizes,
31000
31000
  BP as elSortingHeaderDirections,
31001
- gP as elSpinnerSize,
31002
- WP as elSwitchAligns,
31003
- jP as elSwitchColors,
31004
- zP as elSwitchSizes,
31001
+ PP as elSpinnerSize,
31002
+ QP as elSwitchAligns,
31003
+ WP as elSwitchColors,
31004
+ jP as elSwitchSizes,
31005
31005
  iP as elTabColors,
31006
31006
  oP as elTabStatuses,
31007
+ gP as elTagAppearance,
31007
31008
  wP as elTagColors,
31008
31009
  DP as elTagSizes,
31009
31010
  NP as elToastStates,
31010
31011
  rP as elTooltipPositions,
31011
- bP as elVerticalTabColors,
31012
- kP as elVerticalTabStatus,
31012
+ kP as elVerticalTabColors,
31013
+ _P as elVerticalTabStatus,
31013
31014
  BB as toast
31014
31015
  };
31015
31016
  //# sourceMappingURL=index.js.map