@ya-accelerators/nextjs-framework 0.0.78 → 0.0.80

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 (138) hide show
  1. package/@types/image.d.ts +1 -0
  2. package/dist/hooks/modal/index.jsx +1 -0
  3. package/dist/hooks/modal/index.jsx.map +1 -1
  4. package/dist/logger/index.js +0 -1
  5. package/dist/logger/index.js.map +1 -1
  6. package/dist/tsconfig.tsbuildinfo +1 -1
  7. package/dist/ui/component/button/base.jsx +1 -1
  8. package/dist/ui/component/button/text/index.jsx +1 -2
  9. package/dist/ui/component/button/text/index.jsx.map +1 -1
  10. package/dist/ui/component/card/index.jsx +1 -1
  11. package/dist/ui/component/loading/index.jsx +1 -1
  12. package/dist/ui/component/modal/index.jsx +3 -3
  13. package/dist/ui/component/ssr/index.jsx +0 -1
  14. package/dist/ui/component/ssr/index.jsx.map +1 -1
  15. package/dist/ui/component/typography/H1/index.d.ts +1 -1
  16. package/dist/ui/component/typography/H1/index.jsx +1 -2
  17. package/dist/ui/component/typography/H1/index.jsx.map +1 -1
  18. package/dist/ui/component/typography/H2/index.d.ts +1 -1
  19. package/dist/ui/component/typography/H2/index.jsx +1 -2
  20. package/dist/ui/component/typography/H2/index.jsx.map +1 -1
  21. package/dist/ui/component/typography/H3/index.d.ts +1 -1
  22. package/dist/ui/component/typography/H3/index.jsx +1 -2
  23. package/dist/ui/component/typography/H3/index.jsx.map +1 -1
  24. package/dist/ui/component/typography/H4/index.d.ts +1 -1
  25. package/dist/ui/component/typography/H4/index.jsx +1 -2
  26. package/dist/ui/component/typography/H4/index.jsx.map +1 -1
  27. package/dist/ui/component/typography/H5/index.d.ts +1 -1
  28. package/dist/ui/component/typography/H5/index.jsx +1 -2
  29. package/dist/ui/component/typography/H5/index.jsx.map +1 -1
  30. package/dist/ui/component/typography/H6/index.d.ts +1 -1
  31. package/dist/ui/component/typography/H6/index.jsx +1 -2
  32. package/dist/ui/component/typography/H6/index.jsx.map +1 -1
  33. package/dist/ui/component/typography/Label/index.d.ts +1 -1
  34. package/dist/ui/component/typography/Label/index.jsx +1 -2
  35. package/dist/ui/component/typography/Label/index.jsx.map +1 -1
  36. package/dist/ui/component/typography/LinkText/index.d.ts +1 -1
  37. package/dist/ui/component/typography/LinkText/index.jsx +1 -2
  38. package/dist/ui/component/typography/LinkText/index.jsx.map +1 -1
  39. package/dist/ui/component/typography/P/index.d.ts +1 -1
  40. package/dist/ui/component/typography/P/index.jsx +1 -2
  41. package/dist/ui/component/typography/P/index.jsx.map +1 -1
  42. package/dist/ui/component/typography/Pre/index.d.ts +1 -1
  43. package/dist/ui/component/typography/Pre/index.jsx +1 -2
  44. package/dist/ui/component/typography/Pre/index.jsx.map +1 -1
  45. package/dist/ui/composite/button/index.jsx.map +1 -1
  46. package/dist/ui/composite/dropdown/index.jsx +6 -8
  47. package/dist/ui/composite/dropdown/index.jsx.map +1 -1
  48. package/dist/ui/composite/index.d.ts +3 -1
  49. package/dist/ui/composite/input/checkbox/index.jsx +3 -3
  50. package/dist/ui/composite/input/checkbox/index.jsx.map +1 -1
  51. package/dist/ui/composite/input/datePicker/index.jsx +2 -2
  52. package/dist/ui/composite/input/dateRange/index.jsx +3 -3
  53. package/dist/ui/composite/input/dateRange/index.jsx.map +1 -1
  54. package/dist/ui/composite/input/dateTimePicker/index.jsx +1 -1
  55. package/dist/ui/composite/input/dateTimeRange/index.jsx +3 -4
  56. package/dist/ui/composite/input/dateTimeRange/index.jsx.map +1 -1
  57. package/dist/ui/composite/input/index.d.ts +3 -1
  58. package/dist/ui/composite/input/index.js +1 -1
  59. package/dist/ui/composite/input/index.js.map +1 -1
  60. package/dist/ui/composite/input/list/index.d.ts +3 -1
  61. package/dist/ui/composite/input/list/index.jsx +5 -4
  62. package/dist/ui/composite/input/list/index.jsx.map +1 -1
  63. package/dist/ui/composite/input/radio/index.jsx +2 -2
  64. package/dist/ui/composite/input/select/ClearIndicator/index.d.ts +1 -1
  65. package/dist/ui/composite/input/select/ClearIndicator/index.jsx +0 -1
  66. package/dist/ui/composite/input/select/ClearIndicator/index.jsx.map +1 -1
  67. package/dist/ui/composite/input/select/Control/index.d.ts +1 -1
  68. package/dist/ui/composite/input/select/Control/index.jsx +1 -2
  69. package/dist/ui/composite/input/select/Control/index.jsx.map +1 -1
  70. package/dist/ui/composite/input/select/DropdownIndicator/index.d.ts +1 -1
  71. package/dist/ui/composite/input/select/DropdownIndicator/index.jsx +0 -1
  72. package/dist/ui/composite/input/select/DropdownIndicator/index.jsx.map +1 -1
  73. package/dist/ui/composite/input/select/GroupHeading/index.d.ts +1 -1
  74. package/dist/ui/composite/input/select/GroupHeading/index.jsx +0 -1
  75. package/dist/ui/composite/input/select/GroupHeading/index.jsx.map +1 -1
  76. package/dist/ui/composite/input/select/Input/index.d.ts +1 -1
  77. package/dist/ui/composite/input/select/Input/index.jsx +4 -2
  78. package/dist/ui/composite/input/select/Input/index.jsx.map +1 -1
  79. package/dist/ui/composite/input/select/Menu/index.d.ts +1 -1
  80. package/dist/ui/composite/input/select/Menu/index.jsx +0 -1
  81. package/dist/ui/composite/input/select/Menu/index.jsx.map +1 -1
  82. package/dist/ui/composite/input/select/MultiValue/index.d.ts +1 -1
  83. package/dist/ui/composite/input/select/MultiValue/index.jsx +3 -4
  84. package/dist/ui/composite/input/select/MultiValue/index.jsx.map +1 -1
  85. package/dist/ui/composite/input/select/Option/index.d.ts +1 -1
  86. package/dist/ui/composite/input/select/Option/index.jsx +1 -1
  87. package/dist/ui/composite/input/select/Option/index.jsx.map +1 -1
  88. package/dist/ui/composite/input/select/Placeholder/index.d.ts +1 -1
  89. package/dist/ui/composite/input/select/Placeholder/index.jsx +1 -2
  90. package/dist/ui/composite/input/select/Placeholder/index.jsx.map +1 -1
  91. package/dist/ui/composite/input/select/SelectContainer/index.d.ts +1 -1
  92. package/dist/ui/composite/input/select/SelectContainer/index.jsx +2 -3
  93. package/dist/ui/composite/input/select/SelectContainer/index.jsx.map +1 -1
  94. package/dist/ui/composite/input/select/SingleValue/index.d.ts +1 -1
  95. package/dist/ui/composite/input/select/SingleValue/index.jsx +1 -2
  96. package/dist/ui/composite/input/select/SingleValue/index.jsx.map +1 -1
  97. package/dist/ui/composite/input/select/index.jsx +8 -5
  98. package/dist/ui/composite/input/select/index.jsx.map +1 -1
  99. package/dist/ui/composite/input/text/index.jsx +3 -3
  100. package/dist/ui/composite/input/textarea/index.d.ts +1 -2
  101. package/dist/ui/composite/input/textarea/index.jsx +6 -6
  102. package/dist/ui/composite/input/textarea/index.jsx.map +1 -1
  103. package/dist/ui/composite/input/timePicker/index.d.ts +1 -1
  104. package/dist/ui/composite/input/timePicker/index.jsx +1 -1
  105. package/dist/ui/composite/input/timePicker/index.jsx.map +1 -1
  106. package/dist/ui/composite/input/timeRange/index.jsx +3 -3
  107. package/dist/ui/composite/input/timeRange/index.jsx.map +1 -1
  108. package/dist/ui/composite/input/weekDaysSelector/index.d.ts +1 -2
  109. package/dist/ui/composite/input/weekDaysSelector/index.jsx +1 -1
  110. package/dist/ui/composite/input/weekDaysSelector/index.jsx.map +1 -1
  111. package/dist/ui/composite/input/weekdayPicker/index.d.ts +1 -2
  112. package/dist/ui/composite/input/weekdayPicker/index.jsx +5 -3
  113. package/dist/ui/composite/input/weekdayPicker/index.jsx.map +1 -1
  114. package/dist/ui/composite/label/index.jsx +2 -3
  115. package/dist/ui/composite/label/index.jsx.map +1 -1
  116. package/dist/ui/composite/pageTitle/index.jsx +4 -4
  117. package/dist/ui/functional/signOutForm/index.jsx +1 -1
  118. package/dist/ui/functional/signOutForm/index.jsx.map +1 -1
  119. package/dist/ui/layout/app/component.jsx +12 -12
  120. package/dist/ui/layout/app/component.jsx.map +1 -1
  121. package/dist/ui/layout/app/content/index.d.ts +1 -2
  122. package/dist/ui/layout/app/content/index.jsx +1 -1
  123. package/dist/ui/layout/app/content/index.jsx.map +1 -1
  124. package/dist/ui/layout/app/index.jsx +1 -1
  125. package/dist/ui/layout/form/index.d.ts +1 -1
  126. package/dist/ui/layout/form/index.jsx +41 -14
  127. package/dist/ui/layout/form/index.jsx.map +1 -1
  128. package/dist/ui/layout/modal/index.jsx +1 -1
  129. package/dist/ui/layout/tab/component.jsx +1 -1
  130. package/dist/ui/layout/tab/content/index.jsx +1 -1
  131. package/dist/ui/layout/tab/index.jsx +2 -2
  132. package/dist/ui/layout/table/index.jsx +16 -21
  133. package/dist/ui/layout/table/index.jsx.map +1 -1
  134. package/dist/ui/layout/toast/index.jsx +2 -2
  135. package/dist/ui/types/index.d.ts +1 -1
  136. package/dist/util/index.js +60 -16
  137. package/dist/util/index.js.map +1 -1
  138. package/package.json +3 -5
