quasar-ui-sellmate-ui-kit 3.14.13 → 3.14.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.
Files changed (55) hide show
  1. package/dist/index.common.js +2 -2
  2. package/dist/index.css +2861 -2861
  3. package/dist/index.esm.js +2 -2
  4. package/dist/index.min.css +2 -2
  5. package/dist/index.rtl.css +2861 -2861
  6. package/dist/index.rtl.min.css +2 -2
  7. package/dist/index.umd.js +431 -414
  8. package/dist/index.umd.min.js +2 -2
  9. package/package.json +1 -1
  10. package/src/components/InputWithSearchIcon.vue +2 -2
  11. package/src/components/SBadge.vue +5 -5
  12. package/src/components/SBreadcrumbs.vue +26 -30
  13. package/src/components/SButton.vue +4 -4
  14. package/src/components/SButtonGroup.vue +21 -26
  15. package/src/components/SButtonToggle.vue +3 -3
  16. package/src/components/SCaution.vue +92 -98
  17. package/src/components/SCheckbox.vue +86 -87
  18. package/src/components/SChip.vue +63 -63
  19. package/src/components/SDate.vue +15 -15
  20. package/src/components/SDateAutoRangePicker.vue +101 -98
  21. package/src/components/SDatePicker.vue +19 -19
  22. package/src/components/SDateRange.vue +15 -25
  23. package/src/components/SDateRangePicker.vue +19 -20
  24. package/src/components/SDateTimePicker.vue +15 -23
  25. package/src/components/SDialog.vue +145 -169
  26. package/src/components/SDropdown.vue +6 -6
  27. package/src/components/SEditor.vue +2 -2
  28. package/src/components/SFilePicker.vue +10 -10
  29. package/src/components/SHelp.vue +4 -4
  30. package/src/components/SInput.vue +19 -19
  31. package/src/components/SInputNumber.vue +12 -12
  32. package/src/components/SMarkupTable.vue +89 -88
  33. package/src/components/SPagination.vue +11 -11
  34. package/src/components/SRadio.vue +52 -52
  35. package/src/components/SRouteTab.vue +3 -3
  36. package/src/components/SSelect.vue +9 -9
  37. package/src/components/SSelectCheckbox.vue +5 -5
  38. package/src/components/SSelectGroupCheckbox.vue +7 -7
  39. package/src/components/SSelectSearch.vue +2 -2
  40. package/src/components/SSelectSearchCheckbox.vue +5 -5
  41. package/src/components/STab.vue +6 -6
  42. package/src/components/STable.vue +9 -9
  43. package/src/components/STableTree.vue +10 -10
  44. package/src/components/STag.vue +17 -17
  45. package/src/components/STimePicker.vue +9 -9
  46. package/src/components/SToggle.vue +44 -45
  47. package/src/components/STooltip.vue +144 -142
  48. package/src/components/SYearMonthPicker.vue +8 -8
  49. package/src/components/TableTreeNode.vue +4 -4
  50. package/src/components/TimePickerCard.vue +11 -11
  51. package/src/composables/table/use-resizable.js +14 -4
  52. package/src/css/app.scss +8 -7
  53. package/src/css/default.scss +172 -141
  54. package/src/css/extends.scss +13 -13
  55. package/src/css/quasar.variables.scss +133 -121
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-sellmate-ui-kit",
3
- "version": "3.14.13",
3
+ "version": "3.14.15",
4
4
  "author": "Sellmate Dev Team <dev@sellmate.co.kr>",
5
5
  "description": "Sellmate UI Kit",
6
6
  "license": "MIT",
@@ -7,7 +7,7 @@
7
7
  :name="closeIcon12"
8
8
  size="12px"
9
9
  class="q-pa-sm cursor-pointer"
10
- color="Grey_Default"
10
+ color="grey_65"
11
11
  @click="$emit('onDelete')"
12
12
  />
13
13
  </div>
@@ -44,7 +44,7 @@
44
44
  padding-left: 8px;
45
45
  position: relative;
46
46
  border-radius: 2px;
