@eturnity/eturnity_reusable_components 7.18.0-qa-dev03.0 → 7.20.0--EPDM-10564.1

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.
Files changed (56) hide show
  1. package/.storybook/preview.js +1 -1
  2. package/babel.config.js +2 -4
  3. package/package.json +18 -23
  4. package/src/App.vue +2 -2
  5. package/src/assets/svgIcons/split.svg +88 -6
  6. package/src/components/addNewButton/index.vue +5 -3
  7. package/src/components/buttons/buttonIcon/index.vue +1 -1
  8. package/src/components/buttons/closeButton/index.vue +1 -1
  9. package/src/components/buttons/mainButton/index.vue +6 -1
  10. package/src/components/card/index.vue +25 -24
  11. package/src/components/deleteIcon/DeleteIcon.stories.js +7 -7
  12. package/src/components/deleteIcon/index.vue +47 -30
  13. package/src/components/draggableInputHandle/index.vue +24 -25
  14. package/src/components/dropdown/index.vue +129 -110
  15. package/src/components/errorMessage/index.vue +10 -5
  16. package/src/components/filter/filterSettings.vue +59 -97
  17. package/src/components/filter/index.vue +3 -3
  18. package/src/components/filter/parentDropdown.vue +2 -2
  19. package/src/components/icon/iconCache.js +23 -0
  20. package/src/components/icon/iconCollection.vue +2 -2
  21. package/src/components/icon/index.vue +67 -75
  22. package/src/components/iconWrapper/index.vue +1 -4
  23. package/src/components/infoCard/index.vue +2 -3
  24. package/src/components/infoText/index.vue +2 -2
  25. package/src/components/inputs/checkbox/index.vue +21 -6
  26. package/src/components/inputs/inputNumber/index.vue +10 -10
  27. package/src/components/inputs/inputNumberQuestion/index.vue +1 -1
  28. package/src/components/inputs/inputText/index.vue +3 -3
  29. package/src/components/inputs/radioButton/index.vue +1 -1
  30. package/src/components/inputs/searchInput/index.vue +28 -11
  31. package/src/components/inputs/select/index.vue +295 -67
  32. package/src/components/inputs/select/option/index.vue +49 -12
  33. package/src/components/inputs/slider/index.vue +16 -16
  34. package/src/components/inputs/switchField/index.vue +2 -2
  35. package/src/components/inputs/textAreaInput/index.vue +1 -1
  36. package/src/components/inputs/toggle/index.vue +2 -2
  37. package/src/components/label/index.vue +27 -31
  38. package/src/components/markerItem/index.vue +86 -0
  39. package/src/components/modals/modal/index.vue +2 -6
  40. package/src/components/navigationTabs/index.vue +27 -20
  41. package/src/components/pageSubtitle/index.vue +1 -1
  42. package/src/components/pageTitle/index.vue +13 -18
  43. package/src/components/pagination/index.vue +3 -3
  44. package/src/components/progressBar/index.vue +1 -1
  45. package/src/components/projectMarker/index.vue +16 -9
  46. package/src/components/sideMenu/index.vue +1 -1
  47. package/src/components/spinner/index.vue +7 -11
  48. package/src/components/tableDropdown/index.vue +35 -45
  49. package/src/components/tables/mainTable/exampleNested.vue +1 -1
  50. package/src/components/tables/mainTable/index.vue +10 -9
  51. package/src/components/tables/viewTable/index.vue +2 -2
  52. package/src/components/threeDots/index.vue +1 -1
  53. package/src/components/videoThumbnail/index.vue +95 -100
  54. package/src/main.js +4 -11
  55. package/src/assets/svgIcons/anchor.svg +0 -18
  56. package/src/assets/svgIcons/flatten_roof.svg +0 -20
@@ -1,4 +1,4 @@
1
- import { ThemeProvider } from "vue-styled-components"
1
+ import { ThemeProvider } from "vue3-styled-components"
2
2
 
