@laerdal/life-react-components 6.0.0-dev.26 → 6.0.0-dev.27.full
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/README.md +1 -1
- package/dist/Button/DualFunctionButton.cjs +4 -4
- package/dist/Button/DualFunctionButton.cjs.map +1 -1
- package/dist/Button/DualFunctionButton.d.ts +2 -2
- package/dist/Button/DualFunctionButton.js +4 -4
- package/dist/Button/DualFunctionButton.js.map +1 -1
- package/dist/Button/{Button.cjs → TextButton.cjs} +179 -92
- package/dist/Button/TextButton.cjs.map +1 -0
- package/dist/Button/TextButton.d.ts +70 -0
- package/dist/Button/{Button.js → TextButton.js} +178 -91
- package/dist/Button/TextButton.js.map +1 -0
- package/dist/Button/__tests__/Button.test.tsx +8 -8
- package/dist/Button/__tests__/TextButton.test.tsx +45 -0
- package/dist/Button/index.cjs +11 -11
- package/dist/Button/index.cjs.map +1 -1
- package/dist/Button/index.d.ts +2 -2
- package/dist/Button/index.js +2 -2
- package/dist/Button/index.js.map +1 -1
- package/dist/Card/VerticalCard/{Card.cjs → VerticalCard.cjs} +20 -20
- package/dist/Card/VerticalCard/VerticalCard.cjs.map +1 -0
- package/dist/Card/VerticalCard/VerticalCard.d.ts +25 -0
- package/dist/Card/VerticalCard/{Card.js → VerticalCard.js} +19 -19
- package/dist/Card/VerticalCard/VerticalCard.js.map +1 -0
- package/dist/Card/VerticalCard/{CardBottomSection.cjs → VerticalCardBottomSection.cjs} +21 -21
- package/dist/Card/VerticalCard/VerticalCardBottomSection.cjs.map +1 -0
- package/dist/Card/VerticalCard/VerticalCardBottomSection.d.ts +53 -0
- package/dist/Card/VerticalCard/{CardBottomSection.js → VerticalCardBottomSection.js} +21 -21
- package/dist/Card/VerticalCard/VerticalCardBottomSection.js.map +1 -0
- package/dist/Card/VerticalCard/{CardMiddleSection.cjs → VerticalCardMiddleSection.cjs} +16 -16
- package/dist/Card/VerticalCard/VerticalCardMiddleSection.cjs.map +1 -0
- package/dist/Card/VerticalCard/VerticalCardMiddleSection.d.ts +42 -0
- package/dist/Card/VerticalCard/{CardMiddleSection.js → VerticalCardMiddleSection.js} +15 -15
- package/dist/Card/VerticalCard/VerticalCardMiddleSection.js.map +1 -0
- package/dist/Card/VerticalCard/{CardTopSection.cjs → VerticalCardTopSection.cjs} +15 -15
- package/dist/Card/VerticalCard/VerticalCardTopSection.cjs.map +1 -0
- package/dist/Card/VerticalCard/{CardTopSection.d.ts → VerticalCardTopSection.d.ts} +8 -8
- package/dist/Card/VerticalCard/{CardTopSection.js → VerticalCardTopSection.js} +14 -14
- package/dist/Card/VerticalCard/VerticalCardTopSection.js.map +1 -0
- package/dist/Card/{HorizontalCard → VerticalCard}/__tests__/VerticalCard.test.tsx +15 -15
- package/dist/Card/VerticalCard/index.cjs +25 -25
- package/dist/Card/VerticalCard/index.cjs.map +1 -1
- package/dist/Card/VerticalCard/index.d.ts +7 -7
- package/dist/Card/VerticalCard/index.js +7 -7
- package/dist/Card/VerticalCard/index.js.map +1 -1
- package/dist/Chips/__tests__/ChoiceChips.test.tsx +1 -1
- package/dist/Dropdown/DropdownContent.cjs +2 -2
- package/dist/Dropdown/DropdownContent.cjs.map +1 -1
- package/dist/Dropdown/DropdownContent.js +2 -2
- package/dist/Dropdown/DropdownContent.js.map +1 -1
- package/dist/GlobalNavigationBar/desktop/RightSideNav.cjs +2 -2
- package/dist/GlobalNavigationBar/desktop/RightSideNav.cjs.map +1 -1
- package/dist/GlobalNavigationBar/desktop/RightSideNav.js +3 -3
- package/dist/GlobalNavigationBar/desktop/RightSideNav.js.map +1 -1
- package/dist/GlobalNavigationBar/desktop/UserMenu.cjs +1 -1
- package/dist/GlobalNavigationBar/desktop/UserMenu.cjs.map +1 -1
- package/dist/GlobalNavigationBar/desktop/UserMenu.js +2 -2
- package/dist/GlobalNavigationBar/desktop/UserMenu.js.map +1 -1
- package/dist/GlobalNavigationBar/mobile/MobileActionContainer.cjs +1 -1
- package/dist/GlobalNavigationBar/mobile/MobileActionContainer.cjs.map +1 -1
- package/dist/GlobalNavigationBar/mobile/MobileActionContainer.js +2 -2
- package/dist/GlobalNavigationBar/mobile/MobileActionContainer.js.map +1 -1
- package/dist/GlobalNavigationBar/types.cjs.map +1 -1
- package/dist/GlobalNavigationBar/types.d.ts +2 -2
- package/dist/GlobalNavigationBar/types.js.map +1 -1
- package/dist/Modals/ModalContent.cjs +2 -2
- package/dist/Modals/ModalContent.cjs.map +1 -1
- package/dist/Modals/ModalContent.js +3 -3
- package/dist/Modals/ModalContent.js.map +1 -1
- package/dist/Modals/ModalDialog.cjs +2 -2
- package/dist/Modals/ModalDialog.cjs.map +1 -1
- package/dist/Modals/ModalDialog.js +3 -3
- package/dist/Modals/ModalDialog.js.map +1 -1
- package/dist/Modals/ModalTypes.cjs.map +1 -1
- package/dist/Modals/ModalTypes.d.ts +3 -3
- package/dist/Modals/ModalTypes.js.map +1 -1
- package/dist/Popover/Popover.cjs +1 -1
- package/dist/Popover/Popover.cjs.map +1 -1
- package/dist/Popover/Popover.js +2 -2
- package/dist/Popover/Popover.js.map +1 -1
- package/dist/SideMenu/SideMenuFooter.cjs +1 -1
- package/dist/SideMenu/SideMenuFooter.cjs.map +1 -1
- package/dist/SideMenu/SideMenuFooter.js +2 -2
- package/dist/SideMenu/SideMenuFooter.js.map +1 -1
- package/dist/SideMenu/types.cjs.map +1 -1
- package/dist/SideMenu/types.d.ts +2 -2
- package/dist/SideMenu/types.js.map +1 -1
- package/dist/Table/TableBody.cjs +1 -1
- package/dist/Table/TableBody.cjs.map +1 -1
- package/dist/Table/TableBody.js +2 -2
- package/dist/Table/TableBody.js.map +1 -1
- package/dist/Table/TableTypes.cjs.map +1 -1
- package/dist/Table/TableTypes.d.ts +2 -2
- package/dist/Table/TableTypes.js.map +1 -1
- package/dist/Tile/TileCommonItems.cjs +1 -1
- package/dist/Tile/TileCommonItems.cjs.map +1 -1
- package/dist/Tile/TileCommonItems.js +2 -2
- package/dist/Tile/TileCommonItems.js.map +1 -1
- package/dist/Tile/TileTypes.cjs.map +1 -1
- package/dist/Tile/TileTypes.d.ts +2 -2
- package/dist/Tile/TileTypes.js.map +1 -1
- package/dist/Toasters/Toast.cjs +1 -2
- package/dist/Toasters/Toast.cjs.map +1 -1
- package/dist/Toasters/Toast.js +2 -3
- package/dist/Toasters/Toast.js.map +1 -1
- package/package.json +152 -148
- package/dist/Button/Button.cjs.map +0 -1
- package/dist/Button/Button.d.ts +0 -70
- package/dist/Button/Button.js.map +0 -1
- package/dist/Card/VerticalCard/Card.cjs.map +0 -1
- package/dist/Card/VerticalCard/Card.d.ts +0 -25
- package/dist/Card/VerticalCard/Card.js.map +0 -1
- package/dist/Card/VerticalCard/CardBottomSection.cjs.map +0 -1
- package/dist/Card/VerticalCard/CardBottomSection.d.ts +0 -53
- package/dist/Card/VerticalCard/CardBottomSection.js.map +0 -1
- package/dist/Card/VerticalCard/CardMiddleSection.cjs.map +0 -1
- package/dist/Card/VerticalCard/CardMiddleSection.d.ts +0 -42
- package/dist/Card/VerticalCard/CardMiddleSection.js.map +0 -1
- package/dist/Card/VerticalCard/CardTopSection.cjs.map +0 -1
- package/dist/Card/VerticalCard/CardTopSection.js.map +0 -1
- package/dist/Card/__tests__/Card.test.tsx +0 -146
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = exports.
|
|
7
|
+
exports.default = exports.TextButtonTertiaryStyled = exports.TextButtonSecondaryStyled = exports.TextButtonSecondaryDestructiveStyled = exports.TextButtonPrimaryStyled = exports.TextButtonPositiveStyled = exports.TextButtonDestructiveStyled = exports.TextButtonContentContainer = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -15,7 +15,7 @@ var _styles = require("../styles");
|
|
|
15
15
|
var _types = require("../types");
|
|
16
16
|
var _common = require("../common");
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
-
const _excluded = ["children", "variant", "type", "size", "
|
|
18
|
+
const _excluded = ["children", "variant", "type", "size", "invertFocus", "width", "testId", "disabled", "flatEdge", "icon", "iconPosition"],
|
|
19
19
|
_excluded2 = ["loading"];
|
|
20
20
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
21
21
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -32,11 +32,11 @@ const getBorderRadius = (flatEdge, radius) => {
|
|
|
32
32
|
return `${radius}px`;
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
-
const
|
|
35
|
+
const TextButtonContentContainer = exports.TextButtonContentContainer = _styledComponents.default.div`
|
|
36
36
|
min-width: 64px;
|
|
37
37
|
`;
|
|
38
|
-
const
|
|
39
|
-
const
|
|
38
|
+
const TextButtonBaseStyled = _styledComponents.default.button``;
|
|
39
|
+
const TextButtonPrimaryStyled = exports.TextButtonPrimaryStyled = (0, _styledComponents.default)(TextButtonBaseStyled)`
|
|
40
40
|
border: none;
|
|
41
41
|
background-color: transparent;
|
|
42
42
|
cursor: pointer;
|
|
@@ -47,22 +47,22 @@ const ButtonPrimaryStyled = exports.ButtonPrimaryStyled = (0, _styledComponents.
|
|
|
47
47
|
&.loading-state {
|
|
48
48
|
cursor: wait;
|
|
49
49
|
}
|
|
50
|
-
${
|
|
51
|
-
${props => props.$size === _types.Size.Large ? (0, _styles.ComponentLStyling)(_styles.ComponentTextStyle.Bold,
|
|
50
|
+
${TextButtonContentContainer} {
|
|
51
|
+
${props => props.$size === _types.Size.Large ? (0, _styles.ComponentLStyling)(_styles.ComponentTextStyle.Bold, _styles.COLORS.generateToken({
|
|
52
52
|
componentType: 'text',
|
|
53
53
|
isOnFill: true,
|
|
54
54
|
defaultVariant: 'primary'
|
|
55
|
-
}, props.theme)) : props.$size === _types.Size.Small ? (0, _styles.ComponentSStyling)(_styles.ComponentTextStyle.Bold,
|
|
55
|
+
}, props.theme)) : props.$size === _types.Size.Small ? (0, _styles.ComponentSStyling)(_styles.ComponentTextStyle.Bold, _styles.COLORS.generateToken({
|
|
56
56
|
componentType: 'text',
|
|
57
57
|
isOnFill: true,
|
|
58
58
|
defaultVariant: 'primary'
|
|
59
|
-
}, props.theme)) : (0, _styles.ComponentMStyling)(_styles.ComponentTextStyle.Bold,
|
|
59
|
+
}, props.theme)) : (0, _styles.ComponentMStyling)(_styles.ComponentTextStyle.Bold, _styles.COLORS.generateToken({
|
|
60
60
|
componentType: 'text',
|
|
61
61
|
isOnFill: true,
|
|
62
62
|
defaultVariant: 'primary'
|
|
63
63
|
}, props.theme))};
|
|
64
64
|
|
|
65
|
-
background-color: ${props =>
|
|
65
|
+
background-color: ${props => _styles.COLORS.generateToken({
|
|
66
66
|
componentType: 'bg-fill',
|
|
67
67
|
defaultVariant: 'primary'
|
|
68
68
|
}, props.theme)};
|
|
@@ -108,7 +108,7 @@ const ButtonPrimaryStyled = exports.ButtonPrimaryStyled = (0, _styledComponents.
|
|
|
108
108
|
height: ${props => props.$size === _types.Size.Large ? '28px' : props.$size === _types.Size.Small ? '20px' : '24px'};
|
|
109
109
|
width: ${props => props.$size === _types.Size.Large ? '28px' : props.$size === _types.Size.Small ? '20px' : '24px'};
|
|
110
110
|
path {
|
|
111
|
-
fill: ${props =>
|
|
111
|
+
fill: ${props => _styles.COLORS.generateToken({
|
|
112
112
|
componentType: 'icon',
|
|
113
113
|
isOnFill: true,
|
|
114
114
|
defaultVariant: 'primary'
|
|
@@ -117,27 +117,27 @@ const ButtonPrimaryStyled = exports.ButtonPrimaryStyled = (0, _styledComponents.
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
&:hover > ${
|
|
121
|
-
&.hover-state > ${
|
|
122
|
-
background-color: ${props =>
|
|
120
|
+
&:hover > ${TextButtonContentContainer},
|
|
121
|
+
&.hover-state > ${TextButtonContentContainer} {
|
|
122
|
+
background-color: ${props => _styles.COLORS.generateToken({
|
|
123
123
|
componentType: 'bg-fill',
|
|
124
124
|
state: 'hover',
|
|
125
125
|
defaultVariant: 'primary'
|
|
126
126
|
}, props.theme)};
|
|
127
|
-
color: ${props =>
|
|
127
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
128
128
|
componentType: 'text',
|
|
129
129
|
isOnFill: true,
|
|
130
130
|
defaultVariant: 'primary'
|
|
131
131
|
}, props.theme)};
|
|
132
132
|
}
|
|
133
|
-
&:active > ${
|
|
134
|
-
&.active-state > ${
|
|
135
|
-
background-color: ${props =>
|
|
133
|
+
&:active > ${TextButtonContentContainer},
|
|
134
|
+
&.active-state > ${TextButtonContentContainer} {
|
|
135
|
+
background-color: ${props => _styles.COLORS.generateToken({
|
|
136
136
|
componentType: 'bg-fill',
|
|
137
137
|
state: 'active',
|
|
138
138
|
defaultVariant: 'primary'
|
|
139
139
|
}, props.theme)};
|
|
140
|
-
color: ${props =>
|
|
140
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
141
141
|
componentType: 'text',
|
|
142
142
|
isOnFill: true,
|
|
143
143
|
defaultVariant: 'primary'
|
|
@@ -146,40 +146,40 @@ const ButtonPrimaryStyled = exports.ButtonPrimaryStyled = (0, _styledComponents.
|
|
|
146
146
|
|
|
147
147
|
&:focus,
|
|
148
148
|
&.focus-state {
|
|
149
|
-
${props => props.$invertFocus || props.$invertFocus === undefined
|
|
149
|
+
${props => props.$invertFocus || props.$invertFocus === undefined ? _styles.invertedFocusStyles : _styles.focusStyles}
|
|
150
150
|
}
|
|
151
151
|
&:disabled,
|
|
152
152
|
&.disabled-state {
|
|
153
153
|
cursor: not-allowed;
|
|
154
154
|
}
|
|
155
|
-
&:disabled > ${
|
|
156
|
-
&.disabled-state > ${
|
|
155
|
+
&:disabled > ${TextButtonContentContainer},
|
|
156
|
+
&.disabled-state > ${TextButtonContentContainer} {
|
|
157
157
|
pointer-events: none;
|
|
158
|
-
background-color: ${props =>
|
|
158
|
+
background-color: ${props => _styles.COLORS.generateToken({
|
|
159
159
|
componentType: 'bg-fill',
|
|
160
160
|
state: 'disabled'
|
|
161
161
|
}, props.theme)};
|
|
162
|
-
color: ${props =>
|
|
162
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
163
163
|
componentType: 'text',
|
|
164
164
|
isOnFill: true,
|
|
165
165
|
state: 'disabled'
|
|
166
166
|
}, props.theme)};
|
|
167
167
|
}
|
|
168
168
|
`;
|
|
169
|
-
const
|
|
170
|
-
${
|
|
171
|
-
color: ${props =>
|
|
169
|
+
const TextButtonSecondaryStyled = exports.TextButtonSecondaryStyled = (0, _styledComponents.default)(TextButtonPrimaryStyled)`
|
|
170
|
+
${TextButtonContentContainer} {
|
|
171
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
172
172
|
componentType: 'text',
|
|
173
173
|
defaultVariant: 'primary'
|
|
174
174
|
}, props.theme)};
|
|
175
175
|
background-color: transparent;
|
|
176
176
|
div svg path {
|
|
177
|
-
fill: ${props =>
|
|
177
|
+
fill: ${props => _styles.COLORS.generateToken({
|
|
178
178
|
componentType: 'icon',
|
|
179
179
|
defaultVariant: 'primary'
|
|
180
180
|
}, props.theme)};
|
|
181
181
|
}
|
|
182
|
-
box-shadow: inset 0 0 0 2px ${props =>
|
|
182
|
+
box-shadow: inset 0 0 0 2px ${props => _styles.COLORS.generateToken({
|
|
183
183
|
componentType: 'border',
|
|
184
184
|
defaultVariant: 'primary'
|
|
185
185
|
}, props.theme)};
|
|
@@ -187,14 +187,14 @@ const ButtonSecondaryStyled = exports.ButtonSecondaryStyled = (0, _styledCompone
|
|
|
187
187
|
padding: ${props => props.$size === _types.Size.Large ? '12px 16px' : props.$size === _types.Size.Small ? '4px 8px' : '6px 12px'};
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
&:hover > ${
|
|
191
|
-
&.hover-state > ${
|
|
192
|
-
color: ${props =>
|
|
190
|
+
&:hover > ${TextButtonContentContainer},
|
|
191
|
+
&.hover-state > ${TextButtonContentContainer} {
|
|
192
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
193
193
|
componentType: 'text',
|
|
194
194
|
state: 'hover',
|
|
195
195
|
defaultVariant: 'primary'
|
|
196
196
|
}, props.theme)};
|
|
197
|
-
box-shadow: inset 0 0 0 2px ${props =>
|
|
197
|
+
box-shadow: inset 0 0 0 2px ${props => _styles.COLORS.generateToken({
|
|
198
198
|
componentType: 'border',
|
|
199
199
|
state: 'hover',
|
|
200
200
|
defaultVariant: 'primary'
|
|
@@ -204,7 +204,7 @@ const ButtonSecondaryStyled = exports.ButtonSecondaryStyled = (0, _styledCompone
|
|
|
204
204
|
div {
|
|
205
205
|
svg {
|
|
206
206
|
path {
|
|
207
|
-
fill: ${props =>
|
|
207
|
+
fill: ${props => _styles.COLORS.generateToken({
|
|
208
208
|
componentType: 'text',
|
|
209
209
|
state: 'hover',
|
|
210
210
|
defaultVariant: 'primary'
|
|
@@ -213,14 +213,14 @@ const ButtonSecondaryStyled = exports.ButtonSecondaryStyled = (0, _styledCompone
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
|
-
&:active > ${
|
|
217
|
-
&.active-state > ${
|
|
218
|
-
color: ${props =>
|
|
216
|
+
&:active > ${TextButtonContentContainer},
|
|
217
|
+
&.active-state > ${TextButtonContentContainer} {
|
|
218
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
219
219
|
componentType: 'text',
|
|
220
220
|
state: 'active',
|
|
221
221
|
defaultVariant: 'primary'
|
|
222
222
|
}, props.theme)};
|
|
223
|
-
box-shadow: inset 0 0 0 2px ${props =>
|
|
223
|
+
box-shadow: inset 0 0 0 2px ${props => _styles.COLORS.generateToken({
|
|
224
224
|
componentType: 'border',
|
|
225
225
|
state: 'active',
|
|
226
226
|
defaultVariant: 'primary'
|
|
@@ -230,7 +230,7 @@ const ButtonSecondaryStyled = exports.ButtonSecondaryStyled = (0, _styledCompone
|
|
|
230
230
|
div {
|
|
231
231
|
svg {
|
|
232
232
|
path {
|
|
233
|
-
fill: ${props =>
|
|
233
|
+
fill: ${props => _styles.COLORS.generateToken({
|
|
234
234
|
componentType: 'text',
|
|
235
235
|
state: 'hover',
|
|
236
236
|
defaultVariant: 'primary'
|
|
@@ -240,29 +240,29 @@ const ButtonSecondaryStyled = exports.ButtonSecondaryStyled = (0, _styledCompone
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
&:disabled > ${
|
|
244
|
-
&.disabled-state > ${
|
|
243
|
+
&:disabled > ${TextButtonContentContainer},
|
|
244
|
+
&.disabled-state > ${TextButtonContentContainer} {
|
|
245
245
|
background-color: transparent;
|
|
246
|
-
color: ${props =>
|
|
246
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
247
247
|
componentType: 'text',
|
|
248
248
|
state: 'disabled'
|
|
249
249
|
}, props.theme)};
|
|
250
|
-
box-shadow: inset 0 0 0 2px ${props =>
|
|
250
|
+
box-shadow: inset 0 0 0 2px ${props => _styles.COLORS.generateToken({
|
|
251
251
|
componentType: 'border',
|
|
252
252
|
state: 'disabled'
|
|
253
253
|
}, props.theme)};
|
|
254
254
|
}
|
|
255
255
|
`;
|
|
256
|
-
const
|
|
257
|
-
${
|
|
258
|
-
color: ${props =>
|
|
256
|
+
const TextButtonTertiaryStyled = exports.TextButtonTertiaryStyled = (0, _styledComponents.default)(TextButtonPrimaryStyled)`
|
|
257
|
+
${TextButtonContentContainer} {
|
|
258
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
259
259
|
componentType: 'text',
|
|
260
260
|
defaultVariant: 'primary'
|
|
261
261
|
}, props.theme)};
|
|
262
262
|
background-color: transparent;
|
|
263
263
|
|
|
264
264
|
div svg path {
|
|
265
|
-
fill: ${props =>
|
|
265
|
+
fill: ${props => _styles.COLORS.generateToken({
|
|
266
266
|
componentType: 'text',
|
|
267
267
|
defaultVariant: 'primary'
|
|
268
268
|
}, props.theme)};
|
|
@@ -271,13 +271,13 @@ ${ButtonContentContainer} {
|
|
|
271
271
|
padding: ${props => props.$size === _types.Size.Large ? '12px 16px' : props.$size === _types.Size.Small ? '4px 8px' : '6px 12px'};
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
&:hover > ${
|
|
275
|
-
&.hover-state > ${
|
|
276
|
-
background-color: ${props =>
|
|
274
|
+
&:hover > ${TextButtonContentContainer},
|
|
275
|
+
&.hover-state > ${TextButtonContentContainer} {
|
|
276
|
+
background-color: ${props => _styles.COLORS.generateToken({
|
|
277
277
|
componentType: 'bg-surface',
|
|
278
278
|
state: 'hover'
|
|
279
279
|
}, props.theme)};
|
|
280
|
-
color: ${props =>
|
|
280
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
281
281
|
componentType: 'text',
|
|
282
282
|
defaultVariant: 'primary'
|
|
283
283
|
}, props.theme)};
|
|
@@ -285,7 +285,7 @@ ${ButtonContentContainer} {
|
|
|
285
285
|
div {
|
|
286
286
|
svg {
|
|
287
287
|
path {
|
|
288
|
-
fill: ${props =>
|
|
288
|
+
fill: ${props => _styles.COLORS.generateToken({
|
|
289
289
|
componentType: 'text',
|
|
290
290
|
defaultVariant: 'primary'
|
|
291
291
|
}, props.theme)};
|
|
@@ -293,13 +293,13 @@ ${ButtonContentContainer} {
|
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
|
-
&:active > ${
|
|
297
|
-
&.active-state > ${
|
|
298
|
-
background-color: ${props =>
|
|
296
|
+
&:active > ${TextButtonContentContainer},
|
|
297
|
+
&.active-state > ${TextButtonContentContainer} {
|
|
298
|
+
background-color: ${props => _styles.COLORS.generateToken({
|
|
299
299
|
componentType: 'bg-surface',
|
|
300
300
|
state: 'active'
|
|
301
301
|
}, props.theme)};
|
|
302
|
-
color: ${props =>
|
|
302
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
303
303
|
componentType: 'text',
|
|
304
304
|
defaultVariant: 'primary'
|
|
305
305
|
}, props.theme)};
|
|
@@ -307,7 +307,7 @@ ${ButtonContentContainer} {
|
|
|
307
307
|
div {
|
|
308
308
|
svg {
|
|
309
309
|
path {
|
|
310
|
-
fill: ${props =>
|
|
310
|
+
fill: ${props => _styles.COLORS.generateToken({
|
|
311
311
|
componentType: 'text',
|
|
312
312
|
defaultVariant: 'primary'
|
|
313
313
|
}, props.theme)};
|
|
@@ -316,8 +316,8 @@ ${ButtonContentContainer} {
|
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
&:disabled > ${
|
|
320
|
-
&.disabled-state > ${
|
|
319
|
+
&:disabled > ${TextButtonContentContainer},
|
|
320
|
+
&.disabled-state > ${TextButtonContentContainer} {
|
|
321
321
|
background-color: transparent !important;
|
|
322
322
|
color: ${props => _styles.COLORS.generateToken({
|
|
323
323
|
componentType: 'text',
|
|
@@ -327,44 +327,44 @@ ${ButtonContentContainer} {
|
|
|
327
327
|
border-color: transparent !important;
|
|
328
328
|
}
|
|
329
329
|
`;
|
|
330
|
-
const
|
|
331
|
-
${
|
|
330
|
+
const TextButtonPositiveStyled = exports.TextButtonPositiveStyled = (0, _styledComponents.default)(TextButtonPrimaryStyled)`
|
|
331
|
+
${TextButtonContentContainer} {
|
|
332
332
|
color: white;
|
|
333
333
|
background-color: ${props => _styles.COLORS.getColor('positive_500', props.theme)};
|
|
334
334
|
}
|
|
335
|
-
&:hover > ${
|
|
336
|
-
&.hover-state > ${
|
|
335
|
+
&:hover > ${TextButtonContentContainer},
|
|
336
|
+
&.hover-state > ${TextButtonContentContainer} {
|
|
337
337
|
background-color: ${props => _styles.COLORS.getColor('positive_700', props.theme)};
|
|
338
338
|
}
|
|
339
|
-
&:active > ${
|
|
340
|
-
&.active-state > ${
|
|
339
|
+
&:active > ${TextButtonContentContainer},
|
|
340
|
+
&.active-state > ${TextButtonContentContainer} {
|
|
341
341
|
background-color: ${props => _styles.COLORS.getColor('positive_800', props.theme)};
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
&:disabled > ${
|
|
345
|
-
&.disabled-state > ${
|
|
344
|
+
&:disabled > ${TextButtonContentContainer},
|
|
345
|
+
&.disabled-state > ${TextButtonContentContainer} {
|
|
346
346
|
background-color: ${props => _styles.COLORS.getColor('neutral_100', props.theme)};
|
|
347
347
|
color: ${props => _styles.COLORS.getColor('neutral_300', props.theme)};
|
|
348
348
|
}
|
|
349
349
|
`;
|
|
350
|
-
const
|
|
351
|
-
|
|
350
|
+
const TextButtonDestructiveStyled = exports.TextButtonDestructiveStyled = (0, _styledComponents.default)(TextButtonPrimaryStyled)`
|
|
351
|
+
${TextButtonContentContainer} {
|
|
352
352
|
color: white;
|
|
353
353
|
background-color: ${props => _styles.COLORS.generateToken({
|
|
354
354
|
componentType: 'bg-fill',
|
|
355
355
|
defaultVariant: 'critical'
|
|
356
356
|
}, props.theme)};
|
|
357
357
|
}
|
|
358
|
-
&:hover > ${
|
|
359
|
-
&.hover-state > ${
|
|
358
|
+
&:hover > ${TextButtonContentContainer},
|
|
359
|
+
&.hover-state > ${TextButtonContentContainer} {
|
|
360
360
|
background-color: ${props => _styles.COLORS.generateToken({
|
|
361
361
|
componentType: 'bg-fill',
|
|
362
362
|
state: 'hover',
|
|
363
363
|
defaultVariant: 'critical'
|
|
364
364
|
}, props.theme)};
|
|
365
365
|
}
|
|
366
|
-
&:active > ${
|
|
367
|
-
&.active-state > ${
|
|
366
|
+
&:active > ${TextButtonContentContainer},
|
|
367
|
+
&.active-state > ${TextButtonContentContainer} {
|
|
368
368
|
background-color: ${props => _styles.COLORS.generateToken({
|
|
369
369
|
componentType: 'bg-fill',
|
|
370
370
|
state: 'active',
|
|
@@ -372,8 +372,8 @@ const ButtonCriticalStyled = exports.ButtonCriticalStyled = (0, _styledComponent
|
|
|
372
372
|
}, props.theme)};
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
-
&:disabled > ${
|
|
376
|
-
&.disabled-state > ${
|
|
375
|
+
&:disabled > ${TextButtonContentContainer},
|
|
376
|
+
&.disabled-state > ${TextButtonContentContainer} {
|
|
377
377
|
background-color: ${props => _styles.COLORS.generateToken({
|
|
378
378
|
componentType: 'bg-fill',
|
|
379
379
|
state: 'disabled'
|
|
@@ -385,16 +385,102 @@ const ButtonCriticalStyled = exports.ButtonCriticalStyled = (0, _styledComponent
|
|
|
385
385
|
}, props.theme)};
|
|
386
386
|
}
|
|
387
387
|
`;
|
|
388
|
+
const TextButtonSecondaryDestructiveStyled = exports.TextButtonSecondaryDestructiveStyled = (0, _styledComponents.default)(TextButtonPrimaryStyled)`
|
|
389
|
+
${TextButtonContentContainer} {
|
|
390
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
391
|
+
componentType: 'text',
|
|
392
|
+
defaultVariant: 'critical'
|
|
393
|
+
}, props.theme)};
|
|
394
|
+
background-color: transparent;
|
|
395
|
+
div svg path {
|
|
396
|
+
fill: ${props => _styles.COLORS.generateToken({
|
|
397
|
+
componentType: 'icon',
|
|
398
|
+
defaultVariant: 'critical'
|
|
399
|
+
}, props.theme)};
|
|
400
|
+
}
|
|
401
|
+
box-shadow: inset 0 0 0 2px ${props => _styles.COLORS.generateToken({
|
|
402
|
+
componentType: 'border',
|
|
403
|
+
defaultVariant: 'critical'
|
|
404
|
+
}, props.theme)};
|
|
405
|
+
|
|
406
|
+
padding: ${props => props.$size === _types.Size.Large ? '12px 16px' : props.$size === _types.Size.Small ? '4px 8px' : '6px 12px'};
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
&:hover > ${TextButtonContentContainer},
|
|
410
|
+
&.hover-state > ${TextButtonContentContainer} {
|
|
411
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
412
|
+
componentType: 'text',
|
|
413
|
+
state: 'hover',
|
|
414
|
+
defaultVariant: 'critical'
|
|
415
|
+
}, props.theme)};
|
|
416
|
+
box-shadow: inset 0 0 0 2px ${props => _styles.COLORS.generateToken({
|
|
417
|
+
componentType: 'border',
|
|
418
|
+
state: 'hover',
|
|
419
|
+
defaultVariant: 'critical'
|
|
420
|
+
}, props.theme)};
|
|
421
|
+
|
|
422
|
+
background-color: transparent;
|
|
423
|
+
div {
|
|
424
|
+
svg {
|
|
425
|
+
path {
|
|
426
|
+
fill: ${props => _styles.COLORS.generateToken({
|
|
427
|
+
componentType: 'text',
|
|
428
|
+
state: 'hover',
|
|
429
|
+
defaultVariant: 'critical'
|
|
430
|
+
}, props.theme)};
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
&:active > ${TextButtonContentContainer},
|
|
436
|
+
&.active-state > ${TextButtonContentContainer} {
|
|
437
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
438
|
+
componentType: 'text',
|
|
439
|
+
state: 'active',
|
|
440
|
+
defaultVariant: 'critical'
|
|
441
|
+
}, props.theme)};
|
|
442
|
+
box-shadow: inset 0 0 0 2px ${props => _styles.COLORS.generateToken({
|
|
443
|
+
componentType: 'border',
|
|
444
|
+
state: 'active',
|
|
445
|
+
defaultVariant: 'critical'
|
|
446
|
+
}, props.theme)};
|
|
447
|
+
|
|
448
|
+
background-color: transparent;
|
|
449
|
+
div {
|
|
450
|
+
svg {
|
|
451
|
+
path {
|
|
452
|
+
fill: ${props => _styles.COLORS.generateToken({
|
|
453
|
+
componentType: 'text',
|
|
454
|
+
state: 'hover',
|
|
455
|
+
defaultVariant: 'critical'
|
|
456
|
+
}, props.theme)};
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
&:disabled > ${TextButtonContentContainer},
|
|
463
|
+
&.disabled-state > ${TextButtonContentContainer} {
|
|
464
|
+
background-color: transparent;
|
|
465
|
+
color: ${props => _styles.COLORS.generateToken({
|
|
466
|
+
componentType: 'text',
|
|
467
|
+
state: 'disabled'
|
|
468
|
+
}, props.theme)};
|
|
469
|
+
box-shadow: inset 0 0 0 2px ${props => _styles.COLORS.generateToken({
|
|
470
|
+
componentType: 'border',
|
|
471
|
+
state: 'disabled'
|
|
472
|
+
}, props.theme)};
|
|
473
|
+
}
|
|
474
|
+
`;
|
|
388
475
|
/**
|
|
389
|
-
*
|
|
476
|
+
* TextButton component
|
|
390
477
|
*/
|
|
391
|
-
const
|
|
478
|
+
const TextButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
392
479
|
let {
|
|
393
480
|
children = '',
|
|
394
481
|
variant = 'primary',
|
|
395
482
|
type = 'button',
|
|
396
483
|
size = _types.Size.Medium,
|
|
397
|
-
colorTheme,
|
|
398
484
|
invertFocus,
|
|
399
485
|
width = 'auto',
|
|
400
486
|
testId,
|
|
@@ -422,24 +508,26 @@ const Button = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
422
508
|
children: children
|
|
423
509
|
}), icon && iconPosition == 'right' && renderIcon(), loading && /*#__PURE__*/(0, _jsxRuntime.jsx)(_LoadingIndicator.LoadingIndicator, {})]
|
|
424
510
|
});
|
|
425
|
-
let
|
|
511
|
+
let TextButtonStyled = TextButtonPrimaryStyled;
|
|
426
512
|
switch (variant) {
|
|
427
513
|
case 'secondary':
|
|
428
|
-
|
|
514
|
+
TextButtonStyled = TextButtonSecondaryStyled;
|
|
429
515
|
break;
|
|
430
516
|
case 'tertiary':
|
|
431
|
-
|
|
517
|
+
TextButtonStyled = TextButtonTertiaryStyled;
|
|
432
518
|
break;
|
|
433
519
|
case 'positive':
|
|
434
|
-
|
|
520
|
+
TextButtonStyled = TextButtonPositiveStyled;
|
|
521
|
+
break;
|
|
522
|
+
case 'destructive':
|
|
523
|
+
TextButtonStyled = TextButtonDestructiveStyled;
|
|
435
524
|
break;
|
|
436
|
-
case '
|
|
437
|
-
|
|
525
|
+
case 'secondaryDestructive':
|
|
526
|
+
TextButtonStyled = TextButtonSecondaryDestructiveStyled;
|
|
438
527
|
break;
|
|
439
528
|
}
|
|
440
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
529
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(TextButtonStyled, _objectSpread(_objectSpread({}, renderProps), {}, {
|
|
441
530
|
$size: size,
|
|
442
|
-
$colorTheme: colorTheme,
|
|
443
531
|
$invertFocus: invertFocus,
|
|
444
532
|
ref: ref,
|
|
445
533
|
disabled: disabled,
|
|
@@ -450,14 +538,13 @@ const Button = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
450
538
|
"data-testid": testId,
|
|
451
539
|
className: props.loading ? 'loading-state ' + props.className : ' ' + props.className,
|
|
452
540
|
onMouseDown: _common.defaultOnMouseDownHandler,
|
|
453
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
541
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(TextButtonContentContainer, {
|
|
454
542
|
children: renderContent()
|
|
455
543
|
})
|
|
456
544
|
}));
|
|
457
545
|
});
|
|
458
|
-
|
|
459
|
-
variant: _propTypes.default.oneOf(['primary', 'secondary', 'tertiary', 'positive', '
|
|
460
|
-
colorTheme: _propTypes.default.oneOf(['teal', 'dark']),
|
|
546
|
+
TextButton.propTypes = {
|
|
547
|
+
variant: _propTypes.default.oneOf(['primary', 'secondary', 'tertiary', 'positive', 'destructive', 'secondaryDestructive']),
|
|
461
548
|
invertFocus: _propTypes.default.bool,
|
|
462
549
|
width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.string]),
|
|
463
550
|
loading: _propTypes.default.bool,
|
|
@@ -465,5 +552,5 @@ Button.propTypes = {
|
|
|
465
552
|
icon: _propTypes.default.node,
|
|
466
553
|
iconPosition: _propTypes.default.oneOf(['left', 'right'])
|
|
467
554
|
};
|
|
468
|
-
var _default = exports.default =
|
|
469
|
-
//# sourceMappingURL=
|
|
555
|
+
var _default = exports.default = TextButton;
|
|
556
|
+
//# sourceMappingURL=TextButton.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextButton.cjs","names":["React","_interopRequireWildcard","require","_styledComponents","_LoadingIndicator","_styles","_types","_common","_jsxRuntime","_excluded","_excluded2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ownKeys","keys","getOwnPropertySymbols","o","filter","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","getBorderRadius","flatEdge","radius","TextButtonContentContainer","exports","styled","div","TextButtonBaseStyled","button","TextButtonPrimaryStyled","props","$size","Size","Large","ComponentLStyling","ComponentTextStyle","Bold","COLORS","generateToken","componentType","isOnFill","defaultVariant","theme","Small","ComponentSStyling","ComponentMStyling","$flatEdge","$width","Medium","$iconOnly","state","$invertFocus","undefined","invertedFocusStyles","focusStyles","TextButtonSecondaryStyled","TextButtonTertiaryStyled","TextButtonPositiveStyled","getColor","TextButtonDestructiveStyled","TextButtonSecondaryDestructiveStyled","TextButton","forwardRef","_ref","ref","children","variant","type","size","invertFocus","width","testId","disabled","icon","iconPosition","_objectWithoutProperties2","loading","renderProps","useTheme","renderIcon","jsx","Fragment","className","renderContent","jsxs","LoadingIndicator","TextButtonStyled","onMouseDown","defaultOnMouseDownHandler","propTypes","_propTypes","oneOf","bool","oneOfType","string","node","_default"],"sources":["../../src/Button/TextButton.tsx"],"sourcesContent":["import * as React from 'react';\r\nimport styled, { css, useTheme } from 'styled-components';\r\nimport { LoadingIndicator } from '../LoadingIndicator';\r\nimport { ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentTextStyle } from '../styles';\r\nimport { COLORS, focusStyles, invertedFocusStyles } from '../styles';\r\nimport { Size, Testable } from '../types';\r\nimport { defaultOnMouseDownHandler } from '../common';\r\n\r\nconst getBorderRadius = (flatEdge: string | undefined, radius: number) => {\r\n switch (flatEdge) {\r\n case 'left':\r\n return `0px ${radius}px ${radius}px 0px`;\r\n\r\n case 'right':\r\n return `${radius}px 0px 0px ${radius}px`;\r\n\r\n case 'none':\r\n default:\r\n return `${radius}px`;\r\n }\r\n};\r\n\r\nexport const TextButtonContentContainer = styled.div`\r\n min-width: 64px;\r\n`;\r\n\r\nconst TextButtonBaseStyled = styled.button<{$iconOnly: boolean; $size: Size; $flatEdge: string | undefined; $width: string; $invertFocus: boolean | undefined; }>``;\r\n\r\nexport const TextButtonPrimaryStyled = styled(TextButtonBaseStyled)`\r\n border: none;\r\n background-color: transparent;\r\n cursor: pointer;\r\n padding: 0;\r\n margin: 0;\r\n position: relative;\r\n box-sizing: border-box; \r\n &.loading-state {\r\n cursor: wait;\r\n }\r\n ${TextButtonContentContainer} {\r\n ${(props) =>\r\n props.$size === Size.Large\r\n ? ComponentLStyling(ComponentTextStyle.Bold, COLORS.generateToken({ componentType: 'text', isOnFill: true, defaultVariant: 'primary' }, props.theme))\r\n : props.$size === Size.Small\r\n ? ComponentSStyling(ComponentTextStyle.Bold, COLORS.generateToken({ componentType: 'text', isOnFill: true, defaultVariant: 'primary' }, props.theme))\r\n : ComponentMStyling(ComponentTextStyle.Bold, COLORS.generateToken({ componentType: 'text', isOnFill: true, defaultVariant: 'primary' }, props.theme))};\r\n\r\n background-color: ${(props) => COLORS.generateToken({ componentType: 'bg-fill', defaultVariant: 'primary' }, props.theme)};\r\n border-radius: ${(props) => getBorderRadius(props.$flatEdge, 8)};\r\n\r\n width: ${(props) => props.$width};\r\n position: relative;\r\n\r\n min-height: ${(props) => (props.$size === Size.Large ? '56px' : props.$size === Size.Small ? '32px' : '40px')};\r\n\r\n box-sizing: border-box;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding: ${(props) => (props.$size === Size.Large ? '14px 16px' : props.$size === Size.Small ? '6px 8px' : '8px 12px')};\r\n\r\n span.icon:not(.loading) {\r\n pointer-events: none;\r\n }\r\n\r\n span.loading {\r\n opacity: 0;\r\n }\r\n\r\n .icon {\r\n margin: ${(props) => (props.$size === Size.Medium ? props.$iconOnly ? '-2px -8px' : '' : (props.$size === Size.Small ? props.$iconOnly ? '-2px -6px' : '' : '' ))};\r\n width: ${(props) => (props.$size === Size.Large ? '28px' : props.$size === Size.Small ? '20px' : '24px')};\r\n height: ${(props) => (props.$size === Size.Large ? '28px' : props.$size === Size.Small ? '20px' : '24px')};\r\n svg {\r\n width: ${(props) => (props.$size === Size.Large ? '28px' : props.$size === Size.Small ? '20px' : '24px')} !important;\r\n height: ${(props) => (props.$size === Size.Large ? '28px' : props.$size === Size.Small ? '20px' : '24px')} !important;\r\n }\r\n }\r\n\r\n .label {\r\n margin: 0 4px;\r\n }\r\n\r\n div {\r\n position: absolute;\r\n width: 100%;\r\n svg {\r\n height: ${(props) => (props.$size === Size.Large ? '28px' : props.$size === Size.Small ? '20px' : '24px')};\r\n width: ${(props) => (props.$size === Size.Large ? '28px' : props.$size === Size.Small ? '20px' : '24px')};\r\n path {\r\n fill: ${(props) => COLORS.generateToken({ componentType: 'icon', isOnFill: true, defaultVariant: 'primary' }, props.theme)};\r\n }\r\n }\r\n }\r\n }\r\n &:hover > ${TextButtonContentContainer},\r\n &.hover-state > ${TextButtonContentContainer} {\r\n background-color: ${(props) => COLORS.generateToken({ componentType: 'bg-fill', state: 'hover', defaultVariant: 'primary' }, props.theme)};\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', isOnFill: true, defaultVariant: 'primary' }, props.theme)};\r\n }\r\n &:active > ${TextButtonContentContainer},\r\n &.active-state > ${TextButtonContentContainer} {\r\n background-color: ${(props) => COLORS.generateToken({ componentType: 'bg-fill', state: 'active', defaultVariant: 'primary' }, props.theme)};\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', isOnFill: true, defaultVariant: 'primary' }, props.theme)};\r\n }\r\n\r\n &:focus,\r\n &.focus-state {\r\n ${(props) => (props.$invertFocus || (props.$invertFocus === undefined) ? invertedFocusStyles : focusStyles)}\r\n }\r\n &:disabled,\r\n &.disabled-state {\r\n cursor: not-allowed;\r\n }\r\n &:disabled > ${TextButtonContentContainer},\r\n &.disabled-state > ${TextButtonContentContainer} {\r\n pointer-events: none;\r\n background-color: ${(props) => COLORS.generateToken({ componentType: 'bg-fill', state: 'disabled' }, props.theme)};\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', isOnFill: true, state: 'disabled' }, props.theme)};\r\n }\r\n`;\r\n\r\nexport const TextButtonSecondaryStyled = styled(TextButtonPrimaryStyled)`\r\n ${TextButtonContentContainer} {\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', defaultVariant: 'primary' }, props.theme)};\r\n background-color: transparent;\r\n div svg path {\r\n fill: ${(props) => COLORS.generateToken({ componentType: 'icon', defaultVariant: 'primary' }, props.theme)};\r\n }\r\n box-shadow: inset 0 0 0 2px ${(props) => COLORS.generateToken({ componentType: 'border', defaultVariant: 'primary' }, props.theme)};\r\n \r\n padding: ${(props) => (props.$size === Size.Large ? '12px 16px' : props.$size === Size.Small ? '4px 8px' : '6px 12px')};\r\n }\r\n\r\n &:hover > ${TextButtonContentContainer},\r\n &.hover-state > ${TextButtonContentContainer} {\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', state:'hover', defaultVariant: 'primary' }, props.theme)};\r\n box-shadow: inset 0 0 0 2px ${(props) => COLORS.generateToken({ componentType: 'border', state:'hover', defaultVariant: 'primary' }, props.theme)};\r\n \r\n background-color: transparent;\r\n div {\r\n svg {\r\n path {\r\n fill: ${(props) => COLORS.generateToken({ componentType: 'text', state:'hover', defaultVariant: 'primary' }, props.theme)};\r\n }\r\n }\r\n }\r\n }\r\n &:active > ${TextButtonContentContainer},\r\n &.active-state > ${TextButtonContentContainer} {\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', state:'active', defaultVariant: 'primary' }, props.theme)};\r\n box-shadow: inset 0 0 0 2px ${(props) => COLORS.generateToken({ componentType: 'border', state:'active', defaultVariant: 'primary' }, props.theme)};\r\n \r\n background-color: transparent;\r\n div {\r\n svg {\r\n path {\r\n fill: ${(props) => COLORS.generateToken({ componentType: 'text', state:'hover', defaultVariant: 'primary' }, props.theme)};\r\n }\r\n }\r\n }\r\n }\r\n\r\n &:disabled > ${TextButtonContentContainer},\r\n &.disabled-state > ${TextButtonContentContainer} {\r\n background-color: transparent;\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', state:'disabled' }, props.theme)};\r\n box-shadow: inset 0 0 0 2px ${(props) => COLORS.generateToken({ componentType: 'border', state:'disabled' }, props.theme)};\r\n }\r\n`;\r\n\r\nexport const TextButtonTertiaryStyled = styled(TextButtonPrimaryStyled)`\r\n${TextButtonContentContainer} {\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', defaultVariant: 'primary' }, props.theme)};\r\n background-color: transparent;\r\n\r\n div svg path {\r\n fill: ${(props) => COLORS.generateToken({ componentType: 'text', defaultVariant: 'primary' }, props.theme)};\r\n }\r\n\r\n padding: ${(props) => (props.$size === Size.Large ? '12px 16px' : props.$size === Size.Small ? '4px 8px' : '6px 12px')};\r\n }\r\n\r\n &:hover > ${TextButtonContentContainer},\r\n &.hover-state > ${TextButtonContentContainer} {\r\n background-color: ${(props) => COLORS.generateToken({ componentType: 'bg-surface', state:'hover' }, props.theme)};\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', defaultVariant: 'primary' }, props.theme)};\r\n\r\n div {\r\n svg {\r\n path {\r\n fill: ${(props) => COLORS.generateToken({ componentType: 'text', defaultVariant: 'primary' }, props.theme)};\r\n }\r\n }\r\n }\r\n }\r\n &:active > ${TextButtonContentContainer},\r\n &.active-state > ${TextButtonContentContainer} {\r\n background-color: ${(props) => COLORS.generateToken({ componentType: 'bg-surface', state: 'active' }, props.theme)};\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', defaultVariant: 'primary' }, props.theme)};\r\n\r\n div {\r\n svg {\r\n path {\r\n fill: ${(props) => COLORS.generateToken({ componentType: 'text', defaultVariant: 'primary' }, props.theme)};\r\n }\r\n }\r\n }\r\n }\r\n\r\n &:disabled > ${TextButtonContentContainer},\r\n &.disabled-state > ${TextButtonContentContainer} {\r\n background-color: transparent !important;\r\n color: ${props => COLORS.generateToken({ componentType: 'text', isOnFill:true, state:'disabled' }, props.theme)};\r\n border-color: transparent !important;\r\n }\r\n`;\r\n\r\nexport const TextButtonPositiveStyled = styled(TextButtonPrimaryStyled)`\r\n ${TextButtonContentContainer} {\r\n color: white;\r\n background-color: ${props => COLORS.getColor('positive_500', props.theme)};\r\n }\r\n &:hover > ${TextButtonContentContainer},\r\n &.hover-state > ${TextButtonContentContainer} {\r\n background-color: ${props => COLORS.getColor('positive_700', props.theme)};\r\n }\r\n &:active > ${TextButtonContentContainer},\r\n &.active-state > ${TextButtonContentContainer} {\r\n background-color: ${props => COLORS.getColor('positive_800', props.theme)};\r\n }\r\n\r\n &:disabled > ${TextButtonContentContainer},\r\n &.disabled-state > ${TextButtonContentContainer} {\r\n background-color: ${props => COLORS.getColor('neutral_100', props.theme)};\r\n color: ${props => COLORS.getColor('neutral_300', props.theme)};\r\n }\r\n`;\r\n\r\nexport const TextButtonDestructiveStyled = styled(TextButtonPrimaryStyled)`\r\n${TextButtonContentContainer} {\r\n color: white;\r\n background-color: ${props => COLORS.generateToken({ componentType: 'bg-fill', defaultVariant: 'critical' }, props.theme)};\r\n }\r\n &:hover > ${TextButtonContentContainer},\r\n &.hover-state > ${TextButtonContentContainer} {\r\n background-color: ${props => COLORS.generateToken({ componentType: 'bg-fill', state:'hover', defaultVariant: 'critical' }, props.theme)};\r\n }\r\n &:active > ${TextButtonContentContainer},\r\n &.active-state > ${TextButtonContentContainer} {\r\n background-color: ${props => COLORS.generateToken({ componentType: 'bg-fill', state:'active', defaultVariant: 'critical' }, props.theme)};\r\n }\r\n\r\n &:disabled > ${TextButtonContentContainer},\r\n &.disabled-state > ${TextButtonContentContainer} {\r\n background-color: ${props => COLORS.generateToken({ componentType: 'bg-fill', state: 'disabled' }, props.theme)};\r\n color: ${props => COLORS.generateToken({ componentType: 'text', isOnFill: true, state: 'disabled' }, props.theme)}; \r\n }\r\n`;\r\n\r\nexport const TextButtonSecondaryDestructiveStyled = styled(TextButtonPrimaryStyled)`\r\n ${TextButtonContentContainer} {\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', defaultVariant: 'critical' }, props.theme)};\r\n background-color: transparent;\r\n div svg path {\r\n fill: ${(props) => COLORS.generateToken({ componentType: 'icon', defaultVariant: 'critical' }, props.theme)};\r\n }\r\n box-shadow: inset 0 0 0 2px ${(props) => COLORS.generateToken({ componentType: 'border', defaultVariant: 'critical' }, props.theme)};\r\n \r\n padding: ${(props) => (props.$size === Size.Large ? '12px 16px' : props.$size === Size.Small ? '4px 8px' : '6px 12px')};\r\n }\r\n\r\n &:hover > ${TextButtonContentContainer},\r\n &.hover-state > ${TextButtonContentContainer} {\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', state:'hover', defaultVariant: 'critical' }, props.theme)};\r\n box-shadow: inset 0 0 0 2px ${(props) => COLORS.generateToken({ componentType: 'border', state:'hover', defaultVariant: 'critical' }, props.theme)};\r\n \r\n background-color: transparent;\r\n div {\r\n svg {\r\n path {\r\n fill: ${(props) => COLORS.generateToken({ componentType: 'text', state:'hover', defaultVariant: 'critical' }, props.theme)};\r\n }\r\n }\r\n }\r\n }\r\n &:active > ${TextButtonContentContainer},\r\n &.active-state > ${TextButtonContentContainer} {\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', state:'active', defaultVariant: 'critical' }, props.theme)};\r\n box-shadow: inset 0 0 0 2px ${(props) => COLORS.generateToken({ componentType: 'border', state:'active', defaultVariant: 'critical' }, props.theme)};\r\n \r\n background-color: transparent;\r\n div {\r\n svg {\r\n path {\r\n fill: ${(props) => COLORS.generateToken({ componentType: 'text', state:'hover', defaultVariant: 'critical' }, props.theme)};\r\n }\r\n }\r\n }\r\n }\r\n\r\n &:disabled > ${TextButtonContentContainer},\r\n &.disabled-state > ${TextButtonContentContainer} {\r\n background-color: transparent;\r\n color: ${(props) => COLORS.generateToken({ componentType: 'text', state:'disabled' }, props.theme)};\r\n box-shadow: inset 0 0 0 2px ${(props) => COLORS.generateToken({ componentType: 'border', state:'disabled' }, props.theme)};\r\n }\r\n`;\r\n\r\n\r\nexport interface TextButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\r\n /** Look and feel variant of the component. Defaults to 'primary'. */\r\n variant?: 'primary' | 'secondary' | 'tertiary' | 'positive' | 'destructive' | 'secondaryDestructive';\r\n /** Can be used in order to remove rounded corners on right or left edge of the button. Used by 'DualFunctionButton'. Defaults to 'undefined' */\r\n flatEdge?: 'right' | 'left' | 'none' | undefined;\r\n /** Size of the component. Small, Medium or Large. Defaults to 'medium' */\r\n size?: Size.Small | Size.Medium | Size.Large;\r\n /** Allows using inverted colors for outlining focus rect. Shown when component focused by keyboard. */\r\n invertFocus?: boolean;\r\n /** Can be used to set custom value for width style. Value is set for 'ButtonContent' container. */\r\n width?: 'auto' | string;\r\n /** If set, then 'opacity' of children container will be set to 0, and loading indicator will be shown. */\r\n loading?: boolean;\r\n /** TestId. Will be set to the top level button component. */\r\n testId?: string;\r\n /** Icon that will be shown on the left of the children. */\r\n icon?: React.ReactNode;\r\n /** Icon position in the button. Defaults to 'left' */\r\n iconPosition?: 'left' | 'right';\r\n}\r\n\r\n/**\r\n * TextButton component\r\n */\r\nconst TextButton = React.forwardRef<HTMLButtonElement, TextButtonProps>(\r\n ({ children = '', variant = 'primary', type = 'button', size = Size.Medium, invertFocus, width: width = 'auto', testId, disabled, flatEdge, icon, iconPosition = 'left', ...props }, ref) => {\r\n // Let's filter out properties that we don't need to render.\r\n const { loading, ...renderProps } = props;\r\n\r\n const theme = useTheme();\r\n const renderIcon = () => (\r\n <><span className={(children ? 'extramargin ' : '') + (loading ? 'icon loading' : 'icon')}>{icon}</span></>\r\n )\r\n\r\n const renderContent = () => (\r\n <>\r\n {icon && iconPosition == 'left' && renderIcon()}\r\n {children && <span className={loading ? 'label loading' : 'label'}>{children}</span>}\r\n {icon && iconPosition == 'right' && renderIcon()}\r\n {loading && <LoadingIndicator />}\r\n </>\r\n );\r\n\r\n let TextButtonStyled = TextButtonPrimaryStyled;\r\n switch (variant) {\r\n case 'secondary':\r\n TextButtonStyled = TextButtonSecondaryStyled;\r\n break;\r\n case 'tertiary':\r\n TextButtonStyled = TextButtonTertiaryStyled;\r\n break;\r\n case 'positive':\r\n TextButtonStyled = TextButtonPositiveStyled;\r\n break;\r\n case 'destructive':\r\n TextButtonStyled = TextButtonDestructiveStyled;\r\n break;\r\n case 'secondaryDestructive':\r\n TextButtonStyled = TextButtonSecondaryDestructiveStyled;\r\n break;\r\n }\r\n\r\n return (\r\n <TextButtonStyled\r\n {...renderProps}\r\n $size={size}\r\n $invertFocus={invertFocus} \r\n ref={ref}\r\n disabled={disabled}\r\n $iconOnly={!children}\r\n type={type}\r\n $flatEdge={flatEdge}\r\n $width={width}\r\n data-testid={testId}\r\n className={props.loading ? 'loading-state ' + props.className : ' ' + props.className}\r\n onMouseDown={defaultOnMouseDownHandler}>\r\n <TextButtonContentContainer>{renderContent()}</TextButtonContentContainer>\r\n </TextButtonStyled>\r\n );\r\n },\r\n);\r\n\r\nexport default TextButton;\r\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAF,uBAAA,CAAAC,OAAA;AACA,IAAAE,iBAAA,GAAAF,OAAA;AACA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