47
- border: 1px solid $Grey_Lighten-1;
47
+ border: 1px solid $grey_55;
48
48
  background-color: white;
49
49
  position: sticky;
50
50
  top: 0;
@@ -25,18 +25,18 @@
25
25
  default: () => ({
26
26
  success: {
27
27
  label: '성공',
28
- color: 'Blue_C_Lighten-6',
28
+ color: 'brilliantblue_20',
29
29
  textColor: 'positive',
30
30
  },
31
31
  fail: {
32
32
  label: '실패',
33
- color: 'Red_Lighten-6',
34
- textColor: 'Red_Lighten-1',
33
+ color: 'red_15',
34
+ textColor: 'red_70',
35
35
  },
36
36
  total: {
37
37
  label: '전체',
38
- color: 'Grey_Lighten-5',
39
- textColor: 'Grey_Darken-1',
38
+ color: 'grey_10',
39
+ textColor: 'grey_70',
40
40
  },
41
41
  }),
42
42
  },
@@ -1,13 +1,9 @@
1
1
  <template>
2
- <q-breadcrumbs
3
- class="s-breadcrumbs"
4
- separator-color="Grey_Darken-5"
5
- active-color="Grey_Darken-5"
6
- >
2
+ <q-breadcrumbs class="s-breadcrumbs" separator-color="grey_95" active-color="grey_95">
7
3
  <q-breadcrumbs-el
8
4
  v-for="(item, i) in labels"
9
5
  :key="i"
10
- class="text-Grey_Darken-5 s-breadcrumbs-el"
6
+ class="text-grey_95 s-breadcrumbs-el"
11
7
  :to="item.link ? undefined : item.path"
12
8
  :tag="item.link ? 'a' : 'button'"
13
9
  :href="item.link"
@@ -20,36 +16,36 @@
20
16
  </template>
21
17
 
22
18
  <script>
23
- import { defineComponent } from 'vue';
24
- import { QBreadcrumbs, QBreadcrumbsEl } from 'quasar';
19
+ import { defineComponent } from 'vue';
20
+ import { QBreadcrumbs, QBreadcrumbsEl } from 'quasar';
25
21
 
26
- export default defineComponent({
27
- name: 'SBreadcrumbs',
28
- components: {
29
- QBreadcrumbs,
30
- QBreadcrumbsEl,
31
- },
32
- props: {
33
- labels: Array,
34
- },
35
- });
22
+ export default defineComponent({
23
+ name: 'SBreadcrumbs',
24
+ components: {
25
+ QBreadcrumbs,
26
+ QBreadcrumbsEl,
27
+ },
28
+ props: {
29
+ labels: Array,
30
+ },
31
+ });
36
32
  </script>
37
33
 
38
34
  <style lang="scss">
39
- .q-breadcrumbs.s-breadcrumbs {
40
- height: 22px;
41
- & > div {
42
- height: 100%;
43
- margin: 0 !important;
35
+ .q-breadcrumbs.s-breadcrumbs {
36
+ height: 22px;
44
37
  & > div {
38
+ height: 100%;
45
39
  margin: 0 !important;
46
- }
47
- .q-breadcrumbs__separator {
48
- margin: 0 8px !important;
49
- }
50
- .q-breadcrumbs--last {
51
- font-weight: bold;
40
+ & > div {
41
+ margin: 0 !important;
42
+ }
43
+ .q-breadcrumbs__separator {
44
+ margin: 0 8px !important;
45
+ }
46
+ .q-breadcrumbs--last {
47
+ font-weight: bold;
48
+ }
52
49
  }
53
50
  }
54
- }
55
51
  </style>
@@ -37,7 +37,7 @@
37
37
  },
38
38
  color: {
39
39
  type: String,
40
- default: 'Blue_B_Default',
40
+ default: 'oceanblue_75',
41
41
  },
42
42
  noHover: {
43
43
  type: Boolean,
@@ -205,12 +205,12 @@
205
205
  }
206
206
  .s-button.q-btn--outline.disabled,