3
3
  const theme = {
4
4
  colors: {
package/babel.config.js CHANGED
@@ -1,5 +1,3 @@
1
1
  module.exports = {
2
- presets: [
3
- '@vue/cli-plugin-babel/preset'
4
- ]
5
- }
2
+ presets: ['@vue/cli-plugin-babel/preset']
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "7.18.0-qa-dev03.0",
3
+ "version": "7.20.0--EPDM-10564.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -10,30 +10,25 @@
10
10
  "build-storybook": "build-storybook"
11
11
  },
12
12
  "dependencies": {
13
- "@vueform/slider": "1.0.5",
13
+ "@storybook/vue3": "7.0.18",
14
+ "@vue/compat": "3.3.4",
15
+ "@vueform/slider": "2.1.10",
16
+ "@vuepic/vue-datepicker": "6.1.0",
17
+ "click-outside-vue3": "4.0.1",
14
18
  "html-loader": "0.5.5",
15
- "postcss": "^8.4.25",
16
- "v-click-outside": "2.1.4",
17
- "vue": "2.6.11",
18
- "vue-styled-components": "1.6.0",
19
- "vue2-datepicker": "3.11.1",
20
- "vuedraggable": "2.24.3",
21
- "core-js": "3.31.1"
19
+ "postcss": "8.4.25",
20
+ "vue": "3.3.4",
21
+ "vue3-styled-components": "1.2.1",
22
+ "vuedraggable": "4.1.0"
22
23
  },
23
24
  "devDependencies": {
24
- "@storybook/addon-actions": "6.2.8",
25
- "@storybook/addon-docs": "6.4.19",
26
- "@storybook/addon-essentials": "6.2.8",
27
- "@storybook/addon-links": "6.2.8",
28
- "@storybook/vue": "6.4.19",
29
- "@vue/cli-plugin-babel": "~4.5.0",
30
- "@vue/cli-plugin-eslint": "~4.5.0",
31
- "@vue/cli-service": "~4.5.0",
32
- "@vue/composition-api": "1.0.0-rc.10",
33
- "babel-eslint": "10.1.0",
34
- "eslint": "6.7.2",
35
- "eslint-plugin-vue": "6.2.2",
36
- "vue-template-compiler": "2.6.11"
25
+ "@babel/core": "7.12.16",
26
+ "@vue/cli-plugin-babel": "5.0.8",
27
+ "@vue/cli-plugin-eslint": "5.0.8",
28
+ "@vue/cli-service": "5.0.8",
29
+ "@vue/compiler-sfc": "3.3.4",
30
+ "eslint": "7.32.0",
31
+ "eslint-plugin-vue": "8.0.3"
37
32
  },
38
33
  "eslintConfig": {
39
34
  "root": true,
@@ -45,7 +40,7 @@
45
40
  "eslint:recommended"
46
41
  ],
47
42
  "parserOptions": {
48
- "parser": "babel-eslint"
43
+ "parser": "@babel/eslint-parser"
49
44
  },
50
45
  "rules": {}
51
46
  },
package/src/App.vue CHANGED
@@ -55,9 +55,9 @@
55
55
  </template>
56
56
 
57
57
  <script>
58
- import { ThemeProvider } from 'vue-styled-components'
58
+ import { ThemeProvider } from 'vue3-styled-components'
59
59
  import theme from './assets/theme'
60
- import styled from 'vue-styled-components'
60
+ import styled from 'vue3-styled-components'
61
61
  import InputNumber from '@/components/inputs/inputNumber'
62
62
 
