@soul-refiner/design-system 2.0.0-alpha.8 → 2.0.0-alpha.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.
Files changed (64) hide show
  1. package/dist/src/components/actions/dropdown/dropdown.js +5 -5
  2. package/dist/src/components/actions/rate/rate.js +2 -2
  3. package/dist/src/components/actions/switch/switch.js +3 -3
  4. package/dist/src/components/actions/toggle/toggle.js +4 -4
  5. package/dist/src/components/actions/upload/upload.js +3 -3
  6. package/dist/src/components/atoms/box/box.js +2 -2
  7. package/dist/src/components/atoms/typography/display.js +2 -2
  8. package/dist/src/components/atoms/typography/heading.js +2 -2
  9. package/dist/src/components/atoms/typography/paragraph.js +2 -2
  10. package/dist/src/components/atoms/typography/typography.js +2 -2
  11. package/dist/src/components/card/action/action.js +6 -6
  12. package/dist/src/components/card/audio/audio.js +5 -5
  13. package/dist/src/components/card/feature/feature.js +7 -7
  14. package/dist/src/components/card/meeting/meeting.js +6 -6
  15. package/dist/src/components/card/person/person.js +5 -5
  16. package/dist/src/components/card/price/price.js +4 -4
  17. package/dist/src/components/card/regular/regular.js +2 -2
  18. package/dist/src/components/card/styles.js +2 -2
  19. package/dist/src/components/card/video/video.js +5 -5
  20. package/dist/src/components/card/written/written.js +5 -5
  21. package/dist/src/components/custom/courses_selection/courses_selection.js +5 -5
  22. package/dist/src/components/custom/users_selection/users_selection.js +6 -6
  23. package/dist/src/components/editor/editor.js +2 -2
  24. package/dist/src/components/editor/navbar/button_modal.js +2 -2
  25. package/dist/src/components/editor/navbar/navbar.js +6 -6
  26. package/dist/src/components/editor/plugins/blocks/buttons.js +3 -3
  27. package/dist/src/components/editor/plugins/blocks/qa.js +2 -2
  28. package/dist/src/components/editor/plugins/leafs/link.js +2 -2
  29. package/dist/src/components/editor/simple_editor/navbar.js +4 -4
  30. package/dist/src/components/editor/simple_editor/simple_editor.js +3 -3
  31. package/dist/src/components/editor/styles/menu_button.js +2 -2
  32. package/dist/src/components/feedback/badge/badge.js +3 -3
  33. package/dist/src/components/feedback/banner/banner.js +2 -2
  34. package/dist/src/components/feedback/chip/chip.js +3 -3
  35. package/dist/src/components/feedback/notification/notification.js +2 -2
  36. package/dist/src/components/feedback/progress/progress.js +5 -5
  37. package/dist/src/components/feedback/toast/toast.js +3 -3
  38. package/dist/src/components/iconography/avatar/avatar.js +6 -6
  39. package/dist/src/components/iconography/icon/icon.js +2 -2
  40. package/dist/src/components/input/calendar/calendar.js +13 -13
  41. package/dist/src/components/input/checkbox/checkbox.js +2 -2
  42. package/dist/src/components/input/date/date.js +13 -13
  43. package/dist/src/components/input/filter/filter_option.js +3 -3
  44. package/dist/src/components/input/radio/radio.js +3 -3
  45. package/dist/src/components/input/search/search.js +4 -4
  46. package/dist/src/components/input/select/select.js +3 -3
  47. package/dist/src/components/input/text_area/text_area.js +6 -6
  48. package/dist/src/components/input/text_input/text_input.js +7 -7
  49. package/dist/src/components/input/time/time.js +3 -3
  50. package/dist/src/components/media/video-player/playlist-item.js +3 -3
  51. package/dist/src/components/media/video-player/video.js +6 -6
  52. package/dist/src/components/navigation/breadcrumb/breadcrumb.js +3 -3
  53. package/dist/src/components/navigation/inner/inner.js +8 -8
  54. package/dist/src/components/navigation/tabs/tabs.js +4 -4
  55. package/dist/src/components/surfaces/accordion/accordion.js +3 -3
  56. package/dist/src/components/surfaces/calendar_date/calendar_date.js +6 -6
  57. package/dist/src/components/surfaces/carousel/card/card.js +4 -4
  58. package/dist/src/components/surfaces/comment/comment.js +10 -10
  59. package/dist/src/components/surfaces/drawer/drawer.js +6 -6
  60. package/dist/src/components/surfaces/message/message.js +2 -2
  61. package/dist/src/components/surfaces/modal/modal.js +3 -3
  62. package/dist/src/components/surfaces/post/post.js +9 -9
  63. package/dist/src/components/table/table/table.js +7 -7
  64. package/package.json +1 -1