@@ -7,7 +7,7 @@ import { ControlSize, getBorderColorTypeClassName, getControlHeightClassName, ge
7
7
  import { Icon } from '../icon';
8
8
  export const BaseButton = ({ size = ControlSize.base, rounded = Rounded.m, border, label, icon, image, className, onClick, ...props }) => {
9
9
  const t = useTranslations();
10
- return (<button type='button' className={classNames((onClick || props.type === 'submit') && 'clickable', 'size-fit', 'gap-control-padding-md flex items-center justify-center', 'overflow-hidden whitespace-nowrap', 'px-control-padding-base py-control-padding-md', getControlTextSizeClassName(size), getRoundedClassName(rounded), getBorderColorTypeClassName(border), {
10
+ return (<button type='button' className={classNames((onClick || props.type === 'submit') && 'clickable', 'size-fit', 'flex items-center justify-center gap-control-padding-md', 'overflow-hidden whitespace-nowrap', 'px-control-padding-base py-control-padding-md', getControlTextSizeClassName(size), getRoundedClassName(rounded), getBorderColorTypeClassName(border), {
11
11
  'p-control-padding-sm!': label === undefined && (icon !== undefined || image !== undefined),
12
12
  }, className)} onClick={(e) => {
13
13
  if (onClick !== undefined) {
@@ -1,7 +1,6 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
- import { TextColorTypes } from '../../../theme';
4
- import { getTextColorTypeClassName } from '../../../theme';
3
+ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
5
4
  import { BaseButton, BaseLink } from '../base';
6
5
  export const Text = ({ color = TextColorTypes.main, container = false, className, ...props }) => (<BaseButton className={classNames([getTextColorTypeClassName(color, container), className])} {...props}/>);
7
6
  export const TextLink = ({ color = TextColorTypes.main, container = false, className, ...props }) => (<BaseLink className={classNames([getTextColorTypeClassName(color, container), className])} {...props}/>);
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/button/text/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AAGnC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAE9C,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,EACnB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,SAAS,EACT,GAAG,KAAK,EAI0C,EAAE,EAAE,CAAC,CACvD,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,CAAC,CAAC,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CAC3G,CAAA;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACvB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,SAAS,EACT,GAAG,KAAK,EAIwC,EAAE,EAAE,CAAC,CACrD,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,UAAU,CAAC,CAAC,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CACzG,CAAA"}
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/button/text/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AAGnC,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC1E,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAE9C,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,EACnB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,SAAS,EACT,GAAG,KAAK,EAI0C,EAAE,EAAE,CAAC,CACvD,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,CAAC,CAAC,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CAC3G,CAAA;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACvB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,SAAS,EACT,GAAG,KAAK,EAIwC,EAAE,EAAE,CAAC,CACrD,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,UAAU,CAAC,CAAC,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CACzG,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
3
  import { BackgroundColorTypes, BorderColorTypes, BorderWidth, getBackgroundColorTypeClassName, getBorderColorTypeClassName, getRoundedClassName, getTextColorTypeClassName, Rounded, TextColorTypes, } from '../../theme';
4
- export const Card = ({ border = true, shadow = true, selected = false, rounded = Rounded.m, className, children, onClick, style, }) => (<div className={classNames('gap-base p-base flex flex-col overflow-visible', shadow && 'shadow-lg', onClick !== undefined && 'cursor-pointer hover:opacity-50', getBackgroundColorTypeClassName(BackgroundColorTypes.container), getBorderColorTypeClassName({
4
+ export const Card = ({ border = true, shadow = true, selected = false, rounded = Rounded.m, className, children, onClick, style, }) => (<div className={classNames('flex flex-col gap-base overflow-visible p-base', shadow && 'shadow-lg', onClick !== undefined && 'cursor-pointer hover:opacity-50', getBackgroundColorTypeClassName(BackgroundColorTypes.container), getBorderColorTypeClassName({
5
5
  color: border ? BorderColorTypes.default : BorderColorTypes.none,
6
6
  container: false,
7
7
  width: BorderWidth.base,
@@ -12,7 +12,7 @@ export const LoadingSpinner = ({ size }) => (<>
12
12
  }
13
13
  `}
14
14
  </style>
15
- <div className={'border-primary-container-bg border-b-primary-container-on rounded-[50%] border-2'} style={{
15
+ <div className={'rounded-[50%] border-2 border-primary-container-bg border-b-primary-container-on'} style={{
16
16
  width: `${size ?? 40}px`,
17
17
  height: `${size ?? 40}px`,
18
18
  animation: 'rotation 1.1s infinite linear',
@@ -3,9 +3,9 @@ import CloseIcon from '@mui/icons-material/Close';
3
3
  import classNames from 'classnames';
4
4
  import { Button } from '../button';
5
5
  import { Card } from '../card';
6
- export const ModalCard = ({ showCloseButton = true, onClickClose, id, className, children, ...props }) => (<Card className={classNames('relative flex max-h-[80%] max-w-[90%] min-w-[300px] flex-col p-0! overflow-y-scroll', className)} {...props}>
7
- <div className='gap-base flex size-full flex-col p-base'>{children}</div>
8
- {showCloseButton && (<div className='p-base absolute inset-x-0 top-0 flex justify-end'>
6
+ export const ModalCard = ({ showCloseButton = true, onClickClose, id, className, children, ...props }) => (<Card className={classNames('relative flex max-h-[80%] min-w-[300px] max-w-[90%] flex-col overflow-y-scroll p-0!', className)} {...props}>
7
+ <div className='flex size-full flex-col gap-base p-base'>{children}</div>
8
+ {showCloseButton && (<div className='absolute inset-x-0 top-0 flex justify-end p-base'>
9
9
  <Button variant='text' container={true} size='xl' icon={CloseIcon} onClick={() => onClickClose?.(id)}/>
10
10
  </div>)}
11
11
  </Card>);
@@ -3,7 +3,6 @@ import { useEffect, useState } from 'react';
3
3
  export const NoSSR = ({ children, fallback }) => {
4
4
  const [mounted, setMounted] = useState(false);
5
5
  useEffect(() => {
6
- // eslint-disable-next-line react-hooks/set-state-in-effect
7
6
  setMounted(true);
8
7
  }, []);
9
8
  return mounted ? children : fallback;
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../src/ui/component/ssr/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAGZ,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAE3C,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAiD,EAAE,EAAE;IAC7F,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAA;IAC7C,SAAS,CAAC,GAAG,EAAE;QACb,2DAA2D;QAC3D,UAAU,CAAC,IAAI,CAAC,CAAA;IAClB,CAAC,EAAE,EAAE,CAAC,CAAA;IACN,OAAO,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;AACtC,CAAC,CAAA"}
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../src/ui/component/ssr/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAGZ,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAE3C,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAiD,EAAE,EAAE;IAC7F,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAA;IAC7C,SAAS,CAAC,GAAG,EAAE;QACb,UAAU,CAAC,IAAI,CAAC,CAAA;IAClB,CAAC,EAAE,EAAE,CAAC,CAAA;IACN,OAAO,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;AACtC,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  import { TextColorTypes } from '../../../theme';
3
3
  export declare const H1: ({ color, container, disabled, className, children, ...props }: {
4
4
  color?: TextColorTypes;
@@ -1,8 +1,7 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
3
  import { useTranslations } from 'next-intl';
4
- import { TextColorTypes } from '../../../theme';
5
- import { getTextColorTypeClassName } from '../../../theme';
4
+ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
6
5
  export const H1 = ({ color = TextColorTypes.main, container = false, disabled, className, children, ...props }) => {
7
6
  const t = useTranslations();
8
7
  const translatedChildren = typeof children === 'string' ? t(children) : children;
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/H1/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAE1D,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAK6B,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,EAAE,CACD,SAAS,CAAC,CAAC,UAAU,CACnB,SAAS,EACT,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,UAAU,EACV,QAAQ,IAAI,YAAY,CACzB,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,EAAE,CAAC,CACN,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/H1/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE1E,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAK6B,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,EAAE,CACD,SAAS,CAAC,CAAC,UAAU,CACnB,SAAS,EACT,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,UAAU,EACV,QAAQ,IAAI,YAAY,CACzB,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,EAAE,CAAC,CACN,CAAA;AACH,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  import { TextColorTypes } from '../../../theme';
3
3
  export declare const H2: ({ color, container, disabled, className, children, ...props }: {
4
4
  color?: TextColorTypes;
@@ -1,8 +1,7 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
3
  import { useTranslations } from 'next-intl';
4
- import { TextColorTypes } from '../../../theme';
5
- import { getTextColorTypeClassName } from '../../../theme';
4
+ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
6
5
  export const H2 = ({ color = TextColorTypes.main, container = false, disabled, className, children, ...props }) => {
7
6
  const t = useTranslations();
8
7
  const translatedChildren = typeof children === 'string' ? t(children) : children;
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/H2/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAE1D,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAK6B,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,EAAE,CACD,SAAS,CAAC,CAAC,UAAU,CACnB,SAAS,EACT,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,UAAU,EACV,QAAQ,IAAI,YAAY,CACzB,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,EAAE,CAAC,CACN,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/H2/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE1E,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAK6B,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,EAAE,CACD,SAAS,CAAC,CAAC,UAAU,CACnB,SAAS,EACT,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,UAAU,EACV,QAAQ,IAAI,YAAY,CACzB,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,EAAE,CAAC,CACN,CAAA;AACH,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  import { TextColorTypes } from '../../../theme';
3
3
  export declare const H3: ({ color, container, disabled, className, children, ...props }: {
4
4
  color?: TextColorTypes;
@@ -1,8 +1,7 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
3
  import { useTranslations } from 'next-intl';
4
- import { TextColorTypes } from '../../../theme';
5
- import { getTextColorTypeClassName } from '../../../theme';
4
+ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
6
5
  export const H3 = ({ color = TextColorTypes.main, container = false, disabled, className, children, ...props }) => {
7
6
  const t = useTranslations();
8
7
  const translatedChildren = typeof children === 'string' ? t(children) : children;
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/H3/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAE1D,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAK6B,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,EAAE,CACD,SAAS,CAAC,CAAC,UAAU,CACnB,SAAS,EACT,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,SAAS,EACT,QAAQ,IAAI,YAAY,CACzB,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,EAAE,CAAC,CACN,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/H3/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE1E,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAK6B,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,EAAE,CACD,SAAS,CAAC,CAAC,UAAU,CACnB,SAAS,EACT,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,SAAS,EACT,QAAQ,IAAI,YAAY,CACzB,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,EAAE,CAAC,CACN,CAAA;AACH,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  import { TextColorTypes } from '../../../theme';
3
3
  export declare const H4: ({ color, container, disabled, className, children, ...props }: {
4
4
  color?: TextColorTypes;
@@ -1,8 +1,7 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
3
  import { useTranslations } from 'next-intl';
4
- import { TextColorTypes } from '../../../theme';
5
- import { getTextColorTypeClassName } from '../../../theme';
4
+ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
6
5
  export const H4 = ({ color = TextColorTypes.main, container = false, disabled, className, children, ...props }) => {
7
6
  const t = useTranslations();
8
7
  const translatedChildren = typeof children === 'string' ? t(children) : children;
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/H4/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAg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C,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,EAAE,CACD,SAAS,CAAC,CAAC,UAAU,CACnB,SAAS,EACT,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,SAAS,EACT,QAAQ,IAAI,YAAY,CACzB,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,EAAE,CAAC,CACN,CAAA;AACH,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  import { TextColorTypes } from '../../../theme';
3
3
  export declare const H5: ({ color, container, disabled, className, children, ...props }: {
4
4
  color?: TextColorTypes;
@@ -1,8 +1,7 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
3
  import { useTranslations } from 'next-intl';
4
- import { TextColorTypes } from '../../../theme';
5
- import { getTextColorTypeClassName } from '../../../theme';
4
+ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
6
5
  export const H5 = ({ color = TextColorTypes.main, container = false, disabled, className, children, ...props }) => {
7
6
  const t = useTranslations();
8
7
  const translatedChildren = typeof children === 'string' ? t(children) : children;
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/H5/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAE1D,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,K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,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,EAAE,CAAC,CACN,CAAA;AACH,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  import { TextColorTypes } from '../../../theme';
3
3
  export declare const H6: ({ color, container, disabled, className, children, ...props }: {
4
4
  color?: TextColorTypes;
@@ -1,8 +1,7 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
3
  import { useTranslations } from 'next-intl';
4
- import { TextColorTypes } from '../../../theme';
5
- import { getTextColorTypeClassName } from '../../../theme';
4
+ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
6
5
  export const H6 = ({ color = TextColorTypes.main, container = false, disabled, className, children, ...props }) => {
7
6
  const t = useTranslations();
8
7
  const translatedChildren = typeof children === 'string' ? t(children) : children;
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/H6/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAE1D,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAK6B,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,EAAE,CACD,SAAS,CAAC,CAAC,UAAU,CACnB,SAAS,EACT,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,SAAS,EACT,QAAQ,IAAI,YAAY,CACzB,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,EAAE,CAAC,CACN,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/H6/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE1E,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAK6B,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,EAAE,CACD,SAAS,CAAC,CAAC,UAAU,CACnB,SAAS,EACT,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,SAAS,EACT,QAAQ,IAAI,YAAY,CACzB,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,EAAE,CAAC,CACN,CAAA;AACH,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  import { TextColorTypes } from '../../../theme';
3
3
  export declare const Label: ({ color, container, disabled, className, children, ...props }: {
4
4
  color?: TextColorTypes;
@@ -1,8 +1,7 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
3
  import { useTranslations } from 'next-intl';
4
- import { TextColorTypes } from '../../../theme';
5
- import { getTextColorTypeClassName } from '../../../theme';
4
+ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
6
5
  export const Label = ({ color = TextColorTypes.main, container = false, disabled, className, children, ...props }) => {
7
6
  const t = useTranslations();
8
7
  const translatedChildren = typeof children === 'string' ? t(children) : children;
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/Label/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAE1D,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,EACpB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAKgC,EAAE,EAAE;IAC5C,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,KAAK,CACJ,SAAS,CAAC,CAAC,UAAU,CACnB,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,WAAW,EACX,qBAAqB,EACrB,QAAQ,IAAI,YAAY,EACxB,SAAS,CACV,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,KAAK,CAAC,CACT,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/Label/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE1E,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,EACpB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAKgC,EAAE,EAAE;IAC5C,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,KAAK,CACJ,SAAS,CAAC,CAAC,UAAU,CACnB,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,WAAW,EACX,qBAAqB,EACrB,QAAQ,IAAI,YAAY,EACxB,SAAS,CACV,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,KAAK,CAAC,CACT,CAAA;AACH,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import Link from 'next/link';
2
- import { type ComponentProps } from 'react';
2
+ import type { ComponentProps } from 'react';
3
3
  import { TextColorTypes } from '../../../theme';
4
4
  export declare const LinkText: ({ color, container, disabled, className, children, ...props }: {
5
5
  color?: TextColorTypes;
@@ -2,8 +2,7 @@
2
2
  import classNames from 'classnames';
3
3
  import Link from 'next/link';
4
4
  import { useTranslations } from 'next-intl';
5
- import { TextColorTypes } from '../../../theme';
6
- import { getTextColorTypeClassName } from '../../../theme';
5
+ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
7
6
  export const LinkText = ({ color = TextColorTypes.main, container = false, disabled, className, children, ...props }) => {
8
7
  const t = useTranslations();
9
8
  const translatedChildren = typeof children === 'string' ? t(children) : children;
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/LinkText/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAE1D,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACvB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAKoC,EAAE,EAAE;IAChD,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,IAAI,CACH,SAAS,CAAC,CAAC,UAAU,CACnB,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,WAAW,EACX,+BAA+B,EAC/B,QAAQ,CAAC,CAAC,CAAC,+CAA+C,CAAC,CAAC,CAAC,iCAAiC,EAC9F,SAAS,CACV,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,IAAI,CAAC,CACR,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/LinkText/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE1E,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACvB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAKoC,EAAE,EAAE;IAChD,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,IAAI,CACH,SAAS,CAAC,CAAC,UAAU,CACnB,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,WAAW,EACX,+BAA+B,EAC/B,QAAQ,CAAC,CAAC,CAAC,+CAA+C,CAAC,CAAC,CAAC,iCAAiC,EAC9F,SAAS,CACV,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,IAAI,CAAC,CACR,CAAA;AACH,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  import { TextColorTypes } from '../../../theme';
3
3
  export declare const P: ({ color, container, disabled, className, children, ...props }: {
4
4
  color?: TextColorTypes;
@@ -1,8 +1,7 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
3
  import { useTranslations } from 'next-intl';
4
- import { TextColorTypes } from '../../../theme';
5
- import { getTextColorTypeClassName } from '../../../theme';
4
+ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
6
5
  export const P = ({ color = TextColorTypes.main, container = false, disabled, className, children, ...props }) => {
7
6
  const t = useTranslations();
8
7
  const translatedChildren = typeof children === 'string' ? t(children) : children;
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/P/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAE1D,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,EAChB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAK4B,EAAE,EAAE;IACxC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,CAAC,CACA,SAAS,CAAC,CAAC,UAAU,CACnB,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,WAAW,EACX,qBAAqB,EACrB,QAAQ,IAAI,YAAY,EACxB,SAAS,CACV,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,CAAC,CAAC,CACL,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/P/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE1E,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,EAChB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAK4B,EAAE,EAAE;IACxC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,CAAC,CACA,SAAS,CAAC,CAAC,UAAU,CACnB,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,WAAW,EACX,qBAAqB,EACrB,QAAQ,IAAI,YAAY,EACxB,SAAS,CACV,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,CAAC,CAAC,CACL,CAAA;AACH,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentProps } from 'react';
1
+ import type { ComponentProps } from 'react';
2
2
  import { TextColorTypes } from '../../../theme';
3
3
  export declare const Pre: ({ color, container, disabled, className, children, ...props }: {
4
4
  color?: TextColorTypes;
@@ -1,8 +1,7 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
3
  import { useTranslations } from 'next-intl';
4
- import { TextColorTypes } from '../../../theme';
5
- import { getTextColorTypeClassName } from '../../../theme';
4
+ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
6
5
  export const Pre = ({ color = TextColorTypes.main, container = false, disabled, className, children, ...props }) => {
7
6
  const t = useTranslations();
8
7
  const translatedChildren = typeof children === 'string' ? t(children) : children;
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/Pre/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAE1D,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,EAClB,KAAK,GAAG,cAAc,CAAC,IAAI,EAC3B,SAAS,GAAG,KAAK,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAK8B,EAAE,EAAE;IAC1C,MAAM,CAAC,GAAG,eAAe,EAAE,CAAA;IAC3B,MAAM,kBAAkB,GAAc,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC3F,OAAO,CACL,CAAC,GAAG,CACF,SAAS,CAAC,CAAC,UAAU,CACnB,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,WAAW,EACX,qBAAqB,EACrB,QAAQ,IAAI,YAAY,EACxB,SAAS,CACV,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,kBAAkB,CACrB;IAAA,EAAE,GAAG,CAAC,CACP,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/component/typography/Pre/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAG3C,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE1E,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,EAClB,KAA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AK,EAAE,CAAC,EAAE,EAAE;YACnB,UAAU,CAAC,IAAI,CAAC,CAAA;YAChB,IAAI,CAAC;gBACH,MAAM,OAAO,EAAE,CAAC,CAAC,CAAC,CAAA;YACpB,CAAC;oBAAS,CAAC;gBACT,UAAU,CAAC,KAAK,CAAC,CAAA;YACnB,CAAC;YACD,SAAS,CAAC,KAAK,CAAC,CAAA;QAClB,CAAC,CAAC,EACF,CACH,CAAA;AACH,CAAC,CAAA"}
@@ -1,8 +1,7 @@
1
1
  'use client';
2
2
  import classNames from 'classnames';
3
3
  import { usePathname } from 'next/navigation';
4
- import { useEffect, useRef, useState } from 'react';
5
- import { isValidElement } from 'react';
4
+ import { isValidElement, useEffect, useRef, useState } from 'react';
6
5
  import { createPortal } from 'react-dom';
7
6
  import { Component } from '../../component';
8
7
  import { getRoundedClassName, Rounded } from '../../theme';
@@ -42,12 +41,11 @@ export const DropDown = ({ button, content, position, menuRounded = Rounded.m, m
42
41
  }
43
42
  const [mounted, setMounted] = useState(false);
44
43
  // Mount-time side effect is a legitimate case
45
- // eslint-disable-next-line react-hooks/set-state-in-effect
46
44
  useEffect(() => setMounted(true), []);
47
45
  if (!mounted) {
48
46
  return null;
49
47
  }
50
- return (<div className='flex flex-col w-fit'>
48
+ return (<div className='flex w-fit flex-col'>
51
49
  <div ref={btnWrapRef}>
52
50
  <Component.Button {...button} onClick={(e) => {
53
51
  setIsOpen((v) => !v);
@@ -58,7 +56,7 @@ export const DropDown = ({ button, content, position, menuRounded = Rounded.m, m
58
56
  {isOpen &&
59
57
  createPortal(<>
60
58
  <div className='fixed inset-0 z-popup' onClick={() => setIsOpen(false)}/>
61
- {coords && (<div className='z-popup absolute' style={{
59
+ {coords && (<div className='absolute z-popup' style={{
62
60
  top: coords.top,
63
61
  left: position === 'left'
64
62
  ? coords.left
@@ -68,11 +66,11 @@ export const DropDown = ({ button, content, position, menuRounded = Rounded.m, m
68
66
  transform: position === 'left' ? undefined : position === 'center' ? 'translateX(-50%)' : 'translateX(-100%)',
69
67
  }}>
70
68
  <Component.Card rounded={menuRounded} shadow className={classNames('p-0!', 'w-max', menuClassName)} style={{ minWidth: coords.width }}>
71
- {isValidElement(content) ? (content) : (<ul className='whitespace-nowrap min-w-max'>
69
+ {isValidElement(content) ? (content) : (<ul className='min-w-max whitespace-nowrap'>
72
70
  {Array.isArray(content) &&
73
71
  content.map((x, i) => {
74
72
  if (x === 'divider') {
75
- return <div key={i} className='bg-outline-default h-px w-full'/>;
73
+ return <div key={i} className='h-px w-full bg-outline-default'/>;
76
74
  }
77
75
  if (isValidElement(x)) {
78
76
  return x;
@@ -80,7 +78,7 @@ export const DropDown = ({ button, content, position, menuRounded = Rounded.m, m
80
78
  const props = x;
81
79
  const isLink = 'href' in props;
82
80
  return (<li key={i} className='p-control-padding-md'>
83
- <Button {...props} className={classNames('flex items-center justify-start w-full text-left', 'bg-transparent no-underline!', 'gap-control-padding-sm p-control-padding-base', 'text-sm!', getRoundedClassName(menuRounded), props.className)} onClick={(e) => {
81
+ <Button {...props} className={classNames('flex w-full items-center justify-start text-left', 'no-underline! bg-transparent', 'gap-control-padding-sm p-control-padding-base', 'text-sm!', getRoundedClassName(menuRounded), props.className)} onClick={(e) => {
84
82
  if ('onClick' in props) {
85
83
  props.onClick?.(e);
86
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../src/ui/composite/dropdown/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7C,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,O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AO,CAAC,CAAA;gCACV,CAAC;gCACD,MAAM,KAAK,GAAG,CAAkC,CAAA;gCAChD,MAAM,MAAM,GAAG,MAAM,IAAI,KAAK,CAAA;gCAC9B,OAAO,CACL,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,sBAAsB,CAC1C;8BAAA,CAAC,MAAM,CACL,IAAI,KAAK,CAAC,CACV,SAAS,CAAC,CAAC,UAAU,CACnB,kDAAkD,EAClD,8BAA8B,EAC9B,+CAA+C,EAC/C,UAAU,EACV,mBAAmB,CAAC,WAAW,CAAC,EAChC,KAAK,CAAC,SAAS,CAChB,CAAC,CACF,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;wCACb,IAAI,SAAS,IAAI,KAAK,EAAE,CAAC;4CACvB,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAA;wCACpB,CAAC;wCACD,IAAI,MAAM,EAAE,CAAC;4CACX,UAAU,CAAC,aAAa,EAAE,CAAC,CAAC,CAAA;wCAC9B,CAAC;6CAAM,CAAC;4CACN,aAAa,EAAE,CAAA;wCACjB,CAAC;oCACH,CAAC,CAAC,EAEN;4BAAA,EAAE,EAAE,CAAC,CACN,CAAA;4BACH,CAAC,CAAC,CACN;oBAAA,EAAE,EAAE,CAAC,CACN,CACH;gBAAA,EAAE,SAAS,CAAC,IAAI,CAClB;cAAA,EAAE,GAAG,CAAC,CACP,CACH;UAAA,GAAG,EACH,QAAQ,CAAC,IAAI,CACd,CACL;IAAA,EAAE,GAAG,CAAC,CACP,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../src/ui/composite/dropdown/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7C,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE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G,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,gCAAgC,EAAG,CAAA;gCACnE,CAAC;gCACD,IAAI,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;oCACtB,OAAO,CAAC,CAAA;gCACV,CAAC;gCACD,MAAM,KAAK,GAAG,CAAkC,CAAA;gCAChD,MAAM,MAAM,GAAG,MAAM,IAAI,KAAK,CAAA;gCAC9B,OAAO,CACL,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,sBAAsB,CAC1C;8BAAA,CAAC,MAAM,CACL,IAAI,KAAK,CAAC,CACV,SAAS,CAAC,CAAC,UAAU,CACnB,kDAAkD,EAClD,8BAA8B,EAC9B,+CAA+C,EAC/C,UAAU,EACV,mBAAmB,CAAC,WAAW,CAAC,EAChC,KAAK,CAAC,SAAS,CAChB,CAAC,CACF,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;wCACb,IAAI,SAAS,IAAI,KAAK,EAAE,CAAC;4CACvB,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAA;wCACpB,CAAC;wCACD,IAAI,MAAM,EAAE,CAAC;4CACX,UAAU,CAAC,aAAa,EAAE,CAAC,CAAC,CAAA;wCAC9B,CAAC;6CAAM,CAAC;4CACN,aAAa,EAAE,CAAA;wCACjB,CAAC;oCACH,CAAC,CAAC,EAEN;4BAAA,EAAE,EAAE,CAAC,CACN,CAAA;4BACH,CAAC,CAAC,CACN;oBAAA,EAAE,EAAE,CAAC,CACN,CACH;gBAAA,EAAE,SAAS,CAAC,IAAI,CAClB;cAAA,EAAE,GAAG,CAAC,CACP,CACH;UAAA,GAAG,EACH,QAAQ,CAAC,IAAI,CACd,CACL;IAAA,EAAE,GAAG,CAAC,CACP,CAAA;AACH,CAAC,CAAA"}
@@ -130,7 +130,7 @@ export declare const Composite: {
130
130
  disabled?: boolean;
131
131
  required?: boolean;
132
132
  }) => import("react").JSX.Element;
133
- List: ({ name, rounded, defaultList, minListLength, maxListLength, valueLength, isFirstItem, input, }: {
133
+ List: ({ name, rounded, defaultList, minListLength, maxListLength, valueLength, isFirstItem, required, input, }: {
134
134
  name: string;
135
135
  rounded?: import("..").Rounded;
136
136
  defaultList: string[][];
@@ -138,9 +138,11 @@ export declare const Composite: {
138
138
  maxListLength?: number;
139
139
  valueLength: number;
140
140
  isFirstItem: boolean;
141
+ required?: boolean;
141
142
  input: (props: {
142
143
  name: string;
143
144
  autoFocus: boolean;
145
+ required: boolean;
144
146
  values: string[];
145
147
  onChange: (index: number, value: string) => void;
146
148
  }) => {
@@ -9,9 +9,9 @@ import { getTextColorTypeClassName, TextColorTypes } from '../../../theme';
9
9
  export const Checkbox = ({ orientation, name, options, defaultValue, onChange, disabled, error, }) => {
10
10
  const [selected, setSelected] = useState(defaultValue ?? []);
11
11
  return (<div className={classNames('flex flex-wrap', orientation === 'vertical'
12
- ? 'gap-control-padding-md flex-col'
12
+ ? 'flex-col gap-control-padding-md'
13
13
  : 'gap-control-padding-xl gap-y-control-padding-sm')}>
14
- {options.map((x, i) => (<CheckboxItem key={i} name={name} checked={selected.includes(x.value)} onClick={() => {
14
+ {options.map((x, i) => (<CheckboxItem key={i} name={`${name}[]`} checked={selected.includes(x.value)} onClick={() => {
15
15
  if (selected.includes(x.value)) {
16
16
  const newSelected = selected.filter((z) => z !== x.value);
17
17
  setSelected(newSelected);
@@ -27,7 +27,7 @@ export const Checkbox = ({ orientation, name, options, defaultValue, onChange, d
27
27
  };
28
28
  export const CheckboxItem = ({ name, checked, onClick, value, label, disabled, error, }) => {
29
29
  const t = useTranslations();
30
- return (<fieldset data-disabled={disabled} className={classNames('gap-control-padding-md flex w-fit items-center justify-center whitespace-nowrap', disabled ? 'clickable-disabled' : 'clickable-enabled')} onClick={disabled ? undefined : onClick}>
30
+ return (<fieldset data-disabled={disabled} className={classNames('flex w-fit items-center justify-center gap-control-padding-md whitespace-nowrap', disabled ? 'clickable-disabled' : 'clickable-enabled')} onClick={disabled ? undefined : onClick}>
31
31
  <input type='checkbox' name={name} value={value} checked={checked} onChange={() => { }} className='hidden'/>
32
32
  {checked ? (<CheckBoxIcon className={classNames('size-control-base!', getTextColorTypeClassName(error ? TextColorTypes.error : TextColorTypes.primary, true))}/>) : (<CheckBoxOutlineBlankIcon className={classNames('size-control-base!', getTextColorTypeClassName(error ? TextColorTypes.error : TextColorTypes.disabled, true))}/>)}
33
33
  <Component.Typography.Label container={true} className={classNames('text-sm', disabled ? 'cursor-default' : 'cursor-pointer')}>
@@ -1 +1 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../../src/ui/composite/input/checkbox/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,YAAY,MAAM,8BAA8B,CAAA;AACvD,OAAO,wBAAwB,MAAM,0CAA0C,CAAA;AAC/E,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEhC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE1E,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACvB,WAAW,EACX,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,KAAK,GASN,EAAE,EAAE;IACH,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,YAAY,IAAI,EAAE,CAAC,CAAA;IAC5D,OAAO,CACL,CAAC,GAAG,CACF,SAAS,CAAC,CAAC,UAAU,CACnB,gBAAgB,EAChB,WAAW,KAAK,UAAU;YACxB,CAAC,CAAC,iCAAiC;YACnC,CAAC,CAAC,iDAAiD,CACtD,CAAC,CAEF;MAAA,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,C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CAAC,CAAC,QAAQ,CAAC,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC,SAAS,CAAC,QAAQ,EACzG;MAAA,CAAC,OAAO,CAAC,CAAC,CAAC,CACT,CAAC,YAAY,CACX,SAAS,CAAC,CAAC,UAAU,CACnB,oBAAoB,EACpB,yBAAyB,CAAC,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,CAAC,CACvF,CAAC,EACF,CACH,CAAC,CAAC,CAAC,CACF,CAAC,wBAAwB,CACvB,SAAS,CAAC,CAAC,UAAU,CACnB,oBAAoB,EACpB,yBAAyB,CAAC,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,QAAQ,EAAE,IAAI,CAAC,CACxF,CAAC,EACF,CACH,CACD;MAAA,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CACzB,SAAS,CAAC,CAAC,IAAI,CAAC,CAChB,SAAS,CAAC,CAAC,UAAU,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAEjF;QAAA,CAAC,CAAC,CAAC,KAAK,CAAC,CACX;MAAA,EAAE,SAAS,CAAC,UAAU,CAAC,KAAK,CAC9B;IAAA,EAAE,QAAQ,CAAC,CACZ,CAAA;AACH,CAAC,CAAA"}
@@ -48,8 +48,8 @@ const DatePickerImpl = ({ name, rounded = Rounded.m, placement, defaultValue, va
48
48
  hiddenInput.dispatchEvent(event);
49
49
  }
50
50
  }} placeholderText={toDateString(new Date())} dateFormat={dataFormat} renderCustomHeader={({ date, changeYear, changeMonth, decreaseMonth, increaseMonth, prevMonthButtonDisabled, nextMonthButtonDisabled, }) => (<CustomCalendarHeader date={date} changeYear={changeYear} changeMonth={changeMonth} decreaseMonth={decreaseMonth} increaseMonth={increaseMonth} prevMonthButtonDisabled={prevMonthButtonDisabled} nextMonthButtonDisabled={nextMonthButtonDisabled} minYear={min?.getFullYear()} maxYear={max?.getFullYear()}/>)} onCalendarOpen={() => setOnFocus(true)} onCalendarClose={() => setOnFocus(false)} customInput={<CustomInput value={toDateString(date)} focused={onFocus} rounded={rounded} disabled={disabled} error={error}/>} popperPlacement={placement} disabled={disabled} required={false}/>
51
- {required !== true && date && (<div className='p-control-padding-base absolute top-0 right-0 bottom-0 flex items-center justify-center'>
52
- <ClearIcon className='bg-transparent! size-control-sm! cursor-pointer!' onClick={() => {
51
+ {required !== true && date && (<div className='absolute top-0 right-0 bottom-0 flex items-center justify-center p-control-padding-base'>
52
+ <ClearIcon className='size-control-sm! cursor-pointer! bg-transparent!' onClick={() => {
53
53
  setDate(undefined);
54
54
  onChange?.(undefined);
55
55
  const hiddenInput = document.querySelector(`input[name="${name}"]`);
@@ -29,15 +29,15 @@ export const DateRange = ({ defaultValue, name, disabled, error, stepDays = 0, o
29
29
  setEndDate(newEndDate);
30
30
  }
31
31
  }, [startDate, stepDays]);
32
- return (<div className='gap-control-padding-base flex items-center'>
33
- <DatePicker {...props} name={`${name}StartAt`} value={startDate} onChange={(e) => {
32
+ return (<div className='flex items-center gap-control-padding-base'>
33
+ <DatePicker {...props} name={`${name}.from`} value={startDate} onChange={(e) => {
34
34
  handleStartDateChange(e);
35
35
  onChange?.({ start: e });
36
36
  }} disabled={disabled} error={error}/>
37
37
  <Component.Typography.P container={true} disabled={disabled} className='text-sm'>
38
38
 
39
39
  </Component.Typography.P>
40
- <DatePicker {...props} name={`${name}EndAt`} value={endDate} min={startDate ? new Date(startDate.getTime() + stepDays * 24 * 60 * 60 * 1000) : undefined} onChange={(e) => {
40
+ <DatePicker {...props} name={`${name}.to`} value={endDate} min={startDate ? new Date(startDate.getTime() + stepDays * 24 * 60 * 60 * 1000) : undefined} onChange={(e) => {
41
41
  handleEndDateChange(e);
42
42
  onChange?.({ end: e });
43
43
  }} disabled={disabled} error={error}/>
@@ -1 +1 @@
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AC,EAAE,CAAC,CAAA;QAC1B,CAAC,CAAC,CACF,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,KAAK,CAAC,CAAC,KAAK,CAAC,EAEf;MAAA,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,SAAS,CAC9E;;MACF,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC,CACxB;MAAA,CAAC,UAAU,CACT,IAAI,KAAK,CAAC,CACV,IAAI,CAAC,CAAC,GAAG,IAAI,KAAK,CAAC,CACnB,KAAK,CAAC,CAAC,OAAO,CAAC,CACf,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,GAAG,QAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAC5F,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;YACd,mBAAmB,CAAC,CAAC,CAAC,CAAA;YACtB,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAAA;QACxB,CAAC,CAAC,CACF,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,KAAK,CAAC,CAAC,KAAK,CAAC,EAEjB;IAAA,EAAE,GAAG,CAAC,CACP,CAAA;AACH,CAAC,CAAA"}
@@ -23,7 +23,7 @@ export const DateTimePicker = ({ name, defaultValue, value, min, max, onChange,
23
23
  });
24
24
  return (<>
25
25
  <input className='absolute size-0 opacity-0' name={name} value={dateTime?.toISOString() ?? ''} onChange={() => { }} required={required}/>
26
- <div className='gap-control-padding-base flex w-full items-center'>
26
+ <div className='flex w-full items-center gap-control-padding-base'>
27
27
  <div className='flex-3'>
28
28
  <DatePicker name='' key={`date-${dateTime?.toISOString()}`} value={dateTime} min={min} max={max} onChange={(e) => {
29
29
  if (!e) {