63
63
  const PageContainer = styled.div`
@@ -1,12 +1,94 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
1
4
  <svg
5
+ version="1.1"
6
+ id="svg438"
2
7
  width="838"
3
8
  height="833"
4
9
  viewBox="0 0 838 833"
10
+ sodipodi:docname="split.svg"
11
+ inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
12
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
5
14
  xmlns="http://www.w3.org/2000/svg"
6
- >
7
-
8
- <path
9
- fill="#B2B9C5"
10
- d="m -5.0875843,441.73292 3.3936693,-93.74987 847.237645,-2.85667 -3.71049,95.94711 z m 333.6519143,232.4369 -98.27777,-105.35245 43.34233,-0.60608 c 23.83828,-0.33335 56.95483,-0.67085 73.59233,-0.75 l 30.25,-0.14392 L 376,413.05958 374.48738,213.61969 301.67731,213.3632 228.86724,213.10671 326.58798,107.77384 C 380.33439,49.84076 424.5019,2.3657611 424.73801,2.2738411 425.25724,2.0716911 628.96623,212.59506 628.96623,213.35636 c 0,0.29424 -41.55385,0.25035 -81.97885,0.25035 h -73.5 L 475,413.0466 l 1.47122,154.25779 72.81196,0.25649 72.81196,0.25649 -91.89971,99.5 -103.35334,112.2049 z"
11
- />
15
+ xmlns:svg="http://www.w3.org/2000/svg">
16
+ <defs
17
+ id="defs442">
18
+ <linearGradient
19
+ id="linearGradient7383"
20
+ inkscape:swatch="solid">
21
+ <stop
22
+ style="stop-color:#ffffff;stop-opacity:1;"
23
+ offset="0"
24
+ id="stop7381" />
25
+ </linearGradient>
26
+ <linearGradient
27
+ id="linearGradient6933"
28
+ inkscape:swatch="solid">
29
+ <stop
30
+ style="stop-color:#000000;stop-opacity:1;"
31
+ offset="0"
32
+ id="stop6931" />
33
+ </linearGradient>
34
+ </defs>
35
+ <sodipodi:namedview
36
+ id="namedview440"
37
+ pagecolor="#ffffff"
38
+ bordercolor="#666666"
39
+ borderopacity="1.0"
40
+ inkscape:pageshadow="2"
41
+ inkscape:pageopacity="0.0"
42
+ inkscape:pagecheckerboard="0"
43
+ showgrid="false"
44
+ inkscape:zoom="0.95078031"
45
+ inkscape:cx="466.45896"
46
+ inkscape:cy="549.02273"
47
+ inkscape:window-width="1920"
48
+ inkscape:window-height="1007"
49
+ inkscape:window-x="0"
50
+ inkscape:window-y="0"
51
+ inkscape:window-maximized="1"
52
+ inkscape:current-layer="g444" />
53
+ <g
54
+ inkscape:groupmode="layer"
55
+ inkscape:label="Image"
56
+ id="g444">
57
+ <circle
58
+ id="path5141"
59
+ style="fill:none;stroke:#fffeff;stroke-opacity:1"
60
+ cx="0.66903824"
61
+ cy="263.65976"
62
+ r="0.52949077" />
63
+ <circle
64
+ id="path5143"
65
+ style="fill:none;stroke:#fffeff;stroke-opacity:1"
66
+ cx="0.66903824"
67
+ cy="263.65976"
68
+ r="0.52949077" />
69
+ <g
70
+ id="path5184"
71
+ style="stroke:#fffeff;stroke-opacity:1;fill:none">
72
+ <path
73
+ style="color:#000000;fill:none;stroke-width:154.42;-inkscape-stroke:none;stroke:#fffeff;stroke-opacity:1"
74
+ d="m -156.35359,113.32885 348.76355,221.92361 744.6236,-498.85799"
75
+ id="path6861" />
76
+ <path
77
+ style="color:#000000;fill:none;-inkscape-stroke:none;stroke:#fffeff;stroke-opacity:1"
78
+ d="M 894.06055,-227.75 191.32227,243.04492 -114.9043,48.1875 -197.80273,178.46875 193.49609,427.45898 980.00781,-99.460937 Z"
79
+ id="path6863" />
80
+ </g>
81
+ <g
82
+ id="path5186"
83
+ style="stroke:#fffeff;stroke-opacity:1;fill:none">
84
+ <path
85
+ style="color:#000000;fill:none;stroke-width:166.34;-inkscape-stroke:none;stroke:#fffeff;stroke-opacity:1"
86
+ d="M 816.06617,905.68984 357.97591,628.01443 1035.7943,176.14788"
87
+ id="path6855" />
88
+ <path
89
+ style="color:#000000;fill:none;-inkscape-stroke:none;stroke:#fffeff;stroke-opacity:1"
90
+ d="M 989.66016,106.94531 203.03125,631.34961 772.95312,976.81445 859.17773,834.56641 512.91992,624.67773 1081.9277,245.34961 Z"
91
+ id="path6857" />
92
+ </g>
93
+ </g>
12
94
  </svg>
@@ -1,14 +1,15 @@
1
1
  <template>
2
2
  <page-container :shouldPosition="shouldPosition">
3
3
  <button-container :data-id="dataId">
4
- <plus-button :src="require('../../assets/icons/plus_button.svg')" />
4
+ <PlusButtonSvg />
5
5
  </button-container>
6
6
  </page-container>
7
7
  </template>
8
8
 
9
9
  <script>
10
10
  // import AddNewButton from "@eturnity/eturnity_reusable_components/src/components/addNewButton"
11
- import styled from 'vue-styled-components'
11
+ import styled from 'vue3-styled-components'
12
+ import PlusButtonSvg from '../../assets/icons/plus_button.svg'
12
13
 
13
14
  const pageAttrs = { shouldPosition: Boolean }
14
15
  const PageContainer = styled('div', pageAttrs)`