@@ -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 { Button } from '../../actions/button/button.js';
6
6
  import { P } from '../../atoms/typography/paragraph.js';
7
7
  import { Search } from '../../input/search/search.js';
@@ -55,13 +55,13 @@ const UsersSelection = ({ closeOnBlur = true, disabled = false, offset = [0, 0],
55
55
  React__default.createElement(Checkbox, { selected: userIsChecked[user.id], sx: "margin-left: auto;" }))),
56
56
  React__default.createElement(Spacer, null))))))));
57
57
  };
58
- const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc-t60o8f" }) `
58
+ const Wrapper = styled.div `
59
59
  position: relative;
60
60
  display: block;
61
61
  outline: none;
62
62
  ${({ $sx }) => ($sx ? $sx : '')}
63
63
  `;
64
- const Container = styled.div.withConfig({ displayName: "Container", componentId: "sc-1hc904n" }) `
64
+ const Container = styled.div `
65
65
  min-width: 280px;
66
66
  max-height: 600px;
67
67
  display: flex;
@@ -81,7 +81,7 @@ const Container = styled.div.withConfig({ displayName: "Container", componentId:
81
81
 
82
82
  ${({ $offset }) => $offset ? `transform: translate(${$offset[0]}px, ${$offset[1]}px);` : ''}
83
83
  `;
84
- const OptionWrapper = styled.div.withConfig({ displayName: "OptionWrapper", componentId: "sc-1kcf1qk" }) `
84
+ const OptionWrapper = styled.div `
85
85
  position: relative;
86
86
  padding: 12px 16px;
87
87
  user-select: none;
@@ -108,13 +108,13 @@ const OptionWrapper = styled.div.withConfig({ displayName: "OptionWrapper", comp
108
108
  `;
109
109
  }}
110
110
  `;
111
- const StyledImage = styled(Image).withConfig({ displayName: "StyledImage", componentId: "sc-1wt841p" }) `
111
+ const StyledImage = styled(Image) `
112
112
  border-radius: 50%;
113
113
  width: 40px;
114
114
  height: 40px;
115
115
  margin-right: 16px;
116
116
  `;
117
- const Spacer = styled.div.withConfig({ displayName: "Spacer", componentId: "sc-33af6j" }) `
117
+ const Spacer = styled.div `
118
118
  width: 100%;
119
119
  height: 1px;
120
120
  background-color: var(--color-grey-8);
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { createPlugins, Plate, PlateContent } from '@udecode/plate';
5
5
  import { PLACEHOLDER } from './constants.js';
6
6
  import { EditorContext } from './context.js';
@@ -31,7 +31,7 @@ const Editor = ({ commentInputLoader, commentLoader, editable, handleVideoClick,
31
31
  }
32
32
  } })))));
33
33
  };
