@budibase/bbui 1.0.156 → 1.0.159-alpha.0

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.0.156",
4
+ "version": "1.0.159-alpha.0",
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.0.156",
41
+ "@budibase/string-templates": "^1.0.159-alpha.0",
42
42
  "@spectrum-css/actionbutton": "^1.0.1",
43
43
  "@spectrum-css/actiongroup": "^1.0.1",
44
44
  "@spectrum-css/avatar": "^3.0.2",
@@ -84,5 +84,5 @@
84
84
  "svelte-flatpickr": "^3.2.3",
85
85
  "svelte-portal": "^1.0.0"
86
86
  },
87
- "gitHead": "bdddceaf88c5ba1b1fa8976e3faa12b494504659"
87
+ "gitHead": "50c8adee10f046222501c6e6339f9b0dd8e6a389"
88
88
  }
@@ -156,8 +156,8 @@
156
156
  <input
157
157
  data-input
158
158
  type="text"
159
- {disabled}
160
159
  class="spectrum-Textfield-input spectrum-InputGroup-input"
160
+ class:is-disabled={disabled}
161
161
  {placeholder}
162
162
  {id}
163
163
  {value}
@@ -167,7 +167,7 @@
167
167
  type="button"
168
168
  class="spectrum-Picker spectrum-Picker--sizeM spectrum-InputGroup-button"
169
169
  tabindex="-1"
170
- {disabled}
170
+ class:is-disabled={disabled}
171
171
  class:is-invalid={!!error}
172
172
  on:click={flatpickr?.open}
173
173
  >
@@ -212,4 +212,7 @@
212
212
  :global(.flatpickr-calendar) {
213
213
  font-family: "Source Sans Pro", sans-serif;
214
214
  }
215
+ .is-disabled {
216
+ pointer-events: none !important;
217
+ }
215
218
  </style>