@croquiscom/pds 0.47.0 → 0.47.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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 0.47.2
4
+
5
+ ### Patch Changes
6
+
7
+ - ef8e704: ImageZpay svg 변경
8
+ - 304d98f: 온보딩 아이콘 리소스 추가
9
+
10
+ ## 0.47.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 2201206: DateRangePicker RadioGroup DatePreset 지원 추가
15
+
16
+ ## BreakPoint
17
+
18
+ - DateRangePicker DatePreset 팝오버 요소 외부에서 제공되는 RadioGroup 추가되었습니다.
19
+ - DatePreset 해당 항목을 선택하면 현재 들고 있는 상태를 버리고, onChange(start, end)로 바뀐 값을 내보낸 뒤 팝업을 닫습니다.
20
+ - currentMonth는 range.to 날짜 기준으로 세팅됩니다.
21
+
3
22
  ## 0.47.0
4
23
 
5
24
  ### Minor Changes
@@ -0,0 +1,3 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7.29501 14.3559C6.85312 14.8111 6.12242 14.8111 5.68053 14.3559L2.4481 11.0258C2.02442 10.5894 2.02442 9.89517 2.4481 9.45869L3.06663 8.82149C3.50897 8.36579 4.24059 8.36633 4.68226 8.82268L6.48777 10.6882L13.3177 3.64493C13.7595 3.18932 14.4905 3.18913 14.9326 3.64452L15.5519 4.28253C15.9756 4.71901 15.9756 5.41321 15.5519 5.84969L7.29501 14.3559Z" fill="#23AE50"/>
3
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M15.4688 3.79498C14.9513 3.79498 14.4713 3.99748 14.0288 4.39498L10.2114 8.21916C9.99014 8.44078 9.99724 8.80181 10.227 9.01457C10.4445 9.21592 10.7821 9.20973 10.992 9.00055L14.8013 5.20498C14.9888 5.01748 15.2138 4.91998 15.4688 4.91998C15.7238 4.91998 15.9488 5.01748 16.1363 5.20498L16.1865 5.2552C16.4098 5.47856 16.7733 5.47425 16.9913 5.24566L17.003 5.23337C17.2074 5.01904 17.2106 4.68293 17.0103 4.46476L16.9463 4.39498C16.5038 3.99748 16.0088 3.79498 15.4688 3.79498Z" fill="#23AE50"/>
3
+ <path d="M13.9688 8.29498C13.4438 8.29498 12.9638 8.49748 12.5138 8.89498L11.719 9.68973C11.4994 9.9094 11.4994 10.2656 11.719 10.4852L11.7335 10.4997C11.9532 10.7194 12.3094 10.7194 12.529 10.4997L13.3238 9.70498C13.5113 9.51748 13.7213 9.41998 13.9688 9.41998C14.2163 9.41998 14.4413 9.51748 14.6288 9.70498L15.4533 10.5143C15.6702 10.7271 16.0175 10.7271 16.2343 10.5144C16.4537 10.2991 16.4576 9.94696 16.243 9.72698L15.4313 8.89498C14.9888 8.49748 14.4938 8.29498 13.9688 8.29498Z" fill="#EE8957"/>
4
+ <path d="M11.014 1.48525C10.7944 1.26558 10.4382 1.26558 10.2185 1.48525L10.204 1.49975C9.98435 1.71942 9.98435 2.07558 10.204 2.29525L11.0063 3.0975C11.1713 3.285 11.2538 3.5025 11.2538 3.75C11.2538 3.9975 11.1713 4.23 11.0063 4.395L8.71482 6.72519C8.50715 6.93637 8.50208 7.27347 8.70331 7.4908C8.91667 7.72122 9.27861 7.72868 9.50128 7.50724L11.8163 5.205C12.2138 4.7625 12.4088 4.275 12.4088 3.75C12.4088 3.225 12.2138 2.73 11.8163 2.2875L11.014 1.48525Z" fill="#F05046"/>
5
+ <path d="M8.02763 2.99889C7.80873 2.77999 7.45383 2.77999 7.23493 2.99889C7.00939 3.22443 7.01725 3.59245 7.25221 3.80815L7.27878 3.83254C7.44378 3.99754 7.52628 4.22254 7.52628 4.50004C7.52628 4.77754 7.44378 5.00254 7.27878 5.16754L7.2432 5.2002C7.01315 5.41139 7.00546 5.77172 7.22628 5.99254C7.4471 6.21336 7.80742 6.20567 8.01862 5.97562L8.05128 5.94004C8.44878 5.49754 8.65128 5.01754 8.65128 4.50004C8.65128 3.96004 8.44878 3.47254 8.05128 3.02254L8.02763 2.99889Z" fill="#4769F7"/>
6
+ <path d="M6.11865 6.88206C5.53466 6.29808 4.54147 6.52141 4.26369 7.29918L1.64255 14.6384C1.32328 15.5323 2.18644 16.3955 3.08039 16.0762L10.4196 13.4551C11.1974 13.1773 11.4207 12.1841 10.8367 11.6001L6.11865 6.88206Z" fill="#FFC700"/>
7
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M4.5 2.25C4.5 1.62868 5.00368 1.125 5.625 1.125H15.75C16.3713 1.125 16.875 1.62868 16.875 2.25V15.75C16.875 16.3713 16.3713 16.875 15.75 16.875H5.625C5.00368 16.875 4.5 16.3713 4.5 15.75V2.25Z" fill="#185C37"/>
3
+ <path d="M4.5 2.25C4.5 1.62868 5.00368 1.125 5.625 1.125H10.6875V16.875H5.625C5.00368 16.875 4.5 16.3713 4.5 15.75V2.25Z" fill="#185C37"/>
4
+ <path d="M4.5 2.25C4.5 1.62868 5.00368 1.125 5.625 1.125H10.6875V5.0625H4.5V2.25Z" fill="#21A366"/>
5
+ <path d="M10.6875 1.125H15.75C16.3713 1.125 16.875 1.62868 16.875 2.25V5.0625H10.6875V1.125Z" fill="#33C481"/>
6
+ <path d="M10.6875 5.0625H16.875V9H10.6875V5.0625Z" fill="#21A366"/>
7
+ <path d="M10.6875 9H16.875V12.9375H10.6875V9Z" fill="#107C41"/>
8
+ <path d="M4.5 5.0625H10.6875V9H4.5V5.0625Z" fill="#107C41"/>
9
+ <path d="M1.125 6.1875C1.125 5.56618 1.62868 5.0625 2.25 5.0625H7.875C8.49632 5.0625 9 5.56618 9 6.1875V11.8125C9 12.4338 8.49632 12.9375 7.875 12.9375H2.25C1.62868 12.9375 1.125 12.4338 1.125 11.8125V6.1875Z" fill="#117B41"/>
10
+ <path d="M3.09375 11.25L4.51992 8.99377L3.21322 6.75H4.26435L4.97743 8.18492C5.04327 8.32124 5.08839 8.42244 5.1128 8.48927H5.12205C5.16889 8.38052 5.21821 8.27492 5.26999 8.17246L6.03226 6.75076H6.99722L5.65722 8.98131L7.03125 11.25H6.00453L5.18085 9.67498C5.14206 9.60797 5.10913 9.53758 5.08248 9.46465H5.07027C5.04614 9.5361 5.01413 9.60451 4.97485 9.66856L4.12677 11.25H3.09375Z" fill="white"/>
11
+ <path d="M8.99997 9V11.8125C8.99997 12.4338 8.49629 12.9375 7.87497 12.9375H4.5V13.5H8.15622C8.93287 13.5 9.56247 12.8704 9.56247 12.0938V9H8.99997Z" fill="#134A2C"/>
12
+ <path d="M9.56246 7.03124V8.99998H8.99996V6.18749C8.99996 6.07879 8.98454 5.9737 8.95578 5.87427C9.32235 6.12808 9.56246 6.55162 9.56246 7.03124Z" fill="#0D6334"/>
13
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.9699 6.28011C12.9502 5.26038 11.5671 4.6875 10.125 4.6875H7.23049L8.05524 3.86275C8.56925 3.34874 8.56777 2.51492 8.05195 2.00273C7.5387 1.4931 6.70994 1.49456 6.1985 2.006L2.97725 5.22725C2.55047 5.65403 2.55047 6.34597 2.97725 6.77275L6.19807 9.99357C6.71 10.5055 7.53999 10.5055 8.05192 9.99357C8.56326 9.48223 8.56393 8.65339 8.05342 8.14122L7.22738 7.3125H10.125C11.6893 7.3125 12.9375 8.56066 12.9375 10.125C12.9375 11.6893 11.6893 12.9375 10.125 12.9375H5.4375C4.71262 12.9375 4.125 13.5251 4.125 14.25C4.125 14.9749 4.71262 15.5625 5.4375 15.5625H10.125C11.5671 15.5625 12.9502 14.9896 13.9699 13.9699C14.9896 12.9502 15.5625 11.5671 15.5625 10.125C15.5625 8.68288 14.9896 7.29984 13.9699 6.28011Z" fill="#787887"/>
3
+ </svg>
@@ -0,0 +1,16 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14.8125 15.125C14.8125 16.0914 14.0289 16.875 13.0625 16.875H3.4375C2.47106 16.875 1.6875 16.0914 1.6875 15.125V2.875C1.6875 1.90856 2.47106 1.125 3.4375 1.125H13.0625C14.0289 1.125 14.8125 1.90856 14.8125 2.875V15.125Z" fill="#E0E0E4"/>
3
+ <path d="M13.7096 4.35113C14.0088 4.10788 14.4507 4.12713 14.8125 4.36119V8.99651L14.7495 9.04813L12.4606 10.9141H6.04407C6.16702 10.6428 6.2905 10.4012 6.43394 10.2841L7.33795 9.54688H12.625C12.8669 9.54688 13.0625 9.35132 13.0625 9.10938C13.0625 8.86744 12.8669 8.67188 12.625 8.67188H8.41097L10.0876 7.3047H12.625C12.8669 7.3047 13.0625 7.10913 13.0625 6.8672C13.0625 6.62526 12.8669 6.42969 12.625 6.42969H11.1606L12.6701 5.19857L12.7138 5.16357L13.7096 4.35113Z" fill="#B3B3B6"/>
4
+ <path d="M5.70171 11.7891C5.59992 12.0974 5.48944 12.4589 5.38558 12.7987C5.35271 12.9063 5.3205 13.0117 5.28944 13.1125C5.26518 13.1535 5.19369 13.2771 5.1256 13.4297H5.62499C5.86649 13.4297 6.06249 13.6253 6.06249 13.8672C6.06249 14.0306 5.97309 14.1728 5.84066 14.248C6.00211 14.2106 6.13304 14.1662 6.17188 14.1524C6.2853 14.1403 6.40406 14.1279 6.52518 14.1152C7.16372 14.0485 7.86816 13.9748 8.20538 13.8987C8.24205 13.8903 8.27874 13.882 8.31529 13.8738C8.68167 13.7912 9.03384 13.7117 9.20769 13.5697C9.20948 13.5683 9.21059 13.5663 9.21165 13.5644C9.21266 13.5625 9.21363 13.5607 9.21513 13.5596L11.3872 11.7891H5.70171Z" fill="#B3B3B6"/>
5
+ <path d="M5.4398 14.3047H5.38449C5.40267 14.3052 5.42114 14.3051 5.4398 14.3047Z" fill="#B3B3B6"/>
6
+ <path d="M6.06249 13.8672C6.06249 14.1091 5.86649 14.3047 5.62499 14.3047H3.87499C3.63349 14.3047 3.43749 14.1091 3.43749 13.8672C3.43749 13.6252 3.63349 13.4297 3.87499 13.4297H5.62499C5.86649 13.4297 6.06249 13.6252 6.06249 13.8672ZM13.0625 4.625C13.0625 4.8665 12.8669 5.0625 12.625 5.0625H3.87499C3.63349 5.0625 3.43749 4.8665 3.43749 4.625C3.43749 4.3835 3.63349 4.1875 3.87499 4.1875H12.625C12.8669 4.1875 13.0625 4.3835 13.0625 4.625ZM13.0625 6.86719C13.0625 7.10913 12.8669 7.30469 12.625 7.30469H3.87499C3.63349 7.30469 3.43749 7.10913 3.43749 6.86719C3.43749 6.62525 3.63349 6.42969 3.87499 6.42969H12.625C12.8669 6.42969 13.0625 6.62525 13.0625 6.86719ZM13.0625 9.10938C13.0625 9.35131 12.8669 9.54688 12.625 9.54688H3.87499C3.63349 9.54688 3.43749 9.35131 3.43749 9.10938C3.43749 8.86744 3.63349 8.67188 3.87499 8.67188H12.625C12.8669 8.67188 13.0625 8.86744 13.0625 9.10938ZM13.0625 11.3516C13.0625 11.5935 12.8669 11.7891 12.625 11.7891H3.87499C3.63349 11.7891 3.43749 11.5935 3.43749 11.3516C3.43749 11.1096 3.63349 10.9141 3.87499 10.9141H12.625C12.8669 10.9141 13.0625 11.1096 13.0625 11.3516Z" fill="#AAAAB7"/>
7
+ <path d="M12.4606 10.9141H9.41907C9.39155 10.9748 9.36405 11.037 9.33636 11.0997C9.32288 11.1302 9.30935 11.1608 9.29575 11.1914C9.2334 11.3316 9.15781 11.5435 9.07671 11.7891H11.3872L12.4606 10.9141Z" fill="#888892"/>
8
+ <path d="M5.84066 14.248C5.97309 14.1728 6.06248 14.0306 6.06248 13.8672C6.06248 13.6252 5.86648 13.4297 5.62499 13.4297H5.1256C5.01195 13.6843 4.90775 14.0196 5.04837 14.1857C5.11881 14.269 5.24319 14.3011 5.38449 14.3047H5.4398C5.5727 14.3015 5.7158 14.2768 5.84066 14.248Z" fill="#888892"/>
9
+ <path d="M10.713 9.54688H12.625C12.8669 9.54688 13.0625 9.35131 13.0625 9.10938C13.0625 8.86744 12.8669 8.67188 12.625 8.67188H11.786L10.713 9.54688Z" fill="#888892"/>
10
+ <path d="M9.18843 11.4723C9.18843 11.4723 8.63105 10.6494 8.26224 10.3554C7.96824 9.98657 7.14705 9.42963 7.14705 9.42963C6.95105 9.23451 6.62599 9.21963 6.43436 9.41082C6.24318 9.60245 6.08743 10.0084 5.92118 10.4131C5.71468 10.9145 5.36293 12.2305 5.14768 12.9296C5.11136 13.0486 5.37386 12.7328 5.36774 12.8378C5.36336 12.9196 5.37955 13.0101 5.40011 13.0919L5.33624 13.1615L5.42724 13.1908C5.43818 13.2267 5.44911 13.2582 5.45699 13.2827L5.52655 13.2188C5.60836 13.2394 5.69893 13.2556 5.7803 13.2512C5.8853 13.2451 5.56899 13.508 5.68843 13.4713C6.38755 13.2556 7.70399 12.9043 8.20493 12.6978C8.60918 12.5311 9.01605 12.3758 9.20724 12.1841C9.3993 11.9938 9.38486 11.6688 9.18843 11.4723Z" fill="#F2AB6D"/>
11
+ <path d="M12.324 3.52077C11.9407 3.90358 11.9407 4.52395 12.324 4.90677L13.7095 6.29277C14.0928 6.67514 14.7132 6.67514 15.0955 6.29277L16.482 4.90677C16.8643 4.52395 16.8643 3.90358 16.482 3.52077L15.0955 2.13477C14.7132 1.75195 14.0928 1.75195 13.7095 2.13477L12.324 3.52077Z" fill="#F05046"/>
12
+ <path d="M6.43394 9.41124L7.82081 10.7981L9.2055 12.1832L14.4034 6.98617L11.631 4.21417L6.43394 9.41124Z" fill="#FFC700"/>
13
+ <path d="M6.19289 13.3168C6.19289 13.3168 5.29164 13.8125 5.04839 13.5688C4.8047 13.3247 5.30257 12.4265 5.30257 12.4265C5.30257 12.4265 6.15614 12.4423 6.19289 13.3168Z" fill="#363644"/>
14
+ <path d="M11.631 4.21376L13.3635 2.48126L16.1355 5.2537L14.403 6.9862L11.631 4.21376Z" fill="#D1D1D3"/>
15
+ <path d="M12.67 3.17383L13.0165 2.82733L15.7885 5.59889L15.442 5.94539L12.67 3.17383ZM11.9775 3.86683L12.3235 3.52077L15.0955 6.29233L14.749 6.63883L11.9775 3.86683Z" fill="#AAAAB7"/>
16
+ </svg>
@@ -1,3 +1,4 @@
1
- <svg width="52" height="20" viewBox="0 0 52 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10.1111 0C12.4319 0 14.3096 2.00513 14.3096 4.47179V7.08718H20.2222L17.8774 20H2.41704L0 7.08718H5.91259V4.47179C5.90778 2.00513 7.79037 0 10.1111 0ZM37.8396 11.1795V15.7026H27.95V16.6462H38.1622V18.4615H25.7015V13.9231H35.6104V12.9795H25.7015V11.1795H37.8396ZM52 3.07692V18.4615H49.8574V3.07692H52ZM48.7404 3.14872V18.2821H46.6315V10.7692H44.6237V8.61539H46.6315V3.14872H48.7404ZM45.6493 3.32821V5.48205H43.5067C43.497 6.08718 43.4778 6.68205 43.4489 7.26154C43.42 7.84103 43.3767 8.40513 43.3237 8.95385C43.6367 10.2718 44.0652 11.5846 44.6044 12.8872C45.1437 14.1949 45.7937 15.4 46.5448 16.5026C46.3859 16.6 46.2319 16.6974 46.0826 16.7949C45.9285 16.8974 45.7793 16.9949 45.6348 17.0872C45.4904 17.1846 45.3411 17.2769 45.187 17.3744C45.033 17.4718 44.8837 17.559 44.7393 17.641C44.3252 16.9897 43.9352 16.2769 43.5741 15.5026C43.213 14.7282 42.8952 13.9436 42.6111 13.1333C42.3993 13.9897 42.1344 14.8205 41.8263 15.6256C41.5182 16.4308 41.157 17.2205 40.7526 17.9949L38.7448 17.1949C39.2167 16.3026 39.6163 15.4103 39.9437 14.5128C40.2711 13.6154 40.5359 12.6923 40.7381 11.7436C40.95 10.7949 41.1089 9.80513 41.2004 8.77949C41.2967 7.75385 41.3544 6.65128 41.3785 5.47692H39.3852V3.32308H45.6493V3.32821ZM13.5296 9.95897H7.00074V12.1538H9.80296L6.69259 17.0462H13.3033V14.8513H10.5011L13.5296 9.95897ZM32.2207 3.32821V4.68205C32.2207 5.53846 32.0426 6.31795 31.6815 7.02564C31.3204 7.73333 30.8341 8.34872 30.213 8.86667C29.5822 9.4 28.8504 9.8359 28.0174 10.1641C27.1844 10.4974 26.2889 10.7077 25.3307 10.8051L25.1285 10.3436C25.0611 10.1897 24.9985 10.0359 24.9407 9.88205L24.7385 9.42051C24.6711 9.26667 24.6085 9.11282 24.5507 8.95897C25.2152 8.89744 25.8459 8.77436 26.4478 8.58462C27.0496 8.39487 27.5889 8.15385 28.0607 7.85641C28.547 7.54872 28.9467 7.18462 29.2693 6.76923C29.5919 6.35385 29.8085 5.88718 29.9193 5.3641H25.2248V3.32821H32.2207ZM37.8396 3.07692V10.4821H35.6104V9.48718H32.4711V7.57949H35.6104V6.40513H32.6204V4.51795H35.6104V3.07692H37.8396ZM10.1111 2.19487C8.94111 2.19487 7.98778 3.17436 7.93481 4.40513V4.51282V7.08718H12.2922V4.51282C12.2874 3.23077 11.31 2.19487 10.1111 2.19487Z" fill="#FF349C"/>
1
+ <svg width="39" height="16" viewBox="0 0 39 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M24.8396 8.60256V13.1256H14.95V14.0692H25.1622V15.8846H12.7015V11.3462H22.6104V10.4026H12.7015V8.60256H24.8396ZM39 0.5V15.8846H36.8574V0.5H39ZM35.7404 0.571795V15.7051H33.6315V8.19231H31.6237V6.03846H33.6315V0.571795H35.7404ZM32.6493 0.751282V2.90513H30.5067C30.497 3.51026 30.4778 4.10513 30.4489 4.68462C30.42 5.2641 30.3767 5.8282 30.3237 6.37692C30.6367 7.69487 31.0652 9.00769 31.6045 10.3103C32.1437 11.6179 32.7937 12.8231 33.5448 13.9256C33.3859 14.0231 33.2319 14.1205 33.0826 14.2179C32.9285 14.3205 32.7793 14.4179 32.6348 14.5103C32.4904 14.6077 32.3411 14.7 32.187 14.7974C32.033 14.8949 31.8837 14.9821 31.7393 15.0641C31.3252 14.4128 30.9352 13.7 30.5741 12.9256C30.213 12.1513 29.8952 11.3667 29.6111 10.5564C29.3993 11.4128 29.1345 12.2436 28.8263 13.0487C28.5182 13.8538 28.157 14.6436 27.7526 15.4179L25.7448 14.6179C26.2167 13.7256 26.6163 12.8333 26.9437 11.9359C27.2711 11.0385 27.5359 10.1154 27.7382 9.16667C27.95 8.21795 28.1089 7.22821 28.2004 6.20256C28.2967 5.17692 28.3545 4.07436 28.3785 2.9H26.3852V0.746154H32.6493V0.751282ZM19.2208 0.751282V2.10513C19.2208 2.96154 19.0426 3.74103 18.6815 4.44872C18.3204 5.15641 17.8341 5.7718 17.213 6.28974C16.5822 6.82308 15.8504 7.25897 15.0174 7.58718C14.1845 7.92051 13.2889 8.13077 12.3308 8.2282L12.1285 7.76667C12.0611 7.61282 11.9985 7.45897 11.9408 7.30513L11.7385 6.84359C11.6711 6.68974 11.6085 6.5359 11.5508 6.38205C12.2152 6.32051 12.8459 6.19744 13.4478 6.00769C14.0496 5.81795 14.5889 5.57692 15.0608 5.27949C15.547 4.97179 15.9467 4.60769 16.2693 4.19231C16.5919 3.77692 16.8085 3.31026 16.9193 2.78718H12.2248V0.751282H19.2208ZM24.8396 0.5V7.90513H22.6104V6.91026H19.4711V5.00256H22.6104V3.8282H19.6204V1.94103H22.6104V0.5H24.8396Z" fill="#FA6EE3"/>
3
+ <path d="M0.197658 1.4231V4.69505H3.59342L0 15.4231H7.80195V12.1437H4.43267L8 1.4231H0.197658Z" fill="#FA6EE3"/>
3
4
  </svg>
