armtek-uikit-react 1.0.13 → 1.0.15
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/{cjs/assets → assets}/Adornment.scss +2 -0
- package/{esm/ui/Alert/Alert.module.scss → assets/Alert.scss} +1 -1
- package/{esm/ui/Avatar/Avatar.module.scss → assets/Avatar.scss} +1 -1
- package/{cjs/ui/Avatar/AvatarGroup.module.scss → assets/AvatarGroup.scss} +1 -1
- package/{cjs/ui/Badge/Badge.module.scss → assets/Badge.scss} +1 -1
- package/{cjs/assets → assets}/Button.scss +1 -32
- package/assets/ButtonGroup.scss +12 -0
- package/assets/ButtonIcon.scss +24 -0
- package/{cjs/ui/Card/Card.module.scss → assets/Card.scss} +1 -1
- package/{esm/ui/Form/Checkbox/Checkbox.module.scss → assets/Checkbox.scss} +1 -1
- package/{esm/ui/Chip/Chip.module.scss → assets/Chip.scss} +1 -1
- package/{cjs/ui/Form/DatePicker/DatePicker.module.scss → assets/DatePicker.scss} +1 -1
- package/{cjs/ui/HelperText/HelperText.module.scss → assets/HelperText.scss} +1 -1
- package/{esm/ui/Form/Interval/Interval.module.scss → assets/Interval.scss} +1 -1
- package/{esm/ui/List/ListItem.module.scss → assets/ListItem.scss} +1 -1
- package/{esm/ui/Loader/Loader.module.scss → assets/Loader.scss} +1 -1
- package/{esm/ui/Logo/Logo.module.scss → assets/Logo.scss} +1 -1
- package/{esm/ui/Form/Period/Period.module.scss → assets/Period.scss} +1 -1
- package/{esm/ui/Form/Rating/Rating.module.scss → assets/Rating.scss} +1 -1
- package/{cjs/ui/Form/Select/Select.module.scss → assets/Select.scss} +1 -1
- package/{esm/ui/Slider/Slider.module.scss → assets/Slider.scss} +1 -1
- package/{cjs/ui/Status/Status.module.scss → assets/Status.scss} +1 -1
- package/{esm/ui/Stepper/StepItem.module.scss → assets/StepItem.scss} +1 -1
- package/{cjs/ui/Stepper/StepItemIcon.module.scss → assets/StepItemIcon.scss} +1 -1
- package/{cjs/ui/Stepper/Stepper.module.scss → assets/Stepper.scss} +1 -1
- package/{esm/ui/Form/Switch/Switch.module.scss → assets/Switch.scss} +1 -1
- package/{cjs/ui/Form/TextArea/TextArea.module.scss → assets/TextArea.scss} +1 -1
- package/{cjs/ui/Form/TextField/TextField.module.scss → assets/TextField.scss} +1 -1
- package/{cjs/ui/Tooltip/Tooltip.module.scss → assets/Tooltip.scss} +1 -1
- package/assets/styles.scss +31 -0
- package/index.js +15 -0
- package/{esm/lib → lib}/helpers/helpers.js +7 -0
- package/package.json +25 -1
- package/{esm → types}/index.d.ts +3 -3
- package/{esm → types}/lib/helpers/helpers.d.ts +1 -0
- package/{cjs/ui/Button/Button.d.ts → types/ui/Button/index.d.ts} +3 -3
- package/{esm/ui/Button/ButtonIcon.d.ts → types/ui/ButtonIcon/index.d.ts} +1 -1
- package/types/ui/Slider/RcSlider.d.ts +0 -0
- package/{esm → types}/ui/Slider/Slider.d.ts +1 -1
- package/{esm → types}/ui/Stepper/StepItem.d.ts +1 -1
- package/{esm/ui → ui}/Adornment/Adornment.js +10 -5
- package/ui/Adornment/Adornment.module.scss +2 -0
- package/{esm/ui → ui}/Alert/Alert.js +7 -3
- package/ui/Alert/Alert.module.scss +2 -0
- package/{esm/ui → ui}/Avatar/Avatar.js +5 -1
- package/ui/Avatar/Avatar.module.scss +1 -0
- package/{esm/ui → ui}/Avatar/AvatarGroup.js +5 -1
- package/ui/Avatar/AvatarGroup.module.scss +1 -0
- package/{esm/ui → ui}/Badge/Badge.js +5 -1
- package/ui/Badge/Badge.module.scss +1 -0
- package/ui/Button/Button.module.scss +1 -0
- package/{esm/ui/Button/Button.js → ui/Button/index.js} +7 -3
- package/ui/ButtonGroup/ButtonGroup.module.scss +2 -0
- package/{esm/ui/Button/ButtonGroup.js → ui/ButtonGroup/index.js} +5 -1
- package/ui/ButtonIcon/ButtonIcon.module.scss +1 -0
- package/{esm/ui/Button/ButtonIcon.js → ui/ButtonIcon/index.js} +6 -2
- package/{esm/ui → ui}/Card/Card.js +5 -1
- package/ui/Card/Card.module.scss +1 -0
- package/{esm/ui → ui}/Chip/Chip.js +5 -1
- package/ui/Chip/Chip.module.scss +1 -0
- package/{esm/ui → ui}/Form/Checkbox/Checkbox.js +5 -1
- package/ui/Form/Checkbox/Checkbox.module.scss +1 -0
- package/{esm/ui → ui}/Form/Checkbox/Radio.js +7 -3
- package/{esm/ui → ui}/Form/DateField/DateField.js +5 -6
- package/{esm/ui → ui}/Form/DateField/TimeField.js +1 -1
- package/ui/Form/DatePicker/DatePicker.module.scss +1 -0
- package/{esm/ui → ui}/Form/DatePicker/PeriodSelect.js +1 -1
- package/{esm/ui → ui}/Form/DatePicker/TimePicker.js +1 -1
- package/{esm/ui → ui}/Form/Interval/Interval.js +7 -3
- package/ui/Form/Interval/Interval.module.scss +1 -0
- package/{esm/ui → ui}/Form/Interval/IntervalSlide.js +7 -3
- package/{esm/ui → ui}/Form/Password/Password.js +3 -3
- package/{esm/ui → ui}/Form/Period/Period.js +11 -7
- package/ui/Form/Period/Period.module.scss +2 -0
- package/{esm/ui → ui}/Form/Rating/Rating.js +5 -1
- package/ui/Form/Rating/Rating.module.scss +1 -0
- package/{esm/ui → ui}/Form/Select/Select.js +10 -6
- package/ui/Form/Select/Select.module.scss +1 -0
- package/{esm/ui → ui}/Form/Switch/Switch.js +5 -1
- package/ui/Form/Switch/Switch.module.scss +1 -0
- package/{esm/ui → ui}/Form/TextArea/TextArea.js +6 -2
- package/ui/Form/TextArea/TextArea.module.scss +1 -0
- package/{esm/ui → ui}/Form/TextField/TextField.js +6 -2
- package/ui/Form/TextField/TextField.module.scss +1 -0
- package/{esm/ui → ui}/HelperText/HelperText.js +5 -1
- package/ui/HelperText/HelperText.module.scss +1 -0
- package/{esm/ui → ui}/List/ListItem.js +7 -3
- package/ui/List/ListItem.module.scss +1 -0
- package/{esm/ui → ui}/Loader/Loader.js +5 -1
- package/ui/Loader/Loader.module.scss +1 -0
- package/{esm/ui → ui}/Logo/Logo.js +5 -1
- package/ui/Logo/Logo.module.scss +1 -0
- package/ui/Slider/RcSlider.js +0 -0
- package/{esm/ui → ui}/Slider/Slider.js +8 -5
- package/ui/Slider/Slider.module.scss +1 -0
- package/{esm/ui → ui}/Status/Status.js +5 -1
- package/ui/Status/Status.module.scss +1 -0
- package/{esm/ui → ui}/Stepper/StepItem.js +8 -4
- package/ui/Stepper/StepItem.module.scss +1 -0
- package/{esm/ui → ui}/Stepper/StepItemIcon.js +5 -1
- package/ui/Stepper/StepItemIcon.module.scss +1 -0
- package/{esm/ui → ui}/Stepper/Stepper.js +6 -2
- package/ui/Stepper/Stepper.module.scss +1 -0
- package/{esm/ui → ui}/Tooltip/Tooltip.js +5 -1
- package/ui/Tooltip/Tooltip.module.scss +1 -0
- package/Adornment/package.json +0 -7
- package/Alert/package.json +0 -7
- package/Avatar/package.json +0 -7
- package/AvatarGroup/package.json +0 -7
- package/Badge/package.json +0 -7
- package/Button/package.json +0 -7
- package/ButtonClasses/package.json +0 -7
- package/ButtonGroup/package.json +0 -7
- package/ButtonIcon/package.json +0 -7
- package/Card/package.json +0 -7
- package/Checkbox/package.json +0 -7
- package/Chip/package.json +0 -7
- package/DateField/package.json +0 -7
- package/DatePicker/package.json +0 -7
- package/DateService/package.json +0 -7
- package/HelperText/package.json +0 -7
- package/Interval/package.json +0 -7
- package/IntervalSlide/package.json +0 -7
- package/ListItem/package.json +0 -7
- package/Loader/package.json +0 -7
- package/Logo/package.json +0 -7
- package/Password/package.json +0 -7
- package/Period/package.json +0 -7
- package/PeriodSelect/package.json +0 -7
- package/Radio/package.json +0 -7
- package/Rating/package.json +0 -7
- package/RcSlider/package.json +0 -7
- package/Select/package.json +0 -7
- package/Slider/package.json +0 -7
- package/Status/package.json +0 -7
- package/StepItem/package.json +0 -7
- package/StepItemIcon/package.json +0 -7
- package/Stepper/package.json +0 -7
- package/Switch/package.json +0 -7
- package/TextArea/package.json +0 -7
- package/TextField/package.json +0 -7
- package/TimeField/package.json +0 -7
- package/TimePicker/package.json +0 -7
- package/Tooltip/package.json +0 -7
- package/cjs/assets/styles.scss +0 -6
- package/cjs/index.d.ts +0 -29
- package/cjs/index.js +0 -35
- package/cjs/lib/const/styles.js +0 -6
- package/cjs/lib/helpers/helpers.d.ts +0 -5
- package/cjs/lib/helpers/helpers.js +0 -48
- package/cjs/lib/hooks/useClickOutside.js +0 -22
- package/cjs/lib/services/DateService.js +0 -48
- package/cjs/types/theme.js +0 -3
- package/cjs/ui/Adornment/Adornment.js +0 -47
- package/cjs/ui/Adornment/Adornment.module.scss +0 -18
- package/cjs/ui/Alert/Alert.js +0 -46
- package/cjs/ui/Alert/Alert.module.scss +0 -38
- package/cjs/ui/Avatar/Avatar.js +0 -50
- package/cjs/ui/Avatar/Avatar.module.scss +0 -82
- package/cjs/ui/Avatar/AvatarGroup.js +0 -34
- package/cjs/ui/Badge/Badge.js +0 -34
- package/cjs/ui/Button/Button.css +0 -3
- package/cjs/ui/Button/Button.js +0 -43
- package/cjs/ui/Button/Button.module.scss +0 -298
- package/cjs/ui/Button/ButtonClasses.d.ts +0 -3
- package/cjs/ui/Button/ButtonClasses.js +0 -12
- package/cjs/ui/Button/ButtonGroup.js +0 -26
- package/cjs/ui/Button/ButtonIcon.d.ts +0 -3
- package/cjs/ui/Button/ButtonIcon.js +0 -21
- package/cjs/ui/Card/Card.js +0 -19
- package/cjs/ui/Chip/Chip.js +0 -41
- package/cjs/ui/Chip/Chip.module.scss +0 -96
- package/cjs/ui/Form/Checkbox/Checkbox.js +0 -53
- package/cjs/ui/Form/Checkbox/Checkbox.module.scss +0 -297
- package/cjs/ui/Form/Checkbox/Radio.js +0 -21
- package/cjs/ui/Form/DateField/DateField.js +0 -71
- package/cjs/ui/Form/DateField/TimeField.js +0 -19
- package/cjs/ui/Form/DatePicker/DatePicker.js +0 -51
- package/cjs/ui/Form/DatePicker/PeriodSelect.js +0 -29
- package/cjs/ui/Form/DatePicker/TimePicker.js +0 -28
- package/cjs/ui/Form/Interval/Interval.js +0 -98
- package/cjs/ui/Form/Interval/Interval.module.scss +0 -35
- package/cjs/ui/Form/Interval/IntervalSlide.js +0 -48
- package/cjs/ui/Form/Password/Password.js +0 -46
- package/cjs/ui/Form/Password/Password.module.scss +0 -2
- package/cjs/ui/Form/Period/Period.js +0 -69
- package/cjs/ui/Form/Period/Period.module.scss +0 -10
- package/cjs/ui/Form/Rating/Rating.js +0 -54
- package/cjs/ui/Form/Rating/Rating.module.scss +0 -19
- package/cjs/ui/Form/Select/Select.js +0 -139
- package/cjs/ui/Form/Switch/Switch.js +0 -30
- package/cjs/ui/Form/Switch/Switch.module.scss +0 -69
- package/cjs/ui/Form/TextArea/TextArea.js +0 -46
- package/cjs/ui/Form/TextField/TextField.js +0 -152
- package/cjs/ui/HelperText/HelperText.js +0 -28
- package/cjs/ui/List/ListItem.js +0 -60
- package/cjs/ui/List/ListItem.module.scss +0 -34
- package/cjs/ui/Loader/Loader.js +0 -120
- package/cjs/ui/Loader/Loader.module.scss +0 -37
- package/cjs/ui/Logo/Logo.js +0 -102
- package/cjs/ui/Logo/Logo.module.scss +0 -29
- package/cjs/ui/Slider/RcSlider.d.ts +0 -2
- package/cjs/ui/Slider/RcSlider.js +0 -9
- package/cjs/ui/Slider/Slider.d.ts +0 -8
- package/cjs/ui/Slider/Slider.js +0 -36
- package/cjs/ui/Slider/Slider.module.scss +0 -6
- package/cjs/ui/Status/Status.js +0 -31
- package/cjs/ui/Stepper/StepItem.d.ts +0 -14
- package/cjs/ui/Stepper/StepItem.js +0 -56
- package/cjs/ui/Stepper/StepItem.module.scss +0 -67
- package/cjs/ui/Stepper/StepItemIcon.js +0 -40
- package/cjs/ui/Stepper/Stepper.js +0 -45
- package/cjs/ui/Tooltip/Tooltip.js +0 -32
- package/dist/armtek-uikit-react-main.js +0 -1357
- package/dist/armtek-uikit-react-main.min.js +0 -2
- package/dist/armtek-uikit-react-main.min.js.LICENSE.txt +0 -15
- package/dist/css/main.e207d402.css +0 -18
- package/esm/assets/Adornment.scss +0 -16
- package/esm/assets/Button.scss +0 -297
- package/esm/assets/fonts.scss +0 -2
- package/esm/assets/global.css +0 -72
- package/esm/assets/styles.scss +0 -6
- package/esm/assets/variables.scss +0 -67
- package/esm/index.js +0 -15
- package/esm/lib/const/styles.d.ts +0 -1
- package/esm/lib/hooks/useClickOutside.d.ts +0 -3
- package/esm/lib/services/DateService.d.ts +0 -12
- package/esm/types/theme.d.ts +0 -10
- package/esm/ui/Adornment/Adornment.d.ts +0 -7
- package/esm/ui/Adornment/Adornment.module.scss +0 -18
- package/esm/ui/Alert/Alert.d.ts +0 -10
- package/esm/ui/Avatar/Avatar.d.ts +0 -13
- package/esm/ui/Avatar/AvatarGroup.d.ts +0 -8
- package/esm/ui/Avatar/AvatarGroup.module.scss +0 -48
- package/esm/ui/Badge/Badge.d.ts +0 -11
- package/esm/ui/Badge/Badge.module.scss +0 -83
- package/esm/ui/Button/Button.css +0 -3
- package/esm/ui/Button/Button.d.ts +0 -15
- package/esm/ui/Button/Button.module.scss +0 -298
- package/esm/ui/Button/ButtonClasses.d.ts +0 -3
- package/esm/ui/Button/ButtonClasses.js +0 -7
- package/esm/ui/Button/ButtonGroup.d.ts +0 -6
- package/esm/ui/Card/Card.d.ts +0 -4
- package/esm/ui/Card/Card.module.scss +0 -7
- package/esm/ui/Chip/Chip.d.ts +0 -13
- package/esm/ui/Form/Checkbox/Checkbox.d.ts +0 -12
- package/esm/ui/Form/Checkbox/Radio.d.ts +0 -3
- package/esm/ui/Form/DateField/DateField.d.ts +0 -26
- package/esm/ui/Form/DateField/DateField.module.scss +0 -1
- package/esm/ui/Form/DateField/TimeField.d.ts +0 -3
- package/esm/ui/Form/DatePicker/DatePicker.d.ts +0 -7
- package/esm/ui/Form/DatePicker/DatePicker.module.scss +0 -7
- package/esm/ui/Form/DatePicker/PeriodSelect.d.ts +0 -2
- package/esm/ui/Form/DatePicker/TimePicker.d.ts +0 -2
- package/esm/ui/Form/DatePicker/styles.css +0 -766
- package/esm/ui/Form/Interval/Interval.d.ts +0 -21
- package/esm/ui/Form/Interval/IntervalSlide.d.ts +0 -4
- package/esm/ui/Form/Password/Password.d.ts +0 -12
- package/esm/ui/Form/Password/Password.module.scss +0 -2
- package/esm/ui/Form/Period/Period.d.ts +0 -15
- package/esm/ui/Form/Rating/Rating.d.ts +0 -10
- package/esm/ui/Form/Select/Select.d.ts +0 -23
- package/esm/ui/Form/Select/Select.module.scss +0 -26
- package/esm/ui/Form/Switch/Switch.d.ts +0 -7
- package/esm/ui/Form/TextArea/TextArea.d.ts +0 -4
- package/esm/ui/Form/TextArea/TextArea.module.scss +0 -15
- package/esm/ui/Form/TextField/TextField.d.ts +0 -40
- package/esm/ui/Form/TextField/TextField.module.scss +0 -160
- package/esm/ui/HelperText/HelperText.d.ts +0 -6
- package/esm/ui/HelperText/HelperText.module.scss +0 -10
- package/esm/ui/List/ListItem.d.ts +0 -10
- package/esm/ui/Loader/Loader.d.ts +0 -6
- package/esm/ui/Logo/Logo.d.ts +0 -12
- package/esm/ui/Slider/RcSlider.d.ts +0 -2
- package/esm/ui/Slider/RcSlider.js +0 -2
- package/esm/ui/Slider/style.css +0 -281
- package/esm/ui/Status/Status.d.ts +0 -10
- package/esm/ui/Status/Status.module.scss +0 -45
- package/esm/ui/Stepper/StepItemIcon.d.ts +0 -11
- package/esm/ui/Stepper/StepItemIcon.module.scss +0 -47
- package/esm/ui/Stepper/Stepper.d.ts +0 -11
- package/esm/ui/Stepper/Stepper.module.scss +0 -34
- package/esm/ui/Tooltip/Tooltip.d.ts +0 -7
- package/esm/ui/Tooltip/Tooltip.module.scss +0 -18
- package/helpers/package.json +0 -7
- package/styles/package.json +0 -7
- package/theme/package.json +0 -7
- package/useClickOutside/package.json +0 -7
- /package/{cjs/assets → assets}/fonts.scss +0 -0
- /package/{cjs/assets → assets}/global.css +0 -0
- /package/{cjs/assets → assets}/variables.scss +0 -0
- /package/{esm/lib → lib}/const/styles.js +0 -0
- /package/{esm/lib → lib}/hooks/useClickOutside.js +0 -0
- /package/{esm/lib → lib}/services/DateService.js +0 -0
- /package/{cjs → types}/lib/const/styles.d.ts +0 -0
- /package/{cjs → types}/lib/hooks/useClickOutside.d.ts +0 -0
- /package/{cjs → types}/lib/services/DateService.d.ts +0 -0
- /package/{esm/types → types}/theme.js +0 -0
- /package/{cjs → types}/types/theme.d.ts +0 -0
- /package/{cjs → types}/ui/Adornment/Adornment.d.ts +0 -0
- /package/{cjs → types}/ui/Alert/Alert.d.ts +0 -0
- /package/{cjs → types}/ui/Avatar/Avatar.d.ts +0 -0
- /package/{cjs → types}/ui/Avatar/AvatarGroup.d.ts +0 -0
- /package/{cjs → types}/ui/Badge/Badge.d.ts +0 -0
- /package/{cjs/ui/Button/ButtonGroup.d.ts → types/ui/ButtonGroup/index.d.ts} +0 -0
- /package/{cjs → types}/ui/Card/Card.d.ts +0 -0
- /package/{cjs → types}/ui/Chip/Chip.d.ts +0 -0
- /package/{cjs → types}/ui/Form/Checkbox/Checkbox.d.ts +0 -0
- /package/{cjs → types}/ui/Form/Checkbox/Radio.d.ts +0 -0
- /package/{cjs → types}/ui/Form/DateField/DateField.d.ts +0 -0
- /package/{cjs → types}/ui/Form/DateField/TimeField.d.ts +0 -0
- /package/{cjs → types}/ui/Form/DatePicker/DatePicker.d.ts +0 -0
- /package/{cjs → types}/ui/Form/DatePicker/PeriodSelect.d.ts +0 -0
- /package/{cjs → types}/ui/Form/DatePicker/TimePicker.d.ts +0 -0
- /package/{cjs → types}/ui/Form/Interval/Interval.d.ts +0 -0
- /package/{cjs → types}/ui/Form/Interval/IntervalSlide.d.ts +0 -0
- /package/{cjs → types}/ui/Form/Password/Password.d.ts +0 -0
- /package/{cjs → types}/ui/Form/Period/Period.d.ts +0 -0
- /package/{cjs → types}/ui/Form/Rating/Rating.d.ts +0 -0
- /package/{cjs → types}/ui/Form/Select/Select.d.ts +0 -0
- /package/{cjs → types}/ui/Form/Switch/Switch.d.ts +0 -0
- /package/{cjs → types}/ui/Form/TextArea/TextArea.d.ts +0 -0
- /package/{cjs → types}/ui/Form/TextField/TextField.d.ts +0 -0
- /package/{cjs → types}/ui/HelperText/HelperText.d.ts +0 -0
- /package/{cjs → types}/ui/List/ListItem.d.ts +0 -0
- /package/{cjs → types}/ui/Loader/Loader.d.ts +0 -0
- /package/{cjs → types}/ui/Logo/Logo.d.ts +0 -0
- /package/{cjs → types}/ui/Status/Status.d.ts +0 -0
- /package/{cjs → types}/ui/Stepper/StepItemIcon.d.ts +0 -0
- /package/{cjs → types}/ui/Stepper/Stepper.d.ts +0 -0
- /package/{cjs → types}/ui/Tooltip/Tooltip.d.ts +0 -0
- /package/{cjs/ui → ui}/Form/DateField/DateField.module.scss +0 -0
- /package/{esm/ui → ui}/Form/DatePicker/DatePicker.js +0 -0
- /package/{cjs/ui → ui}/Form/DatePicker/styles.css +0 -0
- /package/{cjs/ui → ui}/Slider/style.css +0 -0
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
$font-family: 'Roboto';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
$size-elarge: 56px;
|
|
7
|
-
$size-large: 42px;
|
|
8
|
-
$size-medium: 36px;
|
|
9
|
-
$size-small: 30px;
|
|
10
|
-
$size-step: 8px;
|
|
11
|
-
|
|
12
|
-
$radius: 4px;
|
|
13
|
-
|
|
14
|
-
$color-primary: #0D46FF;
|
|
15
|
-
$color-primary-dark: #0B3CD9;
|
|
16
|
-
$color-primary-light: #0B3CD9;
|
|
17
|
-
$color-blue-800: #406DFF;
|
|
18
|
-
$color-blue-A100: #D9E2FF;
|
|
19
|
-
$color-blue-50: #F2F5FF;
|
|
20
|
-
|
|
21
|
-
$color-info: #0D46FF;
|
|
22
|
-
$color-info-dark: #0B3CD9;
|
|
23
|
-
|
|
24
|
-
$color-secondary: #FF7F00;
|
|
25
|
-
$color-secondary-dark: #D96C00;
|
|
26
|
-
$color-secondary-light: #FFA140;
|
|
27
|
-
$color-orange-800: #FF9426;
|
|
28
|
-
$color-orange-400: #FFC68C;
|
|
29
|
-
$color-orange-300: #FFD3A6;
|
|
30
|
-
$color-orange-100: #FFE6CC;
|
|
31
|
-
$color-orange-50: #FFF8F0;
|
|
32
|
-
|
|
33
|
-
$color-neutral: #4D5359;
|
|
34
|
-
$color-neutral-dark: #40454A;
|
|
35
|
-
$color-neutral-light: #9AA4AE;
|
|
36
|
-
$color-gray-900: #212529;
|
|
37
|
-
$color-gray-800: #40454A;
|
|
38
|
-
$color-gray-700: #4D5359;
|
|
39
|
-
$color-gray-600: #6C757D;
|
|
40
|
-
$color-gray-500: #9AA4AE;
|
|
41
|
-
$color-gray-400: #B1BCC6;
|
|
42
|
-
$color-gray-300: #D3DAE1;
|
|
43
|
-
$color-gray-200: #DFE2E6;
|
|
44
|
-
$color-gray-100: #E9ECEF;
|
|
45
|
-
$color-gray-50: #F8F9FA;
|
|
46
|
-
|
|
47
|
-
$color-greent-50: #F2FFFB;
|
|
48
|
-
|
|
49
|
-
$color-success: #0BD998;
|
|
50
|
-
$color-success-dark: #08996B;
|
|
51
|
-
$color-error: #FF3342;
|
|
52
|
-
$color-error-dark: #CC2935;
|
|
53
|
-
$color-warning: #FFC61A;
|
|
54
|
-
$color-warning-dark: #F7B519;
|
|
55
|
-
|
|
56
|
-
$color-red-50: #FFF0F1;
|
|
57
|
-
|
|
58
|
-
$box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.1);
|
|
59
|
-
|
|
60
|
-
@mixin transition($time: 0.5s, $target: all, $animation: ease) {
|
|
61
|
-
transition: $time $target $animation;
|
|
62
|
-
}
|
|
63
|
-
@mixin flex($justifyContent: flex-start, $alignItems: center) {
|
|
64
|
-
display: flex;
|
|
65
|
-
align-items: $alignItems;
|
|
66
|
-
justify-content: $justifyContent;
|
|
67
|
-
}
|
package/esm/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { default as Button } from './ui/Button/Button';
|
|
2
|
-
export { default as ButtonIcon } from './ui/Button/ButtonIcon';
|
|
3
|
-
export { default as Alert } from './ui/Alert/Alert';
|
|
4
|
-
export { default as Avatar } from './ui/Avatar/Avatar';
|
|
5
|
-
export { default as AvatarGroup } from './ui/Avatar/AvatarGroup';
|
|
6
|
-
export { default as Badge } from './ui/Badge/Badge';
|
|
7
|
-
export { default as Card } from './ui/Card/Card';
|
|
8
|
-
export { default as Chip } from './ui/Chip/Chip';
|
|
9
|
-
export { default as ListItem } from './ui/List/ListItem';
|
|
10
|
-
export { default as Loader } from './ui/Loader/Loader';
|
|
11
|
-
export { default as Logo } from './ui/Logo/Logo';
|
|
12
|
-
export { default as Slider } from './ui/Slider/Slider';
|
|
13
|
-
export { default as Status } from './ui/Status/Status';
|
|
14
|
-
export { default as Stepper } from './ui/Stepper/Stepper';
|
|
15
|
-
export { default as Tooltip } from './ui/Tooltip/Tooltip';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const CSS_PREFIX = "Armtek-";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare class DateClass {
|
|
2
|
-
date: Date;
|
|
3
|
-
constructor(date: Date);
|
|
4
|
-
format(form: string): string;
|
|
5
|
-
static isValid(dateStr: string, format?: string): boolean;
|
|
6
|
-
static parseDate(dateStr: string, format?: string): Date | null;
|
|
7
|
-
static toDate(dateStr: string): Date | null;
|
|
8
|
-
static getDisplayValue(value: number): string;
|
|
9
|
-
private getStrMonth;
|
|
10
|
-
}
|
|
11
|
-
export declare const DateService: (date: Date) => DateClass;
|
|
12
|
-
export default DateClass;
|
package/esm/types/theme.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type ShapeType = 'square' | 'circle';
|
|
2
|
-
export type SizeType = 'small' | 'medium' | 'large' | 'extraLarge';
|
|
3
|
-
export type VariantType = 'contained' | 'outlined' | 'transparent';
|
|
4
|
-
export type ColorStatusType = 'success' | 'error' | 'warning' | 'info';
|
|
5
|
-
export type ColorThemeType = 'black' | 'white';
|
|
6
|
-
export type ColorType = 'primary' | 'secondary' | 'neutral';
|
|
7
|
-
export type OptionType = {
|
|
8
|
-
text: string;
|
|
9
|
-
value?: string;
|
|
10
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
type PropsType = {
|
|
3
|
-
position?: 'start' | 'end';
|
|
4
|
-
} & HTMLAttributes<HTMLDivElement>;
|
|
5
|
-
declare const Adornment: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const AdornmentContainer: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default Adornment;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@import "../../assets/styles";
|
|
2
|
-
|
|
3
|
-
.adornmentContainer{
|
|
4
|
-
display: flex;
|
|
5
|
-
}
|
|
6
|
-
.adornmentContainer_end{
|
|
7
|
-
margin-left: auto;
|
|
8
|
-
}
|
|
9
|
-
.adornment_end{
|
|
10
|
-
& + * {
|
|
11
|
-
margin-left: $size-step;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
.adornment_start{
|
|
15
|
-
& + * {
|
|
16
|
-
margin-left: $size-step;
|
|
17
|
-
}
|
|
18
|
-
}
|
package/esm/ui/Alert/Alert.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ColorStatusType } from '../../types/theme';
|
|
2
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
export type AlertProps = {
|
|
4
|
-
status: ColorStatusType;
|
|
5
|
-
title: string;
|
|
6
|
-
children: ReactNode | string;
|
|
7
|
-
onClose?: () => void;
|
|
8
|
-
} & HTMLAttributes<HTMLDivElement>;
|
|
9
|
-
declare const Alert: (props: AlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default Alert;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
import { ColorStatusType, SizeType } from '../../types/theme';
|
|
3
|
-
export type AvatarProps = {
|
|
4
|
-
photo?: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
href?: string;
|
|
7
|
-
linkProps?: HTMLAttributes<HTMLAnchorElement>;
|
|
8
|
-
icon?: string;
|
|
9
|
-
size?: Exclude<SizeType, 'extraLarge'>;
|
|
10
|
-
status?: Exclude<ColorStatusType, 'info'>;
|
|
11
|
-
};
|
|
12
|
-
declare const Avatar: (props: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default Avatar;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { AvatarProps } from './Avatar';
|
|
3
|
-
export type AvatarGroupProps = {
|
|
4
|
-
limit?: number;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
} & Pick<AvatarProps, 'size'>;
|
|
7
|
-
declare const AvatarGroup: (props: AvatarGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default AvatarGroup;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@import "../../assets/styles";
|
|
2
|
-
|
|
3
|
-
.avatarGroup{
|
|
4
|
-
@include flex(flex-end);
|
|
5
|
-
transform: scale(-1, 1);
|
|
6
|
-
}
|
|
7
|
-
.avatarGroup_medium{
|
|
8
|
-
& .avatarGroup__item + .avatarGroup__item{
|
|
9
|
-
margin-left: -12px;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
.avatarGroup_small{
|
|
13
|
-
& .avatarGroup__item + .avatarGroup__item{
|
|
14
|
-
margin-left: -8px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
.avatarGroup__remains{
|
|
18
|
-
width: 60px;
|
|
19
|
-
height: 60px;
|
|
20
|
-
min-width: 60px;
|
|
21
|
-
position: relative;
|
|
22
|
-
@include flex(center);
|
|
23
|
-
background: $color-neutral-light;
|
|
24
|
-
font-size: 24px;
|
|
25
|
-
color: #fff;
|
|
26
|
-
}
|
|
27
|
-
.avatarGroup__remains_medium{
|
|
28
|
-
width: 44px;
|
|
29
|
-
height: 44px;
|
|
30
|
-
min-width: 44px;
|
|
31
|
-
font-size: 16px;
|
|
32
|
-
}
|
|
33
|
-
.avatarGroup__remains_small{
|
|
34
|
-
width: 28px;
|
|
35
|
-
height: 28px;
|
|
36
|
-
min-width: 28px;
|
|
37
|
-
font-size: 12px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.avatarGroup__item{
|
|
41
|
-
position: relative;
|
|
42
|
-
transform: scale(-1, 1);
|
|
43
|
-
border: 2px solid #fff;
|
|
44
|
-
border-radius: 50%;
|
|
45
|
-
& + .avatarGroup__item{
|
|
46
|
-
margin-left: -15px;
|
|
47
|
-
}
|
|
48
|
-
}
|
package/esm/ui/Badge/Badge.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ColorStatusType, ColorType, ShapeType } from '../../types/theme';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export type BadgeProps = {
|
|
4
|
-
color?: ColorType | ColorStatusType;
|
|
5
|
-
children: ReactNode | string;
|
|
6
|
-
shape?: ShapeType;
|
|
7
|
-
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
8
|
-
badgeText?: string;
|
|
9
|
-
};
|
|
10
|
-
declare function Badge(props: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default Badge;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
@import "../../assets/styles";
|
|
2
|
-
|
|
3
|
-
.badge{
|
|
4
|
-
display: inline-block;
|
|
5
|
-
position: relative;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
$vertical_offset: calc(100% - 6px);
|
|
9
|
-
$horizontal_offset: calc(100% - 6px);
|
|
10
|
-
|
|
11
|
-
.badge__item{
|
|
12
|
-
background: $color-error;
|
|
13
|
-
color: #fff;
|
|
14
|
-
position: absolute;
|
|
15
|
-
width: 8px;
|
|
16
|
-
height: 8px;
|
|
17
|
-
bottom: $vertical_offset;
|
|
18
|
-
left: $horizontal_offset;
|
|
19
|
-
border-radius: 50%;
|
|
20
|
-
&_primary{
|
|
21
|
-
background: $color-primary;
|
|
22
|
-
}
|
|
23
|
-
&_secondary{
|
|
24
|
-
background: $color-primary;
|
|
25
|
-
}
|
|
26
|
-
&_neutral{
|
|
27
|
-
background: $color-neutral;
|
|
28
|
-
}
|
|
29
|
-
&_error{
|
|
30
|
-
background: $color-error;
|
|
31
|
-
}
|
|
32
|
-
&_info{
|
|
33
|
-
background: $color-info;
|
|
34
|
-
}
|
|
35
|
-
&_warning{
|
|
36
|
-
background: $color-warning;
|
|
37
|
-
}
|
|
38
|
-
&_success{
|
|
39
|
-
background: $color-success;
|
|
40
|
-
color: $color-gray-900;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
.badge__item_content{
|
|
44
|
-
width: 20px;
|
|
45
|
-
height: 20px;
|
|
46
|
-
@include flex(center);
|
|
47
|
-
font-size: 12px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.badge__item_content_circle,
|
|
51
|
-
.badge__item_content_square{
|
|
52
|
-
width: auto;
|
|
53
|
-
height: auto;
|
|
54
|
-
border-radius: $radius;
|
|
55
|
-
font-size: 12px;
|
|
56
|
-
font-weight: 500;
|
|
57
|
-
line-height: 20px;
|
|
58
|
-
padding:0 6px;
|
|
59
|
-
}
|
|
60
|
-
.badge__item_content_circle{
|
|
61
|
-
border-radius: 10px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.badge__item_top-right{
|
|
65
|
-
bottom: $vertical_offset;
|
|
66
|
-
left: $horizontal_offset;
|
|
67
|
-
}
|
|
68
|
-
.badge__item_top-left{
|
|
69
|
-
bottom: $vertical_offset;
|
|
70
|
-
right: $horizontal_offset;
|
|
71
|
-
left: auto;
|
|
72
|
-
}
|
|
73
|
-
.badge__item_bottom-right{
|
|
74
|
-
top: $vertical_offset;
|
|
75
|
-
left: $horizontal_offset;
|
|
76
|
-
bottom: auto;
|
|
77
|
-
}
|
|
78
|
-
.badge__item_bottom-left{
|
|
79
|
-
top: $vertical_offset;
|
|
80
|
-
right: $horizontal_offset;
|
|
81
|
-
left: auto;
|
|
82
|
-
bottom: auto;
|
|
83
|
-
}
|
package/esm/ui/Button/Button.css
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import { ColorThemeType, ColorType, SizeType, VariantType } from 'types/theme';
|
|
3
|
-
type OwnProps<T extends ElementType = ElementType> = {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
size?: SizeType;
|
|
6
|
-
color?: ColorType | Exclude<ColorThemeType, 'white'>;
|
|
7
|
-
variant?: VariantType;
|
|
8
|
-
startAdornment?: string | ReactNode;
|
|
9
|
-
endAdornment?: string | ReactNode;
|
|
10
|
-
group?: 'inline' | 'column';
|
|
11
|
-
as?: T;
|
|
12
|
-
};
|
|
13
|
-
export type ButtonProps<T extends ElementType = ElementType<HTMLAttributes<HTMLButtonElement>>> = OwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof OwnProps>;
|
|
14
|
-
declare const Button: <T extends ElementType>(props: ButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default Button;
|
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
@import "../../assets/styles";
|
|
2
|
-
|
|
3
|
-
.button{
|
|
4
|
-
outline: none;
|
|
5
|
-
border:1px solid transparent;
|
|
6
|
-
border-radius: $radius;
|
|
7
|
-
text-transform: uppercase;
|
|
8
|
-
padding: $size-step calc(3 * $size-step);
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
@include transition(0.3s);
|
|
11
|
-
font-weight: 500;
|
|
12
|
-
font-size: 16px;
|
|
13
|
-
height: $size-elarge;
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
&:disabled{
|
|
18
|
-
cursor: initial;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
.button_contained {
|
|
22
|
-
&.button_primary{
|
|
23
|
-
color: #fff;
|
|
24
|
-
background: $color-primary;
|
|
25
|
-
&:hover{
|
|
26
|
-
background: $color-primary-dark;
|
|
27
|
-
}
|
|
28
|
-
&:active{
|
|
29
|
-
background: $color-blue-800;
|
|
30
|
-
}
|
|
31
|
-
&:disabled{
|
|
32
|
-
background: $color-primary-light;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
&.button_secondary {
|
|
36
|
-
background: $color-secondary;
|
|
37
|
-
color: #fff;
|
|
38
|
-
&:hover{
|
|
39
|
-
background: $color-secondary-dark;
|
|
40
|
-
}
|
|
41
|
-
&:active{
|
|
42
|
-
background: $color-orange-800;
|
|
43
|
-
}
|
|
44
|
-
&:disabled{
|
|
45
|
-
background: $color-secondary-light;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
&.button_neutral {
|
|
49
|
-
background: $color-neutral;
|
|
50
|
-
&:hover{
|
|
51
|
-
background: $color-neutral-dark;
|
|
52
|
-
}
|
|
53
|
-
&:active{
|
|
54
|
-
background: $color-gray-600;
|
|
55
|
-
}
|
|
56
|
-
&:disabled{
|
|
57
|
-
background: $color-secondary-light;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
&.button_black {
|
|
61
|
-
background: $color-gray-900;
|
|
62
|
-
&:hover{
|
|
63
|
-
background: $color-neutral-dark;
|
|
64
|
-
}
|
|
65
|
-
&:active{
|
|
66
|
-
background: $color-gray-600;
|
|
67
|
-
}
|
|
68
|
-
&:disabled{
|
|
69
|
-
background: $color-secondary-light;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
.button_outlined {
|
|
74
|
-
background: transparent;
|
|
75
|
-
&.button_primary{
|
|
76
|
-
|
|
77
|
-
color: $color-primary;
|
|
78
|
-
border-color: $color-primary;
|
|
79
|
-
background: transparent;
|
|
80
|
-
&:hover{
|
|
81
|
-
background: rgba($color-primary, 0.1);
|
|
82
|
-
}
|
|
83
|
-
&:active{
|
|
84
|
-
background: $color-blue-A100;
|
|
85
|
-
}
|
|
86
|
-
&:disabled{
|
|
87
|
-
color: $color-primary-light;
|
|
88
|
-
border-color: $color-primary-light;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
&.button_secondary {
|
|
92
|
-
border-color: $color-secondary;
|
|
93
|
-
color: $color-secondary;
|
|
94
|
-
&:hover{
|
|
95
|
-
background: rgba($color-secondary, 0.1);
|
|
96
|
-
}
|
|
97
|
-
&:active{
|
|
98
|
-
background: $color-orange-100;
|
|
99
|
-
}
|
|
100
|
-
&:disabled{
|
|
101
|
-
color: $color-primary-light;
|
|
102
|
-
border-color: $color-primary-light;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
&.button_neutral,
|
|
106
|
-
&.button_black {
|
|
107
|
-
border-color: $color-gray-900;
|
|
108
|
-
color: $color-gray-900;
|
|
109
|
-
&:hover{
|
|
110
|
-
background: rgba($color-neutral, 0.1);
|
|
111
|
-
}
|
|
112
|
-
&:active{
|
|
113
|
-
background: $color-gray-300;
|
|
114
|
-
}
|
|
115
|
-
&:disabled{
|
|
116
|
-
color: $color-neutral-light;
|
|
117
|
-
border-color: $color-neutral-light;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
.button_transparent {
|
|
122
|
-
background: transparent;
|
|
123
|
-
&.button_primary{
|
|
124
|
-
color: $color-primary;
|
|
125
|
-
background: transparent;
|
|
126
|
-
&:hover{
|
|
127
|
-
background: rgba($color-primary, 0.1);
|
|
128
|
-
}
|
|
129
|
-
&:active{
|
|
130
|
-
background: $color-blue-A100;
|
|
131
|
-
}
|
|
132
|
-
&:disabled{
|
|
133
|
-
color: $color-primary-light;
|
|
134
|
-
background: none;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
&.button_secondary {
|
|
138
|
-
color: $color-secondary;
|
|
139
|
-
&:hover{
|
|
140
|
-
background: rgba($color-secondary, 0.1);
|
|
141
|
-
}
|
|
142
|
-
&:active{
|
|
143
|
-
background: $color-orange-100;
|
|
144
|
-
}
|
|
145
|
-
&:disabled{
|
|
146
|
-
color: $color-primary-light;
|
|
147
|
-
background: none;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
&.button_neutral,
|
|
151
|
-
&.button_black {
|
|
152
|
-
color: $color-gray-900;
|
|
153
|
-
&:hover{
|
|
154
|
-
background: rgba($color-neutral, 0.1);
|
|
155
|
-
}
|
|
156
|
-
&:active{
|
|
157
|
-
background: $color-gray-300;
|
|
158
|
-
}
|
|
159
|
-
&:disabled{
|
|
160
|
-
color: $color-neutral-light;
|
|
161
|
-
background: none;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.button__adornment{
|
|
167
|
-
font-size: inherit;
|
|
168
|
-
}
|
|
169
|
-
.button__adornment_end{
|
|
170
|
-
margin-left: $size-step;
|
|
171
|
-
}
|
|
172
|
-
.button__adornment_start{
|
|
173
|
-
margin-right: $size-step;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.button_large{
|
|
177
|
-
height: $size-large;
|
|
178
|
-
font-size: 15px;
|
|
179
|
-
}
|
|
180
|
-
.button_medium{
|
|
181
|
-
height: $size-medium;
|
|
182
|
-
font-size: 14px;
|
|
183
|
-
}
|
|
184
|
-
.button_small{
|
|
185
|
-
height: $size-small;
|
|
186
|
-
font-size: 13px;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.button_icon{
|
|
190
|
-
padding: $size-step;
|
|
191
|
-
width: $size-elarge;
|
|
192
|
-
border-radius: 50%;
|
|
193
|
-
display: flex;
|
|
194
|
-
align-items: center;
|
|
195
|
-
justify-content: center;
|
|
196
|
-
font-size: 30px;
|
|
197
|
-
&.button_large{
|
|
198
|
-
width: $size-large;
|
|
199
|
-
font-size: 24px;
|
|
200
|
-
}
|
|
201
|
-
&.button_medium{
|
|
202
|
-
width: $size-medium;
|
|
203
|
-
font-size: 20px;
|
|
204
|
-
}
|
|
205
|
-
&.button_small{
|
|
206
|
-
width: $size-small;
|
|
207
|
-
padding: calc($size-step / 2);
|
|
208
|
-
font-size: 16px;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.button_group{
|
|
213
|
-
display: flex;
|
|
214
|
-
align-items: center;
|
|
215
|
-
}
|
|
216
|
-
.button_group_inline{
|
|
217
|
-
flex-direction: row;
|
|
218
|
-
}
|
|
219
|
-
.button_group_column{
|
|
220
|
-
flex-direction: column;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.button_grouped_inline{
|
|
224
|
-
border-radius: 0;
|
|
225
|
-
&:first-child{
|
|
226
|
-
border-top-left-radius: $radius;
|
|
227
|
-
border-bottom-left-radius: $radius;
|
|
228
|
-
}
|
|
229
|
-
&:last-child{
|
|
230
|
-
border-top-right-radius: $radius;
|
|
231
|
-
border-bottom-right-radius: $radius;
|
|
232
|
-
}
|
|
233
|
-
&.button_contained{
|
|
234
|
-
&.button_primary + *{
|
|
235
|
-
border-left-color: $color-info-dark;
|
|
236
|
-
}
|
|
237
|
-
&.button_secondary + *{
|
|
238
|
-
border-left-color: $color-primary-dark;
|
|
239
|
-
}
|
|
240
|
-
&.button_neutral + *{
|
|
241
|
-
border-left-color: $color-neutral-dark;
|
|
242
|
-
}
|
|
243
|
-
&.button_black + *{
|
|
244
|
-
border-left-color: $color-neutral-dark;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
&.button_outlined{
|
|
248
|
-
&.button_primary + *{
|
|
249
|
-
border-left-color: $color-info-dark;
|
|
250
|
-
}
|
|
251
|
-
&.button_primary:not(:last-child){
|
|
252
|
-
border-right: 0;
|
|
253
|
-
}
|
|
254
|
-
&.button_secondary + *{
|
|
255
|
-
border-left-color: $color-secondary;
|
|
256
|
-
}
|
|
257
|
-
&.button_secondary:not(:last-child){
|
|
258
|
-
border-right: 0;
|
|
259
|
-
}
|
|
260
|
-
&.button_neutral + *{
|
|
261
|
-
border-left-color: $color-neutral;
|
|
262
|
-
}
|
|
263
|
-
&.button_neutral:not(:last-child){
|
|
264
|
-
border-right: 0;
|
|
265
|
-
}
|
|
266
|
-
&.button_black + *{
|
|
267
|
-
border-left-color: $color-neutral;
|
|
268
|
-
}
|
|
269
|
-
&.button_black:not(:last-child){
|
|
270
|
-
border-right: 0;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
&.button_transparent{
|
|
274
|
-
&.button_primary + *{
|
|
275
|
-
border-left-color: $color-gray-200;
|
|
276
|
-
}
|
|
277
|
-
&.button_secondary + *{
|
|
278
|
-
border-left-color: $color-gray-200;
|
|
279
|
-
}
|
|
280
|
-
&.button_neutral + *{
|
|
281
|
-
border-left-color: $color-gray-200;
|
|
282
|
-
}
|
|
283
|
-
&.button_black + *{
|
|
284
|
-
border-left-color: $color-gray-200;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
.button_grouped_column{
|
|
289
|
-
border-radius: 0;
|
|
290
|
-
&:first-child{
|
|
291
|
-
border-top-left-radius: $radius;
|
|
292
|
-
border-top-right-radius: $radius;
|
|
293
|
-
}
|
|
294
|
-
&:last-child{
|
|
295
|
-
border-bottom-left-radius: $radius;
|
|
296
|
-
border-bottom-right-radius: $radius;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CSS_PREFIX } from 'lib/const/styles';
|
|
2
|
-
const ButtonClassesClean = ['button', 'button_contained', 'button_transparent', 'button_outlined', 'button_primary', 'button_secondary', 'button_neutral', 'button_black', 'button__adornment', 'button__adornment_end', 'button__adornment_start', 'button_large', 'button_medium', 'button_small', 'button_icon', 'button_group', 'button_group_inline', 'button_group_column', 'button_grouped_inline', 'button_grouped_column'];
|
|
3
|
-
const ButtonClasses = ButtonClassesClean.reduce((prev, current) => {
|
|
4
|
-
prev[current] = CSS_PREFIX + current;
|
|
5
|
-
return prev;
|
|
6
|
-
}, {});
|
|
7
|
-
export { ButtonClasses, ButtonClassesClean };
|
package/esm/ui/Card/Card.d.ts
DELETED
package/esm/ui/Chip/Chip.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ElementType, HTMLAttributes } from 'react';
|
|
2
|
-
import { ColorType, SizeType, VariantType } from '../../types/theme';
|
|
3
|
-
export type ChipProps<T extends ElementType = ElementType<HTMLAttributes<HTMLSpanElement>>> = Omit<ComponentPropsWithoutRef<T>, 'color'> & {
|
|
4
|
-
size?: Exclude<SizeType, 'large' | 'extraLarge'>;
|
|
5
|
-
color?: ColorType;
|
|
6
|
-
text?: string;
|
|
7
|
-
onClose?: () => void;
|
|
8
|
-
icon?: string;
|
|
9
|
-
variant?: Exclude<VariantType, 'transparent'>;
|
|
10
|
-
as?: T;
|
|
11
|
-
};
|
|
12
|
-
declare function Chip<T extends ElementType>(props: ChipProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default Chip;
|