@ambita/design-system 3.0.27-51.0 → 3.0.27-71.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.
@@ -0,0 +1,51 @@
1
+ /* Do not use if you need IE11 support */
2
+ :root {
3
+ /* Purple */
4
+ --aux-purple: #8237DC;
5
+ --aux-purple-1: #E6D7F8;
6
+ --aux-purple-2: #CDAFF1;
7
+ --aux-purple-3: #B487EA;
8
+ --aux-purple-4: #9B5FE3;
9
+ --aux-purple-5: #682CB0;
10
+ --aux-purple-6: #4E2184;
11
+ --aux-purple-7: #341658;
12
+ --aux-purple-8: #1A0B2C;
13
+ /* Dark Purple */
14
+ --aux-dark-purple: #360076;
15
+ --aux-dark-purple-1: #D8CDE6;
16
+ --aux-dark-purple-2: #B098C6;
17
+ --aux-dark-purple-3: #8666AC;
18
+ --aux-dark-purple-4: #5F3591;
19
+ --aux-dark-purple-5: #2D1C5B;
20
+ --aux-dark-purple-6: #200E47;
21
+ --aux-dark-purple-7: #1A0F2E;
22
+ --aux-dark-purple-8: #110B18;
23
+ /* Mint green */
24
+ --aux-mint: #34D9C3;
25
+ --aux-mint-1: #D8EFEE;
26
+ --aux-mint-2: #B5E1DD;
27
+ --aux-mint-3: #93D4D0;
28
+ --aux-mint-4: #72CAC3;
29
+ --aux-mint-5: #26AE9B;
30
+ --aux-mint-6: #218376;
31
+ --aux-mint-7: #14584E;
32
+ --aux-mint-8: #0A2B26;
33
+ /* Grey */
34
+ --aux-grey-1: #E1E1E1;
35
+ --aux-grey-2: #D2D2D2;
36
+ --aux-grey-3: #BEBEBE;
37
+ --aux-grey-4: #AFAFAF;
38
+ --aux-grey-5: #555555;
39
+ --aux-grey-6: #333333;
40
+ /* Supports */
41
+ --aux-red: #C10000;
42
+ --aux-blue: #0067A3;
43
+ --aux-yellow: #ECD025;
44
+ --aux-green: #5CB85C;
45
+ --aux-white: #FFF;
46
+ --aux-black: #000;
47
+ --aux-focus: #003eff;
48
+ /* Borders */
49
+ --aux-border-1-grey-1: 1px solid #E1E1E1;
50
+ --aux-border-2-grey-1: 2px solid #E1E1E1;
51
+ }
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  value: {
3
- type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
3
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
4
4
  };