@@ -3,6 +3,7 @@ import { DateRange } from 'react-day-picker';
3
3
  import { Duration } from 'date-fns';
4
4
  import { DatePickerBaseProps } from './DatePicker';
5
5
  export type DatePresetItem = {
6
+ id: number;
6
7
  label: string;
7
8
  range: [Date, Date];
8
9
  };
@@ -10,10 +11,15 @@ export type DatePreset = DatePresetItem[];
10
11
  export type Dates = DateRange;
11
12
  export interface DateRangePickerProps extends DatePickerBaseProps {
12
13
  /**
13
- * 좌측 DatePreset 사용 유무
14
+ * 좌측 팝오버 DatePreset 사용 유무
14
15
  * @default false
15
16
  */
16
17
  showDatePreset?: boolean;
18
+ /**
19
+ * RadioGroup DatePreset 사용 유무
20
+ * @default false
21
+ */
22
+ showRadioGroupDatePreset?: boolean;
17
23
  /**
18
24
  * [Dates Type](https://github.com/gpbl/react-day-picker/blob/master/packages/react-day-picker/src/types/Matchers.ts#L73)
19
25
  */
@@ -36,4 +42,4 @@ export interface DateRangePickerProps extends DatePickerBaseProps {
36
42
  numberOfMonths?: number;
37
43
  onChange?: (start: Dates['from'], end: Dates['to']) => void;
38
44
  }
39
- export declare const DateRangePicker: ({ width, error, disabled, className, showDatePreset, dates, maxDate, minDate, maxRange, numberOfMonths, showRemoveButton, opened: openProp, customDatePreset, onOpen, onClose, onChange, }: DateRangePickerProps) => JSX.Element;
45
+ export declare const DateRangePicker: ({ width, error, disabled, className, showDatePreset, showRadioGroupDatePreset, dates, maxDate, minDate, maxRange, numberOfMonths, showRemoveButton, opened: openProp, customDatePreset, onOpen, onClose, onChange, }: DateRangePickerProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<({ width, error, disabled, className, showDatePreset, dates, maxDate, minDate, maxRange, numberOfMonths, showRemoveButton, opened: openProp, customDatePreset, onOpen, onClose, onChange, }: import("./DateRangePicker").DateRangePickerProps) => JSX.Element>;
3
+ declare const _default: ComponentMeta<({ width, error, disabled, className, showDatePreset, showRadioGroupDatePreset, dates, maxDate, minDate, maxRange, numberOfMonths, showRemoveButton, opened: openProp, customDatePreset, onOpen, onClose, onChange, }: import("./DateRangePicker").DateRangePickerProps) => JSX.Element>;
4
4
  export default _default;
5
5
  export declare const Base: any;
6
6
  export declare const Disabled: any;
@@ -11,3 +11,5 @@ export declare const MinDate: any;
11
11
  export declare const MaxDate: any;
12
12
  export declare const MaxRange: any;
13
13
  export declare const WithDatePreset: any;
14
+ export declare const WithRadioGroupDatePreset: any;
15
+ export declare const WithAllDatePreset: any;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { DatePreset, DatePresetItem } from './DateRangePicker';
3
3
  export interface DateRangePresetProps {
4
- selected?: DatePresetItem['label'];
4
+ selected?: DatePresetItem['id'];
5
5
  items: DatePreset;
6
- onChange?: ({ label, range }: DatePresetItem) => void;
6
+ onChange?: ({ label, range, id }: DatePresetItem) => void;
7
7
  }
8
8
  export declare const DataRangePreset: ({ selected, items, onChange }: DateRangePresetProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from '.';
3
+ declare const SvgCheck18: ({ size, color, secondaryColor, ...props }: IconProps) => JSX.Element;
4
+ export default SvgCheck18;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from '.';
3
+ declare const SvgConfetti18: ({ size, color, secondaryColor, ...props }: IconProps) => JSX.Element;
4
+ export default SvgConfetti18;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from '.';
3
+ declare const SvgExcel18: ({ size, color, secondaryColor, ...props }: IconProps) => JSX.Element;
4
+ export default SvgExcel18;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from '.';
3
+ declare const SvgReturn18: ({ size, color, secondaryColor, ...props }: IconProps) => JSX.Element;
4
+ export default SvgReturn18;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from '.';
3
+ declare const SvgWrite18: ({ size, color, secondaryColor, ...props }: IconProps) => JSX.Element;
4
+ export default SvgWrite18;
@@ -45,6 +45,7 @@ export { default as IconCart24 } from './Cart24';
45
45
  export { default as IconCharge20 } from './Charge20';
46
46
  export { default as IconChargeCoupon20 } from './ChargeCoupon20';
47
47
  export { default as IconCheck14 } from './Check14';
48
+ export { default as IconCheck18 } from './Check18';
48
49
  export { default as IconCheck24 } from './Check24';
49
50
  export { default as IconCircleCard24 } from './CircleCard24';
50
51
  export { default as IconCircleCheckFill16 } from './CircleCheckFill16';
@@ -57,6 +58,7 @@ export { default as IconClick18 } from './Click18';
57
58
  export { default as IconClock16 } from './Clock16';
58
59
  export { default as IconCloseMedium24 } from './CloseMedium24';
59
60
  export { default as IconCloseSmall16 } from './CloseSmall16';
61
+ export { default as IconConfetti18 } from './Confetti18';
60
62
  export { default as IconContract24 } from './Contract24';
61
63
  export { default as IconCopy14 } from './Copy14';
62
64
  export { default as IconCoupon18 } from './Coupon18';
@@ -77,6 +79,7 @@ export { default as IconEmail18 } from './Email18';
77
79
  export { default as IconEmptyNoti50 } from './EmptyNoti50';
78
80
  export { default as IconError16 } from './Error16';
79
81
  export { default as IconExcel16 } from './Excel16';
82
+ export { default as IconExcel18 } from './Excel18';
80
83
  export { default as IconExchange24 } from './Exchange24';
81
84
  export { default as IconExhibition24 } from './Exhibition24';
82
85
  export { default as IconEyeOff16 } from './EyeOff16';
@@ -146,6 +149,7 @@ export { default as IconQuestion24 } from './Question24';
146
149
  export { default as IconRanking18 } from './Ranking18';
147
150
  export { default as IconRefresh14 } from './Refresh14';
148
151
  export { default as IconRefund24 } from './Refund24';
152
+ export { default as IconReturn18 } from './Return18';
149
153
  export { default as IconSearch14 } from './Search14';
150
154
  export { default as IconShop72 } from './Shop72';
151
155
  export { default as IconSluggishSales16 } from './SluggishSales16';
@@ -173,6 +177,7 @@ export { default as IconVideo24 } from './Video24';
173
177
  export { default as IconVvip18 } from './Vvip18';
174
178
  export { default as IconWarning24 } from './Warning24';
175
179
  export { default as IconWon16 } from './Won16';
180
+ export { default as IconWrite18 } from './Write18';
176
181
  export { default as IconYouTube16 } from './YouTube16';
177
182
  export { default as IconZigzag16 } from './Zigzag16';
178
183
  export { default as IconZigzagCan16 } from './ZigzagCan16';