@@ -46,7 +47,8 @@ export default {
46
47
  components: {
47
48
  PageContainer,
48
49
  ButtonContainer,
49
- PlusButton
50
+ PlusButton,
51
+ PlusButtonSvg
50
52
  },
51
53
  props: {
52
54
  shouldPosition: {
@@ -32,7 +32,7 @@
32
32
  // />
33
33
 
34
34
  import Icon from "../../icon"
35
- import styled from "vue-styled-components"
35
+ import styled from "vue3-styled-components"
36
36
  import Theme from "@/assets/theme";
37
37
 
38
38
  const PageContainer = styled.div``
@@ -13,7 +13,7 @@
13
13
  // <close-button
14
14
  // color="#fff"
15
15
  // />
16
- import styled from 'vue-styled-components'
16
+ import styled from 'vue3-styled-components'
17
17
 
18
18
  const Container = styled.div`
19
19
  position: relative;
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <page-container>
3
3
  <button-container
4
+ :id="id"
4
5
  :type="type"
5
6
  :minWidth="minWidth"
6
7
  :isDisabled="isDisabled"
@@ -25,7 +26,7 @@
25
26
  // :data-id="test_data_id"
26
27
  // />
27
28
 
28
- import styled from 'vue-styled-components'
29
+ import styled from 'vue3-styled-components'
29
30
 
30
31
  const PageContainer = styled.div``
31
32
 
@@ -98,6 +99,10 @@ export default {
98
99
  required: false,
99
100
  default: null
100
101
  },
102
+ id: {
103
+ required: false,
104
+ default: null
105
+ },
101
106
  dataId: {
102
107
  type: String,
103
108
  default: ''
@@ -1,26 +1,26 @@
1
1
  <template>
2
- <Wrapper
3
- v-show="!isLoading"
4
- :class="viewCardClass"
5
- :width="width"
6
- :minWidth="minWidth"
7
- >
8
- <Spinner v-if="isLoading" size="50px" :limitedToModal="true" />
9
- <CardWrapper v-else>
10
- <CardTitle :class="titleClass" >
11
- {{ $gettext(title) }}
12
- <et-popover
13
- v-if="showPopover && popoverText !== ''"
14
- :text="popoverText"
15
- ></et-popover>
16
- </CardTitle>
17
- <slot></slot>
18
- </CardWrapper>
19
- </Wrapper>
2
+ <Wrapper
3
+ v-show="!isLoading"
4
+ :class="viewCardClass"
5
+ :width="width"
6
+ :minWidth="minWidth"
7
+ >
8
+ <Spinner v-if="isLoading" size="50px" :limitedToModal="true" />
9
+ <CardWrapper v-else>
10
+ <CardTitle :class="titleClass">
11
+ {{ $gettext(title) }}
12
+ <et-popover
13
+ v-if="showPopover && popoverText !== ''"
14
+ :text="popoverText"
15
+ ></et-popover>
16
+ </CardTitle>
17
+ <slot></slot>
18
+ </CardWrapper>
19
+ </Wrapper>
20
20
  </template>
21
21
 
22
22
  <script>
23
- import styled from 'vue-styled-components'
23
+ import styled from 'vue3-styled-components'
24
24
  import Spinner from '../spinner'
25
25
 
26
26
  const WrapperProps = { width: [Number, String], minWidth: [Number, String] }
@@ -28,9 +28,10 @@ const Wrapper = styled('div', WrapperProps)`
28
28
  max-width: ${(props) => props.width};
29
29
  min-width: ${(props) => props.minWidth};
30
30
  padding: 20px;
31
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
31
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
32
+ 0 1px 5px 0 rgba(0, 0, 0, 0.12);
32
33
  border-radius: 4px;
33
- background-color: ${props => props.theme.colors.white};
34
+ background-color: ${(props) => props.theme.colors.white};
34
35
  height: 100%;
35
36
  `
36
37
 
@@ -42,7 +43,7 @@ const CardWrapper = styled('div')`
42
43
  const CardTitle = styled('p')`
43
44
  font-size: 14px;
44
45
  line-height: 1;
45
- color: ${props => props.theme.colors.black};
46
+ color: ${(props) => props.theme.colors.black};
46
47
  font-weight: 700;
47
48
  margin-bottom: 10px;
48
49
  `
@@ -89,7 +90,7 @@ export default {
89
90
  Spinner,
90
91
  Wrapper,
91
92
  CardTitle,
92
- CardWrapper,
93
+ CardWrapper
93
94
  }
94
95
  }
95
- </script>
96
+ </script>
@@ -1,8 +1,8 @@
1
- import DeleteIcon from "./index.vue"
1
+ import DeleteIcon from './index.vue'
2
2
 
3
3
  export default {
4
- title: "DeleteIcon",
5
- component: DeleteIcon,
4
+ title: 'DeleteIcon',
5
+ component: DeleteIcon
6
6
  // argTypes: {},
7
7
  }
8
8
 
@@ -11,19 +11,19 @@ const Template = (args, { argTypes }) => ({
11
11
  components: { DeleteIcon },
12
12
  // The story's `args` need to be mapped into the template through the `setup()` method
13
13
  props: Object.keys(argTypes),
14
- template: '<delete-icon v-bind="$props" />',
14
+ template: '<delete-icon v-bind="$props" />'
15
15
 
16
16
  // import DeleteIcon from "@eturnity/eturnity_reusable_components/src/components/deleteIcon"
17
17
  // To use:
18
- // <delete-icon color="gray" @click.native="onDeleteItem(item)" :isDisabled="true" />
18
+ // <delete-icon color="gray" @click="onDeleteItem(item)" :isDisabled="true" />
19
19
  })
20
20
 
21
21
  export const Default = Template.bind({})
22
22
  Default.args = {
23
- isDisabled: false,
23
+ isDisabled: false
24
24
  }
25
25
 
26
26
  export const Disabled = Template.bind({})
27
27
  Disabled.args = {
28
- isDisabled: true,
28
+ isDisabled: true
29
29
  }
@@ -1,61 +1,78 @@
1
1
  <template>
2
- <wrapper
3
- @mouseover="isHovered = true"
4
- @mouseleave="isHovered = false"
5
- :isDisabled="isDisabled"
6
- >
7
- <icon-image
8
- v-if="isHovered && !isDisabled"
9
- :hoverBg="hoverBg"
10
- :src="require('../../assets/icons/delete_icon.svg')"
11
- />
12
- <icon-image
13
- v-else
14
- :src="require('../../assets/icons/delete_icon_gray.svg')"
15
- />
2
+ <wrapper :isDisabled="isDisabled">
3
+ <delete-icon-red class="icon-red" :hoverBg="hoverBg" />
4
+ <delete-icon-gray class="icon-gray" />
16
5
  </wrapper>
17
6
  </template>
18
7
 
19
8
  <script>
20
9
  // To use:
21
- // <delete-icon @click.native="onDeleteItem(item)" :isDisabled="true" />
22
- import styled from "vue-styled-components"
10
+ // <delete-icon @click="onDeleteItem(item)" :isDisabled="true" />
11
+ import styled from 'vue3-styled-components'
12
+ import SvgDelete from '../../assets/icons/delete_icon.svg'
13
+ import SvgDeleteGray from '../../assets/icons/delete_icon_gray.svg'
23
14
 
24
15
  const wrapperAttrs = { isDisabled: Boolean }
25
- const Wrapper = styled("div", wrapperAttrs)`
16
+ const Wrapper = styled('div', wrapperAttrs)`
26
17
  width: 30px;
27
18
  height: 30px;
28
- cursor: ${(props) => (props.isDisabled ? "not-allowed" : "pointer")};
19
+ cursor: ${(props) => (props.isDisabled ? 'not-allowed' : 'pointer')};
20
+
21
+ .icon-red {
22
+ display: none;
23
+ }
24
+
25
+ .icon-gray {
26
+ display: inline;
27
+ }
28
+
29
+ ${(props) =>
30
+ !props.isDisabled &&
31
+ `
32
+ &:hover {
33
+ .icon-red {
34
+ display: inline;
35
+ }
36
+
37
+ .icon-gray {
38
+ display: none;
39
+ }
40
+ }
41
+ `}
29
42
  `
30
43
 
31
44
  const IconImageAttrs = { hoverBg: String }
32
- const IconImage = styled('img', IconImageAttrs)`
45
+ const DeleteIconRed = styled(SvgDelete, IconImageAttrs)`
33
46
  &:hover {
34
- background-color: ${(props) => props.hoverBg ? props.hoverBg : props.theme.colors.grey5};
47
+ background-color: ${(props) =>
48
+ props.hoverBg ? props.hoverBg : props.theme.colors.grey5};
49
+ border-radius: 4px;
50
+ }
51
+ `
52
+
53
+ const DeleteIconGray = styled(SvgDeleteGray, IconImageAttrs)`
54
+ &:hover {
55
+ background-color: ${(props) => props.theme.colors.grey5};
35
56
  border-radius: 4px;
36
57
  }
37
58
  `
38
59
 
39
60
  export default {
40
- name: "delete-icon",
61
+ name: 'delete-icon',
41
62
  components: {
42
63
  Wrapper,
43
- IconImage,
64
+ DeleteIconRed,
65
+ DeleteIconGray
44
66
  },
45
67
  props: {
46
68
  isDisabled: {
47
69
  required: false,
48
- default: false,
70
+ default: false
49
71
  },
50
72
  hoverBg: {
51
73
  required: false,
52
- default: '',
74
+ default: ''
53
75
  }
54
- },
55
- data() {
56
- return {
57
- isHovered: false,
58
- }
59
- },
76
+ }
60
77
  }
61
78
  </script>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <Handle :height = "height" class="handle">
2
+ <Handle :height="height" class="handle">
3
3
  <Dot></Dot>
4
4
  <Dot></Dot>
5
5
  <Dot></Dot>
@@ -7,35 +7,34 @@
7
7
  </template>
8
8
 
9
9
  <script>
10
+ import styled from 'vue3-styled-components'
10
11
 
11
- import styled from 'vue-styled-components'
12
-
13
- const Handle = styled('div',{ height : String })`
14
- position:absolute;
15
- left:0;
16
- margin-right:10px;
17
- display: flex;
18
- align-items: stretch;
19
- flex-direction: column;
20
- justify-content: center;
21
- width: 14px;
22
- height:${props=> props.height};
23
- padding: 0 5px;
24
- background-color: #f3f3f7;
25
- cursor: pointer;
26
- align-items: center;
27
- `
12
+ const Handle = styled('div', { height: String })`
13
+ position: absolute;
14
+ left: 0;
15
+ margin-right: 10px;
16
+ display: flex;
17
+ align-items: stretch;
18
+ flex-direction: column;
19
+ justify-content: center;
20
+ width: 14px;
21
+ height: ${(props) => props.height};
22
+ padding: 0 5px;
23
+ background-color: #f3f3f7;
24
+ cursor: pointer;
25
+ align-items: center;
26
+ `
28
27
  const Dot = styled.div`
29
- display: inline-block;
30
- width: 4px;
31
- height: 4px;
32
- margin:2px;
33
- background-color: #0068de;
34
- `
28
+ display: inline-block;
29
+ width: 4px;
30
+ height: 4px;
31
+ margin: 2px;
32
+ background-color: #0068de;
33
+ `
35
34
 
36
35
  export default {
37
36
  name: 'draggableInputHandle',
38
- props:['height'],
37
+ props: ['height'],
39
38
  components: {
40
39
  Handle,
41
40
  Dot