@semcore/tag 4.2.6 → 4.2.8
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 +16 -2
- package/lib/cjs/Tag.js +22 -22
- package/lib/cjs/style/tag.shadow.css +5 -0
- package/lib/es6/Tag.js +22 -22
- package/lib/es6/style/tag.shadow.css +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [4.2.
|
|
5
|
+
## [4.2.8] - 2022-11-30
|
|
6
6
|
|
|
7
7
|
### Changed
|
|
8
8
|
|
|
9
|
-
- Version patch update due to children dependencies update (`@semcore/
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.40.0 ~> 3.41.0], `@semcore/icon` [3.3.0 ~> 3.3.1], `@semcore/flex-box` [4.6.3 ~> 4.6.4]).
|
|
10
|
+
|
|
11
|
+
## [4.2.7] - 2022-11-15
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Added hover styles for close icon.
|
|
16
|
+
|
|
17
|
+
## [4.2.6] - 2022-11-08
|
|
18
|
+
|
|
19
|
+
## [4.2.5] - 2022-10-28
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.40.0 ~> 3.40.0], `@semcore/icon` [3.1.1 ~> 3.1.2], `@semcore/flex-box` [4.6.2 ~> 4.6.3]).
|
|
10
24
|
|
|
11
25
|
## [4.2.0] - 2022-10-10
|
|
12
26
|
|
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_wpbga_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_wpbga);color:var(--colorText_wpbga);border-color:var(--colorBorder_wpbga)}.___STag_wpbga_gg_.__active_wpbga_gg_,.___STag_wpbga_gg_.__interactive_wpbga_gg_:active,.___STag_wpbga_gg_.__interactive_wpbga_gg_:hover{background-color:var(--colorBgHover_wpbga)}.___STag_wpbga_gg_.__disabled_wpbga_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STag_wpbga_gg_.__interactive_wpbga_gg_{cursor:pointer}.___STag_wpbga_gg_._size_m_wpbga_gg_{height:20px;min-width:20px}.___STag_wpbga_gg_._size_m_wpbga_gg_ .___SCircle_wpbga_gg_:first-child{margin-left:-2px}.___STag_wpbga_gg_._size_m_wpbga_gg_ .___SCircle_wpbga_gg_:last-child{margin-right:-2px}.___STag_wpbga_gg_._size_m_wpbga_gg_ .___SText_wpbga_gg_{font-size:12px;line-height:1.33}.___STag_wpbga_gg_._size_l_wpbga_gg_{height:28px;min-width:28px}.___STag_wpbga_gg_._size_l_wpbga_gg_ .___SText_wpbga_gg_{font-size:14px;line-height:1.42}.___STag_wpbga_gg_._size_xl_wpbga_gg_{height:40px;min-width:40px}.___STag_wpbga_gg_._size_xl_wpbga_gg_ .___SText_wpbga_gg_{font-size:16px;line-height:1.5}.___STag_wpbga_gg_._theme_primary_wpbga_gg_{background-color:var(--colorBg_wpbga);border-color:var(--colorBg_wpbga);color:var(--colorText_wpbga)}.___STag_wpbga_gg_._theme_primary_wpbga_gg_.__active_wpbga_gg_,.___STag_wpbga_gg_._theme_primary_wpbga_gg_.__interactive_wpbga_gg_:active,.___STag_wpbga_gg_._theme_primary_wpbga_gg_.__interactive_wpbga_gg_:hover{background-color:var(--colorBgHover_wpbga)}.___STag_wpbga_gg_._theme_primary-invert_wpbga_gg_{background-color:hsla(0,0%,100%,.15);color:#ffffff}.___STag_wpbga_gg_._theme_primary-invert_wpbga_gg_.__active_wpbga_gg_,.___STag_wpbga_gg_._theme_primary-invert_wpbga_gg_.__interactive_wpbga_gg_:active,.___STag_wpbga_gg_._theme_primary-invert_wpbga_gg_.__interactive_wpbga_gg_:hover{background-color:hsla(0,0%,100%,.3)}.___STag_wpbga_gg_._theme_additional-invert_wpbga_gg_,.___STag_wpbga_gg_._theme_secondary-invert_wpbga_gg_{color:#ffffff;border-color:hsla(0,0%,100%,.3)}.___STag_wpbga_gg_._theme_additional-invert_wpbga_gg_.__active_wpbga_gg_,.___STag_wpbga_gg_._theme_additional-invert_wpbga_gg_.__interactive_wpbga_gg_:active,.___STag_wpbga_gg_._theme_additional-invert_wpbga_gg_.__interactive_wpbga_gg_:hover,.___STag_wpbga_gg_._theme_secondary-invert_wpbga_gg_.__active_wpbga_gg_,.___STag_wpbga_gg_._theme_secondary-invert_wpbga_gg_.__interactive_wpbga_gg_:active,.___STag_wpbga_gg_._theme_secondary-invert_wpbga_gg_.__interactive_wpbga_gg_:hover{background-color:hsla(0,0%,100%,.1)}.___STag_wpbga_gg_._theme_additional_wpbga_gg_{border-style:dashed}.___SText_wpbga_gg_{display:inline-block;padding-left:4px;padding-right:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_wpbga_gg_:not(:only-child):first-child{padding-right:0}.___SText_wpbga_gg_:not(:first-child):not(:last-child){padding-left:0;padding-right:0}.___SText_wpbga_gg_:not(:only-child):last-child{padding-left:0}.___SAddon_wpbga_gg_{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding-left:4px;padding-right:4px}.___SCircle_wpbga_gg_{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;margin:0 4px}.___SCircle_wpbga_gg_:first-child{margin-left:0}.___SCircle_wpbga_gg_:last-child{margin-right:0}.___SCircle_wpbga_gg_._size_m_wpbga_gg_{width:16px;height:16px}.___SCircle_wpbga_gg_._size_l_wpbga_gg_{width:20px;height:20px}.___SCircle_wpbga_gg_._size_xl_wpbga_gg_{width:20px;height:20px}.___SClose_wpbga_gg_{cursor:pointer;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:4px;opacity:.5}.___SClose_wpbga_gg_:hover{opacity:1}"
|
|
56
56
|
/*__inner_css_end__*/
|
|
57
|
-
, "
|
|
57
|
+
, "wpbga_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_wpbga_gg_",
|
|
61
|
+
"--colorBg": "--colorBg_wpbga",
|
|
62
|
+
"--colorText": "--colorText_wpbga",
|
|
63
|
+
"--colorBorder": "--colorBorder_wpbga",
|
|
64
|
+
"_active": "__active_wpbga_gg_",
|
|
65
|
+
"_interactive": "__interactive_wpbga_gg_",
|
|
66
|
+
"--colorBgHover": "--colorBgHover_wpbga",
|
|
67
|
+
"_disabled": "__disabled_wpbga_gg_",
|
|
68
|
+
"_size_m": "_size_m_wpbga_gg_",
|
|
69
|
+
"__SCircle": "___SCircle_wpbga_gg_",
|
|
70
|
+
"__SText": "___SText_wpbga_gg_",
|
|
71
|
+
"_size_l": "_size_l_wpbga_gg_",
|
|
72
|
+
"_size_xl": "_size_xl_wpbga_gg_",
|
|
73
|
+
"_theme_primary": "_theme_primary_wpbga_gg_",
|
|
74
|
+
"_theme_primary-invert": "_theme_primary-invert_wpbga_gg_",
|
|
75
|
+
"_theme_additional-invert": "_theme_additional-invert_wpbga_gg_",
|
|
76
|
+
"_theme_secondary-invert": "_theme_secondary-invert_wpbga_gg_",
|
|
77
|
+
"_theme_additional": "_theme_additional_wpbga_gg_",
|
|
78
|
+
"__SAddon": "___SAddon_wpbga_gg_",
|
|
79
|
+
"__SClose": "___SClose_wpbga_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_wpbga_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_wpbga);color:var(--colorText_wpbga);border-color:var(--colorBorder_wpbga)}.___STag_wpbga_gg_.__active_wpbga_gg_,.___STag_wpbga_gg_.__interactive_wpbga_gg_:active,.___STag_wpbga_gg_.__interactive_wpbga_gg_:hover{background-color:var(--colorBgHover_wpbga)}.___STag_wpbga_gg_.__disabled_wpbga_gg_{opacity:0.3;cursor:default;pointer-events:none}.___STag_wpbga_gg_.__interactive_wpbga_gg_{cursor:pointer}.___STag_wpbga_gg_._size_m_wpbga_gg_{height:20px;min-width:20px}.___STag_wpbga_gg_._size_m_wpbga_gg_ .___SCircle_wpbga_gg_:first-child{margin-left:-2px}.___STag_wpbga_gg_._size_m_wpbga_gg_ .___SCircle_wpbga_gg_:last-child{margin-right:-2px}.___STag_wpbga_gg_._size_m_wpbga_gg_ .___SText_wpbga_gg_{font-size:12px;line-height:1.33}.___STag_wpbga_gg_._size_l_wpbga_gg_{height:28px;min-width:28px}.___STag_wpbga_gg_._size_l_wpbga_gg_ .___SText_wpbga_gg_{font-size:14px;line-height:1.42}.___STag_wpbga_gg_._size_xl_wpbga_gg_{height:40px;min-width:40px}.___STag_wpbga_gg_._size_xl_wpbga_gg_ .___SText_wpbga_gg_{font-size:16px;line-height:1.5}.___STag_wpbga_gg_._theme_primary_wpbga_gg_{background-color:var(--colorBg_wpbga);border-color:var(--colorBg_wpbga);color:var(--colorText_wpbga)}.___STag_wpbga_gg_._theme_primary_wpbga_gg_.__active_wpbga_gg_,.___STag_wpbga_gg_._theme_primary_wpbga_gg_.__interactive_wpbga_gg_:active,.___STag_wpbga_gg_._theme_primary_wpbga_gg_.__interactive_wpbga_gg_:hover{background-color:var(--colorBgHover_wpbga)}.___STag_wpbga_gg_._theme_primary-invert_wpbga_gg_{background-color:hsla(0,0%,100%,.15);color:#ffffff}.___STag_wpbga_gg_._theme_primary-invert_wpbga_gg_.__active_wpbga_gg_,.___STag_wpbga_gg_._theme_primary-invert_wpbga_gg_.__interactive_wpbga_gg_:active,.___STag_wpbga_gg_._theme_primary-invert_wpbga_gg_.__interactive_wpbga_gg_:hover{background-color:hsla(0,0%,100%,.3)}.___STag_wpbga_gg_._theme_additional-invert_wpbga_gg_,.___STag_wpbga_gg_._theme_secondary-invert_wpbga_gg_{color:#ffffff;border-color:hsla(0,0%,100%,.3)}.___STag_wpbga_gg_._theme_additional-invert_wpbga_gg_.__active_wpbga_gg_,.___STag_wpbga_gg_._theme_additional-invert_wpbga_gg_.__interactive_wpbga_gg_:active,.___STag_wpbga_gg_._theme_additional-invert_wpbga_gg_.__interactive_wpbga_gg_:hover,.___STag_wpbga_gg_._theme_secondary-invert_wpbga_gg_.__active_wpbga_gg_,.___STag_wpbga_gg_._theme_secondary-invert_wpbga_gg_.__interactive_wpbga_gg_:active,.___STag_wpbga_gg_._theme_secondary-invert_wpbga_gg_.__interactive_wpbga_gg_:hover{background-color:hsla(0,0%,100%,.1)}.___STag_wpbga_gg_._theme_additional_wpbga_gg_{border-style:dashed}.___SText_wpbga_gg_{display:inline-block;padding-left:4px;padding-right:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_wpbga_gg_:not(:only-child):first-child{padding-right:0}.___SText_wpbga_gg_:not(:first-child):not(:last-child){padding-left:0;padding-right:0}.___SText_wpbga_gg_:not(:only-child):last-child{padding-left:0}.___SAddon_wpbga_gg_{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding-left:4px;padding-right:4px}.___SCircle_wpbga_gg_{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;margin:0 4px}.___SCircle_wpbga_gg_:first-child{margin-left:0}.___SCircle_wpbga_gg_:last-child{margin-right:0}.___SCircle_wpbga_gg_._size_m_wpbga_gg_{width:16px;height:16px}.___SCircle_wpbga_gg_._size_l_wpbga_gg_{width:20px;height:20px}.___SCircle_wpbga_gg_._size_xl_wpbga_gg_{width:20px;height:20px}.___SClose_wpbga_gg_{cursor:pointer;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:4px;opacity:.5}.___SClose_wpbga_gg_:hover{opacity:1}"
|
|
36
36
|
/*__inner_css_end__*/
|
|
37
|
-
, "
|
|
37
|
+
, "wpbga_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_wpbga_gg_",
|
|
41
|
+
"--colorBg": "--colorBg_wpbga",
|
|
42
|
+
"--colorText": "--colorText_wpbga",
|
|
43
|
+
"--colorBorder": "--colorBorder_wpbga",
|
|
44
|
+
"_active": "__active_wpbga_gg_",
|
|
45
|
+
"_interactive": "__interactive_wpbga_gg_",
|
|
46
|
+
"--colorBgHover": "--colorBgHover_wpbga",
|
|
47
|
+
"_disabled": "__disabled_wpbga_gg_",
|
|
48
|
+
"_size_m": "_size_m_wpbga_gg_",
|
|
49
|
+
"__SCircle": "___SCircle_wpbga_gg_",
|
|
50
|
+
"__SText": "___SText_wpbga_gg_",
|
|
51
|
+
"_size_l": "_size_l_wpbga_gg_",
|
|
52
|
+
"_size_xl": "_size_xl_wpbga_gg_",
|
|
53
|
+
"_theme_primary": "_theme_primary_wpbga_gg_",
|
|
54
|
+
"_theme_primary-invert": "_theme_primary-invert_wpbga_gg_",
|
|
55
|
+
"_theme_additional-invert": "_theme_additional-invert_wpbga_gg_",
|
|
56
|
+
"_theme_secondary-invert": "_theme_secondary-invert_wpbga_gg_",
|
|
57
|
+
"_theme_additional": "_theme_additional_wpbga_gg_",
|
|
58
|
+
"__SAddon": "___SAddon_wpbga_gg_",
|
|
59
|
+
"__SClose": "___SClose_wpbga_gg_"
|
|
60
60
|
});
|
|
61
61
|
var textColorToBgColor = {
|
|
62
62
|
'gray-500': 'gray-100',
|