@wavv/ui 2.4.0 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/Accordion/Accordion.d.ts +2 -2
- package/build/components/Avatar.js +1 -1
- package/build/components/Button/Button.d.ts +2 -2
- package/build/components/PaymentLogo/PaymentLogo.d.ts +12 -0
- package/build/components/PaymentLogo/PaymentLogo.js +37 -0
- package/build/components/PaymentLogo/icons/Amex.js +2 -0
- package/build/components/PaymentLogo/icons/Discover.js +2 -0
- package/build/components/PaymentLogo/icons/Mastercard.js +2 -0
- package/build/components/PaymentLogo/icons/Visa.js +2 -0
- package/build/components/PaymentLogo/index.d.ts +2 -0
- package/build/components/PaymentLogo/index.js +2 -0
- package/build/components/Table/Table.d.ts +2 -2
- package/build/index.d.ts +2 -0
- package/build/index.js +2 -1
- package/build/static/svg/Amex.svg +6 -0
- package/build/static/svg/Discover.svg +8 -0
- package/build/static/svg/Mastercard.svg +8 -0
- package/build/static/svg/Visa.svg +6 -0
- package/build/tailwind/theme.css +25 -4
- package/package.json +27 -27
|
@@ -67,6 +67,8 @@ declare const Accordion: {
|
|
|
67
67
|
media?: string | undefined | undefined;
|
|
68
68
|
method?: string | undefined | undefined;
|
|
69
69
|
min?: number | string | undefined | undefined;
|
|
70
|
+
nonce?: string | undefined | undefined;
|
|
71
|
+
part?: string | undefined | undefined;
|
|
70
72
|
width?: number | string | undefined | undefined;
|
|
71
73
|
role?: import("react").AriaRole | undefined;
|
|
72
74
|
crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
@@ -387,7 +389,6 @@ declare const Accordion: {
|
|
|
387
389
|
dir?: string | undefined | undefined;
|
|
388
390
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
389
391
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
390
|
-
nonce?: string | undefined | undefined;
|
|
391
392
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
392
393
|
radioGroup?: string | undefined | undefined;
|
|
393
394
|
about?: string | undefined | undefined;
|
|
@@ -417,7 +418,6 @@ declare const Accordion: {
|
|
|
417
418
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
418
419
|
is?: string | undefined | undefined;
|
|
419
420
|
exportparts?: string | undefined | undefined;
|
|
420
|
-
part?: string | undefined | undefined;
|
|
421
421
|
}): import("react/jsx-runtime").JSX.Element;
|
|
422
422
|
displayName: string;
|
|
423
423
|
};
|
|
@@ -6,7 +6,7 @@ import parseFileSize from "../utils/parseFileSize.js";
|
|
|
6
6
|
import Button from "./Button/index.js";
|
|
7
7
|
import getIcon from "./helpers/getIcon.js";
|
|
8
8
|
import { marginProps, paddingProps } from "./helpers/styledProps.js";
|
|
9
|
-
const Avatar = ({ size: sizeProp = 'small', url, icon, initials, acceptedFileTypes, onSelect, onError, maxFileSize, onRemove, ...props })=>{
|
|
9
|
+
const Avatar = ({ size: sizeProp = 'small', url, icon = 'person', initials, acceptedFileTypes, onSelect, onError, maxFileSize, onRemove, ...props })=>{
|
|
10
10
|
const sizes = {
|
|
11
11
|
tiny: 24,
|
|
12
12
|
small: 32,
|
|
@@ -42,6 +42,8 @@ declare const _default: (({ content, children, dropdown, options, ref, ...rest }
|
|
|
42
42
|
media?: string | undefined | undefined;
|
|
43
43
|
method?: string | undefined | undefined;
|
|
44
44
|
min?: number | string | undefined | undefined;
|
|
45
|
+
nonce?: string | undefined | undefined;
|
|
46
|
+
part?: string | undefined | undefined;
|
|
45
47
|
width?: number | string | undefined | undefined;
|
|
46
48
|
role?: import("react").AriaRole | undefined;
|
|
47
49
|
crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
@@ -361,7 +363,6 @@ declare const _default: (({ content, children, dropdown, options, ref, ...rest }
|
|
|
361
363
|
dir?: string | undefined | undefined;
|
|
362
364
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
363
365
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
364
|
-
nonce?: string | undefined | undefined;
|
|
365
366
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
366
367
|
radioGroup?: string | undefined | undefined;
|
|
367
368
|
about?: string | undefined | undefined;
|
|
@@ -391,7 +392,6 @@ declare const _default: (({ content, children, dropdown, options, ref, ...rest }
|
|
|
391
392
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
392
393
|
is?: string | undefined | undefined;
|
|
393
394
|
exportparts?: string | undefined | undefined;
|
|
394
|
-
part?: string | undefined | undefined;
|
|
395
395
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
396
396
|
};
|
|
397
397
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Sizes } from '../types';
|
|
2
|
+
export type PaymentLogoType = 'visa' | 'amex' | 'discover' | 'mastercard';
|
|
3
|
+
export type PaymentLogoProps = {
|
|
4
|
+
/** The type of payment logo to display */
|
|
5
|
+
type?: PaymentLogoType;
|
|
6
|
+
/** Sets the width and height of the payment logo */
|
|
7
|
+
size?: Sizes | number;
|
|
8
|
+
/** Additional className */
|
|
9
|
+
className?: string;
|
|
10
|
+
};
|
|
11
|
+
declare const PaymentLogo: ({ type, size, className }: PaymentLogoProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default PaymentLogo;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { CreditCard } from "lucide-react";
|
|
3
|
+
import { cloneElement } from "react";
|
|
4
|
+
import Amex from "./icons/Amex.js";
|
|
5
|
+
import Discover from "./icons/Discover.js";
|
|
6
|
+
import Mastercard from "./icons/Mastercard.js";
|
|
7
|
+
import Visa from "./icons/Visa.js";
|
|
8
|
+
const PaymentLogo = ({ type, size, className })=>{
|
|
9
|
+
const iconSizes = {
|
|
10
|
+
tiny: 12,
|
|
11
|
+
small: 18,
|
|
12
|
+
medium: 24,
|
|
13
|
+
large: 40
|
|
14
|
+
};
|
|
15
|
+
let iconSize = 'number' == typeof size ? size : iconSizes.medium;
|
|
16
|
+
if ('tiny' === size || 'small' === size || 'medium' === size || 'large' === size) iconSize = iconSizes[size];
|
|
17
|
+
const logoMap = {
|
|
18
|
+
visa: /*#__PURE__*/ jsx(Visa, {}),
|
|
19
|
+
amex: /*#__PURE__*/ jsx(Amex, {}),
|
|
20
|
+
discover: /*#__PURE__*/ jsx(Discover, {}),
|
|
21
|
+
mastercard: /*#__PURE__*/ jsx(Mastercard, {})
|
|
22
|
+
};
|
|
23
|
+
if (!type || !(type in logoMap)) return /*#__PURE__*/ jsx(CreditCard, {
|
|
24
|
+
width: iconSize,
|
|
25
|
+
height: iconSize,
|
|
26
|
+
className: className
|
|
27
|
+
});
|
|
28
|
+
const logo = logoMap[type];
|
|
29
|
+
const clonedLogo = /*#__PURE__*/ cloneElement(logo, {
|
|
30
|
+
width: iconSize,
|
|
31
|
+
height: iconSize,
|
|
32
|
+
className
|
|
33
|
+
});
|
|
34
|
+
return clonedLogo;
|
|
35
|
+
};
|
|
36
|
+
const PaymentLogo_PaymentLogo = PaymentLogo;
|
|
37
|
+
export { PaymentLogo_PaymentLogo as default };
|
|
@@ -99,6 +99,8 @@ declare const Table: {
|
|
|
99
99
|
media?: string | undefined | undefined;
|
|
100
100
|
method?: string | undefined | undefined;
|
|
101
101
|
min?: number | string | undefined | undefined;
|
|
102
|
+
nonce?: string | undefined | undefined;
|
|
103
|
+
part?: string | undefined | undefined;
|
|
102
104
|
width?: number | string | undefined | undefined;
|
|
103
105
|
role?: import("react").AriaRole | undefined;
|
|
104
106
|
crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
@@ -418,7 +420,6 @@ declare const Table: {
|
|
|
418
420
|
dir?: string | undefined | undefined;
|
|
419
421
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
420
422
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
421
|
-
nonce?: string | undefined | undefined;
|
|
422
423
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
423
424
|
radioGroup?: string | undefined | undefined;
|
|
424
425
|
about?: string | undefined | undefined;
|
|
@@ -448,7 +449,6 @@ declare const Table: {
|
|
|
448
449
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
449
450
|
is?: string | undefined | undefined;
|
|
450
451
|
exportparts?: string | undefined | undefined;
|
|
451
|
-
part?: string | undefined | undefined;
|
|
452
452
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
453
453
|
Cell: ({ children, defaultValue, direction, justify, align, gap, clampLines, ...props }: {
|
|
454
454
|
children?: ReactNode;
|
package/build/index.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export { default as Label } from './components/Label';
|
|
|
38
38
|
export { default as LineChart } from './components/LineChart';
|
|
39
39
|
export { default as Menu } from './components/Menu';
|
|
40
40
|
export { default as Message } from './components/Message';
|
|
41
|
+
export { default as PaymentLogo } from './components/PaymentLogo';
|
|
41
42
|
export { default as Popover } from './components/Popover';
|
|
42
43
|
export { default as MessageHr } from './components/MessageHr';
|
|
43
44
|
export { default as Modal } from './components/Modal';
|
|
@@ -79,6 +80,7 @@ export type { Selection } from 'react-aria-components';
|
|
|
79
80
|
export type { DropEvent, DropItem } from 'react-aria';
|
|
80
81
|
export type { DropZoneFile } from './components/DropZone';
|
|
81
82
|
export type { DotType } from './components/Dot';
|
|
83
|
+
export type { PaymentLogoType } from './components/PaymentLogo';
|
|
82
84
|
export { default as useConfirm } from './hooks/useConfirm';
|
|
83
85
|
export { default as useElementObserver } from './hooks/useElementObserver';
|
|
84
86
|
export { default as useEventListener } from './hooks/useEventListener';
|
package/build/index.js
CHANGED
|
@@ -38,6 +38,7 @@ import Label from "./components/Label.js";
|
|
|
38
38
|
import LineChart from "./components/LineChart.js";
|
|
39
39
|
import Menu from "./components/Menu.js";
|
|
40
40
|
import Message from "./components/Message.js";
|
|
41
|
+
import PaymentLogo from "./components/PaymentLogo/index.js";
|
|
41
42
|
import Popover from "./components/Popover.js";
|
|
42
43
|
import MessageHr from "./components/MessageHr.js";
|
|
43
44
|
import Modal from "./components/Modal.js";
|
|
@@ -81,4 +82,4 @@ import formatDate from "./utils/formatDate.js";
|
|
|
81
82
|
import formatNumber from "./utils/formatNumber.js";
|
|
82
83
|
import numberWithCommas from "./utils/numberWithCommas.js";
|
|
83
84
|
import matchesFileTypes from "./utils/matchesFileTypes.js";
|
|
84
|
-
export { Accordion, Audio, Avatar, BarChart, Button, Calendar, Checkbox, Code, ComboBox, CommandMenu, DatePicker, DateRangePicker, DateRangeSelect, DocTable, Dot, DraftEditor, DropZone, Dropdown, DropdownMenu, DropdownSelect, Editor, Ellipsis, FileTrigger, Form, Grid, Icon, ImageViewer, InlineCode, InlineInput, InputHelpers as InputUtils, Label, LineChart, Menu, Message, MessageHr, Modal, MultiSelect, NumberInput, Pagination, PhoneInput, PieChart, Popover, PortalScope, Progress, Radio, RangeCalendar, ResetStyles, ScrollbarStyles, SearchInput, Select, Slider, Spinner, Table, Tabs, Tag, TextArea, TextInput, TimeInput, ToastStyles, Toggle, ToggleButton, ToggleButtonGroup, Tooltip, TransferList, Tree, UnstyledButton, colors, copyToClipboard, createEditorContent, darkScale, editorContentToText, formatDate, formatNumber, lightScale, marginProps, matchesFileTypes, numberWithCommas, paddingProps, positionProps, theme, themeClasses, themeOptions, useConfirm, useCopy, useElementObserver, useEventListener, useOnClickOutside, usePrevious, useSelectAll, useWindowSize, widthHeightProps };
|
|
85
|
+
export { Accordion, Audio, Avatar, BarChart, Button, Calendar, Checkbox, Code, ComboBox, CommandMenu, DatePicker, DateRangePicker, DateRangeSelect, DocTable, Dot, DraftEditor, DropZone, Dropdown, DropdownMenu, DropdownSelect, Editor, Ellipsis, FileTrigger, Form, Grid, Icon, ImageViewer, InlineCode, InlineInput, InputHelpers as InputUtils, Label, LineChart, Menu, Message, MessageHr, Modal, MultiSelect, NumberInput, Pagination, PaymentLogo, PhoneInput, PieChart, Popover, PortalScope, Progress, Radio, RangeCalendar, ResetStyles, ScrollbarStyles, SearchInput, Select, Slider, Spinner, Table, Tabs, Tag, TextArea, TextInput, TimeInput, ToastStyles, Toggle, ToggleButton, ToggleButtonGroup, Tooltip, TransferList, Tree, UnstyledButton, colors, copyToClipboard, createEditorContent, darkScale, editorContentToText, formatDate, formatNumber, lightScale, marginProps, matchesFileTypes, numberWithCommas, paddingProps, positionProps, theme, themeClasses, themeOptions, useConfirm, useCopy, useElementObserver, useEventListener, useOnClickOutside, usePrevious, useSelectAll, useWindowSize, widthHeightProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">
|
|
2
|
+
<g transform="translate(1, 4.45) scale(0.629)">
|
|
3
|
+
<rect x="0.5" y="0.5" width="34" height="23" rx="3.5" fill="#1F72CD" stroke="#D9D9D9"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.68111 8.5L3.5 15.7467H7.30824L7.78035 14.5913H8.85949L9.3316 15.7467H13.5234V14.8649L13.8969 15.7467H16.0652L16.4387 14.8462V15.7467H25.1566L26.2166 14.6213L27.2092 15.7467L31.6868 15.7561L28.4957 12.1436L31.6868 8.5H27.2786L26.2467 9.60463L25.2854 8.5H15.8016L14.9872 10.3704L14.1537 8.5H10.3534V9.35186L9.93068 8.5H6.68111ZM19.6994 9.52905H24.7055L26.2367 11.2316L27.8172 9.52905H29.3484L27.0219 12.1426L29.3484 14.726H27.7477L26.2166 13.0036L24.628 14.726H19.6994V9.52905ZM20.9356 11.555V10.6057V10.6048H24.0593L25.4223 12.1229L23.9989 13.6493H20.9356V12.613H23.6667V11.555H20.9356ZM7.41799 9.52905H9.2743L11.3843 14.4431V9.52905H13.4178L15.0476 13.0524L16.5496 9.52905H18.573V14.7291H17.3418L17.3317 10.6544L15.5368 14.7291H14.4355L12.6305 10.6544V14.7291H10.0977L9.61756 13.5633H7.02338L6.54421 14.728H5.18717L7.41799 9.52905ZM7.46634 12.4856L8.32101 10.4089L9.1747 12.4856H7.46634Z" fill="white"/>
|
|
5
|
+
</g>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">
|
|
2
|
+
<g transform="translate(1, 4.45) scale(0.629)">
|
|
3
|
+
<rect x="0.5" y="0.5" width="34" height="23" rx="3.5" fill="white" stroke="#D9D9D9"/>
|
|
4
|
+
<path d="M15 23L34 17.25V20C34 21.6569 32.6569 23 31 23H15Z" fill="#FD6020"/>
|
|
5
|
+
<path d="M15.1846 9.11047C15.5504 9.11047 15.9686 9.1651 16.2822 9.38V10.4542C16.0209 10.1319 15.6027 9.91711 15.1846 9.91711C14.3484 9.97089 13.6695 10.7226 13.7217 11.5822V11.6896C13.7217 12.5492 14.4011 13.1945 15.2373 13.1945C15.6551 13.1943 16.021 12.9795 16.2822 12.6573V13.7316C15.9165 13.8927 15.5507 14 15.1328 14.0001C13.8262 14.0001 12.7803 12.8716 12.7803 11.5284C12.7804 10.1317 13.8258 9.0031 15.1846 9.11047ZM23.3906 12.3341L24.6445 9.11047H25.585L23.6514 14.0001H23.1807L21.2471 9.11047H22.1885L23.3906 12.3341ZM11.0039 9.00305C11.4741 9.00318 11.9448 9.21888 12.3105 9.54114L11.8398 10.1857C11.6309 9.97087 11.3696 9.80986 11.1084 9.80969C10.7948 9.75597 10.5327 10.0244 10.4805 10.3468C10.4805 10.6153 10.6377 10.7228 11.1602 10.9376C12.2052 11.3673 12.4672 11.6896 12.5195 12.3341V12.4952C12.4673 13.3549 11.7874 14.0001 10.9512 13.9464C10.324 13.9464 9.69641 13.6243 9.38281 13.0333L9.95801 12.4415C10.1148 12.8176 10.4813 13.087 10.8994 13.087H10.9512C11.2648 13.087 11.5781 12.7639 11.5781 12.3878C11.578 12.1732 11.474 12.0118 11.3174 11.9044C11.1083 11.797 10.8985 11.6896 10.6895 11.6359C9.85365 11.3673 9.59282 10.9913 9.59277 10.3468V10.2931C9.64504 9.54091 10.2722 8.94932 11.0039 9.00305ZM5.56836 9.11047C6.82237 9.16441 7.8147 10.2393 7.7627 11.5284C7.76262 12.2266 7.44914 12.8712 6.92676 13.3546C6.45638 13.7307 5.88155 13.9455 5.30664 13.8917H4V9.11047H5.56836ZM9.01758 13.8927H8.12891V9.11047H9.01758V13.8927ZM28.5117 9.91711H26.8916V10.9913H28.46V11.797H26.8916V13.087H28.5117V13.8927H26.0039V9.11047H28.5117V9.91711ZM30.3936 9.11047C31.4385 9.11048 32.0133 9.59416 32.0137 10.507C32.0659 11.2053 31.5958 11.7968 30.9688 11.9044L32.3799 13.8917H31.2822L30.0801 11.9581H29.9756V13.8917H29.0869V9.11047H30.3936ZM5.14941 9.91614H4.88867V13.0861H5.14941C5.56746 13.1398 6.03797 12.9786 6.35156 12.7101C6.66494 12.3878 6.8222 11.958 6.82227 11.4747C6.82216 11.0451 6.66504 10.6144 6.35156 10.2921C6.03799 10.0238 5.56725 9.86247 5.14941 9.91614ZM29.9756 11.3136H30.2363C30.8112 11.3136 31.0732 11.0442 31.0732 10.5607C31.0729 10.1314 30.8108 9.86243 30.2363 9.86243H29.9756V11.3136Z" fill="black"/>
|
|
6
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M18.9476 9C17.641 9 16.5435 10.0745 16.5435 11.4714C16.5435 12.8146 17.5888 13.9429 18.9476 13.9966C20.3065 14.0503 21.3518 12.9221 21.4041 11.5252C21.3518 10.1283 20.3065 9 18.9476 9V9Z" fill="#FD6020"/>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">
|
|
2
|
+
<g transform="translate(1, 4.45) scale(0.629)">
|
|
3
|
+
<rect x="0.5" y="0.5" width="34" height="23" rx="3.5" fill="white" stroke="#D9D9D9"/>
|
|
4
|
+
<path d="M22.1758 5C25.9444 5 29 8.09091 29 11.9033C28.9998 15.7156 25.9443 18.8057 22.1758 18.8057C20.4864 18.8056 18.9416 18.1832 17.75 17.1543C16.5584 18.1832 15.0137 18.8056 13.3242 18.8057C9.55566 18.8057 6.50018 15.7156 6.5 11.9033C6.5 8.09091 9.55555 5 13.3242 5C15.0134 5.00011 16.5584 5.62186 17.75 6.65039C18.9416 5.62185 20.4866 5.00011 22.1758 5Z" fill="#ED0006"/>
|
|
5
|
+
<path d="M22.1758 5C25.9444 5 29 8.09091 29 11.9033C28.9998 15.7156 25.9443 18.8057 22.1758 18.8057C20.4863 18.8056 18.9416 18.1832 17.75 17.1543C19.2164 15.8882 20.1474 14.0064 20.1475 11.9033C20.1475 9.79982 19.2168 7.91652 17.75 6.65039C18.9416 5.62185 20.4866 5.00011 22.1758 5Z" fill="#F9A000"/>
|
|
6
|
+
<path d="M17.75 6.651C19.2166 7.91712 20.1475 9.79961 20.1475 11.903C20.1475 14.0061 19.2163 15.8878 17.75 17.1539C16.2837 15.8878 15.3525 14.006 15.3525 11.903C15.3525 9.79964 16.2834 7.91712 17.75 6.651Z" fill="#FF5E00"/>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">
|
|
2
|
+
<g transform="translate(1, 4.45) scale(0.629)">
|
|
3
|
+
<rect x="0.5" y="0.5" width="34" height="23" rx="3.5" fill="white" stroke="#D9D9D9"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.6253 16.2582H8.50494L6.91495 10.1924C6.83949 9.91334 6.67925 9.66667 6.44354 9.5504C5.85531 9.25823 5.20712 9.0257 4.5 8.90843V8.6749H7.91567C8.38708 8.6749 8.74064 9.0257 8.79957 9.43313L9.62454 13.8086L11.7438 8.6749H13.8052L10.6253 16.2582ZM14.9838 16.2582H12.9813L14.6302 8.6749H16.6327L14.9838 16.2582ZM19.2234 10.7757C19.2823 10.3673 19.6359 10.1337 20.0483 10.1337C20.6965 10.0751 21.4026 10.1924 21.9919 10.4835L22.3454 8.85081C21.7562 8.61727 21.108 8.5 20.5198 8.5C18.5762 8.5 17.162 9.55041 17.162 11.0082C17.162 12.1173 18.1637 12.6996 18.8708 13.0504C19.6359 13.4002 19.9305 13.6338 19.8716 13.9835C19.8716 14.5082 19.2823 14.7418 18.6941 14.7418C17.9869 14.7418 17.2798 14.5669 16.6327 14.2747L16.2791 15.9085C16.9862 16.1996 17.7512 16.3169 18.4584 16.3169C20.6376 16.3745 21.9919 15.3251 21.9919 13.75C21.9919 11.7665 19.2234 11.6502 19.2234 10.7757ZM29 16.2582L27.41 8.6749H25.7022C25.3486 8.6749 24.9951 8.90843 24.8772 9.25823L21.9329 16.2582H23.9943L24.4058 15.1502H26.9386L27.1743 16.2582H29ZM25.9968 10.7171L26.585 13.5751H24.9361L25.9968 10.7171Z" fill="#172B85"/>
|
|
5
|
+
</g>
|
|
6
|
+
</svg>
|
package/build/tailwind/theme.css
CHANGED
|
@@ -273,44 +273,65 @@
|
|
|
273
273
|
@utility head-1 {
|
|
274
274
|
font-size: 28px;
|
|
275
275
|
font-weight: 500;
|
|
276
|
+
line-height: 33px;
|
|
276
277
|
}
|
|
277
278
|
|
|
278
279
|
@utility head-2 {
|
|
279
280
|
font-size: 20px;
|
|
280
281
|
font-weight: 500;
|
|
282
|
+
line-height: 24px;
|
|
281
283
|
}
|
|
282
284
|
|
|
283
285
|
@utility head-3 {
|
|
284
286
|
font-size: 18px;
|
|
285
287
|
font-weight: 400;
|
|
288
|
+
line-height: 22px;
|
|
286
289
|
}
|
|
287
290
|
|
|
288
291
|
@utility body-1 {
|
|
289
292
|
font-size: 16px;
|
|
290
293
|
font-weight: 400;
|
|
294
|
+
line-height: 19px;
|
|
291
295
|
}
|
|
292
296
|
|
|
293
297
|
@utility body-1-medium {
|
|
294
298
|
font-size: 16px;
|
|
295
299
|
font-weight: 500;
|
|
300
|
+
line-height: 19px;
|
|
296
301
|
}
|
|
297
302
|
|
|
298
303
|
@utility body-2 {
|
|
299
304
|
font-size: 14px;
|
|
300
305
|
font-weight: 400;
|
|
306
|
+
line-height: 17px;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
@utility body-2-medium {
|
|
310
|
+
font-size: 14px;
|
|
311
|
+
font-weight: 500;
|
|
312
|
+
line-height: 17px;
|
|
301
313
|
}
|
|
302
314
|
|
|
303
315
|
@utility body-3 {
|
|
304
316
|
font-size: 12px;
|
|
305
317
|
font-weight: 400;
|
|
318
|
+
line-height: 15px;
|
|
306
319
|
}
|
|
307
320
|
|
|
308
|
-
@utility body-
|
|
309
|
-
font-size:
|
|
321
|
+
@utility body-3-medium {
|
|
322
|
+
font-size: 12px;
|
|
310
323
|
font-weight: 500;
|
|
324
|
+
line-height: 15px;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
@utility body-4 {
|
|
328
|
+
font-size: 10px;
|
|
329
|
+
font-weight: 400;
|
|
330
|
+
line-height: 12px;
|
|
311
331
|
}
|
|
312
332
|
|
|
313
|
-
@utility body-
|
|
314
|
-
font-size:
|
|
333
|
+
@utility body-4-medium {
|
|
334
|
+
font-size: 10px;
|
|
315
335
|
font-weight: 500;
|
|
336
|
+
line-height: 12px;
|
|
316
337
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavv/ui",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"@emotion/styled": "^11.14.1",
|
|
32
32
|
"@internationalized/date": "3.10.1",
|
|
33
33
|
"@react-hook/resize-observer": "^2.0.2",
|
|
34
|
-
"@tiptap/core": "^3.
|
|
35
|
-
"@tiptap/extension-character-count": "^3.
|
|
36
|
-
"@tiptap/extension-highlight": "^3.
|
|
37
|
-
"@tiptap/extension-placeholder": "^3.
|
|
38
|
-
"@tiptap/extension-task-item": "^3.
|
|
39
|
-
"@tiptap/extension-task-list": "^3.
|
|
40
|
-
"@tiptap/markdown": "^3.
|
|
41
|
-
"@tiptap/pm": "^3.
|
|
42
|
-
"@tiptap/react": "^3.
|
|
43
|
-
"@tiptap/starter-kit": "^3.
|
|
34
|
+
"@tiptap/core": "^3.15.3",
|
|
35
|
+
"@tiptap/extension-character-count": "^3.15.3",
|
|
36
|
+
"@tiptap/extension-highlight": "^3.15.3",
|
|
37
|
+
"@tiptap/extension-placeholder": "^3.15.3",
|
|
38
|
+
"@tiptap/extension-task-item": "^3.15.3",
|
|
39
|
+
"@tiptap/extension-task-list": "^3.15.3",
|
|
40
|
+
"@tiptap/markdown": "^3.15.3",
|
|
41
|
+
"@tiptap/pm": "^3.15.3",
|
|
42
|
+
"@tiptap/react": "^3.15.3",
|
|
43
|
+
"@tiptap/starter-kit": "^3.15.3",
|
|
44
44
|
"cmdk": "^1.1.1",
|
|
45
45
|
"date-fns": "^4.1.0",
|
|
46
46
|
"draft-js": "^0.11.7",
|
|
47
|
-
"es-toolkit": "^1.
|
|
48
|
-
"libphonenumber-js": "^1.12.
|
|
47
|
+
"es-toolkit": "^1.44.0",
|
|
48
|
+
"libphonenumber-js": "^1.12.34",
|
|
49
49
|
"lucide-react": "^0.562.0",
|
|
50
50
|
"polished": "^4.1.4",
|
|
51
51
|
"prism-react-renderer": "^2.4.1",
|
|
@@ -58,17 +58,17 @@
|
|
|
58
58
|
"webfontloader": "^1.6.28"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@babel/core": "^7.28.
|
|
62
|
-
"@babel/preset-env": "^7.28.
|
|
61
|
+
"@babel/core": "^7.28.6",
|
|
62
|
+
"@babel/preset-env": "^7.28.6",
|
|
63
63
|
"@babel/preset-typescript": "^7.28.5",
|
|
64
|
-
"@biomejs/biome": "2.3.
|
|
64
|
+
"@biomejs/biome": "2.3.11",
|
|
65
65
|
"@chromatic-com/storybook": "^4.1.3",
|
|
66
66
|
"@emotion/babel-plugin": "^11.13.5",
|
|
67
67
|
"@emotion/react": "^11.14.0",
|
|
68
|
-
"@rsbuild/core": "1.
|
|
69
|
-
"@rsbuild/plugin-react": "^1.4.
|
|
70
|
-
"@rsbuild/plugin-svgr": "^1.2.
|
|
71
|
-
"@rslib/core": "^0.19.
|
|
68
|
+
"@rsbuild/core": "1.7.2",
|
|
69
|
+
"@rsbuild/plugin-react": "^1.4.3",
|
|
70
|
+
"@rsbuild/plugin-svgr": "^1.2.4",
|
|
71
|
+
"@rslib/core": "^0.19.2",
|
|
72
72
|
"@storybook/addon-docs": "^10.1.11",
|
|
73
73
|
"@storybook/addon-links": "^10.1.11",
|
|
74
74
|
"@storybook/addon-themes": "^10.1.11",
|
|
@@ -76,28 +76,28 @@
|
|
|
76
76
|
"@svgr/core": "^8.1.0",
|
|
77
77
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
78
78
|
"@svgr/plugin-prettier": "^8.1.0",
|
|
79
|
-
"@swc/plugin-emotion": "
|
|
79
|
+
"@swc/plugin-emotion": "14.3.0",
|
|
80
80
|
"@types/draft-js": "^0.11.20",
|
|
81
81
|
"@types/jest": "^30.0.0",
|
|
82
82
|
"@types/ncp": "^2.0.8",
|
|
83
|
-
"@types/node": "^25.0.
|
|
83
|
+
"@types/node": "^25.0.9",
|
|
84
84
|
"@types/prompts": "^2.4.9",
|
|
85
85
|
"@types/randomcolor": "^0.5.9",
|
|
86
|
-
"@types/react": "^19.2.
|
|
86
|
+
"@types/react": "^19.2.8",
|
|
87
87
|
"@types/react-dom": "^19.2.3",
|
|
88
88
|
"@types/signale": "^1.4.7",
|
|
89
89
|
"@types/webfontloader": "^1.6.38",
|
|
90
90
|
"chalk": "^5.6.2",
|
|
91
91
|
"change-case": "^5.4.4",
|
|
92
|
-
"chromatic": "^13.3.
|
|
92
|
+
"chromatic": "^13.3.5",
|
|
93
93
|
"jest": "^30.2.0",
|
|
94
|
-
"lefthook": "^2.0.
|
|
94
|
+
"lefthook": "^2.0.15",
|
|
95
95
|
"ncp": "^2.0.0",
|
|
96
96
|
"path": "^0.12.7",
|
|
97
97
|
"phone": "^3.1.69",
|
|
98
98
|
"playwright": "^1.57.0",
|
|
99
99
|
"postcss": "^8.5.6",
|
|
100
|
-
"prettier": "^3.
|
|
100
|
+
"prettier": "^3.8.0",
|
|
101
101
|
"prompts": "^2.4.2",
|
|
102
102
|
"randomcolor": "^0.6.2",
|
|
103
103
|
"react": "^19.2.3",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"replace": "^1.2.2",
|
|
106
106
|
"signale": "^1.4.0",
|
|
107
107
|
"storybook": "^10.1.11",
|
|
108
|
-
"storybook-react-rsbuild": "^3.2.
|
|
108
|
+
"storybook-react-rsbuild": "^3.2.2",
|
|
109
109
|
"tsc-files": "^1.1.4",
|
|
110
110
|
"tslib": "^2.8.1",
|
|
111
111
|
"tsx": "^4.21.0",
|