@evercam/ui 1.0.0-preview-new-smart-search-73cd08914 → 1.0.0-preview-new-smart-search-0c80f3bd6

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.
@@ -645,6 +645,11 @@
645
645
  "description": "",
646
646
  "default": false
647
647
  },
648
+ "EToggleSwitch/dark": {
649
+ "type": "boolean",
650
+ "description": "",
651
+ "default": true
652
+ },
648
653
  "EExpandableMenu/padding": {
649
654
  "type": "number",
650
655
  "description": "",
@@ -7,12 +7,16 @@ type SizeClasses = {
7
7
  };
8
8
  declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, {
9
9
  getButtonClasses(item: ESelectionGroupOption): {
10
- "e-toggle-switch e-border-none e-text-gray-100 e-rounded-md e-shadow e-transition e-duration-200 e-ease-in-out e-cursor-pointer": boolean;
11
- "e-bg-inherit": boolean;
10
+ "e-toggle-switch e-border-none e-rounded-md e-transition e-duration-200 e-ease-in-out e-cursor-pointer": boolean;
11
+ "e-text-gray-200": boolean;
12
+ "e-bg-gray-900": boolean;
13
+ "e-bg-gray-200": boolean;
14
+ "e-text-gray-900": boolean;
12
15
  "e-bg-brand-600": boolean;
13
16
  "e-bg-gray-600": boolean;
14
17
  "e-bg-[#629efc] e-text-gray-900 e-font-normal": boolean;
15
18
  "e-opacity-50 e-cursor-not-allowed": boolean | undefined;
19
+ "e-shadow ": boolean;
16
20
  };
17
21
  }, {
18
22
  sizeClasses: SizeClasses;
@@ -22,6 +26,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
22
26
  color: string;
23
27
  size: Size;
24
28
  vertical: boolean;
29
+ dark: boolean;
25
30
  }, {}, import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, {
26
31
  isSelected(value: any): boolean;
27
32
  onItemClick(value: any): void;
package/dist/index.d.ts CHANGED
@@ -511,12 +511,16 @@ export declare const components: {
511
511
  }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
512
512
  EToggleSwitch: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, unknown, {
513
513
  getButtonClasses(item: import('./types').ESelectionGroupOption): {
514
- "e-toggle-switch e-border-none e-text-gray-100 e-rounded-md e-shadow e-transition e-duration-200 e-ease-in-out e-cursor-pointer": boolean;
515
- "e-bg-inherit": boolean;
514
+ "e-toggle-switch e-border-none e-rounded-md e-transition e-duration-200 e-ease-in-out e-cursor-pointer": boolean;
515
+ "e-text-gray-200": boolean;
516
+ "e-bg-gray-900": boolean;
517
+ "e-bg-gray-200": boolean;
518
+ "e-text-gray-900": boolean;
516
519
  "e-bg-brand-600": boolean;
517
520
  "e-bg-gray-600": boolean;
518
521
  "e-bg-[#629efc] e-text-gray-900 e-font-normal": boolean;
519
522
  "e-opacity-50 e-cursor-not-allowed": boolean | undefined;
523
+ "e-shadow ": boolean;
520
524
  };
521
525
  }, {
522
526
  sizeClasses: {
@@ -530,6 +534,7 @@ export declare const components: {
530
534
  color: string;
531
535
  size: import('./types').Size;
532
536
  vertical: boolean;
537
+ dark: boolean;
533
538
  }, {}, import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, unknown, {
534
539
  isSelected(value: any): boolean;
535
540
  onItemClick(value: any): void;
package/dist/index.mjs CHANGED
@@ -15785,6 +15785,10 @@ const tc = ec.exports, Jr = R.extend({
15785
15785
  vertical: {
15786
15786
  type: Boolean,
15787
15787
  default: !1
15788
+ },
15789
+ dark: {
15790
+ type: Boolean,
15791
+ default: !0
15788
15792
  }
15789
15793
  },
15790
15794
  computed: {
@@ -15811,7 +15815,9 @@ const tc = ec.exports, Jr = R.extend({
15811
15815
  wrapperClasses() {
15812
15816
  return {
15813
15817
  ...this.sizeClasses.container,
15814
- "e-flex e-items-center e-justify-center e-w-fit e-h-min e-bg-gray-900 e-rounded-md e-e-shadow-md e-transition-colors e-duration-200 e-ease-in-out": !0,
15818
+ "e-flex e-items-center e-justify-center e-w-fit e-h-min e-rounded-md e-e-shadow-md e-transition-colors e-duration-200 e-ease-in-out": !0,
15819
+ "e-bg-gray-900": this.dark,
15820
+ "e-bg-gray-200": !this.dark,
15815
15821
  "e-flex-col": this.vertical,
15816
15822
  "e-opacity-50 e-cursor-not-allowed": this.disabled
15817
15823
  };
@@ -15826,12 +15832,16 @@ const tc = ec.exports, Jr = R.extend({
15826
15832
  methods: {
15827
15833
  getButtonClasses(t) {
15828
15834
  const e = {
15829
- "e-toggle-switch e-border-none e-text-gray-100 e-rounded-md e-shadow e-transition e-duration-200 e-ease-in-out e-cursor-pointer": !0,
15830
- "e-bg-inherit": !this.isSelected(t.value),
15835
+ "e-toggle-switch e-border-none e-rounded-md e-transition e-duration-200 e-ease-in-out e-cursor-pointer": !0,
15836
+ "e-text-gray-200": this.dark,
15837
+ "e-bg-gray-900": this.dark && !this.isSelected(t.value),
15838
+ "e-bg-gray-200": !this.dark && !this.isSelected(t.value),
15839
+ "e-text-gray-900": !this.dark,
15831
15840
  "e-bg-brand-600": this.color === "brand" && this.isSelected(t.value),
15832
15841
  "e-bg-gray-600": !["primary", "brand"].includes(this.color) && this.isSelected(t.value),
15833
15842
  "e-bg-[#629efc] e-text-gray-900 e-font-normal": this.color === "primary" && this.isSelected(t.value),
15834
- "e-opacity-50 e-cursor-not-allowed": t.disabled
15843
+ "e-opacity-50 e-cursor-not-allowed": t.disabled,
15844
+ "e-shadow ": this.isSelected(t.value)
15835
15845
  };
15836
15846
  return {
15837
15847
  ...this.sizeClasses.button,