@remember-web/primitive 0.1.18 → 0.1.20

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 (262) hide show
  1. package/dist/src/Avatars/Avatar/index.cjs.js +2 -2
  2. package/dist/src/Avatars/Avatar/index.cjs.js.map +1 -1
  3. package/dist/src/Avatars/Avatar/index.d.ts +1 -1
  4. package/dist/src/Avatars/Avatar/index.d.ts.map +1 -1
  5. package/dist/src/Avatars/Avatar/index.esm.js +2 -2
  6. package/dist/src/Avatars/Avatar/index.esm.js.map +1 -1
  7. package/dist/src/Avatars/Avatar/styles.cjs.js.map +1 -1
  8. package/dist/src/Avatars/Avatar/styles.d.ts.map +1 -1
  9. package/dist/src/Avatars/Avatar/styles.esm.js.map +1 -1
  10. package/dist/src/Badge/style.cjs.js +1 -1
  11. package/dist/src/Badge/style.cjs.js.map +1 -1
  12. package/dist/src/Badge/style.esm.js +1 -1
  13. package/dist/src/Badge/style.esm.js.map +1 -1
  14. package/dist/src/Badge/utils.cjs.js.map +1 -1
  15. package/dist/src/Badge/utils.d.ts.map +1 -1
  16. package/dist/src/Badge/utils.esm.js.map +1 -1
  17. package/dist/src/Buttons/Button/index.cjs.js +7 -7
  18. package/dist/src/Buttons/Button/index.cjs.js.map +1 -1
  19. package/dist/src/Buttons/Button/index.d.ts +2 -8
  20. package/dist/src/Buttons/Button/index.d.ts.map +1 -1
  21. package/dist/src/Buttons/Button/index.esm.js +5 -5
  22. package/dist/src/Buttons/Button/index.esm.js.map +1 -1
  23. package/dist/src/Buttons/Button/styles.cjs.js +2 -2
  24. package/dist/src/Buttons/Button/styles.cjs.js.map +1 -1
  25. package/dist/src/Buttons/Button/styles.d.ts +1 -2
  26. package/dist/src/Buttons/Button/styles.d.ts.map +1 -1
  27. package/dist/src/Buttons/Button/styles.esm.js +2 -2
  28. package/dist/src/Buttons/Button/styles.esm.js.map +1 -1
  29. package/dist/src/Buttons/Button/types.d.ts +4 -6
  30. package/dist/src/Buttons/Button/types.d.ts.map +1 -1
  31. package/dist/src/Buttons/index.d.ts +1 -1
  32. package/dist/src/Buttons/index.d.ts.map +1 -1
  33. package/dist/src/Common/Divider/index.cjs.js +10 -2
  34. package/dist/src/Common/Divider/index.cjs.js.map +1 -1
  35. package/dist/src/Common/Divider/index.d.ts +2 -0
  36. package/dist/src/Common/Divider/index.d.ts.map +1 -1
  37. package/dist/src/Common/Divider/index.esm.js +10 -2
  38. package/dist/src/Common/Divider/index.esm.js.map +1 -1
  39. package/dist/src/Common/Flex/index.cjs.js +7 -6
  40. package/dist/src/Common/Flex/index.cjs.js.map +1 -1
  41. package/dist/src/Common/Flex/index.d.ts +5 -4
  42. package/dist/src/Common/Flex/index.d.ts.map +1 -1
  43. package/dist/src/Common/Flex/index.esm.js +7 -6
  44. package/dist/src/Common/Flex/index.esm.js.map +1 -1
  45. package/dist/src/Common/Grid/index.cjs.js +1 -0
  46. package/dist/src/Common/Grid/index.cjs.js.map +1 -1
  47. package/dist/src/Common/Grid/index.d.ts +1 -0
  48. package/dist/src/Common/Grid/index.d.ts.map +1 -1
  49. package/dist/src/Common/Grid/index.esm.js +1 -0
  50. package/dist/src/Common/Grid/index.esm.js.map +1 -1
  51. package/dist/src/Common/Skeleton/index.cjs.js +34 -0
  52. package/dist/src/Common/Skeleton/index.cjs.js.map +1 -0
  53. package/dist/src/Common/Skeleton/index.d.ts +5 -0
  54. package/dist/src/Common/Skeleton/index.d.ts.map +1 -0
  55. package/dist/src/Common/Skeleton/index.esm.js +27 -0
  56. package/dist/src/Common/Skeleton/index.esm.js.map +1 -0
  57. package/dist/src/Common/Skeleton/styles.cjs.js +34 -0
  58. package/dist/src/Common/Skeleton/styles.cjs.js.map +1 -0
  59. package/dist/src/Common/Skeleton/styles.d.ts +10 -0
  60. package/dist/src/Common/Skeleton/styles.d.ts.map +1 -0
  61. package/dist/src/Common/Skeleton/styles.esm.js +26 -0
  62. package/dist/src/Common/Skeleton/styles.esm.js.map +1 -0
  63. package/dist/src/Common/Spinner/styles.cjs.js.map +1 -1
  64. package/dist/src/Common/Spinner/styles.d.ts.map +1 -1
  65. package/dist/src/Common/Spinner/styles.esm.js.map +1 -1
  66. package/dist/src/Common/Spinner/types.d.ts +1 -1
  67. package/dist/src/Common/Spinner/types.d.ts.map +1 -1
  68. package/dist/src/Common/Typography/index.cjs.js +4 -7
  69. package/dist/src/Common/Typography/index.cjs.js.map +1 -1
  70. package/dist/src/Common/Typography/index.d.ts +7 -10
  71. package/dist/src/Common/Typography/index.d.ts.map +1 -1
  72. package/dist/src/Common/Typography/index.esm.js +4 -7
  73. package/dist/src/Common/Typography/index.esm.js.map +1 -1
  74. package/dist/src/Common/Typography/styles.cjs.js +1 -1
  75. package/dist/src/Common/Typography/styles.cjs.js.map +1 -1
  76. package/dist/src/Common/Typography/styles.d.ts +1 -1
  77. package/dist/src/Common/Typography/styles.d.ts.map +1 -1
  78. package/dist/src/Common/Typography/styles.esm.js +1 -1
  79. package/dist/src/Common/Typography/styles.esm.js.map +1 -1
  80. package/dist/src/Common/index.d.ts +2 -1
  81. package/dist/src/Common/index.d.ts.map +1 -1
  82. package/dist/src/Control/BaseToggle/ToggleIcon/index.cjs.js.map +1 -1
  83. package/dist/src/Control/BaseToggle/ToggleIcon/index.d.ts.map +1 -1
  84. package/dist/src/Control/BaseToggle/ToggleIcon/index.esm.js.map +1 -1
  85. package/dist/src/Control/BaseToggle/index.cjs.js +2 -1
  86. package/dist/src/Control/BaseToggle/index.cjs.js.map +1 -1
  87. package/dist/src/Control/BaseToggle/index.esm.js +2 -1
  88. package/dist/src/Control/BaseToggle/index.esm.js.map +1 -1
  89. package/dist/src/Control/BaseToggle/styles.cjs.js +1 -1
  90. package/dist/src/Control/BaseToggle/styles.cjs.js.map +1 -1
  91. package/dist/src/Control/BaseToggle/styles.esm.js +1 -1
  92. package/dist/src/Control/BaseToggle/styles.esm.js.map +1 -1
  93. package/dist/src/Control/Checkbox.cjs.js.map +1 -1
  94. package/dist/src/Control/Checkbox.d.ts.map +1 -1
  95. package/dist/src/Control/Checkbox.esm.js.map +1 -1
  96. package/dist/src/Control/Radio.cjs.js.map +1 -1
  97. package/dist/src/Control/Radio.esm.js.map +1 -1
  98. package/dist/src/Control/Switch/index.cjs.js.map +1 -1
  99. package/dist/src/Control/Switch/index.esm.js.map +1 -1
  100. package/dist/src/Control/Switch/styles.cjs.js +1 -1
  101. package/dist/src/Control/Switch/styles.cjs.js.map +1 -1
  102. package/dist/src/Control/Switch/styles.esm.js +1 -1
  103. package/dist/src/Control/Switch/styles.esm.js.map +1 -1
  104. package/dist/src/Control/Toggle.cjs.js.map +1 -1
  105. package/dist/src/Control/Toggle.d.ts.map +1 -1
  106. package/dist/src/Control/Toggle.esm.js.map +1 -1
  107. package/dist/src/Floating/DropdownMenu/DropdownMenuSection.cjs.js.map +1 -1
  108. package/dist/src/Floating/DropdownMenu/DropdownMenuSection.d.ts +1 -1
  109. package/dist/src/Floating/DropdownMenu/DropdownMenuSection.d.ts.map +1 -1
  110. package/dist/src/Floating/DropdownMenu/DropdownMenuSection.esm.js.map +1 -1
  111. package/dist/src/Floating/DropdownMenu/index.cjs.js.map +1 -1
  112. package/dist/src/Floating/DropdownMenu/index.d.ts.map +1 -1
  113. package/dist/src/Floating/DropdownMenu/index.esm.js.map +1 -1
  114. package/dist/src/Floating/DropdownMenu/styles.cjs.js +1 -1
  115. package/dist/src/Floating/DropdownMenu/styles.cjs.js.map +1 -1
  116. package/dist/src/Floating/DropdownMenu/styles.d.ts.map +1 -1
  117. package/dist/src/Floating/DropdownMenu/styles.esm.js +1 -1
  118. package/dist/src/Floating/DropdownMenu/styles.esm.js.map +1 -1
  119. package/dist/src/Floating/Popover/styles.cjs.js +1 -1
  120. package/dist/src/Floating/Popover/styles.cjs.js.map +1 -1
  121. package/dist/src/Floating/Popover/styles.esm.js +1 -1
  122. package/dist/src/Floating/Popover/styles.esm.js.map +1 -1
  123. package/dist/src/Floating/Tooltip/index.cjs.js +2 -2
  124. package/dist/src/Floating/Tooltip/index.cjs.js.map +1 -1
  125. package/dist/src/Floating/Tooltip/index.d.ts.map +1 -1
  126. package/dist/src/Floating/Tooltip/index.esm.js +2 -2
  127. package/dist/src/Floating/Tooltip/index.esm.js.map +1 -1
  128. package/dist/src/Floating/Tooltip/styles.cjs.js +1 -1
  129. package/dist/src/Floating/Tooltip/styles.cjs.js.map +1 -1
  130. package/dist/src/Floating/Tooltip/styles.esm.js +1 -1
  131. package/dist/src/Floating/Tooltip/styles.esm.js.map +1 -1
  132. package/dist/src/Inputs/Select/DesignedSelect/index.cjs.js +2 -2
  133. package/dist/src/Inputs/Select/DesignedSelect/index.cjs.js.map +1 -1
  134. package/dist/src/Inputs/Select/DesignedSelect/index.d.ts.map +1 -1
  135. package/dist/src/Inputs/Select/DesignedSelect/index.esm.js +2 -2
  136. package/dist/src/Inputs/Select/DesignedSelect/index.esm.js.map +1 -1
  137. package/dist/src/Inputs/Select/DesignedSelect/styles.cjs.js +1 -1
  138. package/dist/src/Inputs/Select/DesignedSelect/styles.cjs.js.map +1 -1
  139. package/dist/src/Inputs/Select/DesignedSelect/styles.esm.js +1 -1
  140. package/dist/src/Inputs/Select/DesignedSelect/styles.esm.js.map +1 -1
  141. package/dist/src/Inputs/Select/NativeSelect/index.cjs.js +2 -2
  142. package/dist/src/Inputs/Select/NativeSelect/index.cjs.js.map +1 -1
  143. package/dist/src/Inputs/Select/NativeSelect/index.esm.js +2 -2
  144. package/dist/src/Inputs/Select/NativeSelect/index.esm.js.map +1 -1
  145. package/dist/src/Inputs/Select/NativeSelect/styles.cjs.js +1 -1
  146. package/dist/src/Inputs/Select/NativeSelect/styles.cjs.js.map +1 -1
  147. package/dist/src/Inputs/Select/NativeSelect/styles.esm.js +1 -1
  148. package/dist/src/Inputs/Select/NativeSelect/styles.esm.js.map +1 -1
  149. package/dist/src/Inputs/Select/NativeSelect/types.d.ts +1 -1
  150. package/dist/src/Inputs/Select/NativeSelect/types.d.ts.map +1 -1
  151. package/dist/src/Inputs/Select/Option/index.cjs.js +0 -1
  152. package/dist/src/Inputs/Select/Option/index.cjs.js.map +1 -1
  153. package/dist/src/Inputs/Select/Option/index.d.ts.map +1 -1
  154. package/dist/src/Inputs/Select/Option/index.esm.js +0 -1
  155. package/dist/src/Inputs/Select/Option/index.esm.js.map +1 -1
  156. package/dist/src/Inputs/Select/styles.cjs.js +1 -1
  157. package/dist/src/Inputs/Select/styles.cjs.js.map +1 -1
  158. package/dist/src/Inputs/Select/styles.esm.js +1 -1
  159. package/dist/src/Inputs/Select/styles.esm.js.map +1 -1
  160. package/dist/src/Inputs/TextInput/index.cjs.js +1 -1
  161. package/dist/src/Inputs/TextInput/index.cjs.js.map +1 -1
  162. package/dist/src/Inputs/TextInput/index.esm.js +1 -1
  163. package/dist/src/Inputs/TextInput/index.esm.js.map +1 -1
  164. package/dist/src/Inputs/TextInput/styles.cjs.js +1 -1
  165. package/dist/src/Inputs/TextInput/styles.cjs.js.map +1 -1
  166. package/dist/src/Inputs/TextInput/styles.esm.js +1 -1
  167. package/dist/src/Inputs/TextInput/styles.esm.js.map +1 -1
  168. package/dist/src/Inputs/TextInput/types.d.ts +1 -1
  169. package/dist/src/Inputs/TextInput/types.d.ts.map +1 -1
  170. package/dist/src/Logos/RememberServiceLogo/index.cjs.js +1 -0
  171. package/dist/src/Logos/RememberServiceLogo/index.cjs.js.map +1 -1
  172. package/dist/src/Logos/RememberServiceLogo/index.d.ts.map +1 -1
  173. package/dist/src/Logos/RememberServiceLogo/index.esm.js +1 -0
  174. package/dist/src/Logos/RememberServiceLogo/index.esm.js.map +1 -1
  175. package/dist/src/Logos/RememberServiceLogo/style.cjs.js +1 -1
  176. package/dist/src/Logos/RememberServiceLogo/style.cjs.js.map +1 -1
  177. package/dist/src/Logos/RememberServiceLogo/style.esm.js +1 -1
  178. package/dist/src/Logos/RememberServiceLogo/style.esm.js.map +1 -1
  179. package/dist/src/Modals/Dialog/index.cjs.js.map +1 -1
  180. package/dist/src/Modals/Dialog/index.esm.js.map +1 -1
  181. package/dist/src/Modals/Dialog/styles.cjs.js +2 -2
  182. package/dist/src/Modals/Dialog/styles.cjs.js.map +1 -1
  183. package/dist/src/Modals/Dialog/styles.d.ts.map +1 -1
  184. package/dist/src/Modals/Dialog/styles.esm.js +1 -1
  185. package/dist/src/Modals/Dialog/styles.esm.js.map +1 -1
  186. package/dist/src/Paginations/styles.cjs.js +1 -1
  187. package/dist/src/Paginations/styles.cjs.js.map +1 -1
  188. package/dist/src/Paginations/styles.esm.js +1 -1
  189. package/dist/src/Paginations/styles.esm.js.map +1 -1
  190. package/dist/src/hooks/useMouseEventAway.cjs.js.map +1 -1
  191. package/dist/src/hooks/useMouseEventAway.esm.js.map +1 -1
  192. package/dist/src/index.cjs.js +40 -38
  193. package/dist/src/index.cjs.js.map +1 -1
  194. package/dist/src/index.esm.js +3 -2
  195. package/dist/src/index.esm.js.map +1 -1
  196. package/dist/src/stories/common.styles.d.ts.map +1 -1
  197. package/package.json +3 -6
  198. package/src/Avatars/Avatar/Avatar.stories.tsx +1 -1
  199. package/src/Avatars/Avatar/index.tsx +3 -3
  200. package/src/Avatars/Avatar/styles.ts +1 -1
  201. package/src/Badge/Badge.stories.tsx +2 -2
  202. package/src/Badge/style.tsx +1 -1
  203. package/src/Badge/utils.ts +1 -1
  204. package/src/Buttons/Button/Button.stories.tsx +1 -1
  205. package/src/Buttons/Button/index.tsx +42 -51
  206. package/src/Buttons/Button/styles.ts +13 -11
  207. package/src/Buttons/Button/types.ts +6 -12
  208. package/src/Buttons/index.ts +1 -1
  209. package/src/Common/Divider/Divider.stories.tsx +1 -1
  210. package/src/Common/Divider/index.tsx +7 -4
  211. package/src/Common/Flex/index.tsx +36 -28
  212. package/src/Common/Grid/index.tsx +1 -0
  213. package/src/Common/Skeleton/Skeleton.stories.tsx +35 -0
  214. package/src/Common/Skeleton/index.tsx +25 -0
  215. package/src/Common/Skeleton/styles.ts +46 -0
  216. package/src/Common/Spinner/Spinner.stories.tsx +1 -1
  217. package/src/Common/Spinner/styles.ts +5 -3
  218. package/src/Common/Spinner/types.ts +1 -1
  219. package/src/Common/Typography/Typography.stories.tsx +2 -2
  220. package/src/Common/Typography/index.tsx +23 -38
  221. package/src/Common/Typography/styles.ts +3 -3
  222. package/src/Common/index.ts +2 -1
  223. package/src/Control/BaseToggle/ToggleIcon/index.tsx +1 -1
  224. package/src/Control/BaseToggle/styles.ts +1 -1
  225. package/src/Control/Checkbox.stories.tsx +0 -2
  226. package/src/Control/Checkbox.tsx +1 -1
  227. package/src/Control/Radio.stories.tsx +1 -1
  228. package/src/Control/Radio.tsx +1 -1
  229. package/src/Control/Switch/Switch.stories.tsx +0 -1
  230. package/src/Control/Switch/index.tsx +1 -1
  231. package/src/Control/Switch/styles.ts +1 -1
  232. package/src/Control/Toggle.stories.tsx +1 -2
  233. package/src/Control/Toggle.tsx +1 -1
  234. package/src/Floating/DropdownMenu/DropdownMenuSection.tsx +2 -2
  235. package/src/Floating/DropdownMenu/index.tsx +1 -1
  236. package/src/Floating/DropdownMenu/styles.tsx +1 -1
  237. package/src/Floating/Popover/Popover.stories.tsx +1 -1
  238. package/src/Floating/Popover/styles.ts +1 -1
  239. package/src/Floating/Tooltip/Tooltip.stories.tsx +1 -1
  240. package/src/Floating/Tooltip/index.tsx +4 -4
  241. package/src/Floating/Tooltip/styles.ts +1 -1
  242. package/src/Inputs/Select/DesignedSelect/index.tsx +3 -3
  243. package/src/Inputs/Select/DesignedSelect/styles.ts +2 -2
  244. package/src/Inputs/Select/NativeSelect/index.tsx +2 -2
  245. package/src/Inputs/Select/NativeSelect/styles.ts +1 -1
  246. package/src/Inputs/Select/NativeSelect/types.ts +1 -1
  247. package/src/Inputs/Select/Option/index.tsx +0 -1
  248. package/src/Inputs/Select/Select.stories.tsx +0 -2
  249. package/src/Inputs/Select/styles.ts +1 -1
  250. package/src/Inputs/TextInput/index.tsx +1 -1
  251. package/src/Inputs/TextInput/styles.ts +2 -2
  252. package/src/Inputs/TextInput/types.ts +1 -1
  253. package/src/Logos/RememberServiceLogo/index.tsx +1 -1
  254. package/src/Logos/RememberServiceLogo/style.ts +1 -1
  255. package/src/Modals/Dialog/Dialog.stories.tsx +1 -1
  256. package/src/Modals/Dialog/index.tsx +1 -1
  257. package/src/Modals/Dialog/styles.ts +2 -2
  258. package/src/Paginations/CompactPagination/CompactPagination.stories.tsx +0 -1
  259. package/src/Paginations/Pagination/Pagination.stories.tsx +0 -1
  260. package/src/Paginations/styles.ts +2 -2
  261. package/src/hooks/useMouseEventAway.ts +1 -1
  262. package/src/stories/common.styles.tsx +2 -2
