@smart-react-components/ui 2.0.0-alpha-124 → 2.0.0-alpha-126

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/Table/Tr.js CHANGED
@@ -16,8 +16,8 @@ exports.default = (0, styled_components_1.default)(Tr_1.default)(({ theme, hasHo
16
16
  color: ${theme.$.palette[palette].font};
17
17
  `
18
18
  : `
19
- background: ${!isEven ? theme.$.palette[palette].softBackground : theme.$.palette[palette].softDark};
20
- border-color: ${theme.$.palette[palette].softDarkest};
19
+ background: ${!isEven ? theme.$.palette[palette].softBackground : theme.$.palette[palette].softDynamic};
20
+ border-color: ${theme.$.palette[palette].softDynamicest};
21
21
  color: ${theme.$.palette[palette].softFont};
22
22
  `}
23
23
  }
@@ -25,7 +25,7 @@ exports.default = (0, styled_components_1.default)(Tr_1.default)(({ theme, hasHo
25
25
  ${hasHover
26
26
  ? `
27
27
  &:hover > *:nth-child(n+${startIndex}) {
28
- background: ${!isSoft ? theme.$.palette[palette].dynamicer : theme.$.palette[palette].softDarker};
28
+ background: ${!isSoft ? theme.$.palette[palette].dynamicer : theme.$.palette[palette].softDynamicer};
29
29
  }
30
30
  `
31
31
  : ''}
@@ -51,7 +51,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs(({ hasIc
51
51
  `
52
52
  : `
53
53
  background: ${theme.$.palette[palette].soft};
54
- border-color: ${theme.$.palette[palette].softDarkest};
54
+ border-color: ${theme.$.palette[palette].softDynamicest};
55
55
  color: ${theme.$.palette[palette].softFont};
56
56
  `}
57
57
  `
@@ -93,7 +93,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs(({ hasIc
93
93
  }
94
94
 
95
95
  hr {
96
- background: ${!isSoft ? theme.$.palette[palette].darkest : theme.$.palette[palette].softDarkest};
96
+ background: ${!isSoft ? theme.$.palette[palette].darkest : theme.$.palette[palette].softDynamicest};
97
97
  border: 0;
98
98
  height: 1px;
99
99
  width: 100%;
@@ -49,7 +49,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs(({ hasBa
49
49
  background: ${(palette !== alertPalette || isOutline) ? theme.$.palette[palette].main : theme.$.palette[alertPalette].darkest};
50
50
  `
51
51
  : `
52
- background: ${(palette !== alertPalette || isOutline) ? theme.$.palette[palette].soft : theme.$.palette[alertPalette].softDarkest};
52
+ background: ${(palette !== alertPalette || isOutline) ? theme.$.palette[palette].soft : theme.$.palette[alertPalette].softDynamicest};
53
53
  `}
54
54
  `
55
55
  : ''}
@@ -104,13 +104,13 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs(({ hasIc
104
104
  `
105
105
  : `
106
106
  .src-badge-content {
107
- background: ${theme.$.palette[palette].softDarker};
108
- border-color: ${theme.$.palette[palette].softDarker};
107
+ background: ${theme.$.palette[palette].softDynamicer};
108
+ border-color: ${theme.$.palette[palette].softDynamicer};
109
109
  }
110
110
 
111
111
  .src-badge-icon {
112
- background: ${theme.$.palette[palette].softDarkest};
113
- border-color: ${theme.$.palette[palette].softDarkest};
112
+ background: ${theme.$.palette[palette].softDynamicest};
113
+ border-color: ${theme.$.palette[palette].softDynamicest};
114
114
  }
115
115
  `}
116
116
  }