207
207
  .s-button.disabled {
208
- background: $Grey_Lighten-3 !important;
208
+ background: $grey_30 !important;
209
209
  opacity: 1 !important;
210
- color: $Grey_Default !important;
210
+ color: $grey_65 !important;
211
211
  border: none !important;
212
212
  &:before {
213
- border: 1px solid $Grey_Lighten-2;
213
+ border: 1px solid $grey_45;
214
214
  }
215
215
  }
216
216
  .s-button.text-only {
@@ -1,41 +1,36 @@
1
1
  <template>
2
- <q-btn-group
3
- class="s-btn-group"
4
- :class="{ 'no-hover': noHover }"
5
- flat
6
- unelevated
7
- >
2
+ <q-btn-group class="s-btn-group" :class="{ 'no-hover': noHover }" flat unelevated>
8
3
  <slot></slot>
9
4
  </q-btn-group>
10
5
  </template>
11
6
 
12
7
  <script>
13
- import { defineComponent } from 'vue';
14
- import { QBtnGroup } from 'quasar';
8
+ import { defineComponent } from 'vue';
9
+ import { QBtnGroup } from 'quasar';
15
10
 
16
- export default defineComponent({
17
- name: 'SButtonGroup',
18
- components: {
19
- QBtnGroup,
20
- },
21
- props: {
22
- noHover: {
23
- type: Boolean,
24
- default: false,
11
+ export default defineComponent({
12
+ name: 'SButtonGroup',
13
+ components: {
14
+ QBtnGroup,
25
15
  },
26
- },
27
- });
16
+ props: {
17
+ noHover: {
18
+ type: Boolean,
19
+ default: false,
20
+ },
21
+ },
22
+ });
28
23
  </script>
29
24
 
30
25
  <style lang="scss">
31
- @import "../css/quasar.variables.scss";
26
+ @import '../css/quasar.variables.scss';
32
27
 
33
- .s-btn-group {
34
- .disabled {
35
- border: none;
36
- &::before {
37
- border: 1px solid $Grey_Lighten-2;
28
+ .s-btn-group {
29
+ .disabled {
30
+ border: none;
31
+ &::before {
32
+ border: 1px solid $grey_45;
33
+ }
38
34
  }
39
35
  }
40
- }
41
36
  </style>
@@ -11,8 +11,8 @@
11
11
  outline
12
12
  unelevated
13
13
  :ripple="false"
14
- color="Grey_Lighten-2"
15
- text-color="Grey_Lighten-2"
14
+ color="grey_45"
15
+ text-color="grey_45"
16
16
  toggle-color="positive"
17
17
  toggle-text-color="positive"
18
18
  class="s-btn-toggle"
@@ -66,7 +66,7 @@
66
66
  }
67
67
 
68
68
  &:before {
69
- border-left: 1px solid $Grey_Lighten-2 !important;
69
+ border-left: 1px solid $grey_45 !important;
70
70
  }
71
71
 
72
72
  &:hover {
@@ -2,25 +2,20 @@
2
2
  <q-banner
3
3
  dense
4
4
  rounded
5
- class="s-caution text-Grey_Darken-4 flex s-border-radius-sm"
5
+ class="s-caution text-grey_90 flex s-border-radius-sm"
6
6
  :class="[
7
7
  {
8
8
  's-caution--no-icon': noIcon,
9
9
  's-caution--modal': useModal || useNotice,
10
10
  },
11
- useModal
12
- ? (useNotice ? 'bg-Grey_Lighten-6' : 'bg-Red_Lighten-6')
13
- : 'bg-Red_Lighten-6 s-border-Red_Lighten-3'
11
+ useModal ? (useNotice ? 'bg-grey_05' : 'bg-red_15') : 'bg-red_15 s-border-red_45',
14
12
  ]"
15
13
  >
16
14
  <template #avatar v-if="!noIcon">
17
- <q-icon
18
- class="s-caution-icon"
19
- size="24px"
20
- color="Red_Lighten-1"
21
- :name="cautionOutlineIcon"
22
- />
23
- <strong class="s-caution__icon--title q-mt-xs text-white block font-16-700">{{ label }}</strong>
15
+ <q-icon class="s-caution-icon" size="24px" color="red_70" :name="cautionOutlineIcon" />
16
+ <strong class="s-caution__icon--title q-mt-xs text-white block font-16-700">{{
17
+ label
18
+ }}</strong>
24
19
  </template>
25
20
  <template #default>
26
21
  <ul>
@@ -30,114 +25,113 @@
30
25
  </q-banner>
31
26
  </template>
32
27
  <script>
33
- import { defineComponent } from 'vue';
34
- import { QBanner, QIcon } from 'quasar';
35
- import { cautionOutlineIcon } from '../assets/icons';
28
+ import { defineComponent } from 'vue';
29
+ import { QBanner, QIcon } from 'quasar';
30
+ import { cautionOutlineIcon } from '../assets/icons';
36
31
 
37
- export default defineComponent({
38
- components: {
39
- QBanner,
40
- QIcon,
41
- },
42
- props: {
43
- label: {
44
- type: String,
45
- default: '주의사항',
32
+ export default defineComponent({
33
+ components: {
34
+ QBanner,
35
+ QIcon,
46
36
  },
47
- /**
48
- * @description icon 영역 없앰
49
- */
50
- noIcon: {
51
- type: Boolean,
52
- default: false,
53
- },
54
- /**
55
- * @description 모달 주의사항
56
- */
57
- useModal: {
58
- type: Boolean,
59
- default: false,
37
+ props: {
38
+ label: {
39
+ type: String,
40
+ default: '주의사항',
41
+ },
42
+ /**
43
+ * @description icon 영역 없앰
44
+ */
45
+ noIcon: {
46
+ type: Boolean,
47
+ default: false,
48
+ },
49
+ /**
50
+ * @description 모달 주의사항
51
+ */
52
+ useModal: {
53
+ type: Boolean,
54
+ default: false,
55
+ },
56
+ /**
57
+ * @description 모달 안내사항 (회색)
58
+ */
59
+ useNotice: {
60
+ type: Boolean,
61
+ default: false,
62
+ },
60
63
  },
61
- /**
62
- * @description 모달 안내사항 (회색)
63
- */
64
- useNotice: {
65
- type: Boolean,
66
- default: false,
64
+ setup() {
65
+ return {
66
+ cautionOutlineIcon,
67
+ };
67
68
  },
68
-
69
- },
70
- setup() {
71
- return {
72
- cautionOutlineIcon,
73
- };
74
- },
75
- });
69
+ });
76
70
  </script>
77
71
 
78
72
  <style lang="scss" scoped>
79
- @import "../css/quasar.variables.scss";
73
+ @import '../css/quasar.variables.scss';
80
74
 
81
- .s-caution {
82
- padding: 0;
83
- overflow: hidden;
84
- max: {
85
- height: 100%;
86
- width: 100%;
87
- }
88
- :deep(.q-banner__avatar) {
89
- flex-direction: column;
90
- min-width: 104px !important;
91
- max-width: 104px !important;
92
- margin: 0 !important;
93
- background-color: $Red_Lighten-1;
94
- padding: 0 24px;
95
- line-height: 26px;
96
- align-self: stretch;
97
- justify-content: center;
98
- }
75
+ .s-caution {
76
+ padding: 0;
77
+ overflow: hidden;
78
+ max: {
79
+ height: 100%;
80
+ width: 100%;
81
+ }
82
+ :deep(.q-banner__avatar) {
83
+ flex-direction: column;
84
+ min-width: 104px !important;
85
+ max-width: 104px !important;
86
+ margin: 0 !important;
87
+ background-color: $red_70;
88
+ padding: 0 24px;
89
+ line-height: 26px;
90
+ align-self: stretch;
91
+ justify-content: center;
92
+ }
99
93
 
100
- :deep(.q-banner__content) {
101
- padding: 0 !important;
102
- margin: 20px 32px 20px 48px;
103
- > ul {
104
- padding: 0;
105
- margin: 0;
94
+ :deep(.q-banner__content) {
95
+ padding: 0 !important;
96
+ margin: 20px 32px 20px 48px;
97
+ > ul {
98
+ padding: 0;
99
+ margin: 0;
106
100
 
107
- > li {
108
- list-style: none;
109
- font-size: $default-font;
110
- // NOTE: 현재(2024-02-16) 디자인팀에서 line-height px 단위로 일괄 조절 진행중. 차후 공통으로 % 적용된 부분 일괄 변경 필요.
111
- line-height: 22px;
112
- text-indent: -18px !important;
113
- &:before {
114
- content: '-';
101
+ > li {
102
+ list-style: none;
115
103
  font-size: $default-font;
104
+ // NOTE: 현재(2024-02-16) 디자인팀에서 line-height px 단위로 일괄 조절 진행중. 차후 공통으로 % 적용된 부분 일괄 변경 필요.
116
105
  line-height: 22px;
117
- margin-right: 12px;
106
+ text-indent: -18px !important;
107
+ &:before {
108
+ content: '-';
109
+ font-size: $default-font;
110
+ line-height: 22px;
111
+ margin-right: 12px;
112
+ }
118
113
  }
119
114
  }
120
115
  }
121
- }
122
116
 
123
- &--no-icon {
124
- :deep(.q-banner__avatar) {
125
- display: none;
117
+ &--no-icon {
118
+ :deep(.q-banner__avatar) {
119
+ display: none;
120
+ }
126
121
  }
127
- }
128
122
 
129
- &--modal {
130
- :deep(.q-banner__content) {
131
- margin: 12px 24px 12px 40px;
132
- ul {
133
- li {
134
- text-indent: -14px !important;
135
- &:before {
136
- margin-right: 8px;
123
+ &--modal {
124
+ :deep(.q-banner__content) {
125
+ margin: 12px 24px 12px 40px;
126
+ ul {
127
+ li {
128
+ text-indent: -14px !important;
129
+ &:before {
130
+ margin-right: 8px;
131
+ }
137
132
  }
138
133
  }
139
134
  }
140
135
  }
141
136
  }
142
- }
143
137
  </style>
@@ -8,116 +8,115 @@
8
8
  </template>
9
9
 
10
10
  <script>
11
- import { defineComponent } from 'vue';
12
- import { QCheckbox } from 'quasar';
11
+ import { defineComponent } from 'vue';
12
+ import { QCheckbox } from 'quasar';
13
13
 
14
- export default defineComponent({
15
- name: 'SCheckbox',
16
- components: {
17
- QCheckbox,
18
- },
19
- props: {
20
- length: Number,
21
- },
22
- setup() {
23
- return {};
24
- },
25
- });
14
+ export default defineComponent({
15
+ name: 'SCheckbox',
16
+ components: {
17
+ QCheckbox,
18
+ },
19
+ props: {
20
+ length: Number,
21
+ },
22
+ setup() {
23
+ return {};
24
+ },
25
+ });
26
26
  </script>
27
27
 
28
28
  <style lang="scss">
29
- @import "../css/quasar.variables.scss";
29
+ @import '../css/quasar.variables.scss';
30
30
 
31
- .s-checkbox {
32
- margin: 0;
33
- justify-content: center;
34
- align-items: center;
35
- font-size: $default-font;
36
- height: 1.667em;
37
- &:hover {
38
- .q-checkbox__inner {
39
- .q-checkbox__bg {
40
- border: 1px solid $positive;
41
- background-color: $Blue_B_Lighten-5;
31
+ .s-checkbox {
32
+ margin: 0;
33
+ justify-content: center;
34
+ align-items: center;
35
+ font-size: $default-font;
36
+ height: 1.667em;
37
+ &:hover {
38
+ .q-checkbox__inner {
39
+ .q-checkbox__bg {
40
+ border: 1px solid $positive;
41
+ background-color: $oceanblue_25;
42
+ }
42
43
  }
43
44
  }
44
- }
45
- & > .q-checkbox__inner {
46
- min-width: 0;
47
- width: 0.4em;
48
- height: 0.4em;
49
- &:before {
50
- background: none !important;
51
- }
52
- .q-checkbox__bg {
53
- border: 1px solid $Grey_Default;
45
+ & > .q-checkbox__inner {
46
+ min-width: 0;
54
47
  width: 0.4em;
55
48
  height: 0.4em;
56
- background: white;
57
- top: 50%;
58
- left: 50%;
59
- transform: translate(-50%, -50%);
60
- .q-checkbox__svg {
61
- width: 0.286em !important;
62
- margin: 0 auto;
49
+ &:before {
50
+ background: none !important;
63
51
  }
64
- }
65
- &--indet,
66
- &--truthy {
67
- color: $positive !important;
68
52
  .q-checkbox__bg {
69
- border: none !important;
70
- background-color: $positive !important;
53
+ border: 1px solid $grey_65;
54
+ width: 0.4em;
55
+ height: 0.4em;
56
+ background: white;
57
+ top: 50%;
58
+ left: 50%;
59
+ transform: translate(-50%, -50%);
60
+ .q-checkbox__svg {
61
+ width: 0.286em !important;
62
+ margin: 0 auto;
63
+ }
71
64
  }
72
- path {
73
- stroke-linecap: round;
74
- stroke-linejoin: round;
75
- &:first-of-type {
76
- transform: scale(0.98);
65
+ &--indet,
66
+ &--truthy {
67
+ color: $positive !important;
68
+ .q-checkbox__bg {
69
+ border: none !important;
70
+ background-color: $positive !important;
71
+ }
72
+ path {
73
+ stroke-linecap: round;
74
+ stroke-linejoin: round;
75
+ &:first-of-type {
76
+ transform: scale(0.98);
77
+ }
77
78
  }
78
79
  }
79
80
  }
81
+ & > .q-checkbox__label {
82
+ padding-left: $between-margin-md;
83
+ color: $grey_90;
84
+ line-height: $default-content-height;
85
+ }
80
86
  }
81
- & > .q-checkbox__label {
82
- padding-left: $between-margin-md;
83
- color: $Grey_Darken-4;
84
- line-height: $default-content-height;
85
- }
86
- }
87
87
 
88
- .s-checkbox[aria-checked="true"].disabled {
89
- .q-checkbox__inner {
90
- .q-checkbox__bg {
91
- background: $Grey_Lighten-4 !important;
92
- border: 1px solid $Grey_Lighten-2 !important;
88
+ .s-checkbox[aria-checked='true'].disabled {
89
+ .q-checkbox__inner {
90
+ .q-checkbox__bg {
91
+ background: $grey_20 !important;
92
+ border: 1px solid $grey_45 !important;
93
+ }
93
94
  }
94
95
  }
95
-
96
- }
97
- .disabled.s-checkbox {
98
- border: none !important;
99
- background: none !important;
100
- & > .q-checkbox__inner {
101
- .q-checkbox__bg {
102
- border: 1px solid $Grey_Lighten-2;
103
- background: $Grey_Lighten-4;
104
- .q-checkbox__svg {
105
- color: $Grey_Default;
96
+ .disabled.s-checkbox {
97
+ border: none !important;
98
+ background: none !important;
99
+ & > .q-checkbox__inner {
100
+ .q-checkbox__bg {
101
+ border: 1px solid $grey_45;
102
+ background: $grey_20;
103
+ .q-checkbox__svg {
104
+ color: $grey_65;
105
+ }
106
106
  }
107
107
  }
108
108
  }
109
- }
110
109
 
111
- .ck-margin-sm {
112
- margin-right: 20px;
113
- &:last-of-type {
114
- margin-right: 0;
110
+ .ck-margin-sm {
111
+ margin-right: 20px;
112
+ &:last-of-type {
113
+ margin-right: 0;
114
+ }
115
115
  }
116
- }
117
- .ck-margin-lg {
118
- margin-right: 40px;
119
- &:last-of-type {
120
- margin-right: 0;
116
+ .ck-margin-lg {
117
+ margin-right: 40px;
118
+ &:last-of-type {
119
+ margin-right: 0;
120
+ }
121
121
  }
122
- }
123
122
  </style>