@soul-refiner/design-system 2.0.0-alpha.10 → 2.0.0-alpha.11

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.
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled, { css } from 'styled-components';
3
+ import { css, styled } from 'styled-components';
4
4
  import { Styles } from '../../../common/styles.js';
5
5
  import { P } from '../../atoms/typography/paragraph.js';
6
6
  import { Box } from '../../atoms/box/box.js';
@@ -95,7 +95,7 @@ const base = css `
95
95
  cursor: unset !important;
96
96
  }
97
97
  `;
98
- const Primary = styled(Box).withConfig({ displayName: "Primary", componentId: "sc-13xh85f" }) `
98
+ const Primary = styled(Box) `
99
99
  background-color: var(--color-primary-blue-2);
100
100
  color: var(--color-white);
101
101
  border: 1px solid var(--color-primary-blue-2);
@@ -121,7 +121,7 @@ const Primary = styled(Box).withConfig({ displayName: "Primary", componentId: "s
121
121
 
122
122
  ${({ $sx }) => ($sx ? $sx : '')}
123
123
  `;
124
- const Secondary = styled(Box).withConfig({ displayName: "Secondary", componentId: "sc-1a0wp3b" }) `
124
+ const Secondary = styled(Box) `
125
125
  background-color: var(--color-primary-blue-4);
126
126
  color: var(--color-primary-blue-2);
127
127
  border: 1px solid var(--color-primary-blue-4);
@@ -148,7 +148,7 @@ const Secondary = styled(Box).withConfig({ displayName: "Secondary", componentId
148
148
 
149
149
  ${({ $sx }) => ($sx ? $sx : '')}
150
150
  `;
151
- const Outlined = styled(Box).withConfig({ displayName: "Outlined", componentId: "sc-1dt4c8y" }) `
151
+ const Outlined = styled(Box) `
152
152
  background-color: var(--color-white);
153
153
  color: var(--color-grey-3);
154
154
  border: 1px solid var(--color-grey-8);
@@ -186,7 +186,7 @@ const Outlined = styled(Box).withConfig({ displayName: "Outlined", componentId:
186
186
 
187
187
  ${({ $sx }) => ($sx ? $sx : '')}
188
188
  `;
189
- const Danger = styled(Box).withConfig({ displayName: "Danger", componentId: "sc-zvf094" }) `
189
+ const Danger = styled(Box) `
190
190
  background-color: var(--color-red-4);
191
191
  color: var(--color-white);
192
192
  border: 1px solid var(--color-red-4);
@@ -212,7 +212,7 @@ const Danger = styled(Box).withConfig({ displayName: "Danger", componentId: "sc-
212
212
 
213
213
  ${({ $sx }) => ($sx ? $sx : '')}
214
214
  `;
215
- const Text = styled(Box).withConfig({ displayName: "Text", componentId: "sc-gew2r0" }) `
215
+ const Text = styled(Box) `
216
216
  background-color: transparent;
217
217
  border: 1px solid transparent;
218
218
  color: var(--color-primary-blue-2);
@@ -241,7 +241,7 @@ const Text = styled(Box).withConfig({ displayName: "Text", componentId: "sc-gew2
241
241
 
242
242
  ${({ $sx }) => ($sx ? $sx : '')}
243
243
  `;
244
- const Raised = styled(Box).withConfig({ displayName: "Raised", componentId: "sc-oxs9uh" }) `
244
+ const Raised = styled(Box) `
245
245
  background-color: var(--color-white);
246
246
  color: var(--color-grey-3);
247
247
  border: 1px solid var(--color-white);
@@ -267,7 +267,7 @@ const Raised = styled(Box).withConfig({ displayName: "Raised", componentId: "sc-
267
267
 
268
268
  ${({ $sx }) => ($sx ? $sx : '')}
269
269
  `;
270
- const Special = styled(Box).withConfig({ displayName: "Special", componentId: "sc-131oq4" }) `
270
+ const Special = styled(Box) `
271
271
  background-color: transparent;
272
272
  border: 1px solid transparent;
273
273
  color: var(--color-primary-grey-3);
@@ -297,7 +297,7 @@ const Special = styled(Box).withConfig({ displayName: "Special", componentId: "s
297
297
 
298
298
  ${({ $sx }) => ($sx ? $sx : '')}
299
299
  `;
300
- const Dropdown = styled(Box).withConfig({ displayName: "Dropdown", componentId: "sc-co3q8r" }) `
300
+ const Dropdown = styled(Box) `
301
301
  width: 100%;
302
302
  background-color: var(--color-blue-10);
303
303
  color: var(--color-grey-3);
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
3
  import Image from 'next/image';
4
- import { styled } from 'styled-components';
4
+ import styled from 'styled-components';
5
5
  import { Box } from '../../atoms/box/box.js';
6
6
  import { H } from '../../atoms/typography/heading.js';
7
7
  import { P } from '../../atoms/typography/paragraph.js';
@@ -8,7 +8,7 @@ const ListElement = ({ children, variant = 'ul', ...props }) => {
8
8
  React__default.createElement(React__default.Fragment, null,
9
9
  React__default.createElement(Element, null, React__default.Children.map(children, (child) => (React__default.createElement(Li, null, child)))))));
10
10
  };
11
- const Li = styled.li.withConfig({ displayName: "Li", componentId: "sc-lhbw7h" }) `
11
+ const Li = styled.li `
12
12
  margin: 16px 0px;
13
13
  padding-left: 8px;
14
14
 
@@ -19,13 +19,13 @@ const AnimatedToast = ({ message, type, onClose, animationDuration = 4, }) => {
19
19
  React__default.createElement(ToastAnimation, { className: `${toastIsClosed ? 'toast-closed' : ''}` },
20
20
  React__default.createElement(Toast, { content: message, type: type, isAnimated: true, animationDuration: animationDuration }))));
21
21
  };
22
- const Container = styled.div.withConfig({ displayName: "Container", componentId: "sc-1tc79dg" }) `
22
+ const Container = styled.div `
23
23
  position: fixed;
24
24
  z-index: 9999;
25
25
  bottom: 16px;
26
26
  right: 16px;
27
27
  `;
28
- const ToastAnimation = styled.div.withConfig({ displayName: "ToastAnimation", componentId: "sc-5rn8x0" }) `
28
+ const ToastAnimation = styled.div `
29
29
  animation: slide-in 0.4s ease-in-out forwards;
30
30
 
31
31
  &.toast-closed {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled, { keyframes } from 'styled-components';
3
+ import { keyframes, styled } from 'styled-components';
4
4
  import { colorReference } from '../../../common/colors.js';
5
5
 
6
6
  const Loader = ({ color = 'grey-1', inline, size = 16, sx, }) => {
@@ -17,7 +17,7 @@ const spin = keyframes `
17
17
  0% { transform: rotate(0deg); }
18
18
  100% { transform: rotate(360deg); }
19
19
  `;
20
- const Component = styled.div.withConfig({ displayName: "Component", componentId: "sc-19p6wyx" }) `
20
+ const Component = styled.div `
21
21
  border: 2px solid transparent;
22
22
  border-radius: 50%;
23
23
  animation: ${spin} 0.8s linear infinite;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled, { css } from 'styled-components';
3
+ import { styled, css } from 'styled-components';
4
4
  import { Box } from '../../atoms/box/box.js';
5
5
  import { Button } from '../../actions/button/button.js';
6
6
  import { P } from '../../atoms/typography/paragraph.js';
@@ -128,13 +128,13 @@ const Filter = ({ closeOnBlur = true, disabled, graphic, graphicAlignment = 'lef
128
128
  setOpen(false);
129
129
  }, size: "small", type: "primary" }, "Apply"))))))));
130
130
  };
131
- const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc-1xxctjb" }) `
131
+ const Wrapper = styled.div `
132
132
  position: relative;
133
133
  display: block;
134
134
  outline: none;
135
135
  ${({ $sx }) => ($sx ? $sx : '')}
136
136
  `;
137
- const Container = styled.div.withConfig({ displayName: "Container", componentId: "sc-funo5n" }) `
137
+ const Container = styled.div `
138
138
  position: absolute;
139
139
  width: max-content;
140
140
  z-index: 100;
@@ -222,7 +222,7 @@ const sharedStyles = css `
222
222
  }
223
223
  }
224
224
  `;
225
- const Outlined = styled.button.withConfig({ displayName: "Outlined", componentId: "sc-1nm13kn" }) `
225
+ const Outlined = styled.button `
226
226
  ${sharedStyles}
227
227
  ${Styles.flex}
228
228
  border: 1px solid var(--color-grey-8);
@@ -234,7 +234,7 @@ const Outlined = styled.button.withConfig({ displayName: "Outlined", componentId
234
234
  background-color: var(--color-grey-9);
235
235
  }
236
236
  `;
237
- const Pill = styled.button.withConfig({ displayName: "Pill", componentId: "sc-fvogm6" }) `
237
+ const Pill = styled.button `
238
238
  ${sharedStyles}
239
239
  ${Styles.flex}
240
240
  border: 1px solid var(--color-grey-8);
@@ -260,7 +260,7 @@ const Pill = styled.button.withConfig({ displayName: "Pill", componentId: "sc-fv
260
260
  `
261
261
  : ''}
262
262
  `;
263
- const Labeled = styled.button.withConfig({ displayName: "Labeled", componentId: "sc-ri4n3a" }) `
263
+ const Labeled = styled.button `
264
264
  ${sharedStyles}
265
265
  ${Styles.flex}
266
266
  border-radius: 24px;
@@ -272,12 +272,12 @@ const Labeled = styled.button.withConfig({ displayName: "Labeled", componentId:
272
272
  background-color: var(--color-grey-9);
273
273
  }
274
274
  `;
275
- const LabelSeparator = styled.div.withConfig({ displayName: "LabelSeparator", componentId: "sc-1x263d4" }) `
275
+ const LabelSeparator = styled.div `
276
276
  width: 1px;
277
277
  height: 20px;
278
278
  background-color: var(--color-grey-8);
279
279
  `;
280
- const Avatar = styled.button.withConfig({ displayName: "Avatar", componentId: "sc-1gwrq6k" }) `
280
+ const Avatar = styled.button `
281
281
  ${sharedStyles}
282
282
  ${Styles.flex}
283
283
  padding: 4px 16px;
@@ -298,7 +298,7 @@ const Avatar = styled.button.withConfig({ displayName: "Avatar", componentId: "s
298
298
  }
299
299
  }
300
300
  `;
301
- const Text = styled.button.withConfig({ displayName: "Text", componentId: "sc-16fmdlj" }) `
301
+ const Text = styled.button `
302
302
  ${sharedStyles}
303
303
  ${Styles.flex}
304
304
  gap: 8px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soul-refiner/design-system",
3
- "version": "2.0.0-alpha.10",
3
+ "version": "2.0.0-alpha.11",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",