beyond-system 0.8.5 → 0.8.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/colors/base-colors.d.ts +51 -0
- package/dist/colors/base-colors.d.ts.map +1 -0
- package/dist/colors/gradients.d.ts +8 -0
- package/dist/colors/gradients.d.ts.map +1 -0
- package/dist/colors/index.d.ts +4 -0
- package/dist/colors/index.d.ts.map +1 -0
- package/dist/colors/shadows.d.ts +8 -0
- package/dist/colors/shadows.d.ts.map +1 -0
- package/dist/components/react/Calendar/Calendar.d.ts +6 -0
- package/dist/components/react/Calendar/Calendar.d.ts.map +1 -0
- package/dist/components/react/Calendar/index.d.ts +2 -0
- package/dist/components/react/Calendar/index.d.ts.map +1 -0
- package/dist/components/react/Checkbox/Checkbox.d.ts +10 -0
- package/dist/components/react/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/react/Checkbox/index.d.ts +2 -0
- package/dist/components/react/Checkbox/index.d.ts.map +1 -0
- package/dist/components/react/Chip/Chip.d.ts +12 -0
- package/dist/components/react/Chip/Chip.d.ts.map +1 -0
- package/dist/components/react/Chip/index.d.ts +2 -0
- package/dist/components/react/Chip/index.d.ts.map +1 -0
- package/dist/components/react/DatePicker/DatePicker.d.ts +16 -0
- package/dist/components/react/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/react/DatePicker/index.d.ts +2 -0
- package/dist/components/react/DatePicker/index.d.ts.map +1 -0
- package/dist/components/react/DateRangeCalendar/DateRangeCalendar.d.ts +5 -0
- package/dist/components/react/DateRangeCalendar/DateRangeCalendar.d.ts.map +1 -0
- package/dist/components/react/DateRangeCalendar/index.d.ts +2 -0
- package/dist/components/react/DateRangeCalendar/index.d.ts.map +1 -0
- package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.d.ts +5 -0
- package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.d.ts.map +1 -0
- package/dist/components/react/DateRangeCalendarWithPanel/index.d.ts +2 -0
- package/dist/components/react/DateRangeCalendarWithPanel/index.d.ts.map +1 -0
- package/dist/components/react/DateRangePicker/DateRangePicker.d.ts +26 -0
- package/dist/components/react/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/dist/components/react/DateRangePicker/index.d.ts +2 -0
- package/dist/components/react/DateRangePicker/index.d.ts.map +1 -0
- package/dist/components/react/DefaultButton/DefaultButton.d.ts +13 -0
- package/dist/components/react/DefaultButton/DefaultButton.d.ts.map +1 -0
- package/dist/components/react/DefaultButton/DefaultButton.styles.d.ts +16 -0
- package/dist/components/react/DefaultButton/DefaultButton.styles.d.ts.map +1 -0
- package/dist/components/react/DefaultButton/DefaultButton.variants.d.ts +46 -0
- package/dist/components/react/DefaultButton/DefaultButton.variants.d.ts.map +1 -0
- package/dist/components/react/DefaultButton/index.d.ts +2 -0
- package/dist/components/react/DefaultButton/index.d.ts.map +1 -0
- package/dist/components/react/IconButton/IconButton.d.ts +11 -0
- package/dist/components/react/IconButton/IconButton.d.ts.map +1 -0
- package/dist/components/react/IconButton/IconButton.styles.d.ts +14 -0
- package/dist/components/react/IconButton/IconButton.styles.d.ts.map +1 -0
- package/dist/components/react/IconButton/IconButton.variants.d.ts +37 -0
- package/dist/components/react/IconButton/IconButton.variants.d.ts.map +1 -0
- package/dist/components/react/IconButton/index.d.ts +2 -0
- package/dist/components/react/IconButton/index.d.ts.map +1 -0
- package/dist/components/react/List/List.js.map +1 -1
- package/dist/components/react/List/ListContainer.d.ts +4 -0
- package/dist/components/react/List/ListContainer.d.ts.map +1 -0
- package/dist/components/react/List/ListContainer.js +11 -0
- package/dist/components/react/List/ListContainer.js.map +1 -0
- package/dist/components/react/List/ListItem.d.ts +9 -0
- package/dist/components/react/List/ListItem.d.ts.map +1 -0
- package/dist/components/react/List/ListItem.js +19 -0
- package/dist/components/react/List/ListItem.js.map +1 -0
- package/dist/components/react/List/index.d.ts +7 -0
- package/dist/components/react/List/index.d.ts.map +1 -0
- package/dist/components/react/List/index.js +8 -6
- package/dist/components/react/List/index.js.map +1 -1
- package/dist/components/react/Loader/Loader.d.ts +12 -0
- package/dist/components/react/Loader/Loader.d.ts.map +1 -0
- package/dist/components/react/Loader/index.d.ts +4 -0
- package/dist/components/react/Loader/index.d.ts.map +1 -0
- package/dist/components/react/MonthPicker/MonthPicker.d.ts +16 -0
- package/dist/components/react/MonthPicker/MonthPicker.d.ts.map +1 -0
- package/dist/components/react/MonthPicker/index.d.ts +2 -0
- package/dist/components/react/MonthPicker/index.d.ts.map +1 -0
- package/dist/components/react/MultiSelect/MultiSelect.d.ts +9 -0
- package/dist/components/react/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/dist/components/react/MultiSelect/index.d.ts +2 -0
- package/dist/components/react/MultiSelect/index.d.ts.map +1 -0
- package/dist/components/react/OutlineButton/OutlineButton.d.ts +13 -0
- package/dist/components/react/OutlineButton/OutlineButton.d.ts.map +1 -0
- package/dist/components/react/OutlineButton/OutlineButton.styles.d.ts +13 -0
- package/dist/components/react/OutlineButton/OutlineButton.styles.d.ts.map +1 -0
- package/dist/components/react/OutlineButton/OutlineButton.variants.d.ts +37 -0
- package/dist/components/react/OutlineButton/OutlineButton.variants.d.ts.map +1 -0
- package/dist/components/react/OutlineButton/index.d.ts +2 -0
- package/dist/components/react/OutlineButton/index.d.ts.map +1 -0
- package/dist/components/react/RadioInput/RadioInput.d.ts +8 -0
- package/dist/components/react/RadioInput/RadioInput.d.ts.map +1 -0
- package/dist/components/react/RadioInput/RadioInput.styles.d.ts +15 -0
- package/dist/components/react/RadioInput/RadioInput.styles.d.ts.map +1 -0
- package/dist/components/react/RadioInput/RadioInput.variants.d.ts +22 -0
- package/dist/components/react/RadioInput/RadioInput.variants.d.ts.map +1 -0
- package/dist/components/react/RadioInput/index.d.ts +2 -0
- package/dist/components/react/RadioInput/index.d.ts.map +1 -0
- package/dist/components/react/Select/Select.d.ts +9 -0
- package/dist/components/react/Select/Select.d.ts.map +1 -0
- package/dist/components/react/Select/index.d.ts +2 -0
- package/dist/components/react/Select/index.d.ts.map +1 -0
- package/dist/components/react/Switch/Switch.d.ts +11 -0
- package/dist/components/react/Switch/Switch.d.ts.map +1 -0
- package/dist/components/react/Switch/Switch.styles.d.ts +14 -0
- package/dist/components/react/Switch/Switch.styles.d.ts.map +1 -0
- package/dist/components/react/Switch/Switch.variants.d.ts +18 -0
- package/dist/components/react/Switch/Switch.variants.d.ts.map +1 -0
- package/dist/components/react/Switch/index.d.ts +2 -0
- package/dist/components/react/Switch/index.d.ts.map +1 -0
- package/dist/components/react/TextArea/TextArea.d.ts +13 -0
- package/dist/components/react/TextArea/TextArea.d.ts.map +1 -0
- package/dist/components/react/TextArea/index.d.ts +2 -0
- package/dist/components/react/TextArea/index.d.ts.map +1 -0
- package/dist/components/react/TextInput/TextInput.d.ts +37 -0
- package/dist/components/react/TextInput/TextInput.d.ts.map +1 -0
- package/dist/components/react/TextInput/index.d.ts +2 -0
- package/dist/components/react/TextInput/index.d.ts.map +1 -0
- package/dist/components/react/TransparentButton/TransparentButton.d.ts +8 -0
- package/dist/components/react/TransparentButton/TransparentButton.d.ts.map +1 -0
- package/dist/components/react/TransparentButton/TransparentButton.styles.d.ts +11 -0
- package/dist/components/react/TransparentButton/TransparentButton.styles.d.ts.map +1 -0
- package/dist/components/react/TransparentButton/TransparentButton.variants.d.ts +33 -0
- package/dist/components/react/TransparentButton/TransparentButton.variants.d.ts.map +1 -0
- package/dist/components/react/TransparentButton/index.d.ts +2 -0
- package/dist/components/react/TransparentButton/index.d.ts.map +1 -0
- package/dist/components/react/index.d.ts +20 -0
- package/dist/components/react/index.d.ts.map +1 -0
- package/dist/config/index.d.ts +2 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/tailwind.config.d.ts +3 -0
- package/dist/config/tailwind.config.d.ts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/initialize.d.ts +4 -0
- package/dist/initialize.d.ts.map +1 -0
- package/dist/stories/base-colors/base-colors.stories.styles.d.ts +3 -0
- package/dist/stories/base-colors/base-colors.stories.styles.d.ts.map +1 -0
- package/dist/stories/gradients/gradients.stories.styles.d.ts +3 -0
- package/dist/stories/gradients/gradients.stories.styles.d.ts.map +1 -0
- package/dist/stories/shadows/shadows.stories.styles.d.ts +3 -0
- package/dist/stories/shadows/shadows.stories.styles.d.ts.map +1 -0
- package/dist/web/border.d.ts +13 -0
- package/dist/web/border.d.ts.map +1 -0
- package/dist/web/font.d.ts +35 -0
- package/dist/web/font.d.ts.map +1 -0
- package/dist/web/index.d.ts +3 -0
- package/dist/web/index.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const COLORS: {
|
|
2
|
+
PRIMARY: string;
|
|
3
|
+
SECONDARY: string;
|
|
4
|
+
TEXT_PRIMARY: string;
|
|
5
|
+
TEXT_SECONDARY: string;
|
|
6
|
+
TEXT_ACCENT: string;
|
|
7
|
+
GROWTH_DARK: string;
|
|
8
|
+
GROWTH_MID: string;
|
|
9
|
+
GROWTH_LIGHT: string;
|
|
10
|
+
GROWTH_LIGHTER: string;
|
|
11
|
+
NEUTRAL_LOW: string;
|
|
12
|
+
NEUTRAL_DARKER: string;
|
|
13
|
+
NEUTRAL_DARK: string;
|
|
14
|
+
NEUTRAL_MID: string;
|
|
15
|
+
NEUTRAL_LIGHT: string;
|
|
16
|
+
NEUTRAL_LIGHTER: string;
|
|
17
|
+
NEUTRAL_HIGH: string;
|
|
18
|
+
INFO_DARK: string;
|
|
19
|
+
INFO_MID: string;
|
|
20
|
+
ALERT_DARK: string;
|
|
21
|
+
ALERT_MID: string;
|
|
22
|
+
ATTENTION_DARK: string;
|
|
23
|
+
ATTENTION_MID: string;
|
|
24
|
+
NICE_DARK: string;
|
|
25
|
+
NICE_MID: string;
|
|
26
|
+
BETTER_DARK: string;
|
|
27
|
+
BETTER_MID: string;
|
|
28
|
+
DASHBOARD: {
|
|
29
|
+
CLOUDY_LIGHT: string;
|
|
30
|
+
CLOUDY_MID: string;
|
|
31
|
+
GRASS_LIGHT: string;
|
|
32
|
+
GRASS_MID: string;
|
|
33
|
+
STRAWBERRY_LIGHT: string;
|
|
34
|
+
STRAWBERRY_MID: string;
|
|
35
|
+
EVENING_LIGHT: string;
|
|
36
|
+
EVENING_MID: string;
|
|
37
|
+
BUBBLEGUM_LIGHT: string;
|
|
38
|
+
BUBBLEGUM_MID: string;
|
|
39
|
+
BLUEY_LIGHT: string;
|
|
40
|
+
BLUEY_MID: string;
|
|
41
|
+
SUNBEAM_LIGHT: string;
|
|
42
|
+
SUNBEAM_MID: string;
|
|
43
|
+
POOLPARTY_LIGHT: string;
|
|
44
|
+
POOLPARTY_MID: string;
|
|
45
|
+
LAVENDER_LIGHT: string;
|
|
46
|
+
LAVENDER_MID: string;
|
|
47
|
+
PUMPKIN_LIGHT: string;
|
|
48
|
+
PUMPKIN_MID: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=base-colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-colors.d.ts","sourceRoot":"","sources":["../../src/colors/base-colors.ts"],"names":[],"mappings":"AAuEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGlB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gradients.d.ts","sourceRoot":"","sources":["../../src/colors/gradients.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;CAQrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/colors/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../src/colors/shadows.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;CAQnB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Calendar as CalendarComponent } from 'react-date-range';
|
|
3
|
+
type Props = React.ComponentProps<typeof CalendarComponent>;
|
|
4
|
+
declare const Calendar: (props: Props) => JSX.Element;
|
|
5
|
+
export default Calendar;
|
|
6
|
+
//# sourceMappingURL=Calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Calendar/Calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAMhE,KAAK,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE3D,QAAA,MAAM,QAAQ,UAAW,KAAK,gBAY7B,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Calendar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import * as RadixCheckbox from '@radix-ui/react-checkbox';
|
|
3
|
+
type RootCheckboxProps = React.ComponentProps<typeof RadixCheckbox.Root>;
|
|
4
|
+
type CheckboxProps = {
|
|
5
|
+
size?: 'SM' | 'MD';
|
|
6
|
+
isErrored?: boolean;
|
|
7
|
+
} & RootCheckboxProps;
|
|
8
|
+
declare const Checkbox: ({ size, isErrored, ...props }: CheckboxProps) => JSX.Element;
|
|
9
|
+
export default Checkbox;
|
|
10
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAA;AAIzD,KAAK,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,CAAA;AACxE,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,GAAG,iBAAiB,CAAA;AAErB,QAAA,MAAM,QAAQ,kCAIX,aAAa,gBAkCf,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Checkbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
children: string;
|
|
3
|
+
shape?: 'square' | 'round';
|
|
4
|
+
variant?: 'primary' | 'neutral-darker' | 'neutral-dark' | 'neutral-light' | 'alert-mid' | 'attention-mid' | 'nice-mid' | 'better-mid';
|
|
5
|
+
outline?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
onRemove?: () => void;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
};
|
|
10
|
+
declare const Checkbox: ({ variant, shape, outline, disabled, onRemove, onClick, children, }: Props) => JSX.Element;
|
|
11
|
+
export default Checkbox;
|
|
12
|
+
//# sourceMappingURL=Chip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Chip/Chip.tsx"],"names":[],"mappings":"AAKA,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IAC1B,OAAO,CAAC,EACJ,SAAS,GACT,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,WAAW,GACX,eAAe,GACf,UAAU,GACV,YAAY,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA;AAED,QAAA,MAAM,QAAQ,wEAQX,KAAK,gBAyHP,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Calendar from '../Calendar';
|
|
3
|
+
interface DatePickerProps extends React.ComponentProps<typeof Calendar> {
|
|
4
|
+
fill?: boolean;
|
|
5
|
+
shape?: 'square' | 'round' | 'line' | 'none';
|
|
6
|
+
leftIcon?: boolean | React.ReactNode;
|
|
7
|
+
rightIcon?: boolean | React.ReactNode;
|
|
8
|
+
isValid?: boolean;
|
|
9
|
+
isErrored?: boolean;
|
|
10
|
+
paintLeftIcon?: boolean;
|
|
11
|
+
paintRightIcon?: boolean;
|
|
12
|
+
closeOnSelect?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const DatePicker: (props: DatePickerProps) => JSX.Element;
|
|
15
|
+
export default DatePicker;
|
|
16
|
+
//# sourceMappingURL=DatePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,QAAQ,MAAM,6BAA6B,CAAA;AAGlD,UAAU,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC;IACrE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;IAC5C,QAAQ,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC,SAAS,CAAA;IACpC,SAAS,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC,SAAS,CAAA;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,QAAA,MAAM,UAAU,UAAW,eAAe,gBA6DzC,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DatePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangeCalendar.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DateRangeCalendar/DateRangeCalendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAM5C,QAAA,MAAM,iBAAiB,UAAW,MAAM,cAAc,CAAC,gBAAgB,CAAC,gBAcvE,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DateRangeCalendar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DateRangePicker } from 'react-date-range';
|
|
3
|
+
declare const DateRangeCalendarWithPanel: (props: React.ComponentProps<typeof DateRangePicker>) => JSX.Element;
|
|
4
|
+
export default DateRangeCalendarWithPanel;
|
|
5
|
+
//# sourceMappingURL=DateRangeCalendarWithPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangeCalendarWithPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,eAAe,EAA2B,MAAM,kBAAkB,CAAA;AAM3E,QAAA,MAAM,0BAA0B,UACvB,MAAM,cAAc,CAAC,sBAAsB,CAAC,gBAkGpD,CAAA;AAED,eAAe,0BAA0B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DateRangeCalendarWithPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import moment from 'moment';
|
|
3
|
+
import { Range } from 'react-date-range';
|
|
4
|
+
import DateRangeCalendarWithPanel from '../DateRangeCalendarWithPanel';
|
|
5
|
+
type DateRangeCalendarProps = Omit<React.ComponentProps<typeof DateRangeCalendarWithPanel>, 'onChange'>;
|
|
6
|
+
interface DateRangePickerProps extends DateRangeCalendarProps {
|
|
7
|
+
fill?: boolean;
|
|
8
|
+
shape?: 'square' | 'round' | 'line' | 'none';
|
|
9
|
+
leftIcon?: boolean | React.ReactNode;
|
|
10
|
+
rightIcon?: boolean | React.ReactNode;
|
|
11
|
+
isValid?: boolean;
|
|
12
|
+
isErrored?: boolean;
|
|
13
|
+
paintLeftIcon?: boolean;
|
|
14
|
+
paintRightIcon?: boolean;
|
|
15
|
+
onChange: (r: Range & {
|
|
16
|
+
isSelecting: boolean;
|
|
17
|
+
}) => void;
|
|
18
|
+
range: {
|
|
19
|
+
startDate: moment.MomentInput;
|
|
20
|
+
endDate: moment.MomentInput;
|
|
21
|
+
};
|
|
22
|
+
closeOnSelect?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare const DateRangePicker: (props: DateRangePickerProps) => JSX.Element;
|
|
25
|
+
export default DateRangePicker;
|
|
26
|
+
//# sourceMappingURL=DateRangePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DateRangePicker/DateRangePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,MAAM,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAIxC,OAAO,0BAA0B,MAAM,+CAA+C,CAAA;AAGtF,KAAK,sBAAsB,GAAG,IAAI,CAChC,KAAK,CAAC,cAAc,CAAC,OAAO,0BAA0B,CAAC,EACvD,UAAU,CACX,CAAA;AAED,UAAU,oBAAqB,SAAQ,sBAAsB;IAC3D,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;IAC5C,QAAQ,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC,SAAS,CAAA;IACpC,SAAS,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC,SAAS,CAAA;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,GAAG;QAAE,WAAW,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAA;IACvD,KAAK,EAAE;QACL,SAAS,EAAE,MAAM,CAAC,WAAW,CAAA;QAC7B,OAAO,EAAE,MAAM,CAAC,WAAW,CAAA;KAC5B,CAAA;IACD,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,QAAA,MAAM,eAAe,UAAW,oBAAoB,gBA6EnD,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DateRangePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const DefaultButton: React.ForwardRefExoticComponent<{
|
|
3
|
+
text: string;
|
|
4
|
+
variant?: "primary" | "light" | "dark" | undefined;
|
|
5
|
+
size?: "SM" | "MD" | undefined;
|
|
6
|
+
shape?: "square" | "round" | undefined;
|
|
7
|
+
leftIcon?: React.ReactNode;
|
|
8
|
+
rightIcon?: React.ReactNode;
|
|
9
|
+
fullWidth?: boolean | undefined;
|
|
10
|
+
loading?: boolean | undefined;
|
|
11
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
export default DefaultButton;
|
|
13
|
+
//# sourceMappingURL=DefaultButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultButton.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DefaultButton/DefaultButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAmBzC,QAAA,MAAM,aAAa;UAVX,MAAM;;;;eAID,MAAM,SAAS;gBACd,MAAM,SAAS;;;2FAgD5B,CAAA;AAID,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type StyledButtonProps = {
|
|
2
|
+
padding: string;
|
|
3
|
+
color: string;
|
|
4
|
+
backgroundColor: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
fontSize: string;
|
|
8
|
+
gap: string;
|
|
9
|
+
hoverBackgroundColor: string;
|
|
10
|
+
activeBackgroundColor: string;
|
|
11
|
+
fullWidth: boolean;
|
|
12
|
+
loading: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const StyledButtonContainer: import("styled-components").StyledComponent<"button", any, StyledButtonProps, never>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=DefaultButton.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultButton.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DefaultButton/DefaultButton.styles.ts"],"names":[],"mappings":"AAGA,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,oBAAoB,EAAE,MAAM,CAAA;IAC5B,qBAAqB,EAAE,MAAM,CAAA;IAC7B,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,qBAAqB,sFA4FjC,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const DEFAULT_BUTTON_VARIANTS: {
|
|
2
|
+
color: {
|
|
3
|
+
primary: {
|
|
4
|
+
color: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
hoverBackgroundColor: string;
|
|
8
|
+
activeBackgroundColor: string;
|
|
9
|
+
};
|
|
10
|
+
light: {
|
|
11
|
+
color: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
backgroundColor: string;
|
|
14
|
+
hoverBackgroundColor: string;
|
|
15
|
+
activeBackgroundColor: string;
|
|
16
|
+
};
|
|
17
|
+
dark: {
|
|
18
|
+
color: string;
|
|
19
|
+
borderColor: string;
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
hoverBackgroundColor: string;
|
|
22
|
+
activeBackgroundColor: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
SM: {
|
|
27
|
+
fontSize: string;
|
|
28
|
+
padding: string;
|
|
29
|
+
gap: string;
|
|
30
|
+
};
|
|
31
|
+
MD: {
|
|
32
|
+
fontSize: string;
|
|
33
|
+
padding: string;
|
|
34
|
+
gap: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
shape: {
|
|
38
|
+
square: {
|
|
39
|
+
borderRadius: string;
|
|
40
|
+
};
|
|
41
|
+
round: {
|
|
42
|
+
borderRadius: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=DefaultButton.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultButton.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DefaultButton/DefaultButton.variants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CnC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/DefaultButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const IconButton: React.ForwardRefExoticComponent<{
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
variant?: "primary" | "light" | undefined;
|
|
5
|
+
size?: "SM" | "MD" | undefined;
|
|
6
|
+
shape?: "square" | "round" | undefined;
|
|
7
|
+
fullWidth?: boolean | undefined;
|
|
8
|
+
loading?: boolean | undefined;
|
|
9
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
export default IconButton;
|
|
11
|
+
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/react/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAiBzC,QAAA,MAAM,UAAU;cARJ,MAAM,SAAS;;;;;;2FAyC1B,CAAA;AAID,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type StyledButtonProps = {
|
|
2
|
+
padding: string;
|
|
3
|
+
color: string;
|
|
4
|
+
backgroundColor: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
fontSize: string;
|
|
8
|
+
hoverBackgroundColor: string;
|
|
9
|
+
activeBackgroundColor: string;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const StyledButtonContainer: import("styled-components").StyledComponent<"button", any, StyledButtonProps, never>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=IconButton.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/react/IconButton/IconButton.styles.ts"],"names":[],"mappings":"AAGA,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,qBAAqB,EAAE,MAAM,CAAA;IAC7B,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,qBAAqB,sFAkFjC,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const ICON_BUTTON_VARIANTS: {
|
|
2
|
+
color: {
|
|
3
|
+
primary: {
|
|
4
|
+
color: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
hoverBackgroundColor: string;
|
|
8
|
+
activeBackgroundColor: string;
|
|
9
|
+
};
|
|
10
|
+
light: {
|
|
11
|
+
color: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
backgroundColor: string;
|
|
14
|
+
hoverBackgroundColor: string;
|
|
15
|
+
activeBackgroundColor: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
SM: {
|
|
20
|
+
fontSize: string;
|
|
21
|
+
padding: string;
|
|
22
|
+
};
|
|
23
|
+
MD: {
|
|
24
|
+
fontSize: string;
|
|
25
|
+
padding: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
shape: {
|
|
29
|
+
square: {
|
|
30
|
+
borderRadius: string;
|
|
31
|
+
};
|
|
32
|
+
round: {
|
|
33
|
+
borderRadius: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=IconButton.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/react/IconButton/IconButton.variants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoChC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/IconButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../../../src/components/react/List/List.tsx"],"names":[],"mappings":";;;AAAA,qDAAyC;AACzC,sDAAuB;AAOvB,IAAM,aAAa,GAAG,IAAA,kBAAU,EAC9B,UACE,KAAkC,EAClC,GAAuC;IAEvC,OAAO,CACL,0DACM,KAAK,IACT,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,cAAI,EACb,iEAAiE,EACjE,kFAAkF,EAClF,KAAK,CAAC,SAAS,CAChB,IACD,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,aAAa,CAAC,WAAW,GAAG,eAAe,CAAA;AAE3C,IAAM,QAAQ,GAAG,IAAA,kBAAU,EACzB,UACE,EAAiD,EACjD,GAA0C;IADxC,IAAA,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAAE,EAAE,QAAA,EAAK,KAAK,sBAAhC,kBAAkC,CAAF;IAGhC,IAAM,SAAS,GAAG,CAAC,EAAE,IAAI,QAAQ,CAAsB,CAAA;IAEvD,OAAO,CACL,8BAAC,SAAS,uBACJ,KAAK,IACT,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,cAAI,EACb,sJAAsJ,EACtJ;YACE,2FAA2F,EACzF,CAAC,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ;YAC9B,qDAAqD,EACnD,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ;SAC9B,EACD;YACE,sCAAsC,EAAE,KAAK,CAAC,QAAQ;YACtD,iCAAiC,EAAE,KAAK,CAAC,QAAQ,IAAI,QAAQ;SAC9D,EACD,KAAK,CAAC,SAAS,CAChB,IACD,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAA;AAEjC,IAAM,IAAI,GAAG;IACX,SAAS,EAAE,aAAa;IACxB,IAAI,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../../../src/components/react/List/List.tsx"],"names":[],"mappings":";;;AAAA,qDAAyC;AACzC,sDAAuB;AAOvB,IAAM,aAAa,GAAG,IAAA,kBAAU,EAC9B,UACE,KAAkC,EAClC,GAAuC;IAEvC,OAAO,CACL,0DACM,KAAK,IACT,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,cAAI,EACb,iEAAiE,EACjE,kFAAkF,EAClF,KAAK,CAAC,SAAS,CAChB,IACD,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,aAAa,CAAC,WAAW,GAAG,eAAe,CAAA;AAE3C,IAAM,QAAQ,GAAG,IAAA,kBAAU,EACzB,UACE,EAAiD,EACjD,GAA0C;IADxC,IAAA,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAAE,EAAE,QAAA,EAAK,KAAK,sBAAhC,kBAAkC,CAAF;IAGhC,IAAM,SAAS,GAAG,CAAC,EAAE,IAAI,QAAQ,CAAsB,CAAA;IAEvD,OAAO,CACL,8BAAC,SAAS,uBACJ,KAAK,IACT,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,cAAI,EACb,sJAAsJ,EACtJ;YACE,2FAA2F,EACzF,CAAC,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ;YAC9B,qDAAqD,EACnD,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ;SAC9B,EACD;YACE,sCAAsC,EAAE,KAAK,CAAC,QAAQ;YACtD,iCAAiC,EAAE,KAAK,CAAC,QAAQ,IAAI,QAAQ;SAC9D,EACD,KAAK,CAAC,SAAS,CAChB,IACD,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAA;AAEjC,IAAM,IAAI,GAAG;IACX,SAAS,EAAE,aAAa;IACxB,IAAI,EAAE,QAAQ;CAIf,CAAA;AAED,kBAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const ListContainer: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export default ListContainer;
|
|
4
|
+
//# sourceMappingURL=ListContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/react/List/ListContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAGzC,QAAA,MAAM,aAAa,mKAoBlB,CAAA;AAID,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var react_1 = tslib_1.__importStar(require("react"));
|
|
5
|
+
var clsx_1 = tslib_1.__importDefault(require("clsx"));
|
|
6
|
+
var ListContainer = (0, react_1.forwardRef)(function (props, ref) {
|
|
7
|
+
return (react_1.default.createElement("div", tslib_1.__assign({}, props, { ref: ref, className: (0, clsx_1.default)('bg-neutral-50 rounded border border-neutral-300 w-fit shadow-lg', '[&>*]:border-b last:[&>*]:border-b-0 first:[&>*]:rounded-t last:[&>*]:rounded-b ', props.className) })));
|
|
8
|
+
});
|
|
9
|
+
ListContainer.displayName = 'ListContainer';
|
|
10
|
+
exports.default = ListContainer;
|
|
11
|
+
//# sourceMappingURL=ListContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListContainer.js","sourceRoot":"","sources":["../../../../src/components/react/List/ListContainer.tsx"],"names":[],"mappings":";;;AAAA,qDAAyC;AACzC,sDAAuB;AAEvB,IAAM,aAAa,GAAG,IAAA,kBAAU,EAC9B,UACE,KAGC,EACD,GAAuC;IAEvC,OAAO,CACL,0DACM,KAAK,IACT,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,cAAI,EACb,iEAAiE,EACjE,kFAAkF,EAClF,KAAK,CAAC,SAAS,CAChB,IACD,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,aAAa,CAAC,WAAW,GAAG,eAAe,CAAA;AAE3C,kBAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ListItemProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
3
|
+
selected?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
as?: React.ElementType | JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
declare const ListItem: React.ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
export default ListItem;
|
|
9
|
+
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/react/List/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAGzC,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,iBAAiB,CAC7B,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,EACvC,iBAAiB,CAClB;IACD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,GAAG,CAAC,OAAO,CAAA;CACrC;AAED,QAAA,MAAM,QAAQ,sGA4Bb,CAAA;AAID,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var react_1 = tslib_1.__importStar(require("react"));
|
|
5
|
+
var clsx_1 = tslib_1.__importDefault(require("clsx"));
|
|
6
|
+
var ListItem = (0, react_1.forwardRef)(function (_a, ref) {
|
|
7
|
+
var _b = _a.selected, selected = _b === void 0 ? false : _b, as = _a.as, props = tslib_1.__rest(_a, ["selected", "as"]);
|
|
8
|
+
var Component = (as || 'button');
|
|
9
|
+
return (react_1.default.createElement(Component, tslib_1.__assign({}, props, { ref: ref, className: (0, clsx_1.default)('outline-none py-1 px-2 flex items-center border-neutral-300 min-w-[150px] active:bg-growth-mid group cursor-pointer transition text-sm [&>*]:text-sm', {
|
|
10
|
+
'hover:bg-neutral-200 text-neutral-600 [&>*]:active:text-neutral-50 active:text-neutral-50': !selected && !props.disabled,
|
|
11
|
+
'bg-growth-mid text-neutral-50 hover:bg-growth-light': selected && !props.disabled,
|
|
12
|
+
}, {
|
|
13
|
+
'text-neutral-400 pointer-events-none': props.disabled,
|
|
14
|
+
'bg-growth-light text-neutral-50': props.disabled && selected,
|
|
15
|
+
}, props.className) })));
|
|
16
|
+
});
|
|
17
|
+
ListItem.displayName = 'ListItem';
|
|
18
|
+
exports.default = ListItem;
|
|
19
|
+
//# sourceMappingURL=ListItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../../src/components/react/List/ListItem.tsx"],"names":[],"mappings":";;;AAAA,qDAAyC;AACzC,sDAAuB;AAYvB,IAAM,QAAQ,GAAG,IAAA,kBAAU,EACzB,UACE,EAAiD,EACjD,GAA0C;IADxC,IAAA,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAAE,EAAE,QAAA,EAAK,KAAK,sBAAhC,kBAAkC,CAAF;IAGhC,IAAM,SAAS,GAAG,CAAC,EAAE,IAAI,QAAQ,CAAsB,CAAA;IAEvD,OAAO,CACL,8BAAC,SAAS,uBACJ,KAAK,IACT,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,cAAI,EACb,sJAAsJ,EACtJ;YACE,2FAA2F,EACzF,CAAC,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ;YAC9B,qDAAqD,EACnD,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ;SAC9B,EACD;YACE,sCAAsC,EAAE,KAAK,CAAC,QAAQ;YACtD,iCAAiC,EAAE,KAAK,CAAC,QAAQ,IAAI,QAAQ;SAC9D,EACD,KAAK,CAAC,SAAS,CAChB,IACD,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAA;AAEjC,kBAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const List: {
|
|
3
|
+
Container: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
Item: import("react").ForwardRefExoticComponent<Omit<import("./ListItem").ListItemProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
};
|
|
6
|
+
export default List;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/List/index.tsx"],"names":[],"mappings":";AAGA,QAAA,MAAM,IAAI;;;CAGT,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
|
|
7
|
-
var
|
|
8
|
-
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var ListItem_1 = tslib_1.__importDefault(require("./ListItem"));
|
|
5
|
+
var ListContainer_1 = tslib_1.__importDefault(require("./ListContainer"));
|
|
6
|
+
var List = {
|
|
7
|
+
Container: ListContainer_1.default,
|
|
8
|
+
Item: ListItem_1.default,
|
|
9
|
+
};
|
|
10
|
+
exports.default = List;
|
|
9
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/react/List/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/react/List/index.tsx"],"names":[],"mappings":";;;AAAA,gEAAiC;AACjC,0EAA2C;AAE3C,IAAM,IAAI,GAAG;IACX,SAAS,EAAE,uBAAa;IACxB,IAAI,EAAE,kBAAQ;CACf,CAAA;AAED,kBAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { COLORS } from '../../../colors';
|
|
2
|
+
declare const LOADER_SIZES: {
|
|
3
|
+
SM: string;
|
|
4
|
+
MD: string;
|
|
5
|
+
};
|
|
6
|
+
type LoaderProps = {
|
|
7
|
+
size?: keyof typeof LOADER_SIZES;
|
|
8
|
+
color?: keyof typeof COLORS;
|
|
9
|
+
};
|
|
10
|
+
export declare const Loader: import("styled-components").StyledComponent<"span", any, LoaderProps, never>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=Loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Loader/Loader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,QAAA,MAAM,YAAY;;;CAGjB,CAAA;AAOD,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAA;IAChC,KAAK,CAAC,EAAE,MAAM,OAAO,MAAM,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,MAAM,8EAsBlB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Loader/index.tsx"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type DateRange = {
|
|
2
|
+
startDate: Date;
|
|
3
|
+
endDate: Date;
|
|
4
|
+
};
|
|
5
|
+
type Props = {
|
|
6
|
+
value: DateRange;
|
|
7
|
+
onChange: (value: DateRange) => void;
|
|
8
|
+
minDate?: Date;
|
|
9
|
+
maxDate?: Date;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
closeOnSelect?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare const MonthPicker: (props: Props) => JSX.Element;
|
|
15
|
+
export default MonthPicker;
|
|
16
|
+
//# sourceMappingURL=MonthPicker.d.ts.map
|