@semcore/tag 4.2.7 → 4.2.9
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 +6 -0
- package/lib/cjs/Tag.js +22 -22
- package/lib/es6/Tag.js +22 -22
- package/package.json +1 -1
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
|
+
## [4.2.9] - 2022-11-30
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.41.0 ~> 3.42.0], `@semcore/icon` [3.3.1 ~> 3.3.2], `@semcore/flex-box` [4.6.4 ~> 4.6.5]).
|
|
10
|
+
|
|
5
11
|
## [4.2.7] - 2022-11-15
|
|
6
12
|
|
|
7
13
|
### Added
|
package/lib/cjs/Tag.js
CHANGED
|
@@ -52,31 +52,31 @@ var style = (
|
|
|
52
52
|
/*__reshadow_css_start__*/
|
|
53
53
|
_core.sstyled.insert(
|
|
54
54
|
/*__inner_css_start__*/
|
|
55
|
-
".
|
|
55
|
+
".___STag_wpwb3_gg_{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;box-sizing:border-box;border-width:1px;border-style:solid;border-color:transparent;border-radius:24px;padding-left:4px;padding-right:4px;font-weight:500;background-color:var(--colorBg_wpwb3);color:var(--colorText_wpwb3);border-color:var(--colorBorder_wpwb3)}.___STag_wpwb3_gg_.__active_wpwb3_gg_,.___STag_wpwb3_gg_.__interactive_wpwb3_gg_:active,.___STag_wpwb3_gg_.__interactive_wpwb3_gg_:hover{background-color:var(--colorBgHover_wpwb3)}.___STag_wpwb3_gg_.__disabled_wpwb3_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STag_wpwb3_gg_.__interactive_wpwb3_gg_{cursor:pointer}.___STag_wpwb3_gg_._size_m_wpwb3_gg_{height:20px;min-width:20px}.___STag_wpwb3_gg_._size_m_wpwb3_gg_ .___SCircle_wpwb3_gg_:first-child{margin-left:-2px}.___STag_wpwb3_gg_._size_m_wpwb3_gg_ .___SCircle_wpwb3_gg_:last-child{margin-right:-2px}.___STag_wpwb3_gg_._size_m_wpwb3_gg_ .___SText_wpwb3_gg_{font-size:12px;line-height:1.33}.___STag_wpwb3_gg_._size_l_wpwb3_gg_{height:28px;min-width:28px}.___STag_wpwb3_gg_._size_l_wpwb3_gg_ .___SText_wpwb3_gg_{font-size:14px;line-height:1.42}.___STag_wpwb3_gg_._size_xl_wpwb3_gg_{height:40px;min-width:40px}.___STag_wpwb3_gg_._size_xl_wpwb3_gg_ .___SText_wpwb3_gg_{font-size:16px;line-height:1.5}.___STag_wpwb3_gg_._theme_primary_wpwb3_gg_{background-color:var(--colorBg_wpwb3);border-color:var(--colorBg_wpwb3);color:var(--colorText_wpwb3)}.___STag_wpwb3_gg_._theme_primary_wpwb3_gg_.__active_wpwb3_gg_,.___STag_wpwb3_gg_._theme_primary_wpwb3_gg_.__interactive_wpwb3_gg_:active,.___STag_wpwb3_gg_._theme_primary_wpwb3_gg_.__interactive_wpwb3_gg_:hover{background-color:var(--colorBgHover_wpwb3)}.___STag_wpwb3_gg_._theme_primary-invert_wpwb3_gg_{background-color:hsla(0,0%,100%,.15);color:#ffffff}.___STag_wpwb3_gg_._theme_primary-invert_wpwb3_gg_.__active_wpwb3_gg_,.___STag_wpwb3_gg_._theme_primary-invert_wpwb3_gg_.__interactive_wpwb3_gg_:active,.___STag_wpwb3_gg_._theme_primary-invert_wpwb3_gg_.__interactive_wpwb3_gg_:hover{background-color:hsla(0,0%,100%,.3)}.___STag_wpwb3_gg_._theme_additional-invert_wpwb3_gg_,.___STag_wpwb3_gg_._theme_secondary-invert_wpwb3_gg_{color:#ffffff;border-color:hsla(0,0%,100%,.3)}.___STag_wpwb3_gg_._theme_additional-invert_wpwb3_gg_.__active_wpwb3_gg_,.___STag_wpwb3_gg_._theme_additional-invert_wpwb3_gg_.__interactive_wpwb3_gg_:active,.___STag_wpwb3_gg_._theme_additional-invert_wpwb3_gg_.__interactive_wpwb3_gg_:hover,.___STag_wpwb3_gg_._theme_secondary-invert_wpwb3_gg_.__active_wpwb3_gg_,.___STag_wpwb3_gg_._theme_secondary-invert_wpwb3_gg_.__interactive_wpwb3_gg_:active,.___STag_wpwb3_gg_._theme_secondary-invert_wpwb3_gg_.__interactive_wpwb3_gg_:hover{background-color:hsla(0,0%,100%,.1)}.___STag_wpwb3_gg_._theme_additional_wpwb3_gg_{border-style:dashed}.___SText_wpwb3_gg_{display:inline-block;padding-left:4px;padding-right:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_wpwb3_gg_:not(:only-child):first-child{padding-right:0}.___SText_wpwb3_gg_:not(:first-child):not(:last-child){padding-left:0;padding-right:0}.___SText_wpwb3_gg_:not(:only-child):last-child{padding-left:0}.___SAddon_wpwb3_gg_{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding-left:4px;padding-right:4px}.___SCircle_wpwb3_gg_{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;margin:0 4px}.___SCircle_wpwb3_gg_:first-child{margin-left:0}.___SCircle_wpwb3_gg_:last-child{margin-right:0}.___SCircle_wpwb3_gg_._size_m_wpwb3_gg_{width:16px;height:16px}.___SCircle_wpwb3_gg_._size_l_wpwb3_gg_{width:20px;height:20px}.___SCircle_wpwb3_gg_._size_xl_wpwb3_gg_{width:20px;height:20px}.___SClose_wpwb3_gg_{cursor:pointer;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:4px;opacity:.5}.___SClose_wpwb3_gg_:hover{opacity:1}"
|
|
56
56
|
/*__inner_css_end__*/
|
|
57
|
-
, "
|
|
57
|
+
, "wpwb3_gg_")
|
|
58
58
|
/*__reshadow_css_end__*/
|
|
59
59
|
, {
|
|
60
|
-
"__STag": "
|
|
61
|
-
"--colorBg": "--
|
|
62
|
-
"--colorText": "--
|
|
63
|
-
"--colorBorder": "--
|
|
64
|
-
"_active": "
|
|
65
|
-
"_interactive": "
|
|
66
|
-
"--colorBgHover": "--
|
|
67
|
-
"_disabled": "
|
|
68
|
-
"_size_m": "
|
|
69
|
-
"__SCircle": "
|
|
70
|
-
"__SText": "
|
|
71
|
-
"_size_l": "
|
|
72
|
-
"_size_xl": "
|
|
73
|
-
"_theme_primary": "
|
|
74
|
-
"_theme_primary-invert": "_theme_primary-
|
|
75
|
-
"_theme_additional-invert": "_theme_additional-
|
|
76
|
-
"_theme_secondary-invert": "_theme_secondary-
|
|
77
|
-
"_theme_additional": "
|
|
78
|
-
"__SAddon": "
|
|
79
|
-
"__SClose": "
|
|
60
|
+
"__STag": "___STag_wpwb3_gg_",
|
|
61
|
+
"--colorBg": "--colorBg_wpwb3",
|
|
62
|
+
"--colorText": "--colorText_wpwb3",
|
|
63
|
+
"--colorBorder": "--colorBorder_wpwb3",
|
|
64
|
+
"_active": "__active_wpwb3_gg_",
|
|
65
|
+
"_interactive": "__interactive_wpwb3_gg_",
|
|
66
|
+
"--colorBgHover": "--colorBgHover_wpwb3",
|
|
67
|
+
"_disabled": "__disabled_wpwb3_gg_",
|
|
68
|
+
"_size_m": "_size_m_wpwb3_gg_",
|
|
69
|
+
"__SCircle": "___SCircle_wpwb3_gg_",
|
|
70
|
+
"__SText": "___SText_wpwb3_gg_",
|
|
71
|
+
"_size_l": "_size_l_wpwb3_gg_",
|
|
72
|
+
"_size_xl": "_size_xl_wpwb3_gg_",
|
|
73
|
+
"_theme_primary": "_theme_primary_wpwb3_gg_",
|
|
74
|
+
"_theme_primary-invert": "_theme_primary-invert_wpwb3_gg_",
|
|
75
|
+
"_theme_additional-invert": "_theme_additional-invert_wpwb3_gg_",
|
|
76
|
+
"_theme_secondary-invert": "_theme_secondary-invert_wpwb3_gg_",
|
|
77
|
+
"_theme_additional": "_theme_additional_wpwb3_gg_",
|
|
78
|
+
"__SAddon": "___SAddon_wpwb3_gg_",
|
|
79
|
+
"__SClose": "___SClose_wpwb3_gg_"
|
|
80
80
|
});
|
|
81
81
|
var textColorToBgColor = {
|
|
82
82
|
'gray-500': 'gray-100',
|
package/lib/es6/Tag.js
CHANGED
|
@@ -32,31 +32,31 @@ var style = (
|
|
|
32
32
|
/*__reshadow_css_start__*/
|
|
33
33
|
_sstyled.insert(
|
|
34
34
|
/*__inner_css_start__*/
|
|
35
|
-
".
|
|
35
|
+
".___STag_wpwb3_gg_{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;box-sizing:border-box;border-width:1px;border-style:solid;border-color:transparent;border-radius:24px;padding-left:4px;padding-right:4px;font-weight:500;background-color:var(--colorBg_wpwb3);color:var(--colorText_wpwb3);border-color:var(--colorBorder_wpwb3)}.___STag_wpwb3_gg_.__active_wpwb3_gg_,.___STag_wpwb3_gg_.__interactive_wpwb3_gg_:active,.___STag_wpwb3_gg_.__interactive_wpwb3_gg_:hover{background-color:var(--colorBgHover_wpwb3)}.___STag_wpwb3_gg_.__disabled_wpwb3_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STag_wpwb3_gg_.__interactive_wpwb3_gg_{cursor:pointer}.___STag_wpwb3_gg_._size_m_wpwb3_gg_{height:20px;min-width:20px}.___STag_wpwb3_gg_._size_m_wpwb3_gg_ .___SCircle_wpwb3_gg_:first-child{margin-left:-2px}.___STag_wpwb3_gg_._size_m_wpwb3_gg_ .___SCircle_wpwb3_gg_:last-child{margin-right:-2px}.___STag_wpwb3_gg_._size_m_wpwb3_gg_ .___SText_wpwb3_gg_{font-size:12px;line-height:1.33}.___STag_wpwb3_gg_._size_l_wpwb3_gg_{height:28px;min-width:28px}.___STag_wpwb3_gg_._size_l_wpwb3_gg_ .___SText_wpwb3_gg_{font-size:14px;line-height:1.42}.___STag_wpwb3_gg_._size_xl_wpwb3_gg_{height:40px;min-width:40px}.___STag_wpwb3_gg_._size_xl_wpwb3_gg_ .___SText_wpwb3_gg_{font-size:16px;line-height:1.5}.___STag_wpwb3_gg_._theme_primary_wpwb3_gg_{background-color:var(--colorBg_wpwb3);border-color:var(--colorBg_wpwb3);color:var(--colorText_wpwb3)}.___STag_wpwb3_gg_._theme_primary_wpwb3_gg_.__active_wpwb3_gg_,.___STag_wpwb3_gg_._theme_primary_wpwb3_gg_.__interactive_wpwb3_gg_:active,.___STag_wpwb3_gg_._theme_primary_wpwb3_gg_.__interactive_wpwb3_gg_:hover{background-color:var(--colorBgHover_wpwb3)}.___STag_wpwb3_gg_._theme_primary-invert_wpwb3_gg_{background-color:hsla(0,0%,100%,.15);color:#ffffff}.___STag_wpwb3_gg_._theme_primary-invert_wpwb3_gg_.__active_wpwb3_gg_,.___STag_wpwb3_gg_._theme_primary-invert_wpwb3_gg_.__interactive_wpwb3_gg_:active,.___STag_wpwb3_gg_._theme_primary-invert_wpwb3_gg_.__interactive_wpwb3_gg_:hover{background-color:hsla(0,0%,100%,.3)}.___STag_wpwb3_gg_._theme_additional-invert_wpwb3_gg_,.___STag_wpwb3_gg_._theme_secondary-invert_wpwb3_gg_{color:#ffffff;border-color:hsla(0,0%,100%,.3)}.___STag_wpwb3_gg_._theme_additional-invert_wpwb3_gg_.__active_wpwb3_gg_,.___STag_wpwb3_gg_._theme_additional-invert_wpwb3_gg_.__interactive_wpwb3_gg_:active,.___STag_wpwb3_gg_._theme_additional-invert_wpwb3_gg_.__interactive_wpwb3_gg_:hover,.___STag_wpwb3_gg_._theme_secondary-invert_wpwb3_gg_.__active_wpwb3_gg_,.___STag_wpwb3_gg_._theme_secondary-invert_wpwb3_gg_.__interactive_wpwb3_gg_:active,.___STag_wpwb3_gg_._theme_secondary-invert_wpwb3_gg_.__interactive_wpwb3_gg_:hover{background-color:hsla(0,0%,100%,.1)}.___STag_wpwb3_gg_._theme_additional_wpwb3_gg_{border-style:dashed}.___SText_wpwb3_gg_{display:inline-block;padding-left:4px;padding-right:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_wpwb3_gg_:not(:only-child):first-child{padding-right:0}.___SText_wpwb3_gg_:not(:first-child):not(:last-child){padding-left:0;padding-right:0}.___SText_wpwb3_gg_:not(:only-child):last-child{padding-left:0}.___SAddon_wpwb3_gg_{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding-left:4px;padding-right:4px}.___SCircle_wpwb3_gg_{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;margin:0 4px}.___SCircle_wpwb3_gg_:first-child{margin-left:0}.___SCircle_wpwb3_gg_:last-child{margin-right:0}.___SCircle_wpwb3_gg_._size_m_wpwb3_gg_{width:16px;height:16px}.___SCircle_wpwb3_gg_._size_l_wpwb3_gg_{width:20px;height:20px}.___SCircle_wpwb3_gg_._size_xl_wpwb3_gg_{width:20px;height:20px}.___SClose_wpwb3_gg_{cursor:pointer;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:4px;opacity:.5}.___SClose_wpwb3_gg_:hover{opacity:1}"
|
|
36
36
|
/*__inner_css_end__*/
|
|
37
|
-
, "
|
|
37
|
+
, "wpwb3_gg_")
|
|
38
38
|
/*__reshadow_css_end__*/
|
|
39
39
|
, {
|
|
40
|
-
"__STag": "
|
|
41
|
-
"--colorBg": "--
|
|
42
|
-
"--colorText": "--
|
|
43
|
-
"--colorBorder": "--
|
|
44
|
-
"_active": "
|
|
45
|
-
"_interactive": "
|
|
46
|
-
"--colorBgHover": "--
|
|
47
|
-
"_disabled": "
|
|
48
|
-
"_size_m": "
|
|
49
|
-
"__SCircle": "
|
|
50
|
-
"__SText": "
|
|
51
|
-
"_size_l": "
|
|
52
|
-
"_size_xl": "
|
|
53
|
-
"_theme_primary": "
|
|
54
|
-
"_theme_primary-invert": "_theme_primary-
|
|
55
|
-
"_theme_additional-invert": "_theme_additional-
|
|
56
|
-
"_theme_secondary-invert": "_theme_secondary-
|
|
57
|
-
"_theme_additional": "
|
|
58
|
-
"__SAddon": "
|
|
59
|
-
"__SClose": "
|
|
40
|
+
"__STag": "___STag_wpwb3_gg_",
|
|
41
|
+
"--colorBg": "--colorBg_wpwb3",
|
|
42
|
+
"--colorText": "--colorText_wpwb3",
|
|
43
|
+
"--colorBorder": "--colorBorder_wpwb3",
|
|
44
|
+
"_active": "__active_wpwb3_gg_",
|
|
45
|
+
"_interactive": "__interactive_wpwb3_gg_",
|
|
46
|
+
"--colorBgHover": "--colorBgHover_wpwb3",
|
|
47
|
+
"_disabled": "__disabled_wpwb3_gg_",
|
|
48
|
+
"_size_m": "_size_m_wpwb3_gg_",
|
|
49
|
+
"__SCircle": "___SCircle_wpwb3_gg_",
|
|
50
|
+
"__SText": "___SText_wpwb3_gg_",
|
|
51
|
+
"_size_l": "_size_l_wpwb3_gg_",
|
|
52
|
+
"_size_xl": "_size_xl_wpwb3_gg_",
|
|
53
|
+
"_theme_primary": "_theme_primary_wpwb3_gg_",
|
|
54
|
+
"_theme_primary-invert": "_theme_primary-invert_wpwb3_gg_",
|
|
55
|
+
"_theme_additional-invert": "_theme_additional-invert_wpwb3_gg_",
|
|
56
|
+
"_theme_secondary-invert": "_theme_secondary-invert_wpwb3_gg_",
|
|
57
|
+
"_theme_additional": "_theme_additional_wpwb3_gg_",
|
|
58
|
+
"__SAddon": "___SAddon_wpwb3_gg_",
|
|
59
|
+
"__SClose": "___SClose_wpwb3_gg_"
|
|
60
60
|
});
|
|
61
61
|
var textColorToBgColor = {
|
|
62
62
|
'gray-500': 'gray-100',
|