34
- const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc-1fatqfv" }) `
34
+ const Wrapper = styled.div `
35
35
  * {
36
36
  font-family: var(--font-inter);
37
37
  outline: none;
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import styled from 'styled-components';
2
+ import { styled } from 'styled-components';
3
3
  import { Box } from '../../atoms/box/box.js';
4
4
  import { Button } from '../../actions/button/button.js';
5
5
  import { H } from '../../atoms/typography/heading.js';
@@ -40,7 +40,7 @@ const ButtonModal = ({ onButtonInsert }) => {
40
40
  React__default.createElement(Modal.Dismiss, null,
41
41
  React__default.createElement(Button, { size: "small", sx: "flex: 1;", onClick: handleButtonInsert }, "Confirm")))))));
42
42
  };
43
- const IconWrapper = styled.div.withConfig({ displayName: "IconWrapper", componentId: "sc-1bteqdc" }) `
43
+ const IconWrapper = styled.div `
44
44
  height: 48px;
45
45
  width: 48px;
46
46
  box-sizing: border-box;
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import styled from 'styled-components';
2
+ import { styled } from 'styled-components';
3
3
  import { useEditorRef, useEditorState, useMarkToolbarButtonState, MARK_BOLD, useMarkToolbarButton, MARK_ITALIC, MARK_STRIKETHROUGH, MARK_UNDERLINE, MARK_CODE, useLinkToolbarButtonState, useLinkToolbarButton, useListToolbarButtonState, ELEMENT_OL, useListToolbarButton, ELEMENT_UL, insertTable, toggleNodeType, ELEMENT_BLOCKQUOTE, insertNodes, getPluginType } from '@udecode/plate';
4
4
  import { Tooltip } from '../../feedback/tooltip/tooltip.js';
5
5
  import { Bold } from '../../../icons/basic/bold.js';
@@ -156,14 +156,14 @@ const EditorBar = () => {
156
156
  } },
157
157
  React__default.createElement(Grid, { size: 24, color: "grey-5" })))))));
158
158
  };
159
- const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc-1it9gqx" }) `
159
+ const Wrapper = styled.div `
160
160
  position: sticky;
161
161
  z-index: 2;
162
162
  left: 0;
163
163
  right: 0;
164
164
  top: 0;
165
165
  `;
166
- const Menu = styled.nav.withConfig({ displayName: "Menu", componentId: "sc-1agcjuk" }) `
166
+ const Menu = styled.nav `
167
167
  display: flex;
168
168
  gap: 12px;
169
169
  justify-content: center;
@@ -173,14 +173,14 @@ const Menu = styled.nav.withConfig({ displayName: "Menu", componentId: "sc-1agcj
173
173
  padding: 14px 24px;
174
174
  background-color: var(--color-white);
175
175
  `;
176
- const MenuSection = styled.div.withConfig({ displayName: "MenuSection", componentId: "sc-sso2l" }) `
176
+ const MenuSection = styled.div `
177
177
  display: flex;
178
178
  gap: 16px;
179
179
  align-items: center;
180
180
  width: fit-content;
181
181
  flex-shrink: 0;
182
182
  `;
183
- const MenuButton = styled.button.withConfig({ displayName: "MenuButton", componentId: "sc-r8lpmb" }) `
183
+ const MenuButton = styled.button `
184
184
  padding: 2px;
185
185
  border: none;
186
186
  outline: none;
@@ -209,7 +209,7 @@ const MenuButton = styled.button.withConfig({ displayName: "MenuButton", compone
209
209
 
210
210
  background-color: ${({ $active }) => $active ? 'var(--color-grey-9)' : 'transparent'};
211
211
  `;
212
- const Divider = styled.div.withConfig({ displayName: "Divider", componentId: "sc-14q3uc" }) `
212
+ const Divider = styled.div `
213
213
  width: 1px;
214
214
  height: 28px;
215
215
  background-color: var(--color-grey-9);
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import styled from 'styled-components';
2
+ import { styled } from 'styled-components';
3
3
  import { someNode, getPluginType, getBlockAbove, isEditorReadOnly, PlateElement, createPluginFactory, ELEMENT_PARAGRAPH, setNodes } from '@udecode/plate';
4
4
  import { Button as Button$1 } from '../../../actions/button/button.js';
5
5
  import { ELEMENT_BUTTON, COLORS } from '../../constants.js';
@@ -45,7 +45,7 @@ const Button = React__default.forwardRef(({ children, editor, element, ...props
45
45
  }
46
46
  ` }, children))));
47
47
  });
48
- const ColorMenuComponent = styled.div.withConfig({ displayName: "ColorMenuComponent", componentId: "sc-6npdi8" }) `
48
+ const ColorMenuComponent = styled.div `
49
49
  display: flex;
50
50
  justify-content: center;
51
51
  align-items: center;
