@budibase/bbui 1.2.39-alpha.1 → 1.2.39

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/bbui",
3
3
  "description": "A UI solution used in the different Budibase projects.",
4
- "version": "1.2.39-alpha.1",
4
+ "version": "1.2.39",
5
5
  "license": "MPL-2.0",
6
6
  "svelte": "src/index.js",
7
7
  "module": "dist/bbui.es.js",
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@adobe/spectrum-css-workflow-icons": "^1.2.1",
41
- "@budibase/string-templates": "1.2.39-alpha.1",
41
+ "@budibase/string-templates": "^1.2.39",
42
42
  "@spectrum-css/actionbutton": "^1.0.1",
43
43
  "@spectrum-css/actiongroup": "^1.0.1",
44
44
  "@spectrum-css/avatar": "^3.0.2",
@@ -85,5 +85,5 @@
85
85
  "svelte-flatpickr": "^3.2.3",
86
86
  "svelte-portal": "^1.0.0"
87
87
  },
88
- "gitHead": "c113a7b63298fd8f19fd44932657ab4b80caf6a0"
88
+ "gitHead": "cefc85e936602cedde66aca7415cf08339a52279"
89
89
  }
@@ -16,7 +16,6 @@
16
16
  export let appendTo = undefined
17
17
  export let timeOnly = false
18
18
  export let ignoreTimezones = false
19
- export let time24hr = false
20
19
 
21
20
  const dispatch = createEventDispatcher()
22
21
  const flatpickrId = `${uuid()}-wrapper`
@@ -38,7 +37,6 @@
38
37
  enableTime: timeOnly || enableTime || false,
39
38
  noCalendar: timeOnly || false,
40
39
  altInput: true,
41
- time_24hr: time24hr || false,
42
40
  altFormat: timeOnly ? "H:i" : enableTime ? "F j Y, H:i" : "F j, Y",
43
41
  wrap: true,
44
42
  appendTo,
@@ -51,12 +49,6 @@
51
49
  },
52
50
  }
53
51
 
54
- $: redrawOptions = {
55
- timeOnly,
56
- enableTime,
57
- time24hr,
58
- }
59
-
60
52
  const handleChange = event => {
61
53
  const [dates] = event.detail
62
54
  const noTimezone = enableTime && !timeOnly && ignoreTimezones
@@ -150,7 +142,7 @@
150
142
  }
151
143
  </script>
152
144
 
153
- {#key redrawOptions}
145
+ {#key timeOnly}
154
146
  <Flatpickr
155
147
  bind:flatpickr
156
148
  value={parseDate(value)}
@@ -10,7 +10,6 @@
10
10
  export let error = null
11
11
  export let enableTime = true
12
12
  export let timeOnly = false
13
- export let time24hr = false
14
13
  export let placeholder = null
15
14
  export let appendTo = undefined
16
15
  export let ignoreTimezones = false
@@ -31,7 +30,6 @@
31
30
  {placeholder}
32
31
  {enableTime}
33
32
  {timeOnly}
34
- {time24hr}
35
33
  {appendTo}
36
34
  {ignoreTimezones}
37
35
  on:change={onChange}