@@ -25,7 +25,6 @@ export const Default: Story = {
25
25
  indeterminate: false,
26
26
  },
27
27
  render: ({ ...args }) => {
28
- // eslint-disable-next-line react-hooks/rules-of-hooks
29
28
  const [{ checked }, updateArgs] = useArgs();
30
29
  return (
31
30
  <Checkbox
@@ -51,7 +50,6 @@ export const Check: Story = {
51
50
  indeterminate: { table: { disable: true } },
52
51
  },
53
52
  render: ({ ...args }) => {
54
- // eslint-disable-next-line react-hooks/rules-of-hooks
55
53
  const [{ checked }, updateArgs] = useArgs();
56
54
  return (
57
55
  <Checkbox
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import { forwardRef, type ForwardRefRenderFunction } from 'react';
3
+ import { type ForwardRefRenderFunction, forwardRef } from 'react';
4
4
 
5
5
  import type { BaseToggleProps } from './BaseToggle/types';
6
6
  import { CircleBaseToggle } from './Toggle';
@@ -1,7 +1,7 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
2
 
3
- import { Radio } from './Radio';
4
3
  import { useState } from 'react';
4
+ import { Radio } from './Radio';
5
5
 
6
6
  type Story = StoryObj<typeof Radio>;
7
7
 
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import { forwardRef, type ForwardRefRenderFunction } from 'react';
3
+ import { type ForwardRefRenderFunction, forwardRef } from 'react';
4
4
 
5
5
  import type { BaseToggleProps } from './BaseToggle/types';
6
6
  import { CircleBaseToggle } from './Toggle';
@@ -16,7 +16,6 @@ export const Default: Story = {
16
16
  checked: false,
17
17
  },
18
18
  render: ({ onCheckedChange, ...args }) => {
19
- // eslint-disable-next-line react-hooks/rules-of-hooks
20
19
  const [{ checked }, updateArgs] = useArgs();
21
20
  return (
22
21
  <Switch
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import { SwitchRoot, SwitchThumb, Label } from './styles';
3
+ import { Label, SwitchRoot, SwitchThumb } from './styles';
4
4
  import type { SwitchProps } from './types';
5
5
 
6
6
  export function Switch({ size = 'small', ...props }: SwitchProps) {
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
  import * as SwitchPrimitive from '@radix-ui/react-switch';
4
- import styled, { css } from 'styled-components';
5
4
  import { contents300, contents999, secondary100 } from '@remember-web/mixin';
5
+ import styled, { css } from 'styled-components';
6
6
 
7
7
  import type { SwitchProps } from './types';
8
8
 
@@ -1,5 +1,5 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
1
  import { useArgs } from '@storybook/client-api';
2
+ import type { Meta, StoryObj } from '@storybook/react';
3
3
 
4
4
  import { Toggle } from './Toggle';
5
5
 
@@ -24,7 +24,6 @@ export const Default: Story = {
24
24
  labelPosition: 'right',
25
25
  },
26
26
  render: (args) => {
27
- // eslint-disable-next-line react-hooks/rules-of-hooks
28
27
  const [{ checked }, updateArgs] = useArgs();
29
28
 
30
29
  return (
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import { forwardRef, type ForwardRefRenderFunction } from 'react';
3
+ import { type ForwardRefRenderFunction, forwardRef } from 'react';
4
4
  import styled from 'styled-components';
5
5
 
6
6
  import { BaseToggle } from './BaseToggle';
@@ -1,9 +1,9 @@
1
- import type { ReactNode } from 'react';
2
1
  import type { GetStyledComponentProps } from '@remember-web/shared';
2
+ import type { ReactNode } from 'react';
3
3
 
4
4
  import {
5
- StyledDropdownMenuSectionTitle,
6
5
  StyledDropdownMenuSection,
6
+ StyledDropdownMenuSectionTitle,
7
7
  } from '@/Floating/DropdownMenu/styles';
8
8
 
9
9
  type DropdownMenuSectionProps<As> = GetStyledComponentProps<
@@ -1,10 +1,10 @@
1
1
  import * as RadixPopover from '@radix-ui/react-popover';
2
2
 
3
- import type { PopoverContentProps, PopoverProps } from '@/Floating/Popover';
4
3
  import {
5
4
  StyledDropdownMenuContent,
6
5
  StyledDropdownMenuItem,
7
6
  } from '@/Floating/DropdownMenu/styles';
7
+ import type { PopoverContentProps, PopoverProps } from '@/Floating/Popover';
8
8
  import Popover from '@/Floating/Popover';
9
9
 
10
10
  import { DropdownMenuSection } from './DropdownMenuSection';
@@ -1,4 +1,3 @@
1
- import styled, { css } from 'styled-components';
2
1
  import {
3
2
  bg200,
4
3
  contents000,
@@ -7,6 +6,7 @@ import {
7
6
  getTypographyStyles,
8
7
  } from '@remember-web/mixin';
9
8
  import type { ConvertTransientProps } from '@remember-web/shared';
9
+ import styled, { css } from 'styled-components';
10
10
 
11
11
  import { StyledPopoverContent } from '../Popover/styles';
12
12
 
@@ -1,8 +1,8 @@
1
1
  /* eslint-disable no-console */
2
2
  import type { Meta, StoryObj } from '@storybook/react';
3
3
 
4
- import Popover from '@/Floating/Popover/index';
5
4
  import { Flex } from '@/Common';
5
+ import Popover from '@/Floating/Popover/index';
6
6
 
7
7
  type Story = StoryObj<typeof Popover>;
8
8
 
@@ -1,6 +1,6 @@
1
- import styled, { keyframes } from 'styled-components';
2
1
  import { PopoverContent } from '@radix-ui/react-popover';
3
2
  import { bg100, contents000 } from '@remember-web/mixin';
3
+ import styled, { keyframes } from 'styled-components';
4
4
 
5
5
  export const showFadeIn = keyframes`
6
6
  from {
@@ -1,5 +1,5 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
1
  import { IconAlarm } from '@remember-web/icon';
2
+ import type { Meta, StoryObj } from '@storybook/react';
3
3
 
4
4
  import { Button } from '@/Buttons';
5
5
  import { Flex } from '@/Common';
@@ -1,18 +1,18 @@
1
1
  'use client';
2
2
 
3
3
  import * as RadixTooltip from '@radix-ui/react-tooltip';
4
- import { useState, type PropsWithChildren } from 'react';
5
- import { isSSR } from '@remember-web/shared';
6
4
  import { IconCloseS } from '@remember-web/icon';
7
5
  import { contents000, contents999 } from '@remember-web/mixin';
6
+ import { isSSR } from '@remember-web/shared';
7
+ import { type PropsWithChildren, useState } from 'react';
8
8
 
9
9
  import { CloseButton, TooltipContent, TooltipTriggerWrapper } from './styles';
10
10
  import {
11
- isLargeSizeProps,
12
- isStaticTypeProps,
13
11
  type TooltipProps,
14
12
  type TooltipSize,
15
13
  type TooltipType,
14
+ isLargeSizeProps,
15
+ isStaticTypeProps,
16
16
  } from './types';
17
17
 
18
18
  const hoverable = isSSR()
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
 
3
3
  import * as RadixTooltip from '@radix-ui/react-tooltip';
4
- import styled, { css, keyframes } from 'styled-components';
5
4
  import type { TypographyStyle } from '@remember-web/mixin';
6
5
  import {
7
6
  contents000,
8
7
  contents999,
9
8
  getTypographyStyles,
10
9
  } from '@remember-web/mixin';
10
+ import styled, { css, keyframes } from 'styled-components';
11
11
 
12
12
  import type { TooltipSize, TooltipTextAlign } from './types';
13
13
 
@@ -1,23 +1,23 @@
1
1
  'use client';
2
2
 
3
+ import { IconArrow2Down, IconArrow2Up } from '@remember-web/icon';
3
4
  import type { KeyboardEvent, ReactNode, Ref, RefCallback } from 'react';
4
5
  import {
5
6
  Children,
6
7
  forwardRef,
7
8
  isValidElement,
8
9
  useCallback,
10
+ useId,
9
11
  useRef,
10
12
  useState,
11
- useId,
12
13
  } from 'react';
13
- import { IconArrow2Down, IconArrow2Up } from '@remember-web/icon';
14
14
 
15
15
  import useMouseEventAway from '@/hooks/useMouseEventAway';
16
16
 
17
- import { focusSibling } from '../utils';
18
17
  import { OptionHolder } from '../Option';
19
18
  import { SelectContainer } from '../styles';
20
19
  import type { OptionElementType, SelectValue } from '../types';
20
+ import { focusSibling } from '../utils';
21
21
  import { DEFAULT_MAX_HEIGHT_PX, OPTION_ITEM_HEIGHT_PX } from './const';
22
22
  import {
23
23
  SelectDownIcon,
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
 
3
- import styled, { css } from 'styled-components';
4
3
  import {
5
4
  bg100,
6
5
  bg200,
@@ -10,6 +9,7 @@ import {
10
9
  contents300,
11
10
  ellipsis,
12
11
  } from '@remember-web/mixin';
12
+ import styled, { css } from 'styled-components';
13
13
 
14
14
  import { SelectContainer } from '../styles';
15
15
  import type { ExpandedType } from './types';
@@ -33,7 +33,7 @@ export const StyledSelect = styled.div<{
33
33
  border-radius: 4px 4px 0 0;
34
34
  border-bottom-color: transparent;
35
35
  `,
36
- }[expandedDirection ?? 'none'])};
36
+ })[expandedDirection ?? 'none']};
37
37
 
38
38
  padding: 10px 36px 10px 12px;
39
39
  transition: border-color 0.2s, background-color 0.2s;
@@ -1,12 +1,12 @@
1
1
  'use client';
2
2
 
3
+ import { IconArrow2Down } from '@remember-web/icon';
3
4
  import type { ForwardRefRenderFunction } from 'react';
4
5
  import { forwardRef } from 'react';
5
- import { IconArrow2Down } from '@remember-web/icon';
6
6
 
7
+ import { SelectContainer } from '../styles';
7
8
  import { SelectDownIcon, StyledSelect } from './styles';
8
9
  import type { NativeSelectInternalProps } from './types';
9
- import { SelectContainer } from '../styles';
10
10
 
11
11
  const NativeSelect: ForwardRefRenderFunction<
12
12
  HTMLSelectElement,
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
 
3
- import styled, { css } from 'styled-components';
4
3
  import {
5
4
  bg200,
6
5
  bg300,
@@ -9,6 +8,7 @@ import {
9
8
  contents300,
10
9
  getTypographyStyles,
11
10
  } from '@remember-web/mixin';
11
+ import styled, { css } from 'styled-components';
12
12
 
13
13
  export const StyledSelect = styled.select<{
14
14
  $width?: number | string;
@@ -1,7 +1,7 @@
1
1
  import type { ReactElement, SelectHTMLAttributes } from 'react';
2
2
 
3
- import type { NativeOption } from './Option';
4
3
  import type { OptionProps } from '../types';
4
+ import type { NativeOption } from './Option';
5
5
 
6
6
  type NativeOptionElement = ReactElement<
7
7
  OptionProps<string>,
@@ -2,7 +2,6 @@
2
2
 
3
3
  import type { OptionProps, SelectValue } from '../types';
4
4
 
5
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
6
5
  export const OptionHolder = <T extends SelectValue>(props: OptionProps<T>) =>
7
6
  null;
8
7
 
@@ -25,7 +25,6 @@ const meta = {
25
25
  export const Native: Story = {
26
26
  render: (props) => {
27
27
  const { ...args } = props as NativeSelectProps<string>;
28
- // eslint-disable-next-line react-hooks/rules-of-hooks
29
28
  const [value, setValue] = useState<string>();
30
29
  return (
31
30
  <Select
@@ -57,7 +56,6 @@ export const Native: Story = {
57
56
  export const Custom: Story = {
58
57
  render: (props) => {
59
58
  const { ...args } = props as DesignedSelectProps<string>;
60
- // eslint-disable-next-line react-hooks/rules-of-hooks
61
59
  const [value, setValue] = useState<string>();
62
60
  return (
63
61
  <Select
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
 
3
- import styled from 'styled-components';
4
3
  import {
5
4
  bg200,
6
5
  contents000,
@@ -9,6 +8,7 @@ import {
9
8
  getTypographyStyles,
10
9
  roleRed,
11
10
  } from '@remember-web/mixin';
11
+ import styled from 'styled-components';
12
12
 
13
13
  export const SelectContainer = styled.div<{ $width?: number | string }>`
14
14
  ${getTypographyStyles('Body1_M')}
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
+ import { IconHidden, IconVisible } from '@remember-web/icon';
3
4
  import type { ForwardRefRenderFunction } from 'react';
4
5
  import { forwardRef, useId, useState } from 'react';
5
- import { IconHidden, IconVisible } from '@remember-web/icon';
6
6
 
7
7
  import {
8
8
  InputContainer,
@@ -1,17 +1,17 @@
1
1
  'use client';
2
2
 
3
- import styled, { css } from 'styled-components';
4
3
  import type { ColorVariable } from '@remember-web/mixin';
5
4
  import {
6
5
  bg200,
7
6
  contents000,
8
7
  contents200,
9
8
  contents300,
10
- roleRed,
11
9
  ellipsis,
12
10
  getTypographyStyles,
11
+ roleRed,
13
12
  } from '@remember-web/mixin';
14
13
  import { formatUnit } from '@remember-web/shared';
14
+ import styled, { css } from 'styled-components';
15
15
 
16
16
  export const InputWrapper = styled.div<{ $width?: string | number }>`
17
17
  ${({ $width }) =>
@@ -1,5 +1,5 @@
1
- import type { InputHTMLAttributes, ReactNode } from 'react';
2
1
  import type { ColorVariable } from '@remember-web/mixin';
2
+ import type { InputHTMLAttributes, ReactNode } from 'react';
3
3
 
4
4
  type BaseInputProps = Omit<
5
5
  InputHTMLAttributes<HTMLInputElement>,
@@ -1,7 +1,7 @@
1
1
  import type { GetStyledComponentProps } from '@remember-web/shared';
2
2
 
3
- import type { RememberLogoProps } from '@/Logos/types';
4
3
  import { Divider } from '@/Common';
4
+ import type { RememberLogoProps } from '@/Logos/types';
5
5
 
6
6
  import { RememberLogo } from '../RememberLogo';
7
7
  import { StyledServiceLogoRoot } from './style';
@@ -1,5 +1,5 @@
1
- import styled from 'styled-components';
2
1
  import { contents000, getTypographyStyles } from '@remember-web/mixin';
2
+ import styled from 'styled-components';
3
3
 
4
4
  export const StyledServiceLogoRoot = styled.a<{ $color?: string }>`
5
5
  box-sizing: border-box;
@@ -1,8 +1,8 @@
1
1
  /* eslint-disable no-console */
2
2
  import type { Meta, StoryObj } from '@storybook/react';
3
3
 
4
- import { Flex } from '@/Common';
5
4
  import { Button } from '@/Buttons';
5
+ import { Flex } from '@/Common';
6
6
 
7
7
  import { Dialog } from '.';
8
8
 
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
  import type { DialogContentProps, DialogProps } from '@radix-ui/react-dialog';
4
- import { Root, Trigger, Close, Portal } from '@radix-ui/react-dialog';
4
+ import { Close, Portal, Root, Trigger } from '@radix-ui/react-dialog';
5
5
  import { IconClose, PictogramAlert, PictogramCheck } from '@remember-web/icon';
6
6
 
7
7
  import { Flex } from '@/Common/Flex';
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
 
3
- import styled, { keyframes } from 'styled-components';
4
3
  import * as DialogPrimitive from '@radix-ui/react-dialog';
5
4
  import {
6
- primary200,
7
5
  contents000,
8
6
  contents100,
9
7
  getTypographyStyles,
8
+ primary200,
10
9
  } from '@remember-web/mixin';
10
+ import styled, { keyframes } from 'styled-components';
11
11
 
12
12
  export const overlayShow = keyframes`
13
13
  0% { opacity: 0; }
@@ -18,7 +18,6 @@ const meta = {
18
18
 
19
19
  export const Basic: Story = {
20
20
  render: (args) => {
21
- // eslint-disable-next-line react-hooks/rules-of-hooks
22
21
  const [pageNumber1, setPageNumber1] = useState(1);
23
22
 
24
23
  return (
@@ -20,7 +20,6 @@ const meta = {
20
20
 
21
21
  export const Basic: Story = {
22
22
  render: (args) => {
23
- // eslint-disable-next-line react-hooks/rules-of-hooks
24
23
  const [pageNumber1, setPageNumber1] = useState(1);
25
24
 
26
25
  return (
@@ -1,16 +1,16 @@
1
1
  'use client';
2
2
 
3
- import styled, { css } from 'styled-components';
4
3
  import {
5
4
  bg100,
6
5
  bg200,
7
6
  bg300,
8
7
  contents000,
9
8
  contents300,
9
+ desktopOnly,
10
10
  getTypographyStyles,
11
11
  mobileOnly,
12
- desktopOnly,
13
12
  } from '@remember-web/mixin';
13
+ import styled, { css } from 'styled-components';
14
14
 
15
15
  export const PaginationContainer = styled.nav`
16
16
  all: unset;
@@ -7,7 +7,7 @@ type MouseEventNames = Extract<
7
7
 
8
8
  export default function useMouseEventAway<
9
9
  T extends HTMLElement,
10
- E extends MouseEventNames
10
+ E extends MouseEventNames,
11
11
  >(eventName: E, callback: (e: DocumentEventMap[E]) => void) {
12
12
  const ref = useRef<T | null>(null);
13
13
  const callbackRef = useRef(callback);
@@ -1,11 +1,11 @@
1
- import type { ReactNode } from 'react';
2
- import styled, { css } from 'styled-components';
3
1
  import {
4
2
  bg100,
5
3
  contents000,
6
4
  contents100,
7
5
  contents300,
8
6
  } from '@remember-web/mixin';
7
+ import type { ReactNode } from 'react';
8
+ import styled, { css } from 'styled-components';
9
9
 
10
10
  type TextAlign = 'left' | 'center' | 'right';
11
11