kahuna-base-react-components 1.4.4 → 1.4.6
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/dist/components/KSelectDate/KSelectDate.d.ts +3 -0
- package/dist/components/KSelectRangeDate/KSelectRangeDate.d.ts +1 -0
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/languages/index.d.ts +2 -0
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
- package/src/components/KButton/KButton.stories.tsx +1 -1
- package/src/components/KSelectDate/KSelectDate.stories.tsx +17 -1
- package/src/components/KSelectDate/KSelectDate.tsx +14 -0
- package/src/components/KSelectRangeDate/KSelectRangeDate.tsx +99 -30
- package/src/languages/en.json +1 -0
- package/src/languages/tr.json +1 -0
- package/dist/components/KButton/KButton.stories.d.ts +0 -10
- package/dist/components/KCodeInput/KCodeInput.stories.d.ts +0 -7
- package/dist/components/KDropdown/KDropdown.stories.d.ts +0 -9
- package/dist/components/KInput/KInput.stories.d.ts +0 -10
- package/dist/components/KLogo/KLogo.stories.d.ts +0 -6
- package/dist/components/KSelectDate/KSelectDate.stories.d.ts +0 -6
- package/dist/components/KSelectRange/KSelectRange.stories.d.ts +0 -7
- package/dist/components/KSelectRangeDate/KSelectRangeDate.stories.d.ts +0 -8
- package/dist/components/KSlider/KSlider.stories.d.ts +0 -5
- package/dist/components/KSliderLabel/KSliderLabel.stories.d.ts +0 -6
- package/dist/components/KSpan/KSpan.stories.d.ts +0 -5
- package/dist/components/KTextArea/KTextArea.stories.d.ts +0 -8
- package/dist/components/KTitleSpan/KTitleSpan.stories.d.ts +0 -6
- package/dist/components/KTooltip/KTooltip.stories.d.ts +0 -6
|
@@ -28,6 +28,7 @@ export declare const getLanguageJson: () => {
|
|
|
28
28
|
last_fourteen_days: string;
|
|
29
29
|
last_twenty_eight_days: string;
|
|
30
30
|
last_month: string;
|
|
31
|
+
last_two_months: string;
|
|
31
32
|
last_three_months: string;
|
|
32
33
|
last_six_months: string;
|
|
33
34
|
last_twelve_months: string;
|
|
@@ -67,6 +68,7 @@ export declare const lang: {
|
|
|
67
68
|
last_fourteen_days: string;
|
|
68
69
|
last_twenty_eight_days: string;
|
|
69
70
|
last_month: string;
|
|
71
|
+
last_two_months: string;
|
|
70
72
|
last_three_months: string;
|
|
71
73
|
last_six_months: string;
|
|
72
74
|
last_twelve_months: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -250,6 +250,9 @@ interface KSelectDateProps {
|
|
|
250
250
|
isTileDisabled?: TileDisabledFunc;
|
|
251
251
|
applyUndefinedValue?: boolean;
|
|
252
252
|
buttonText?: string;
|
|
253
|
+
open?: boolean;
|
|
254
|
+
setOpen?: (open: boolean) => void;
|
|
255
|
+
onCancel?: () => void;
|
|
253
256
|
}
|
|
254
257
|
declare const KSelectDate: React.FC<KSelectDateProps>;
|
|
255
258
|
|
|
@@ -347,6 +350,7 @@ interface KSelectRangeDateProps {
|
|
|
347
350
|
popupCalendarBackground?: string;
|
|
348
351
|
hideBackdrop?: boolean;
|
|
349
352
|
weeklyMode?: boolean;
|
|
353
|
+
includeLastYear?: boolean;
|
|
350
354
|
shorthandEndDateOffsetDays?: number;
|
|
351
355
|
weeklyModeStartDay?: number;
|
|
352
356
|
}
|
package/package.json
CHANGED
|
@@ -15,9 +15,15 @@ export default {
|
|
|
15
15
|
|
|
16
16
|
const KSelectDateWrapper: React.FC<KSelectDateProps> = (args) => {
|
|
17
17
|
const [selectedDate, setSelectedDate] = useState<Date | undefined>(undefined)
|
|
18
|
+
const [open, setOpen] = useState<boolean>(false)
|
|
18
19
|
useEffect(() => {
|
|
19
20
|
// console.log("selectedDate: ", selectedDate)
|
|
20
21
|
}, [selectedDate])
|
|
22
|
+
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
console.log("open: ", open)
|
|
25
|
+
}, [open])
|
|
26
|
+
|
|
21
27
|
const periods = [
|
|
22
28
|
{ value: "202401", label: "202401" },
|
|
23
29
|
{ value: "202402", label: "202402" },
|
|
@@ -59,7 +65,12 @@ const KSelectDateWrapper: React.FC<KSelectDateProps> = (args) => {
|
|
|
59
65
|
/>
|
|
60
66
|
<KSelectDate
|
|
61
67
|
{...args}
|
|
68
|
+
key={selectedDate?.toString()}
|
|
62
69
|
value={selectedDate}
|
|
70
|
+
open={open}
|
|
71
|
+
setOpen={setOpen}
|
|
72
|
+
hideBody
|
|
73
|
+
hideBackdrop
|
|
63
74
|
onChange={(date) => {
|
|
64
75
|
// console.log("date: ", date)
|
|
65
76
|
if (date) {
|
|
@@ -71,10 +82,15 @@ const KSelectDateWrapper: React.FC<KSelectDateProps> = (args) => {
|
|
|
71
82
|
// console.log("Deleting is completed")
|
|
72
83
|
}
|
|
73
84
|
}}
|
|
85
|
+
onCancel={() => {
|
|
86
|
+
console.log("close:::")
|
|
87
|
+
}}
|
|
74
88
|
anchorToButton
|
|
75
89
|
/>
|
|
76
90
|
</div>
|
|
77
|
-
<div
|
|
91
|
+
<div className="cursor-pointer" onClick={() => {
|
|
92
|
+
setOpen(true)
|
|
93
|
+
}}>Deneme Butonu</div>
|
|
78
94
|
</div>
|
|
79
95
|
)
|
|
80
96
|
}
|
|
@@ -36,6 +36,9 @@ export interface KSelectDateProps {
|
|
|
36
36
|
isTileDisabled?: TileDisabledFunc
|
|
37
37
|
applyUndefinedValue?: boolean // if this prop's value is false, makes the Apply button disabled when chosen date is undefined
|
|
38
38
|
buttonText?: string
|
|
39
|
+
open?: boolean // Use open and setOpen props together. Opens the calendar without requiring a click on the calendar icon.
|
|
40
|
+
setOpen?: (open: boolean) => void // Use open and setOpen props together.
|
|
41
|
+
onCancel?: () => void
|
|
39
42
|
}
|
|
40
43
|
interface MonthSelectorType {
|
|
41
44
|
monthName: string
|
|
@@ -70,6 +73,13 @@ const KSelectDate: React.FC<KSelectDateProps> = (props) => {
|
|
|
70
73
|
const [weekDays, setWeekDays] = useState<DaySelectorType[]>([])
|
|
71
74
|
const [openCalendar, setOpenCalendar] = useState<boolean>(false)
|
|
72
75
|
|
|
76
|
+
useEffect(() => {
|
|
77
|
+
if (props.open) {
|
|
78
|
+
setOpenCalendar(true) // Used only to open the calendar. The Cancel and Apply buttons handle closing it.
|
|
79
|
+
setCalendarDate(value)
|
|
80
|
+
}
|
|
81
|
+
}, [props.open])
|
|
82
|
+
|
|
73
83
|
const onlyMonthSelection = props.onlyMonthSelection || false
|
|
74
84
|
const hideBody = props.hideBody || false
|
|
75
85
|
|
|
@@ -170,6 +180,8 @@ const KSelectDate: React.FC<KSelectDateProps> = (props) => {
|
|
|
170
180
|
textColor="#111"
|
|
171
181
|
onClick={() => {
|
|
172
182
|
setOpenCalendar(false)
|
|
183
|
+
if (props.setOpen) props.setOpen(false)
|
|
184
|
+
if (props.onCancel) props.onCancel()
|
|
173
185
|
}}
|
|
174
186
|
/>
|
|
175
187
|
<KButton
|
|
@@ -182,6 +194,7 @@ const KSelectDate: React.FC<KSelectDateProps> = (props) => {
|
|
|
182
194
|
onClick={() => {
|
|
183
195
|
setValue(calendarDate)
|
|
184
196
|
setOpenCalendar(false)
|
|
197
|
+
if (props.setOpen) props.setOpen(false)
|
|
185
198
|
}}
|
|
186
199
|
/>
|
|
187
200
|
</div>
|
|
@@ -400,6 +413,7 @@ const KSelectDate: React.FC<KSelectDateProps> = (props) => {
|
|
|
400
413
|
onClick={() => {
|
|
401
414
|
if (openCalendar) {
|
|
402
415
|
setOpenCalendar(false)
|
|
416
|
+
if (props.setOpen) props.setOpen(false)
|
|
403
417
|
} else {
|
|
404
418
|
setOpenCalendar(true)
|
|
405
419
|
setCalendarDate(value)
|
|
@@ -32,6 +32,7 @@ export interface KSelectRangeDateProps {
|
|
|
32
32
|
popupCalendarBackground?: string
|
|
33
33
|
hideBackdrop?: boolean
|
|
34
34
|
weeklyMode?: boolean
|
|
35
|
+
includeLastYear?: boolean
|
|
35
36
|
shorthandEndDateOffsetDays?: number
|
|
36
37
|
weeklyModeStartDay?: number // Day the weekly range should start from (0=Sun...6=Sat); defaults to a rolling 7-day range if unset.
|
|
37
38
|
}
|
|
@@ -115,7 +116,6 @@ const KSelectRangeDate: React.FC<KSelectRangeDateProps> = (props) => {
|
|
|
115
116
|
|
|
116
117
|
const delta = props.shorthandEndDateOffsetDays ?? 0
|
|
117
118
|
|
|
118
|
-
|
|
119
119
|
const endDate = new Date(year, month, day - delta)
|
|
120
120
|
const startDate = new Date(year, month, day - delta - (range - 1))
|
|
121
121
|
setRange([startDate, endDate])
|
|
@@ -303,7 +303,7 @@ const KSelectRangeDate: React.FC<KSelectRangeDateProps> = (props) => {
|
|
|
303
303
|
<div className="flex flex-row">
|
|
304
304
|
{!props.weeklyMode && (
|
|
305
305
|
<div
|
|
306
|
-
className="w-[160px] bg-[#FFF] flex flex-col items-center gap-2 justify-start px-2.5 pt-5 pb-4 border-r-0"
|
|
306
|
+
className="w-[160px] bg-[#FFF] flex flex-col items-center gap-2 justify-start px-2.5 pt-5 pb-4 border-r-0 overflow-y-auto"
|
|
307
307
|
style={{
|
|
308
308
|
border: "1px solid #F3F3F3",
|
|
309
309
|
borderRightWidth: "0px",
|
|
@@ -311,34 +311,39 @@ const KSelectRangeDate: React.FC<KSelectRangeDateProps> = (props) => {
|
|
|
311
311
|
borderBottomLeftRadius: "16px"
|
|
312
312
|
}}
|
|
313
313
|
>
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
314
|
+
{!props.includeLastYear && (
|
|
315
|
+
<KButton
|
|
316
|
+
onClick={() => {
|
|
317
|
+
shorthandDateSelection(2)
|
|
318
|
+
setShorthandIndex({ ...shorthandIndex, current: 0 })
|
|
319
|
+
}}
|
|
320
|
+
width="140px"
|
|
321
|
+
background={shorthandIndex.current === 0 ? "#F7F7F7" : "#FFF"}
|
|
322
|
+
textColor={shorthandIndex.current === 0 ? "#000" : "#999"}
|
|
323
|
+
text={lang.button_text.yesterday}
|
|
324
|
+
borderRadius={8}
|
|
325
|
+
shadowDisabled
|
|
326
|
+
hoverBackground="#F0F0F0"
|
|
327
|
+
height="40px"
|
|
328
|
+
/>
|
|
329
|
+
)}
|
|
330
|
+
{!props.includeLastYear && (
|
|
331
|
+
<KButton
|
|
332
|
+
onClick={() => {
|
|
333
|
+
shorthandDateSelection(3)
|
|
334
|
+
setShorthandIndex({ ...shorthandIndex, current: 1 })
|
|
335
|
+
}}
|
|
336
|
+
width="140px"
|
|
337
|
+
background={shorthandIndex.current === 1 ? "#F7F7F7" : "#FFF"}
|
|
338
|
+
textColor={shorthandIndex.current === 1 ? "#000" : "#999"}
|
|
339
|
+
text={lang.button_text.last_three_days}
|
|
340
|
+
borderRadius={8}
|
|
341
|
+
shadowDisabled
|
|
342
|
+
hoverBackground="#F0F0F0"
|
|
343
|
+
height="40px"
|
|
344
|
+
/>
|
|
345
|
+
)}
|
|
346
|
+
|
|
342
347
|
<KButton
|
|
343
348
|
onClick={() => {
|
|
344
349
|
shorthandDateSelection(7)
|
|
@@ -381,6 +386,70 @@ const KSelectRangeDate: React.FC<KSelectRangeDateProps> = (props) => {
|
|
|
381
386
|
hoverBackground="#F0F0F0"
|
|
382
387
|
height="40px"
|
|
383
388
|
/>
|
|
389
|
+
{props.includeLastYear && (
|
|
390
|
+
<KButton
|
|
391
|
+
onClick={() => {
|
|
392
|
+
shorthandDateSelection(60)
|
|
393
|
+
setShorthandIndex({ ...shorthandIndex, current: 5 })
|
|
394
|
+
}}
|
|
395
|
+
width="140px"
|
|
396
|
+
background={shorthandIndex.current === 5 ? "#F7F7F7" : "#FFF"}
|
|
397
|
+
textColor={shorthandIndex.current === 5 ? "#000" : "#999"}
|
|
398
|
+
text={lang.button_text.last_two_months}
|
|
399
|
+
borderRadius={8}
|
|
400
|
+
shadowDisabled
|
|
401
|
+
hoverBackground="#F0F0F0"
|
|
402
|
+
height="40px"
|
|
403
|
+
/>
|
|
404
|
+
)}
|
|
405
|
+
{props.includeLastYear && (
|
|
406
|
+
<KButton
|
|
407
|
+
onClick={() => {
|
|
408
|
+
shorthandDateSelection(90)
|
|
409
|
+
setShorthandIndex({ ...shorthandIndex, current: 6 })
|
|
410
|
+
}}
|
|
411
|
+
width="140px"
|
|
412
|
+
background={shorthandIndex.current === 6 ? "#F7F7F7" : "#FFF"}
|
|
413
|
+
textColor={shorthandIndex.current === 6 ? "#000" : "#999"}
|
|
414
|
+
text={lang.button_text.last_three_months}
|
|
415
|
+
borderRadius={8}
|
|
416
|
+
shadowDisabled
|
|
417
|
+
hoverBackground="#F0F0F0"
|
|
418
|
+
height="40px"
|
|
419
|
+
/>
|
|
420
|
+
)}
|
|
421
|
+
{props.includeLastYear && (
|
|
422
|
+
<KButton
|
|
423
|
+
onClick={() => {
|
|
424
|
+
shorthandDateSelection(180)
|
|
425
|
+
setShorthandIndex({ ...shorthandIndex, current: 7 })
|
|
426
|
+
}}
|
|
427
|
+
width="140px"
|
|
428
|
+
background={shorthandIndex.current === 7 ? "#F7F7F7" : "#FFF"}
|
|
429
|
+
textColor={shorthandIndex.current === 7 ? "#000" : "#999"}
|
|
430
|
+
text={lang.button_text.last_six_months}
|
|
431
|
+
borderRadius={8}
|
|
432
|
+
shadowDisabled
|
|
433
|
+
hoverBackground="#F0F0F0"
|
|
434
|
+
height="40px"
|
|
435
|
+
/>
|
|
436
|
+
)}
|
|
437
|
+
{props.includeLastYear && (
|
|
438
|
+
<KButton
|
|
439
|
+
onClick={() => {
|
|
440
|
+
shorthandDateSelection(365)
|
|
441
|
+
setShorthandIndex({ ...shorthandIndex, current: 8 })
|
|
442
|
+
}}
|
|
443
|
+
width="140px"
|
|
444
|
+
background={shorthandIndex.current === 8 ? "#F7F7F7" : "#FFF"}
|
|
445
|
+
textColor={shorthandIndex.current === 8 ? "#000" : "#999"}
|
|
446
|
+
text={lang.button_text.last_twelve_months}
|
|
447
|
+
borderRadius={8}
|
|
448
|
+
shadowDisabled
|
|
449
|
+
hoverBackground="#F0F0F0"
|
|
450
|
+
height="40px"
|
|
451
|
+
/>
|
|
452
|
+
)}
|
|
384
453
|
</div>
|
|
385
454
|
)}
|
|
386
455
|
<div
|
package/src/languages/en.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"last_fourteen_days": "Last 14 days",
|
|
27
27
|
"last_twenty_eight_days": "Last 28 days",
|
|
28
28
|
"last_month": "Last Month",
|
|
29
|
+
"last_two_months": "Last 2 months",
|
|
29
30
|
"last_three_months": "Last 3 months",
|
|
30
31
|
"last_six_months": "Last 6 months",
|
|
31
32
|
"last_twelve_months": "Last 12 months",
|
package/src/languages/tr.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KButton from "./KButton";
|
|
3
|
-
declare const _default: Meta<typeof KButton>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KButtonText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KButton").KButtonProps>;
|
|
6
|
-
export declare const KButtonIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KButton").KButtonProps>;
|
|
7
|
-
export declare const KButtonLeftIconText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KButton").KButtonProps>;
|
|
8
|
-
export declare const KButtonRightIconText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KButton").KButtonProps>;
|
|
9
|
-
export declare const KButtonLeftRightIconText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KButton").KButtonProps>;
|
|
10
|
-
export declare const KButtonLeftRightMiddleIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KButton").KButtonProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KCodeInput, { KCodeInputProps } from "./KCodeInput";
|
|
3
|
-
declare const _default: Meta<typeof KCodeInput>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KCodeInputPrimary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KCodeInputProps>;
|
|
6
|
-
export declare const KCodeInputSecondary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KCodeInputProps>;
|
|
7
|
-
export declare const KCodeInputDefault: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KCodeInputProps>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KDropdown, { KDropdownProps } from "./KDropdown";
|
|
3
|
-
declare const _default: Meta<typeof KDropdown>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KDropdownSingle: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KDropdownProps>;
|
|
6
|
-
export declare const KDropdownMulti: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KDropdownProps>;
|
|
7
|
-
export declare const KDropdownLeftIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KDropdownProps>;
|
|
8
|
-
export declare const KDropdownRightIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KDropdownProps>;
|
|
9
|
-
export declare const KDropdownLeftRightIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KDropdownProps>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KInput, { KInputProps } from "./KInput";
|
|
3
|
-
declare const _default: Meta<typeof KInput>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KInputPrimary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KInputProps>;
|
|
6
|
-
export declare const KInputRange: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KInputProps>;
|
|
7
|
-
export declare const KInputCheckbox: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KInputProps>;
|
|
8
|
-
export declare const KInputLeftIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KInputProps>;
|
|
9
|
-
export declare const KInputRightIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KInputProps>;
|
|
10
|
-
export declare const KInputLeftRightIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KInputProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KLogo from "./KLogo";
|
|
3
|
-
declare const _default: Meta<typeof KLogo>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KLogoText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KLogo").KLogoProps>;
|
|
6
|
-
export declare const KLogoHover: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KLogo").KLogoProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KSelectDate, { KSelectDateProps } from "./KSelectDate";
|
|
3
|
-
declare const _default: Meta<typeof KSelectDate>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KSelectDatePrimary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KSelectDateProps>;
|
|
6
|
-
export declare const KSelectDateHoverText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KSelectDateProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KSelectRange, { KSelectRangeProps } from "./KSelectRange";
|
|
3
|
-
declare const _default: Meta<typeof KSelectRange>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KSelectRangePrimary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KSelectRangeProps>;
|
|
6
|
-
export declare const KSelectRangeMinimumDate: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KSelectRangeProps>;
|
|
7
|
-
export declare const KSelectRangeHoverText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KSelectRangeProps>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KSelectRangeDate, { KSelectRangeDateProps } from "./KSelectRangeDate";
|
|
3
|
-
declare const _default: Meta<typeof KSelectRangeDate>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KSelectRangePrimary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KSelectRangeDateProps>;
|
|
6
|
-
export declare const KSelectRangeWeekly: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KSelectRangeDateProps>;
|
|
7
|
-
export declare const KSelectRangeDateMinimumDate: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KSelectRangeDateProps>;
|
|
8
|
-
export declare const KSelectRangeHoverText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KSelectRangeDateProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KSlider from "./KSlider";
|
|
3
|
-
declare const _default: Meta<typeof KSlider>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KSliderPrimary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KSlider").KSliderProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KSliderLabel, { SliderLabelProps } from "./KSliderLabel";
|
|
3
|
-
declare const _default: Meta<typeof KSliderLabel>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KSliderLabelPrimary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SliderLabelProps>;
|
|
6
|
-
export declare const KSliderLabelHoverText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SliderLabelProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KSpan, { KSpanProps } from "./KSpan";
|
|
3
|
-
declare const _default: Meta<typeof KSpan>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KSpanPrimary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KSpanProps>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KTextArea from "./KTextArea";
|
|
3
|
-
declare const _default: Meta<typeof KTextArea>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KTextAreaPrimary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KTextArea").KTextAreaProps>;
|
|
6
|
-
export declare const KTextAreaLeftIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KTextArea").KTextAreaProps>;
|
|
7
|
-
export declare const KTextAreaRightIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KTextArea").KTextAreaProps>;
|
|
8
|
-
export declare const KTextAreaLeftRightIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./KTextArea").KTextAreaProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KTitleSpan, { KTitleSpanProps } from "./KTitleSpan";
|
|
3
|
-
declare const _default: Meta<typeof KTitleSpan>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KTitleSpanPrimary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KTitleSpanProps>;
|
|
6
|
-
export declare const KTitleSpanSecondary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KTitleSpanProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import KTooltip, { KTooltipProps } from "./KTooltip";
|
|
3
|
-
declare const _default: Meta<typeof KTooltip>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const KTooltipPrimary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KTooltipProps>;
|
|
6
|
-
export declare const KTooltipSecondary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, KTooltipProps>;
|