@pushwoosh/dumb-components 1.0.13 → 1.0.14
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/DateTimePicker/components/AutosizeInput/AutosizeInput.d.ts +3 -0
- package/DateTimePicker/components/AutosizeInput/AutosizeInput.js +35 -0
- package/DateTimePicker/components/AutosizeInput/index.d.ts +1 -0
- package/DateTimePicker/components/AutosizeInput/index.js +1 -0
- package/DateTimePicker/components/AutosizeInput/styles.d.ts +1 -0
- package/DateTimePicker/components/AutosizeInput/styles.js +5 -0
- package/DateTimePicker/components/AutosizeInput/types.d.ts +10 -0
- package/DateTimePicker/components/AutosizeInput/types.js +1 -0
- package/DateTimePicker/components/DatePicker/DatePicker.d.ts +3 -0
- package/DateTimePicker/components/DatePicker/DatePicker.js +54 -0
- package/DateTimePicker/components/DatePicker/index.d.ts +1 -0
- package/DateTimePicker/components/DatePicker/index.js +1 -0
- package/DateTimePicker/components/DatePicker/types.d.ts +10 -0
- package/DateTimePicker/components/DatePicker/types.js +1 -0
- package/DateTimePicker/components/DatePickerField/DatePickerField.d.ts +3 -0
- package/DateTimePicker/components/DatePickerField/DatePickerField.js +59 -0
- package/DateTimePicker/components/DatePickerField/index.d.ts +1 -0
- package/DateTimePicker/components/DatePickerField/index.js +1 -0
- package/DateTimePicker/components/DatePickerField/types.d.ts +8 -0
- package/DateTimePicker/components/DatePickerField/types.js +1 -0
- package/DateTimePicker/components/DateTimePicker/DateTimePicker.d.ts +3 -0
- package/DateTimePicker/components/DateTimePicker/DateTimePicker.js +54 -0
- package/DateTimePicker/components/DateTimePicker/index.d.ts +1 -0
- package/DateTimePicker/components/DateTimePicker/index.js +1 -0
- package/DateTimePicker/components/DateTimePicker/types.d.ts +5 -0
- package/DateTimePicker/components/DateTimePicker/types.js +1 -0
- package/DateTimePicker/components/DateTimePickerField/DateTimePickerField.d.ts +3 -0
- package/DateTimePicker/components/DateTimePickerField/DateTimePickerField.js +67 -0
- package/DateTimePicker/components/DateTimePickerField/helpers.d.ts +8 -0
- package/DateTimePicker/components/DateTimePickerField/helpers.js +13 -0
- package/DateTimePicker/components/DateTimePickerField/index.d.ts +1 -0
- package/DateTimePicker/components/DateTimePickerField/index.js +1 -0
- package/DateTimePicker/components/DateTimePickerField/types.d.ts +8 -0
- package/DateTimePicker/components/DateTimePickerField/types.js +1 -0
- package/DateTimePicker/components/DecadeView/DecadeView.d.ts +3 -0
- package/DateTimePicker/components/DecadeView/DecadeView.js +34 -0
- package/DateTimePicker/components/DecadeView/index.d.ts +1 -0
- package/DateTimePicker/components/DecadeView/index.js +1 -0
- package/DateTimePicker/components/DecadeView/types.d.ts +6 -0
- package/DateTimePicker/components/DecadeView/types.js +1 -0
- package/DateTimePicker/components/Input/Input.d.ts +3 -0
- package/DateTimePicker/components/Input/Input.js +17 -0
- package/DateTimePicker/components/Input/index.d.ts +1 -0
- package/DateTimePicker/components/Input/index.js +1 -0
- package/DateTimePicker/components/Input/styles.d.ts +1 -0
- package/DateTimePicker/components/Input/styles.js +6 -0
- package/DateTimePicker/components/Input/types.d.ts +11 -0
- package/DateTimePicker/components/Input/types.js +1 -0
- package/DateTimePicker/components/Month/Month.d.ts +3 -0
- package/DateTimePicker/components/Month/Month.js +48 -0
- package/DateTimePicker/components/Month/index.d.ts +1 -0
- package/DateTimePicker/components/Month/index.js +1 -0
- package/DateTimePicker/components/Month/types.d.ts +8 -0
- package/DateTimePicker/components/Month/types.js +1 -0
- package/DateTimePicker/components/MonthView/MonthView.d.ts +3 -0
- package/DateTimePicker/components/MonthView/MonthView.js +37 -0
- package/DateTimePicker/components/MonthView/index.d.ts +1 -0
- package/DateTimePicker/components/MonthView/index.js +1 -0
- package/DateTimePicker/components/MonthView/types.d.ts +11 -0
- package/DateTimePicker/components/MonthView/types.js +1 -0
- package/DateTimePicker/components/NumberPicker/NumberPicker.d.ts +3 -0
- package/DateTimePicker/components/NumberPicker/NumberPicker.js +125 -0
- package/DateTimePicker/components/NumberPicker/helpers.d.ts +2 -0
- package/DateTimePicker/components/NumberPicker/helpers.js +5 -0
- package/DateTimePicker/components/NumberPicker/index.d.ts +1 -0
- package/DateTimePicker/components/NumberPicker/index.js +1 -0
- package/DateTimePicker/components/NumberPicker/styles.d.ts +1 -0
- package/DateTimePicker/components/NumberPicker/styles.js +6 -0
- package/DateTimePicker/components/NumberPicker/types.d.ts +13 -0
- package/DateTimePicker/components/NumberPicker/types.js +1 -0
- package/DateTimePicker/components/PickerPlate/PickerPlate.d.ts +3 -0
- package/DateTimePicker/components/PickerPlate/PickerPlate.js +25 -0
- package/DateTimePicker/components/PickerPlate/index.d.ts +1 -0
- package/DateTimePicker/components/PickerPlate/index.js +1 -0
- package/DateTimePicker/components/PickerPlate/styles.d.ts +3 -0
- package/DateTimePicker/components/PickerPlate/styles.js +9 -0
- package/DateTimePicker/components/PickerPlate/types.d.ts +7 -0
- package/DateTimePicker/components/PickerPlate/types.js +1 -0
- package/DateTimePicker/components/YearView/YearView.d.ts +3 -0
- package/DateTimePicker/components/YearView/YearView.js +33 -0
- package/DateTimePicker/components/YearView/index.d.ts +1 -0
- package/DateTimePicker/components/YearView/index.js +1 -0
- package/DateTimePicker/components/YearView/types.d.ts +6 -0
- package/DateTimePicker/components/YearView/types.js +1 -0
- package/DateTimePicker/constants.d.ts +5 -0
- package/DateTimePicker/constants.js +9 -0
- package/DateTimePicker/helpers.d.ts +15 -0
- package/DateTimePicker/helpers.js +79 -0
- package/DateTimePicker/index.d.ts +4 -0
- package/DateTimePicker/index.js +4 -0
- package/DateTimePicker/styles.d.ts +67 -0
- package/DateTimePicker/styles.js +64 -0
- package/DateTimePicker/types.d.ts +6 -0
- package/DateTimePicker/types.js +1 -0
- package/Modal/components/ModalContent/index.d.ts +1 -1
- package/Modal/components/ModalContent/index.js +1 -1
- package/Modal/components/ModalContent/{styled.js → styles.js} +5 -5
- package/Radio/Radio.js +1 -1
- package/Radio/{styled.js → styles.js} +2 -2
- package/index.d.ts +2 -1
- package/index.js +2 -1
- package/package.json +1 -1
- /package/Modal/components/ModalContent/{styled.d.ts → styles.d.ts} +0 -0
- /package/Radio/{styled.d.ts → styles.d.ts} +0 -0
|
@@ -3,27 +3,27 @@ import { Color, Spacing } from '@pushwoosh/kit-constants';
|
|
|
3
3
|
import { Vertical } from '@pushwoosh/kit-helpers';
|
|
4
4
|
export const ModalHeader = styled.div.withConfig({
|
|
5
5
|
displayName: "ModalHeader",
|
|
6
|
-
componentId: "sc-
|
|
6
|
+
componentId: "sc-1b5r517-0"
|
|
7
7
|
})(["padding:", " ", " ", ";background-color:", ";"], Spacing.S7, Spacing.S7, Spacing.S3, Color.CLEAR);
|
|
8
8
|
ModalHeader.displayName = 'ModalHeader';
|
|
9
9
|
export const ModalBodyGroup = styled(Vertical).withConfig({
|
|
10
10
|
displayName: "ModalBodyGroup",
|
|
11
|
-
componentId: "sc-
|
|
11
|
+
componentId: "sc-1b5r517-1"
|
|
12
12
|
})(["background-color:", ";gap:1px;"], Color.DIVIDER);
|
|
13
13
|
ModalBodyGroup.displayName = 'ModalBodyGroup';
|
|
14
14
|
export const ModalBodyItem = styled.div.withConfig({
|
|
15
15
|
displayName: "ModalBodyItem",
|
|
16
|
-
componentId: "sc-
|
|
16
|
+
componentId: "sc-1b5r517-2"
|
|
17
17
|
})(["padding:", " ", ";background-color:", ";"], ({
|
|
18
18
|
$vPadding
|
|
19
19
|
}) => $vPadding ? Spacing.S7 : 0, Spacing.S7, Color.CLEAR);
|
|
20
20
|
export const ModalBody = styled.div.withConfig({
|
|
21
21
|
displayName: "ModalBody",
|
|
22
|
-
componentId: "sc-
|
|
22
|
+
componentId: "sc-1b5r517-3"
|
|
23
23
|
})(["background-color:", ";overflow-y:auto;&:not(:has(> ", ")){padding:", ";&:not(:first-child){padding-top:0;}}"], Color.CLEAR, ModalBodyGroup, Spacing.S7);
|
|
24
24
|
ModalBody.displayName = 'ModalBody';
|
|
25
25
|
export const ModalFooter = styled.div.withConfig({
|
|
26
26
|
displayName: "ModalFooter",
|
|
27
|
-
componentId: "sc-
|
|
27
|
+
componentId: "sc-1b5r517-4"
|
|
28
28
|
})(["padding:", ";background-color:", ";border-top:1px solid ", ";"], Spacing.S7, Color.CLEAR, Color.DIVIDER);
|
|
29
29
|
ModalFooter.displayName = 'ModalFooter';
|
package/Radio/Radio.js
CHANGED
|
@@ -3,11 +3,11 @@ import { Color, Spacing, FontSize, LineHeight } from '@pushwoosh/kit-constants';
|
|
|
3
3
|
import { ColorMap } from './maps';
|
|
4
4
|
export const NativeRadio = styled.input.withConfig({
|
|
5
5
|
displayName: "NativeRadio",
|
|
6
|
-
componentId: "sc-
|
|
6
|
+
componentId: "sc-34lgtl-0"
|
|
7
7
|
})(["appearance:none;-webkit-appearance:none;-moz-appearance:none;width:20px;height:20px;border:2px solid ", ";border-radius:50%;background-color:", ";transition:border 0.1s,background-color 0.1s;cursor:pointer;&:focus{outline:none;}&[type=radio]:hover{border-color:", ";}&[type=radio]:disabled{cursor:not-allowed;border-color:", ";background-color:", ";}&[type=radio]:checked{border:6px solid ", ";}&[type=radio]:checked:hover{border-color:", ";}&[type=radio]:checked:disabled{border-color:", ";background-color:", ";}"], Color.PHANTOM, Color.CLEAR, Color.PRIMARY_HOVER, Color.LOCKED, Color.FROZEN, Color.PRIMARY, Color.PRIMARY_HOVER, Color.LOCKED, Color.FROZEN);
|
|
8
8
|
export const NativeLabel = styled.label.withConfig({
|
|
9
9
|
displayName: "NativeLabel",
|
|
10
|
-
componentId: "sc-
|
|
10
|
+
componentId: "sc-34lgtl-1"
|
|
11
11
|
})(["display:inline-flex;align-items:center;font-size:", ";line-height:", ";user-select:none;", " & > ", "{&:not(:last-child){margin-right:", ";}}"], FontSize.REGULAR, LineHeight.REGULAR, ({
|
|
12
12
|
$color
|
|
13
13
|
}) => $color && `color: ${ColorMap[$color]};`, NativeRadio, Spacing.S3);
|
package/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { ActionsGroup } from './ActionsGroup';
|
|
1
|
+
export { ActionsGroup, ActionsGroupItem } from './ActionsGroup';
|
|
2
2
|
export { Badge, type BadgeColor } from './Badge';
|
|
3
3
|
export { Banner, type BannerType } from './Banner';
|
|
4
4
|
export { Button, GhostButton } from './Button';
|
|
5
5
|
export { CardMetric } from './CardMetric';
|
|
6
6
|
export { Checkbox } from './Checkbox';
|
|
7
7
|
export { Drawer, DrawerHeader, DrawerTitle, DrawerBody, DrawerDocs, useDocs, } from './Drawer';
|
|
8
|
+
export { DatePicker, DatePickerField, DateTimePicker, DateTimePickerField, } from './DateTimePicker';
|
|
8
9
|
export { DropdownMenu, DropdownMenuButton, DropdownMenuSection, DropdownMenuItem, } from './DropdownMenu';
|
|
9
10
|
export { EditableField } from './EditableField';
|
|
10
11
|
export { InputFile } from './InputFile';
|
package/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { ActionsGroup } from './ActionsGroup';
|
|
1
|
+
export { ActionsGroup, ActionsGroupItem } from './ActionsGroup';
|
|
2
2
|
export { Badge } from './Badge';
|
|
3
3
|
export { Banner } from './Banner';
|
|
4
4
|
export { Button, GhostButton } from './Button';
|
|
5
5
|
export { CardMetric } from './CardMetric';
|
|
6
6
|
export { Checkbox } from './Checkbox';
|
|
7
7
|
export { Drawer, DrawerHeader, DrawerTitle, DrawerBody, DrawerDocs, useDocs } from './Drawer';
|
|
8
|
+
export { DatePicker, DatePickerField, DateTimePicker, DateTimePickerField } from './DateTimePicker';
|
|
8
9
|
export { DropdownMenu, DropdownMenuButton, DropdownMenuSection, DropdownMenuItem } from './DropdownMenu';
|
|
9
10
|
export { EditableField } from './EditableField';
|
|
10
11
|
export { InputFile } from './InputFile';
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|