@pocketprep/ui-kit 3.5.19 → 3.5.21

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.
@@ -71,6 +71,7 @@
71
71
  :id="componentId"
72
72
  v-dark="isDarkMode"
73
73
  :type="fieldType"
74
+ :min="minNumber"
74
75
  :value="modelValue"
75
76
  :disabled="disabled"
76
77
  :aria-labelledby="`${componentId}--label`"
@@ -113,6 +114,7 @@ export default class Input extends Vue {
113
114
  @Prop() label?: string
114
115
  @Prop() labelSubtext?: string
115
116
  @Prop({ default: 'text' }) fieldType?: string
117
+ @Prop() minNumber?: number
116
118
  @Prop({ default: '' }) placeholder?: string
117
119
  @Prop({ default: '524288' }) maxlength?: string // that's the default input field length
118
120
  @Prop({ default: false }) center?: boolean
@@ -184,6 +184,7 @@ export default class Select extends Vue {
184
184
  @Prop() typeahead?: boolean
185
185
  @Prop() error?: boolean
186
186
  @Prop() openMenuAbove?: boolean
187
+ @Prop() customDropdownTop?: number
187
188
  @Prop({ default: false }) isDarkMode!: boolean
188
189
  @Prop({ default: false }) dropdownOverride!: boolean // Can override the icon to be an X instead
189
190
  @Prop({ default: false }) showTypeaheadClear!: boolean
@@ -206,6 +207,8 @@ export default class Select extends Vue {
206
207
  }
207
208
 
208
209
  get menuPositionTop () {
210
+ if (this.customDropdownTop) return this.customDropdownTop
211
+
209
212
  if (this.menuHeight) return `-${this.menuHeight}`
210
213
 
211
214
  if (this.subtext) return 60
@@ -74,6 +74,7 @@ export default class Modal extends Vue {
74
74
  padding: 0 18px;
75
75
  box-sizing: border-box;
76
76
  align-items: center;
77
+ border-bottom: 1px solid rgba($pewter, 0.3);
77
78
 
78
79
  @include breakpoint(brown-bear) {
79
80
  padding: 0 16px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/ui-kit",
3
- "version": "3.5.19",
3
+ "version": "3.5.21",
4
4
  "description": "Pocket Prep UI Kit",
5
5
  "author": "pocketprep",
6
6
  "scripts": {