@companycam/slab-web 0.0.4 → 0.0.6

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/bundle.js CHANGED
@@ -21,6 +21,8 @@ var color_brand_primary = "#0967d2";
21
21
  var color_brand_secondary = "#142334";
22
22
  var color_brand_accent = "#ffd000";
23
23
  var color_brand_upgrade = "#0ce8d6";
24
+ var color_brand_add_on_le = "#7949d1";
25
+ var color_brand_add_on_de = "#bca4e8";
24
26
  var color_utility_destroy = "#ef4e4e";
25
27
  var color_utility_caution = "#ffd000";
26
28
  var color_utility_success = "#3ebd93";
@@ -137,6 +139,8 @@ var tokens = {
137
139
  color_brand_secondary: color_brand_secondary,
138
140
  color_brand_accent: color_brand_accent,
139
141
  color_brand_upgrade: color_brand_upgrade,
142
+ color_brand_add_on_le: color_brand_add_on_le,
143
+ color_brand_add_on_de: color_brand_add_on_de,
140
144
  color_utility_destroy: color_utility_destroy,
141
145
  color_utility_caution: color_utility_caution,
142
146
  color_utility_success: color_utility_success,
@@ -296,6 +300,9 @@ var tokens = {
296
300
  name: "light_environment",
297
301
  dark: false,
298
302
  color: {
303
+ brand: {
304
+ add_on: tokens.color_brand_add_on_le
305
+ },
299
306
  background: {
300
307
  1: tokens.color_background_1_le,
301
308
  2: tokens.color_background_2_le,
@@ -346,6 +353,9 @@ var tokens = {
346
353
  name: "dark_environment",
347
354
  dark: true,
348
355
  color: {
356
+ brand: {
357
+ add_on: tokens.color_brand_add_on_de
358
+ },
349
359
  background: {
350
360
  1: tokens.color_background_1_de,
351
361
  2: tokens.color_background_2_de,
@@ -526,6 +536,16 @@ const tokenDocs = [{
526
536
  getsLightDarkWeb: true,
527
537
  getsAlphaWeb: true,
528
538
  isThemed: false
539
+ }, {
540
+ name: "color_brand_add_on",
541
+ value: "#7949d1",
542
+ category: "color",
543
+ type: "brand",
544
+ item: "add_on",
545
+ comment: "Used to indicate something is an add-on.",
546
+ getsLightDarkWeb: true,
547
+ getsAlphaWeb: true,
548
+ isThemed: true
529
549
  }, {
530
550
  name: "color_utility_destroy",
531
551
  value: "#ef4e4e",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companycam/slab-web",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "Design System for use across CompanyCam web applications",
5
5
  "main": "web/index.js",
6
6
  "module": "dist/bundle.js",
@@ -4,6 +4,9 @@ export default {
4
4
  name: "dark_environment",
5
5
  dark: true,
6
6
  color: {
7
+ brand: {
8
+ add_on: tokens.color_brand_add_on_de,
9
+ },
7
10
  background: {
8
11
  1: tokens.color_background_1_de,
9
12
  2: tokens.color_background_2_de,
@@ -4,6 +4,9 @@ export default {
4
4
  name: "light_environment",
5
5
  dark: false,
6
6
  color: {
7
+ brand: {
8
+ add_on: tokens.color_brand_add_on_le,
9
+ },
7
10
  background: {
8
11
  1: tokens.color_background_1_le,
9
12
  2: tokens.color_background_2_le,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 21 Nov 2022 17:06:48 GMT
3
+ * Generated on Wed, 08 Feb 2023 21:44:16 GMT
4
4
  */
5
5
 
6
6
  :root, .light-environment {
@@ -1,9 +1,28 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 21 Nov 2022 17:06:48 GMT
3
+ * Generated on Wed, 08 Feb 2023 21:44:16 GMT
4
4
  */
5
5
 
6
6
  .dark-environment {
7
+ --cc_color_brand_add_on: #bca4e8;
8
+ --cc_color_brand_add_on_lighten_10: #c2adea;
9
+ --cc_color_brand_add_on_lighten_15: #c6b1eb;
10
+ --cc_color_brand_add_on_lighten_85: #f4f1fb;
11
+ --cc_color_brand_add_on_lighten_90: #f8f5fc;
12
+ --cc_color_brand_add_on_lighten_95: #fbfafd;
13
+ --cc_color_brand_add_on_darken_10: #a993d0;
14
+ --cc_color_brand_add_on_darken_15: #9f8bc5;
15
+
16
+ --cc_color_brand_add_on_alpha_90: rgba(188,164,232,0.9);
17
+ --cc_color_brand_add_on_alpha_80: rgba(188,164,232,0.8);
18
+ --cc_color_brand_add_on_alpha_70: rgba(188,164,232,0.7);
19
+ --cc_color_brand_add_on_alpha_60: rgba(188,164,232,0.6);
20
+ --cc_color_brand_add_on_alpha_50: rgba(188,164,232,0.5);
21
+ --cc_color_brand_add_on_alpha_40: rgba(188,164,232,0.4);
22
+ --cc_color_brand_add_on_alpha_30: rgba(188,164,232,0.3);
23
+ --cc_color_brand_add_on_alpha_20: rgba(188,164,232,0.2);
24
+ --cc_color_brand_add_on_alpha_10: rgba(188,164,232,0.1);
25
+
7
26
  --cc_color_utility_info: #4d5a68;
8
27
  --cc_color_utility_info_lighten_10: #5e6a77;
9
28
  --cc_color_utility_info_lighten_15: #67727e;
@@ -1,9 +1,28 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 21 Nov 2022 17:06:48 GMT
3
+ * Generated on Wed, 08 Feb 2023 21:44:16 GMT
4
4
  */
5
5
 
6
6
  :root, .light-environment {
7
+ --cc_color_brand_add_on: #7949d1;
8
+ --cc_color_brand_add_on_lighten_10: #865bd5;
9
+ --cc_color_brand_add_on_lighten_15: #8d64d7;
10
+ --cc_color_brand_add_on_lighten_85: #eae3f8;
11
+ --cc_color_brand_add_on_lighten_90: #f1ecfa;
12
+ --cc_color_brand_add_on_lighten_95: #f8f5fc;
13
+ --cc_color_brand_add_on_darken_10: #6c41bc;
14
+ --cc_color_brand_add_on_darken_15: #663eb1;
15
+
16
+ --cc_color_brand_add_on_alpha_90: rgba(121,73,209,0.9);
17
+ --cc_color_brand_add_on_alpha_80: rgba(121,73,209,0.8);
18
+ --cc_color_brand_add_on_alpha_70: rgba(121,73,209,0.7);
19
+ --cc_color_brand_add_on_alpha_60: rgba(121,73,209,0.6);
20
+ --cc_color_brand_add_on_alpha_50: rgba(121,73,209,0.5);
21
+ --cc_color_brand_add_on_alpha_40: rgba(121,73,209,0.4);
22
+ --cc_color_brand_add_on_alpha_30: rgba(121,73,209,0.3);
23
+ --cc_color_brand_add_on_alpha_20: rgba(121,73,209,0.2);
24
+ --cc_color_brand_add_on_alpha_10: rgba(121,73,209,0.1);
25
+
7
26
  --cc_color_utility_info: #4d5a68;
8
27
  --cc_color_utility_info_lighten_10: #5e6a77;
9
28
  --cc_color_utility_info_lighten_15: #67727e;
@@ -43,6 +43,17 @@ export const tokenDocs = [
43
43
  getsAlphaWeb: true,
44
44
  isThemed: false
45
45
  },
46
+ {
47
+ name: "color_brand_add_on",
48
+ value: "#7949d1",
49
+ category: "color",
50
+ type: "brand",
51
+ item: "add_on",
52
+ comment: "Used to indicate something is an add-on.",
53
+ getsLightDarkWeb: true,
54
+ getsAlphaWeb: true,
55
+ isThemed: true
56
+ },
46
57
  {
47
58
  name: "color_utility_destroy",
48
59
  value: "#ef4e4e",
@@ -1,12 +1,14 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 21 Nov 2022 17:06:48 GMT
3
+ * Generated on Wed, 08 Feb 2023 21:44:16 GMT
4
4
  */
5
5
 
6
6
  export const color_brand_primary = "#0967d2"; // Our beloved CoCam deep blue. Use only for branding purposes.
7
7
  export const color_brand_secondary = "#142334"; // Complements our primary blue. Use only for branding purposes.
8
8
  export const color_brand_accent = "#ffd000"; // Used to indicate something is new or coming soon. When used as a background color, pair with color_text_secondary.
9
9
  export const color_brand_upgrade = "#0ce8d6"; // Used to indicate something is part of the Pro plan or part of an upgrade path. When used as a background color, pair with color_text_secondary.
10
+ export const color_brand_add_on_le = "#7949d1"; // Used to indicate something is an add-on.
11
+ export const color_brand_add_on_de = "#bca4e8";
10
12
  export const color_utility_destroy = "#ef4e4e"; // Use to warn the user of destructive actions or app errors.
11
13
  export const color_utility_caution = "#ffd000"; // Use to call attention to important information or warnings.
12
14
  export const color_utility_success = "#3ebd93"; // Use to confirm a successfully completed action.
@@ -3,6 +3,8 @@
3
3
  "color_brand_secondary": "#142334",
4
4
  "color_brand_accent": "#ffd000",
5
5
  "color_brand_upgrade": "#0ce8d6",
6
+ "color_brand_add_on_le": "#7949d1",
7
+ "color_brand_add_on_de": "#bca4e8",
6
8
  "color_utility_destroy": "#ef4e4e",
7
9
  "color_utility_caution": "#ffd000",
8
10
  "color_utility_success": "#3ebd93",
@@ -1,11 +1,13 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 21 Nov 2022 17:06:48 GMT
3
+ // Generated on Wed, 08 Feb 2023 21:44:16 GMT
4
4
 
5
5
  $cc_color_brand_primary: #0967d2; // Our beloved CoCam deep blue. Use only for branding purposes.
6
6
  $cc_color_brand_secondary: #142334; // Complements our primary blue. Use only for branding purposes.
7
7
  $cc_color_brand_accent: #ffd000; // Used to indicate something is new or coming soon. When used as a background color, pair with color_text_secondary.
8
8
  $cc_color_brand_upgrade: #0ce8d6; // Used to indicate something is part of the Pro plan or part of an upgrade path. When used as a background color, pair with color_text_secondary.
9
+ $cc_color_brand_add_on_le: #7949d1; // Used to indicate something is an add-on.
10
+ $cc_color_brand_add_on_de: #bca4e8;
9
11
  $cc_color_utility_destroy: #ef4e4e; // Use to warn the user of destructive actions or app errors.
10
12
  $cc_color_utility_caution: #ffd000; // Use to call attention to important information or warnings.
11
13
  $cc_color_utility_success: #3ebd93; // Use to confirm a successfully completed action.
@@ -16,6 +16,15 @@
16
16
  "upgrade": {
17
17
  "value": "#0CE8D6",
18
18
  "comment": "Used to indicate something is part of the Pro plan or part of an upgrade path. When used as a background color, pair with color_text_secondary."
19
+ },
20
+ "add_on": {
21
+ "le": {
22
+ "value": "#7949D1",
23
+ "comment": "Used to indicate something is an add-on."
24
+ },
25
+ "de": {
26
+ "value": "#BCA4E8"
27
+ }
19
28
  }
20
29
  },
21
30
  "utility": {