@@ -59,7 +59,7 @@ const ColorMenuComponent = styled.div.withConfig({ displayName: "ColorMenuCompon
59
59
  box-shadow: var(--elevation-1);
60
60
  background-color: var(--color-white);
61
61
  `;
62
- const ColorItem = styled.div.withConfig({ displayName: "ColorItem", componentId: "sc-foqtln" }) `
62
+ const ColorItem = styled.div `
63
63
  width: 24px;
64
64
  height: 24px;
65
65
  border-radius: 50%;
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import { PlateElement, createPluginFactory } from '@udecode/plate';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { ELEMENT_QA } from '../../constants.js';
5
5
  import { EditorContext } from '../../context.js';
6
6
  import { Button } from '../../../actions/button/button.js';
@@ -31,7 +31,7 @@ const QuestionAnswerElement = React__default.forwardRef(({ children, element, ..
31
31
  React__default.createElement(Comments, { questionAnswerId: questionAnswerId })),
32
32
  React__default.createElement(CommentInput, { questionAnswerId: questionAnswerId, onComment: () => setShowAnswers(true) })))));
33
33
  });
34
- const Question = styled.div.withConfig({ displayName: "Question", componentId: "sc-11s8tcx" }) `
34
+ const Question = styled.div `
35
35
  margin-bottom: 8px;
36
36
  padding: 16px;
37
37
  border-left: 8px solid var(--color-hue-blue-1);
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import styled from 'styled-components';
2
+ import { styled } from 'styled-components';
3
3
  import { useLink, PlateElement, useFloatingLinkSelectors, useFloatingLinkInsertState, useFloatingLinkInsert, useFloatingLinkEditState, useFloatingLinkEdit, FloatingLinkUrlInput, LinkOpenButton } from '@udecode/plate';
4
4
  import { Box } from '../../../atoms/box/box.js';
5
5
  import { AASansSerif } from '../../../../icons/basic/aa_sansserif.js';
@@ -70,7 +70,7 @@ const LinkFloatingMenu = ({ readOnly }) => {
70
70
  React__default.createElement("div", { ref: insertRef, ...insertProps }, input),
71
71
  React__default.createElement("div", { ref: editRef, ...editProps }, editContent)));
72
72
  };
73
- const Input = styled.input.withConfig({ displayName: "Input", componentId: "sc-kq2z0o" }) `
73
+ const Input = styled.input `
74
74
  border: none;
75
75
  outline: none;
76
76
  padding: 8px 12px;
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import styled from 'styled-components';
2
+ import { styled } from 'styled-components';
3
3
  import { useEditorRef, useMarkToolbarButtonState, MARK_BOLD, useMarkToolbarButton, MARK_ITALIC, MARK_UNDERLINE, useLinkToolbarButtonState, useLinkToolbarButton, useListToolbarButtonState, ELEMENT_OL, useListToolbarButton, ELEMENT_UL, insertImage, insertNode, ELEMENT_PARAGRAPH } from '@udecode/plate';
4
4
  import { Tooltip } from '../../feedback/tooltip/tooltip.js';
5
5
  import { AlignmentDropdown } from '../navbar/alignment_dropdown.js';
@@ -94,7 +94,7 @@ const EditorBar = ({ handleUploadImage }) => {
94
94
  React__default.createElement(MenuButton, { "$active": currOrderedList, onClick: handleOrderedList },
95
95
  React__default.createElement(ListOrdered, { size: 24, color: "grey-5" }))))));
96
96
  };
97
- const Menu = styled.nav.withConfig({ displayName: "Menu", componentId: "sc-18hwzho" }) `
97
+ const Menu = styled.nav `
98
98
  display: flex;
99
99
  gap: 12px;
100
100
  justify-content: center;
@@ -106,14 +106,14 @@ const Menu = styled.nav.withConfig({ displayName: "Menu", componentId: "sc-18hwz
106
106
  border-radius: 8px 8px 0px 0px;
107
107
  box-shadow: var(--elevation-1);
108
108
  `;
109
- const MenuSection = styled.div.withConfig({ displayName: "MenuSection", componentId: "sc-360yvm" }) `
109
+ const MenuSection = styled.div `
110
110
  display: flex;
111
111
  gap: 16px;
112
112
  align-items: center;
113
113
  width: fit-content;
114
114
  flex-shrink: 0;
115
115
  `;
116
- const Divider = styled.div.withConfig({ displayName: "Divider", componentId: "sc-lfonyv" }) `
116
+ const Divider = styled.div `
117
117
  width: 1px;
118
118
  height: 28px;
119
119
  background-color: var(--color-grey-9);
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { Plate, PlateContent } from '@udecode/plate';
5
5
  import { plugins } from './plugins.js';
6
6
  import { EditorBar } from './navbar.js';
@@ -21,7 +21,7 @@ const SimpleEditor = ({ editable, handleUploadImage, onChange, placeholder = '',
21
21
  React__default.createElement(InnerWrapper, null,
22
22
  React__default.createElement(PlateContent, { id: "main", autoFocus: true, placeholder: placeholder, readOnly: !editable, spellCheck: true })))));
23
23
  };
24
- const InnerWrapper = styled.div.withConfig({ displayName: "InnerWrapper", componentId: "sc-1ehza2k" }) `
24
+ const InnerWrapper = styled.div `
25
25
  & > div {
26
26
  padding: 24px;
27
27
  min-height: 224px;
@@ -32,7 +32,7 @@ const InnerWrapper = styled.div.withConfig({ displayName: "InnerWrapper", compon
32
32
  }
33
33
  }
34
34
  `;
35
- const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc-18lk8h1" }) `
35
+ const Wrapper = styled.div `
36
36
  position: relative;
37
37
  max-width: 1200px;
38
38
  width: 100%;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import styled from 'styled-components';
2
+ import { styled } from 'styled-components';
3
3
 
4
- const MenuButton = styled.button.withConfig({ displayName: "MenuButton", componentId: "sc-1r4gmyn" }) `
4
+ const MenuButton = styled.button `
5
5
  padding: 2px;
6
6
  border: none;
7
7
  outline: none;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { Close } from '../../../icons/basic/close.js';
5
5
 
6
6
  const colorLookup = {
@@ -39,7 +39,7 @@ const Badge = ({ children, color, dot, onDismiss }) => {
39
39
  children,
40
40
  onDismiss && React__default.createElement(Close, { size: 16 })));
41
41
  };
42
- const Component = styled.div.withConfig({ displayName: "Component", componentId: "sc-bwkn28" }) `
42
+ const Component = styled.div `
43
43
  display: flex;
44
44
  align-items: center;
45
45
  gap: 8px;
@@ -59,7 +59,7 @@ const Component = styled.div.withConfig({ displayName: "Component", componentId:
59
59
  cursor: pointer;
60
60
  }
61
61
  `;
62
- const Dot = styled.div.withConfig({ displayName: "Dot", componentId: "sc-1rozlb2" }) `
62
+ const Dot = styled.div `
63
63
  width: 8px;
64
64
  height: 8px;
65
65
  border-radius: 50%;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { Styles } from '../../../common/styles.js';
5
5
  import { Box } from '../../atoms/box/box.js';
6
6
  import { Button } from '../../actions/button/button.js';
@@ -27,7 +27,7 @@ const Banner = ({ content, href, onClose, title, type, setContentInNewLine = fal
27
27
  href && (React__default.createElement(P, { as: "a", href: href, "$color": "primary-blue-2" }, "Read more"))),
28
28
  onClose && (React__default.createElement(Button, { icon: React__default.createElement(Close, { size: 24 }), onClick: onClose, type: "special" }))));
29
29
  };
