frappe-ui 0.1.93 → 0.1.94

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frappe-ui",
3
- "version": "0.1.93",
3
+ "version": "0.1.94",
4
4
  "description": "A set of components and utilities for rapid UI development",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -5,7 +5,7 @@
5
5
  :placement="placement"
6
6
  >
7
7
  <template #target="{ togglePopover }">
8
- <Input
8
+ <TextInput
9
9
  readonly
10
10
  type="text"
11
11
  icon-left="calendar"
@@ -126,7 +126,6 @@
126
126
  <script setup lang="ts">
127
127
  import { computed, onMounted } from 'vue'
128
128
 
129
- import Input from '../Input.vue'
130
129
  import { Button } from '../Button'
131
130
  import Popover from '../Popover.vue'
132
131
  import FeatherIcon from '../FeatherIcon.vue'
@@ -5,7 +5,7 @@
5
5
  :placement="placement"
6
6
  >
7
7
  <template #target="{ togglePopover }">
8
- <Input
8
+ <TextInput
9
9
  readonly
10
10
  type="text"
11
11
  icon-left="calendar"
@@ -122,7 +122,6 @@
122
122
  <script setup lang="ts">
123
123
  import { computed, ref, onMounted } from 'vue'
124
124
 
125
- import Input from '../Input.vue'
126
125
  import { Button } from '../Button'
127
126
  import Popover from '../Popover.vue'
128
127
  import FeatherIcon from '../FeatherIcon.vue'
@@ -5,7 +5,7 @@
5
5
  :placement="placement"
6
6
  >
7
7
  <template #target="{ togglePopover }">
8
- <Input
8
+ <TextInput
9
9
  readonly
10
10
  type="text"
11
11
  icon-left="calendar"
@@ -189,7 +189,6 @@
189
189
  <script setup lang="ts">
190
190
  import { ref, computed, onMounted } from 'vue'
191
191
 
192
- import Input from '../Input.vue'
193
192
  import { Button } from '../Button'
194
193
  import Popover from '../Popover.vue'
195
194
  import FeatherIcon from '../FeatherIcon.vue'
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  ref="columnRef"
4
- class="group flex items-center"
4
+ class="group relative flex items-center"
5
5
  :class="item.align ? alignmentMap[item.align] : 'justify-between'"
6
6
  >
7
7
  <div
@@ -18,7 +18,7 @@
18
18
  </div>
19
19
  <slot v-if="list.options.resizeColumn" name="resizer" v-bind="{ item }">
20
20
  <div
21
- class="flex h-4 w-2 cursor-col-resize justify-center"
21
+ class="flex h-4 absolute -right-2 w-2 cursor-col-resize justify-center"
22
22
  @mousedown="startResizing"
23
23
  >
24
24
  <div
@@ -108,10 +108,10 @@ const fontSizeClasses = computed(() => {
108
108
 
109
109
  const paddingClasses = computed(() => {
110
110
  return {
111
- sm: 'px-2',
112
- md: 'px-2.5',
113
- lg: 'px-3',
114
- xl: 'px-3',
111
+ sm: 'pl-2 pr-5',
112
+ md: 'pl-2.5 pr-5.5',
113
+ lg: 'pl-3 pr-6',
114
+ xl: 'pl-3 pr-6',
115
115
  }[props.size]
116
116
  })
117
117
 
@@ -146,7 +146,7 @@ const selectClasses = computed(() => {
146
146
  paddingClasses.value,
147
147
  variantClasses,
148
148
  textColor.value,
149
- 'transition-colors w-full py-0',
149
+ 'transition-colors w-full py-0 truncate',
150
150
  ]
151
151
  })
152
152