@semcore/flags 3.2.4 → 3.3.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
+ ## [3.3.0] - 2022-12-12
6
+
7
+ ### Added
8
+
9
+ - Design tokens based theming.
10
+
5
11
  ## [3.2.4] - 2022-12-05
6
12
 
7
13
  ### Fixed
package/lib/cjs/Flags.js CHANGED
@@ -38,15 +38,15 @@ var styles = (
38
38
  /*__reshadow_css_start__*/
39
39
  _core.sstyled.insert(
40
40
  /*__inner_css_start__*/
41
- ".___SFlags_oz7dv_gg_{position:relative;display:inline-block;width:16px;height:16px}.___SFlags_oz7dv_gg_:after{content:\"\";position:absolute;top:3px;left:1px;display:block;width:14px;height:11px;background-color:#c4c7cf;z-index:-1}.___SFlags_oz7dv_gg_[data-capital-letters]{display:inline-flex;justify-content:center;align-items:center;background:#e0e1e9}.___SFlags_oz7dv_gg_[data-capital-letters]:before{content:attr(data-capital-letters);font-family:sans-serif;font-size:8px;line-height:normal;font-weight:700;color:#6c6e79}"
41
+ ".___SFlags_15feu_gg_{position:relative;display:inline-block;width:16px;height:16px}.___SFlags_15feu_gg_:after{content:\"\";position:absolute;top:3px;left:1px;display:block;width:14px;height:11px;background-color:var(--intergalactic-bg-secondary-neutral-active,#c4c7cf);z-index:-1}.___SFlags_15feu_gg_[data-capital-letters]{display:inline-flex;justify-content:center;align-items:center;background:var(--intergalactic-bg-primary-neutral-active,#e0e1e9)}.___SFlags_15feu_gg_[data-capital-letters]:before{content:attr(data-capital-letters);font-family:sans-serif;font-size:calc(var(--intergalactic-fs-50, 10px) - 2px);line-height:normal;font-weight:var(--intergalactic-bold,700);color:var(--intergalactic-text-secondary,#6c6e79)}"
42
42
  /*__inner_css_end__*/
43
- , "oz7dv_gg_")
43
+ , "15feu_gg_")
44
44
  /*__reshadow_css_end__*/
45
45
  , {
46
- "__SFlags": "___SFlags_oz7dv_gg_"
46
+ "__SFlags": "___SFlags_15feu_gg_"
47
47
  }); // @ts-ignore
48
48
 
49
- var version = "3.2.4";
49
+ var version = "3.3.0";
50
50
  var versionForClassName = version.split('.').join('_');
51
51
 