30
- const Wrapper = styled.output.withConfig({ displayName: "Wrapper", componentId: "sc-plp57j" }) `
30
+ const Wrapper = styled.output `
31
31
  width: 100%;
32
32
  box-sizing: border-box;
33
33
  padding: 12px 16px;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { Close } from '../../../icons/basic/close.js';
5
5
 
6
6
  const colorLookup = {
@@ -59,7 +59,7 @@ const Chip = ({ children, color, dot, onDismiss, size }) => {
59
59
  children,
60
60
  onDismiss && React__default.createElement(Close, { size: 16, onClick: onDismiss })));
61
61
  };
62
- const Component = styled.div.withConfig({ displayName: "Component", componentId: "sc-1ljo1tb" }) `
62
+ const Component = styled.div `
63
63
  display: flex;
64
64
  align-items: center;
65
65
  gap: 8px;
@@ -87,7 +87,7 @@ const Component = styled.div.withConfig({ displayName: "Component", componentId:
87
87
  line-height: 20px;
88
88
  font-weight: 600;`}
89
89
  `;
90
- const Dot = styled.div.withConfig({ displayName: "Dot", componentId: "sc-r5xrj2" }) `
90
+ const Dot = styled.div `
91
91
  width: 8px;
92
92
  height: 8px;
93
93
  border-radius: 50%;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { Styles } from '../../../common/styles.js';
5
5
  import { Box } from '../../atoms/box/box.js';
6
6
  import { Button } from '../../actions/button/button.js';
@@ -26,7 +26,7 @@ const Notification = ({ content, href, onClose, sx, title, type, }) => {
26
26
  React__default.createElement(Box, { "$align": "center", "$dir": "row", "$gap": 4 },
27
27
  React__default.createElement(P, { as: "span", sx: "padding-left: 32px;" }, content))));
28
28
  };