5
5
  disabled: {
6
6
  type: BooleanConstructor;
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<{
29
29
  selected?: unknown;
30
30
  indeterminate?: unknown;
31
31
  } & {
32
- disabled: boolean;
33
32
  id: string;
33
+ disabled: boolean;
34
34
  selected: boolean;
35
35
  indeterminate: boolean;
36
36
  } & {
@@ -39,8 +39,8 @@ declare const _default: import("vue").DefineComponent<{
39
39
  }> & {
40
40
  onChange?: ((...args: any[]) => any) | undefined;
41
41
  }, {
42
- disabled: boolean;
43
42
  id: string;
43
+ disabled: boolean;
44
44
  selected: boolean;
45
45
  indeterminate: boolean;
46
46
  }>;
@@ -34,8 +34,8 @@ declare const _default: import("vue").DefineComponent<{
34
34
  dataTestid?: unknown;
35
35
  size?: unknown;
36
36
  } & {
37
- size: string;
38
37
  label: string;
38
+ size: string;
39
39
  suffix: string;
40
40
  vertical: boolean;
41
41
  } & {
@@ -66,10 +66,10 @@ declare const _default: import("vue").DefineComponent<{
66
66
  min?: unknown;
67
67
  max?: unknown;
68
68
  } & {
69
- type: string;
70
69
  label: string;
71
70
  hideLabel: boolean;
72
71
  id: string;
72
+ type: string;
73
73
  clearable: boolean;
74
74
  fieldWidth: string;
75
75
  } & {
@@ -86,9 +86,9 @@ declare const _default: import("vue").DefineComponent<{
86
86
  onBlur?: ((...args: any[]) => any) | undefined;
87
87
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
88
88
  }, {
89
- type: string;
90
89
  hideLabel: boolean;
91
90
  id: string;
91
+ type: string;
92
92
  clearable: boolean;
93
93
  fieldWidth: string;
94
94
  }>;
@@ -38,8 +38,8 @@ declare const _default: import("vue").DefineComponent<{
38
38
  title?: unknown;
39
39
  dataTestid?: unknown;
40
40
  } & {
41
- size: string;
42
41
  id: string;
42
+ size: string;
43
43
  actions: Action[];
44
44
  } & {
45
45
  dataTestid?: string | undefined;
@@ -47,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
47
47
  }> & {
48
48
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
49
49
  }, {
50
- size: string;
51
50
  id: string;
51
+ size: string;
52
52
  actions: Action[];
53
53
  }>;
54
54
  export default _default;
@@ -28,15 +28,15 @@ declare const _default: import("vue").DefineComponent<{
28
28
  selected?: unknown;
29
29
  } & {
30
30
  name: string;
31
- disabled: boolean;
32
31
  id: string;
32
+ disabled: boolean;
33
33
  selected: string;
34
34
  } & {
35
35
  value?: string | number | undefined;
36
36
  }> & {
37
37
  onChange?: ((...args: any[]) => any) | undefined;
38
38
  }, {
39
- disabled: boolean;
40
39
  id: string;
40
+ disabled: boolean;
41
41
  }>;
42
42
  export default _default;
@@ -54,15 +54,15 @@ declare const _default: import("vue").DefineComponent<{
54
54
  value?: unknown;
55
55
  modelValue?: unknown;
56
56
  } & {
57
- required: boolean;
58
57
  hideLabel: boolean;
59
58
  id: string;
59
+ required: boolean;
60
60
  items: Item[];
61
61
  } & {
62
62
  name?: string | undefined;
63
+ label?: string | undefined;
63
64
  description?: string | undefined;
64
65
  value?: string | number | unknown[] | undefined;
65
- label?: string | undefined;
66
66
  modelValue?: string | number | unknown[] | undefined;
67
67
  }> & {
68
68
  onFocus?: ((...args: any[]) => any) | undefined;
@@ -70,8 +70,8 @@ declare const _default: import("vue").DefineComponent<{
70
70
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
71
71
  onChange?: ((...args: any[]) => any) | undefined;
72
72
  }, {
73
- required: boolean;
74
73
  hideLabel: boolean;
75
74
  id: string;
75
+ required: boolean;
76
76
  }>;
77
77
  export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: (topics: string[]) => void;
2
+ export default _default;
@@ -69,12 +69,12 @@ declare const _default: import("vue").DefineComponent<{
69
69
  required?: unknown;
70
70
  value?: unknown;
71
71
  } & {
72
- required: boolean;
73
- value: string | number;
74
72
  label: string;
75
- resize: "none" | "vertical" | "horizontal" | "auto" | "both";
76
73
  hideLabel: boolean;
77
74
  id: string;
75
+ required: boolean;
76
+ value: string | number;
77
+ resize: "none" | "vertical" | "horizontal" | "auto" | "both";
78
78
  height: number;
79
79
  width: string;
80
80
  } & {
@@ -87,11 +87,11 @@ declare const _default: import("vue").DefineComponent<{
87
87
  onBlur?: ((...args: any[]) => any) | undefined;
88
88
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
89
89
  }, {
90
+ hideLabel: boolean;
91
+ id: string;
90
92
  required: boolean;
91
93
  value: string | number;
92
94
  resize: "none" | "vertical" | "horizontal" | "auto" | "both";
93
- hideLabel: boolean;
94
- id: string;
95
95
  height: number;
96
96
  width: string;
97
97
  }>;
@@ -39,9 +39,9 @@ declare const _default: import("vue").DefineComponent<{
39
39
  uuid?: unknown;
40
40
  failed?: unknown;
41
41
  } & {
42
- filename: string;
43
42
  time: string;
44
43
  uuid: string;
44
+ filename: string;
45
45
  failed: boolean;
46
46
  } & {
47
47
  file?: File | undefined;
@@ -60,8 +60,8 @@ declare const _default: import("vue").DefineComponent<{
60
60
  files: unknown[];
61
61
  maxFileSize: number;
62
62
  } & {
63
- description?: string | undefined;
64
63
  label?: string | undefined;
64
+ description?: string | undefined;
65
65
  maxAttachmentCount?: number | undefined;
66
66
  }> & {
67
67
  "onFile-added"?: ((...args: any[]) => any) | undefined;
@@ -17,6 +17,7 @@ export { default as AuxToggle } from './components/Toggle/Toggle.vue';
17
17
  export { default as AuxPagination } from './components/Pagination/Pagination.vue';
18
18
  export { default as AuxDirectionalArrow } from './components/DirectionalArrow/DirectionalArrow.vue';
19
19
  export { default as AuxAriaAnnouncer } from './components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue';
20
+ export { default as AuxStatusBanner } from './components/StatusBanner/StatusBanner';
20
21
  export { formatDate } from '@/helpers/formatters/formatDateAndTime/';
21
22
  export { formatPrice } from '@/helpers/formatters/formatQuantity/formatAmount';
22
23
  export { formatNumber } from '@/helpers/formatters/formatQuantity/formatNumber';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ambita/design-system",
3
- "version": "3.0.27-51.0",
3
+ "version": "3.0.27-71.0",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "serve": "vue-cli-service serve",
@@ -17,6 +17,8 @@
17
17
  "phosphor:update": "node scripts/phosphorUpdate.js"
18
18
  },
19
19
  "dependencies": {
20
+ "@types/aws-iot-device-sdk": "^2.2.4",
21
+ "aws-iot-device-sdk": "^1.0.13",
20
22
  "core-js": "^3.6.5",
21
23
  "sanitize.css": "12.0.1",
22
24
  "uuid": "^3.4.0",