52
52
  var normalizeName = function normalizeName(name) {
@@ -1,5 +1,3 @@
1
- @import '@semcore/utils/style/var.css';
2
-
3
1
  SFlags {
4
2
  position: relative;
5
3
  display: inline-block;
@@ -14,7 +12,7 @@ SFlags {
14
12
  display: block;
15
13
  width: 14px;
16
14
  height: 11px;
17
- background-color: var(--gray-200);
15
+ background-color: var(--intergalactic-bg-secondary-neutral-active, #c4c7cf);
18
16
  z-index: -1;
19
17
  }
20
18
  }
@@ -23,14 +21,15 @@ SFlags[data-capital-letters] {
23
21
  display: inline-flex;
24
22
  justify-content: center;
25
23
  align-items: center;
26
- background: var(--gray-100);
24
+ background: var(--intergalactic-bg-primary-neutral-active, #e0e1e9);
27
25
 
28
26
  &::before {
29
27
  content: attr(data-capital-letters);
30
28
  font-family: sans-serif;
31
- font-size: 8px;
29
+ /* disable-tokens-validator */
30
+ font-size: calc(var(--intergalactic-fs-50, 10px) - 2px);
32
31
  line-height: normal;
33
- font-weight: bold;
34
- color: var(--gray-500);
32
+ font-weight: var(--intergalactic-bold, 700);
33
+ color: var(--intergalactic-text-secondary, #6c6e79);
35
34
  }
36
35
  }
package/lib/es6/Flags.js CHANGED
@@ -22,15 +22,15 @@ var styles = (
22
22
  /*__reshadow_css_start__*/
23
23
  _sstyled.insert(
24
24
  /*__inner_css_start__*/
25
- ".___SFlags_oz7dv_gg_{position:relative;display:inline-block;width:16px;height:16px}.___SFlags_oz7dv_gg_:after{content:\"\";position:absolute;top:3px;left:1px;display:block;width:14px;height:11px;background-color:#c4c7cf;z-index:-1}.___SFlags_oz7dv_gg_[data-capital-letters]{display:inline-flex;justify-content:center;align-items:center;background:#e0e1e9}.___SFlags_oz7dv_gg_[data-capital-letters]:before{content:attr(data-capital-letters);font-family:sans-serif;font-size:8px;line-height:normal;font-weight:700;color:#6c6e79}"
25
+ ".___SFlags_15feu_gg_{position:relative;display:inline-block;width:16px;height:16px}.___SFlags_15feu_gg_:after{content:\"\";position:absolute;top:3px;left:1px;display:block;width:14px;height:11px;background-color:var(--intergalactic-bg-secondary-neutral-active,#c4c7cf);z-index:-1}.___SFlags_15feu_gg_[data-capital-letters]{display:inline-flex;justify-content:center;align-items:center;background:var(--intergalactic-bg-primary-neutral-active,#e0e1e9)}.___SFlags_15feu_gg_[data-capital-letters]:before{content:attr(data-capital-letters);font-family:sans-serif;font-size:calc(var(--intergalactic-fs-50, 10px) - 2px);line-height:normal;font-weight:var(--intergalactic-bold,700);color:var(--intergalactic-text-secondary,#6c6e79)}"
26
26
  /*__inner_css_end__*/
27
- , "oz7dv_gg_")
27
+ , "15feu_gg_")
28
28
  /*__reshadow_css_end__*/
29
29
  , {
30
- "__SFlags": "___SFlags_oz7dv_gg_"
30
+ "__SFlags": "___SFlags_15feu_gg_"
31
31
  }); // @ts-ignore
32
32
 
33
- var version = "3.2.4";
33
+ var version = "3.3.0";
34
34
  var versionForClassName = version.split('.').join('_');
35
35
 
36
36
  var normalizeName = function normalizeName(name) {
@@ -1,5 +1,3 @@
1
- @import '@semcore/utils/style/var.css';
2
-
3
1
  SFlags {
4
2
  position: relative;
5
3
  display: inline-block;
@@ -14,7 +12,7 @@ SFlags {
14
12
  display: block;
15
13
  width: 14px;
16
14
  height: 11px;
17
- background-color: var(--gray-200);
15
+ background-color: var(--intergalactic-bg-secondary-neutral-active, #c4c7cf);
18
16
  z-index: -1;
19
17
  }
20
18
  }
@@ -23,14 +21,15 @@ SFlags[data-capital-letters] {
23
21
  display: inline-flex;
24
22
  justify-content: center;
25
23
  align-items: center;
26
- background: var(--gray-100);
24
+ background: var(--intergalactic-bg-primary-neutral-active, #e0e1e9);
27
25
 
28
26
  &::before {
29
27
  content: attr(data-capital-letters);
30
28
  font-family: sans-serif;
31
- font-size: 8px;
29
+ /* disable-tokens-validator */
30
+ font-size: calc(var(--intergalactic-fs-50, 10px) - 2px);
32
31
  line-height: normal;
33
- font-weight: bold;
34
- color: var(--gray-500);
32
+ font-weight: var(--intergalactic-bold, 700);
33
+ color: var(--intergalactic-text-secondary, #6c6e79);
35
34
  }
36
35
  }