29
- const Wrapper = styled.output.withConfig({ displayName: "Wrapper", componentId: "sc-13g19ib" }) `
29
+ const Wrapper = styled.output `
30
30
  text-decoration: none;
31
31
  width: 100%;
32
32
  box-sizing: border-box;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { colorReference } from '../../../common/colors.js';
5
5
  import { Box } from '../../atoms/box/box.js';
6
6
  import { P } from '../../atoms/typography/paragraph.js';
@@ -50,20 +50,20 @@ const Progress = ({ hasError, progress, subtitle, sx, title, type, }) => {
50
50
  subtitle && (React__default.createElement(P, { "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16 }, subtitle))),
51
51
  isDetailed && (React__default.createElement(P, { "$color": "grey-4", "$textAlign": "center", sx: "width: 72px;" }, displayPercent))));
52
52
  };
53
- const BarWrapper = styled.div.withConfig({ displayName: "BarWrapper", componentId: "sc-wyjget" }) `
53
+ const BarWrapper = styled.div `
54
54
  position: relative;
55
55
  width: 100%;
56
56
  height: 12px;
57
57
  border-radius: 32px;
58
58
  background-color: var(--color-grey-8);
59
59
  `;
60
- const Bar = styled.div.withConfig({ displayName: "Bar", componentId: "sc-1buiifo" }) `
60
+ const Bar = styled.div `
61
61
  width: ${({ $percent }) => $percent}%;
62
62
  height: 12px;
63
63
  background-color: ${({ $color }) => $color};
64
64
  border-radius: 32px;
65
65
  `;
66
- const IconWrapper = styled.div.withConfig({ displayName: "IconWrapper", componentId: "sc-yh3986" }) `
66
+ const IconWrapper = styled.div `
67
67
  position: relative;
68
68
  display: block;
69
69
  width: 45px;
@@ -82,7 +82,7 @@ const IconWrapper = styled.div.withConfig({ displayName: "IconWrapper", componen
82
82
  );
83
83
  border: 1px solid ${({ $gradientColors }) => $gradientColors.bg};
84
84
  `;
85
- const IconInnerWrapper = styled.div.withConfig({ displayName: "IconInnerWrapper", componentId: "sc-i9c7i9" }) `
85
+ const IconInnerWrapper = styled.div `
86
86
  display: flex;
87
87
  justify-content: center;
88
88
  align-items: center;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { Styles } from '../../../common/styles.js';
5
5
  import { Button } from '../../actions/button/button.js';
6
6
  import { P } from '../../atoms/typography/paragraph.js';
@@ -25,7 +25,7 @@ const Toast = ({ content, href, onClose, type, isAnimated = false, animationDura
25
25
  isAnimated && (React__default.createElement(ToastProgress, { "$animationDuration": animationDuration || 4 },
26
26
  React__default.createElement("div", { className: `toast-progress-bar ${type}` })))));
27
27
  };
28
- const ToastProgress = styled.div.withConfig({ displayName: "ToastProgress", componentId: "sc-1oyx3v2" }) `
28
+ const ToastProgress = styled.div `
29
29
  position: absolute;
30
30
  bottom: 0;
31
31
  left: 0;
@@ -63,7 +63,7 @@ const ToastProgress = styled.div.withConfig({ displayName: "ToastProgress", comp
63
63
  }
64
64
  }
65
65
  `;
66
- const Wrapper = styled.output.withConfig({ displayName: "Wrapper", componentId: "sc-1trmc38" }) `
66
+ const Wrapper = styled.output `
67
67
  ${({ $isAnimated }) => !$isAnimated &&
68
68
  `
69
69
  position: fixed;
@@ -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';
@@ -94,7 +94,7 @@ const Avatar = ({ as = 'button', href, image, fallbackImg = fallBackImgSrc, size
94
94
  tooltipContent && (React__default.createElement(TooltipContainer, { className: "tooltipContainer", "$sx": tooltipSx }, tooltipContent))));
95
95
  };
96
96
  Avatar.displayName = 'Avatar';
97
- const Container = styled.div.withConfig({ displayName: "Container", componentId: "sc-1mx6yc2" }) `
97
+ const Container = styled.div `
98
98
  flex-shrink: 0;
99
99
  display: flex;
100
100
  flex-flow: row nowrap;
@@ -124,13 +124,13 @@ const Container = styled.div.withConfig({ displayName: "Container", componentId:
124
124
  top: ${({ $size }) => iconOffsetY[`${$size}`]}px;
125
125
  }
126
126
  `;
127
- const TextContainer = styled.div.withConfig({ displayName: "TextContainer", componentId: "sc-764whw" }) `
127
+ const TextContainer = styled.div `
128
128
  display: flex;
129
129
  flex-flow: column nowrap;
130
130
  gap: 4px;
131
131
  order: ${({ $textPosition }) => ($textPosition === 'left' ? -1 : 1)};
132
132
  `;
133
- const TooltipContainer = styled.div.withConfig({ displayName: "TooltipContainer", componentId: "sc-my4srk" }) `
133
+ const TooltipContainer = styled.div `
134
134
  display: none;
135
135
  position: absolute;
136
136
  top: 100%;
@@ -159,14 +159,14 @@ const Group = ({ children, numDisplayed, total }) => {
159
159
  };
160
160
  Group.displayName = 'Avatar.Group';
161
161
  Avatar.Group = Group;
162
- const AvatarWrapper = styled.div.withConfig({ displayName: "AvatarWrapper", componentId: "sc-xgpjsr" }) `
162
+ const AvatarWrapper = styled.div `
163
163
  position: relative;
164
164
  z-index: ${({ $index }) => `-${$index}`};
165
165
  border-radius: 50%;
166
166
  border: 2px solid var(--color-white);
167
167
  margin-right: -8px;
168
168
  `;
169
- const Total = styled.div.withConfig({ displayName: "Total", componentId: "sc-1b7vxnq" }) `
169
+ const Total = styled.div `
170
170
  position: relative;
171
171
  z-index: ${({ $index }) => `-${$index}`};
172
172
  display: flex;
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { colorReference } from '../../../common/colors.js';
5
5
 
6
6
  const Icon = ({ as, children, color = 'grey-3', size = 16, sx, ...rest }) => {
7
7
  return (React__default.createElement(SVG, { as: as, width: size, height: size, viewBox: "0 0 16 16", fill: colorReference[color], xmlns: "http://www.w3.org/2000/svg", "$sx": sx, ...rest }, children));
8
8
  };
9
- const SVG = styled.svg.withConfig({ displayName: "SVG", componentId: "sc-byxrsa" }) `
9
+ const SVG = styled.svg `
10
10
  ${({ $sx }) => ($sx ? $sx : '')}
11
11
  `;
12
12
 
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { MONTHS, WEEKDAYS } from '../../../common/date.js';
5
5
  import { Button } from '../../actions/button/button.js';
6
6
  import { P } from '../../atoms/typography/paragraph.js';
@@ -106,12 +106,12 @@ const CalendarInput = ({ selectedDate, onSelect: parentOnSelect, disablePastDate
106
106
  React__default.createElement(Button, { onClick: handleCancel, size: "small", sx: "width: 80px;", type: "outlined" }, "Cancel"),
107
107
  React__default.createElement(Button, { onClick: handleApply, size: "small", sx: "width: 80px;" }, "Apply"))))))));
108
108
  };
109
- const Wrapper = styled.div.withConfig({ displayName: "Wrapper", componentId: "sc-1bmij7m" }) `
109
+ const Wrapper = styled.div `
110
110
  position: relative;
111
111
  width: fit-content;
112
112
  font-family: var(--font-inter);
113
113
  `;
114
- const DateSelector = styled.div.withConfig({ displayName: "DateSelector", componentId: "sc-4xgafl" }) `
114
+ const DateSelector = styled.div `
115
115
  transform: translateY(26px);
116
116
  position: absolute;
117
117
  z-index: 5;
@@ -119,7 +119,7 @@ const DateSelector = styled.div.withConfig({ displayName: "DateSelector", compon
119
119
  border-radius: 25px;
120
120
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
121
121
  `;
122
- const InnerWrapper = styled.div.withConfig({ displayName: "InnerWrapper", componentId: "sc-16kqx5e" }) `
122
+ const InnerWrapper = styled.div `
123
123
  display: flex;
124
124
  gap: 31px;
125
125
  padding: 30px;
@@ -138,14 +138,14 @@ const InnerWrapper = styled.div.withConfig({ displayName: "InnerWrapper", compon
138
138
  box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.1);
139
139
  }
140
140
  `;
141
- const MonthBar = styled.div.withConfig({ displayName: "MonthBar", componentId: "sc-1e4yjc4" }) `
141
+ const MonthBar = styled.div `
142
142
  display: flex;
143
143
  justify-content: space-between;
144
144
  align-items: center;
145
145
  margin-bottom: 32px;
146
146
  user-select: none;
147
147
  `;
148
- const Arrow = styled.button.withConfig({ displayName: "Arrow", componentId: "sc-16f2dwz" }) `
148
+ const Arrow = styled.button `
149
149
  appearance: none;
150
150
  border: none;
151
151
  outline: none;
@@ -165,24 +165,24 @@ const Arrow = styled.button.withConfig({ displayName: "Arrow", componentId: "sc-
165
165
  }
166
166
  }
167
167
  `;
168
- const WeekdayWrapper = styled.div.withConfig({ displayName: "WeekdayWrapper", componentId: "sc-3mbvr" }) `
168
+ const WeekdayWrapper = styled.div `
169
169
  display: flex;
170
170
  gap: 32px;
171
171
  user-select: none;
172
172
  `;
173
- const Calendar = styled.div.withConfig({ displayName: "Calendar", componentId: "sc-mttk00" }) `
173
+ const Calendar = styled.div `
174
174
  display: flex;
175
175
  flex-direction: column;
176
176
  gap: 32px;
177
177
  margin: 32px 0px;
178
178
  user-select: none;
179
179
  `;
180
- const Week = styled.div.withConfig({ displayName: "Week", componentId: "sc-1co45a6" }) `
180
+ const Week = styled.div `
181
181
  display: flex;
182
182
  gap: 32px;
183
183
  border-radius: 24px;
184
184
  `;
185
- const Day = styled.button.withConfig({ displayName: "Day", componentId: "sc-c7n4tw" }) `
185
+ const Day = styled.button `
186
186
  outline: none;
187
187
  border: none;
188
188
  background: transparent;
@@ -217,12 +217,12 @@ const Day = styled.button.withConfig({ displayName: "Day", componentId: "sc-c7n4
217
217
  }
218
218
  }
219
219
  `;
220
- const BottomWrapper = styled.div.withConfig({ displayName: "BottomWrapper", componentId: "sc-1hmgkh4" }) `
220
+ const BottomWrapper = styled.div `
221
221
  display: flex;
222
222
  justify-content: flex-end;
223
223
  gap: 18px;
224
224
  `;
225
- const Input = styled.input.withConfig({ displayName: "Input", componentId: "sc-1cbof6a" }) `
225
+ const Input = styled.input `
226
226
  max-width: 140px;
227
227
  padding: 0px;
228
228
  flex: 1;
@@ -238,7 +238,7 @@ const Input = styled.input.withConfig({ displayName: "Input", componentId: "sc-1
238
238
  color: var(--color-grey-6);
239
239
  }
240
240
  `;
241
- const InputWrapper = styled.div.withConfig({ displayName: "InputWrapper", componentId: "sc-1sctm5q" }) `
241
+ const InputWrapper = styled.div `
242
242
  width: fit-content;
243
243
  display: flex;
244
244
  gap: 8px;
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import React__default from 'react';
3
- import styled from 'styled-components';
3
+ import { styled } from 'styled-components';
4
4
  import { Styles } from '../../../common/styles.js';
5
5
  import { Checkmark } from '../../../icons/basic/checkmark.js';
6
6
 
7
7
  const Checkbox = ({ disabled, selected, sx, ...rest }) => {
8
8
  return (React__default.createElement(Box, { "$align": "center", "$disabled": !!disabled, "$display": "flex", "$justify": "center", "$selected": selected, "$sx": sx, ...rest }, selected && React__default.createElement(Checkmark, { color: "white" })));
9
9
  };
10
- const Box = styled.div.withConfig({ displayName: "Box", componentId: "sc-1sakrq7" }) `
10
+ const Box = styled.div `
11
11
  display: flex;
12
12
  width: 20px;
13
13
  height: 20px;