@@ -155,7 +155,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs(({ hasIc
155
155
  }
156
156
 
157
157
  .src-badge-icon {
158
- background: ${theme.$.palette[palette].softDarker};
158
+ background: ${theme.$.palette[palette].softDynamicer};
159
159
  color: ${theme.$.palette[palette].softFont};
160
160
  fill: ${theme.$.palette[palette].softFont};
161
161
  }
@@ -14,7 +14,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs({
14
14
  align-self: stretch;
15
15
  border: solid 1px;
16
16
  border-${types_1.OrderPosition[(0, props_1.getReverseOrderPosition)(iconPosition)].toLowerCase()}: 0;
17
- border-color: ${!isSoft ? theme.$.palette[palette].dynamicer : theme.$.palette[palette].softDarker};
17
+ border-color: ${!isSoft ? theme.$.palette[palette].dynamicer : theme.$.palette[palette].softDynamicer};
18
18
  border-radius: ${theme.$.radius.badge[shape]};
19
19
  border-bottom-${types_1.OrderPosition[(0, props_1.getReverseOrderPosition)(iconPosition)].toLowerCase()}-radius: 0;
20
20
  border-top-${types_1.OrderPosition[(0, props_1.getReverseOrderPosition)(iconPosition)].toLowerCase()}-radius: 0;
@@ -31,7 +31,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs({
31
31
  fill: ${theme.$.palette[palette].font};
32
32
  `
33
33
  : `
34
- background: ${theme.$.palette[palette].softDarker};
34
+ background: ${theme.$.palette[palette].softDynamicer};
35
35
  color: ${theme.$.palette[palette].softFont};
36
36
  fill: ${theme.$.palette[palette].softFont};
37
37
  `}
@@ -47,8 +47,8 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs({
47
47
  border-color: ${theme.$.palette[palette].dynamicest};
48
48
  `
49
49
  : `
50
- background: ${theme.$.palette[palette].softDarkest};
51
- border-color: ${theme.$.palette[palette].softDarkest};
50
+ background: ${theme.$.palette[palette].softDynamicest};
51
+ border-color: ${theme.$.palette[palette].softDynamicest};
52
52
  `}
53
53
  }
54
54
  `
@@ -75,7 +75,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs({
75
75
  fill: ${theme.$.palette[palette].font};
76
76
  `
77
77
  : `
78
- background: ${theme.$.palette[palette].softDarker};
78
+ background: ${theme.$.palette[palette].softDynamicer};
79
79
  color: ${theme.$.palette[palette].softFont};
80
80
  fill: ${theme.$.palette[palette].softFont};
81
81
  `}
@@ -52,8 +52,8 @@ exports.default = (0, styled_components_1.default)(Li_1.default)(({ theme, isAct
52
52
  : `
53
53
  ${(!isActive && !isDisabled) || isDisabled
54
54
  ? `
55
- color: ${theme.$.palette[palette].softDarkest};
56
- fill: ${theme.$.palette[palette].softDarkest};
55
+ color: ${theme.$.palette[palette].softDynamicest};
56
+ fill: ${theme.$.palette[palette].softDynamicest};
57
57
  `
58
58
  : `
59
59
  color: ${theme.$.palette[palette].softFont};
@@ -52,15 +52,15 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs({
52
52
  : ''}
53
53
  `
54
54
  : `
55
- background: ${theme.$.palette[palette].softDarker};
56
- border-color: ${theme.$.palette[palette].softDarker};
55
+ background: ${theme.$.palette[palette].softDynamicer};
56
+ border-color: ${theme.$.palette[palette].softDynamicer};
57
57
  color: ${theme.$.palette[palette].softFont};
58
58
 
59
59
  ${(isSeparated && hasHover)
60
60
  ? `
61
61
  &:hover {
62
- background: ${theme.$.palette[palette].softDarkest};
63
- border-color: ${theme.$.palette[palette].softDarkest};
62
+ background: ${theme.$.palette[palette].softDynamicest};
63
+ border-color: ${theme.$.palette[palette].softDynamicest};
64
64
  }
65
65
  `
66
66
  : ''}
@@ -82,13 +82,13 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs({
82
82
  : ''}
83
83
  `
84
84
  : `
85
- border-color: ${theme.$.palette[palette].softDarker};
86
- color: ${theme.$.palette[palette].softDarker};
85
+ border-color: ${theme.$.palette[palette].softDynamicer};
86
+ color: ${theme.$.palette[palette].softDynamicer};
87
87
 
88
88
  ${(isSeparated && hasHover)
89
89
  ? `
90
90
  &:hover {
91
- background: ${theme.$.palette[palette].softDarker};
91
+ background: ${theme.$.palette[palette].softDynamicer};
92
92
  color: ${theme.$.palette[palette].softFont};
93
93
  }
94
94
  `
@@ -133,8 +133,8 @@ exports.default = (0, styled_components_1.default)(Button_1.default).attrs(({ ha
133
133
  border-color: ${theme.$.palette[palette].soft};
134
134
  `
135
135
  : `
136
- background: ${theme.$.palette[palette].softDarker};
137
- border-color: ${theme.$.palette[palette].softDarker};
136
+ background: ${theme.$.palette[palette].softDynamicer};
137
+ border-color: ${theme.$.palette[palette].softDynamicer};
138
138
  `}
139
139
  }
140
140
 
@@ -142,13 +142,13 @@ exports.default = (0, styled_components_1.default)(Button_1.default).attrs(({ ha
142
142
  ? `
143
143
  &:hover {
144
144
  .src-button-content {
145
- background: ${theme.$.palette[palette].softDark};
146
- border-color: ${theme.$.palette[palette].softDark};
145
+ background: ${theme.$.palette[palette].softDynamic};
146
+ border-color: ${theme.$.palette[palette].softDynamic};
147
147
  }
148
148
 
149
149
  .src-button-addon {
150
- background: ${theme.$.palette[palette].softDarkest};
151
- border-color: ${theme.$.palette[palette].softDarkest};
150
+ background: ${theme.$.palette[palette].softDynamicest};
151
+ border-color: ${theme.$.palette[palette].softDynamicest};
152
152
  }
153
153
  }
154
154
  `
@@ -194,7 +194,7 @@ exports.default = (0, styled_components_1.default)(Button_1.default).attrs(({ ha
194
194
  }
195
195
 
196
196
  .src-button-addon {
197
- background: ${theme.$.palette[palette].softDarker};
197
+ background: ${theme.$.palette[palette].softDynamicer};
198
198
  color: ${theme.$.palette[palette].softFont};
199
199
  }
200
200
  }
@@ -53,12 +53,12 @@ exports.default = (0, styled_components_1.default)(Header_1.default).attrs({
53
53
  position: relative;
54
54
 
55
55
  > svg {
56
- fill: ${!isSoft ? theme.$.palette[palette].darker : theme.$.palette[palette].softDarker};
56
+ fill: ${!isSoft ? theme.$.palette[palette].darker : theme.$.palette[palette].softDynamicer};
57
57
  position: absolute;
58
58
  transition: 150ms ease-in-out;
59
59
 
60
60
  &:hover {
61
- fill: ${!isSoft ? theme.$.palette[palette].darkest : theme.$.palette[palette].softDarkest};
61
+ fill: ${!isSoft ? theme.$.palette[palette].darkest : theme.$.palette[palette].softDynamicest};
62
62
  }
63
63
 
64
64
  &.src-fade-show {
@@ -56,13 +56,13 @@ exports.default = (0, styled_components_1.default)(Section_1.default).attrs({
56
56
  `
57
57
  : `
58
58
  background: ${theme.$.palette[palette].soft};
59
- border-color: ${theme.$.palette[palette].softDark};
59
+ border-color: ${theme.$.palette[palette].softDynamic};
60
60
  color: ${theme.$.palette[palette].softFont};
61
61
 
62
62
  &:active,
63
63
  &:focus {
64
- background: ${theme.$.palette[palette].softDark};
65
- border-color: ${theme.$.palette[palette].softDarker};
64
+ background: ${theme.$.palette[palette].softDynamic};
65
+ border-color: ${theme.$.palette[palette].softDynamicer};
66
66
  }
67
67
  `}
68
68
 
@@ -44,7 +44,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasH
44
44
  }
45
45
  `
46
46
  : `
47
- background: ${!isOutline ? theme.$.palette[palette].softDark : theme.$.palette[palette].soft};
47
+ background: ${!isOutline ? theme.$.palette[palette].softDynamic : theme.$.palette[palette].soft};
48
48
  color: ${theme.$.palette[palette].softFont};
49
49
 
50
50
  .svg,
@@ -76,7 +76,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasH
76
76
  }
77
77
  `
78
78
  : `
79
- background: ${!isOutline ? theme.$.palette[palette].softDarkest : theme.$.palette[palette].softDarker};
79
+ background: ${!isOutline ? theme.$.palette[palette].softDynamicest : theme.$.palette[palette].softDynamicer};
80
80
  color: ${theme.$.palette[palette].softFont};
81
81
 
82
82
  .svg,
@@ -63,11 +63,11 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs(({ class
63
63
  ${!isFocused
64
64
  ? `
65
65
  background: ${theme.$.palette[palette].soft};
66
- border-color: ${theme.$.palette[palette].softDark};
66
+ border-color: ${theme.$.palette[palette].softDynamic};
67
67
  `
68
68
  : `
69
- background: ${theme.$.palette[palette].softDarker};
70
- border-color: ${theme.$.palette[palette].softDarkest};
69
+ background: ${theme.$.palette[palette].softDynamicer};
70
+ border-color: ${theme.$.palette[palette].softDynamicest};
71
71
  `}
72
72
  `}
73
73
  `
@@ -49,7 +49,7 @@ exports.default = (0, styled_components_1.default)(Input_1.default).attrs(({ cla
49
49
  color: ${theme.$.palette[palette].font};
50
50
  `
51
51
  : `
52
- background: ${!isFocused ? theme.$.palette[palette].soft : theme.$.palette[palette].softDarker};
52
+ background: ${!isFocused ? theme.$.palette[palette].soft : theme.$.palette[palette].softDynamicer};
53
53
  color: ${theme.$.palette[palette].softFont};
54
54
  `}
55
55
 
@@ -22,7 +22,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasB
22
22
  border-color: ${!isFocused ? theme.$.palette[palette].dark : theme.$.palette[palette].dynamicest};
23
23
  `
24
24
  : `
25
- border-color: ${!isFocused ? theme.$.palette[palette].softDark : theme.$.palette[palette].softDarkest};
25
+ border-color: ${!isFocused ? theme.$.palette[palette].softDynamic : theme.$.palette[palette].softDynamicest};
26
26
  `}
27
27
  `
28
28
  : `
@@ -77,20 +77,20 @@ exports.default = (0, styled_components_1.default)(Li_1.default)(({ theme, isAct
77
77
  ${!isActive
78
78
  ? `
79
79
  background: ${theme.$.palette[palette].soft};
80
- border-color: ${theme.$.palette[palette].softDark};
80
+ border-color: ${theme.$.palette[palette].softDynamic};
81
81
 
82
82
  ${!isDisabled
83
83
  ? `
84
84
  &:hover {
85
- background: ${theme.$.palette[palette].softDarker};
86
- border-color: ${theme.$.palette[palette].softDarkest};
85
+ background: ${theme.$.palette[palette].softDynamicer};
86
+ border-color: ${theme.$.palette[palette].softDynamicest};
87
87
  }
88
88
  `
89
89
  : ''}
90
90
  `
91
91
  : `
92
- background: ${theme.$.palette[palette].softDarker};
93
- border-color: ${theme.$.palette[palette].softDarkest};
92
+ background: ${theme.$.palette[palette].softDynamicer};
93
+ border-color: ${theme.$.palette[palette].softDynamicest};
94
94
  `}
95
95
  `}
96
96
  `
@@ -44,13 +44,13 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs({
44
44
  ${isSoft
45
45
  ? `
46
46
  background: ${theme.$.palette[palette].soft};
47
- border: solid 1px ${theme.$.palette[palette].softDarker};
47
+ border: solid 1px ${theme.$.palette[palette].softDynamicer};
48
48
  color: ${theme.$.palette[palette].softFont};
49
49
  fill: ${theme.$.palette[palette].softFont};
50
50
 
51
51
  ~ ${PopoverArrow_1.default}[data-arrow-header="true"] {
52
52
  fill: ${theme.$.palette[palette].soft};
53
- stroke: ${theme.$.palette[palette].softDarker};
53
+ stroke: ${theme.$.palette[palette].softDynamicer};
54
54
  }
55
55
  `
56
56
  : `
@@ -119,14 +119,14 @@ exports.default = (0, styled_components_1.default)(Table_1.default).attrs({
119
119
  : `
120
120
  > * > tr > * {
121
121
  background: ${theme.$.palette[palette].softBackground};
122
- border-color: ${theme.$.palette[palette].softDarkest};
122
+ border-color: ${theme.$.palette[palette].softDynamicest};
123
123
  color: ${theme.$.palette[palette].softFont};
124
124
  }
125
125
 
126
126
  ${hasHeadBackground
127
127
  ? `
128
128
  > thead > tr > * {
129
- background: ${theme.$.palette[palette].softDark};
129
+ background: ${theme.$.palette[palette].softDynamic};
130
130
  }
131
131
  `
132
132
  : ''}
@@ -134,7 +134,7 @@ exports.default = (0, styled_components_1.default)(Table_1.default).attrs({
134
134
  ${isStriped
135
135
  ? `
136
136
  > tbody > tr:nth-child(${stripedOrientation}) > * {
137
- background: ${theme.$.palette[palette].softDark};
137
+ background: ${theme.$.palette[palette].softDynamic};
138
138
  }
139
139
  `
140
140
  : ''}
@@ -142,7 +142,7 @@ exports.default = (0, styled_components_1.default)(Table_1.default).attrs({
142
142
  ${hasHover
143
143
  ? `
144
144
  > tbody > tr:hover > * {
145
- background: ${theme.$.palette[palette].softDarker};
145
+ background: ${theme.$.palette[palette].softDynamicer};
146
146
  }
147
147
  `
148
148
  : ''}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-react-components/ui",
3
- "version": "2.0.0-alpha-124",
3
+ "version": "2.0.0-alpha-126",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "description": "SRC UI includes React and Styled components.",
@@ -64,9 +64,9 @@
64
64
  "test": "jest"
65
65
  },
66
66
  "devDependencies": {
67
- "@smart-react-components/core": "2.0.0-alpha-47",
68
- "@smart-react-components/router": "2.0.0-alpha-44",
69
- "@smart-react-components/transition": "2.0.0-alpha-41",
67
+ "@smart-react-components/core": "2.0.0-alpha-48",
68
+ "@smart-react-components/router": "2.0.0-alpha-47",
69
+ "@smart-react-components/transition": "2.0.0-alpha-42",
70
70
  "@testing-library/react": "13.4.0",
71
71
  "@types/jest": "29.0.1",
72
72
  "@types/react": "18.0.19",
@@ -83,9 +83,9 @@
83
83
  "typescript": "4.8.3"
84
84
  },
85
85
  "peerDependencies": {
86
- "@smart-react-components/core": "^2.0.0-alpha-47",
87
- "@smart-react-components/router": "^2.0.0-alpha-44",
88
- "@smart-react-components/transition": "^2.0.0-alpha-41",
86
+ "@smart-react-components/core": "^2.0.0-alpha-48",
87
+ "@smart-react-components/router": "^2.0.0-alpha-47",
88
+ "@smart-react-components/transition": "^2.0.0-alpha-42",
89
89
  "react": "^18.2.0",
90
90
  "react-dom": "^18.2.0",
91
91
  "styled-components": "^5.3.5"