buefy 3.0.3 → 3.0.4

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 (109) hide show
  1. package/dist/buefy.d.ts +18 -0
  2. package/dist/buefy.esm.js +134 -119
  3. package/dist/buefy.esm.min.js +2 -2
  4. package/dist/buefy.js +134 -119
  5. package/dist/buefy.min.js +2 -2
  6. package/dist/cjs/dialog.js +131 -116
  7. package/dist/components/autocomplete/index.js +1 -1
  8. package/dist/components/autocomplete/index.min.js +1 -1
  9. package/dist/components/breadcrumb/index.js +1 -1
  10. package/dist/components/breadcrumb/index.min.js +1 -1
  11. package/dist/components/button/index.js +1 -1
  12. package/dist/components/button/index.min.js +1 -1
  13. package/dist/components/carousel/index.js +1 -1
  14. package/dist/components/carousel/index.min.js +1 -1
  15. package/dist/components/checkbox/index.js +1 -1
  16. package/dist/components/checkbox/index.min.js +1 -1
  17. package/dist/components/clockpicker/index.js +1 -1
  18. package/dist/components/clockpicker/index.min.js +1 -1
  19. package/dist/components/collapse/index.js +1 -1
  20. package/dist/components/collapse/index.min.js +1 -1
  21. package/dist/components/colorpicker/index.js +1 -1
  22. package/dist/components/colorpicker/index.min.js +1 -1
  23. package/dist/components/datepicker/index.js +1 -1
  24. package/dist/components/datepicker/index.min.js +1 -1
  25. package/dist/components/datetimepicker/index.js +1 -1
  26. package/dist/components/datetimepicker/index.min.js +1 -1
  27. package/dist/components/dialog/index.js +132 -117
  28. package/dist/components/dialog/index.min.js +2 -2
  29. package/dist/components/dropdown/index.js +1 -1
  30. package/dist/components/dropdown/index.min.js +1 -1
  31. package/dist/components/field/index.js +1 -1
  32. package/dist/components/field/index.min.js +1 -1
  33. package/dist/components/icon/index.js +1 -1
  34. package/dist/components/icon/index.min.js +1 -1
  35. package/dist/components/image/index.js +1 -1
  36. package/dist/components/image/index.min.js +1 -1
  37. package/dist/components/input/index.js +1 -1
  38. package/dist/components/input/index.min.js +1 -1
  39. package/dist/components/loading/index.js +1 -1
  40. package/dist/components/loading/index.min.js +1 -1
  41. package/dist/components/menu/index.js +1 -1
  42. package/dist/components/menu/index.min.js +1 -1
  43. package/dist/components/message/index.js +1 -1
  44. package/dist/components/message/index.min.js +1 -1
  45. package/dist/components/modal/index.js +1 -1
  46. package/dist/components/modal/index.min.js +1 -1
  47. package/dist/components/navbar/index.js +1 -1
  48. package/dist/components/navbar/index.min.js +1 -1
  49. package/dist/components/notification/index.js +1 -1
  50. package/dist/components/notification/index.min.js +1 -1
  51. package/dist/components/numberinput/index.js +1 -1
  52. package/dist/components/numberinput/index.min.js +1 -1
  53. package/dist/components/pagination/index.js +1 -1
  54. package/dist/components/pagination/index.min.js +1 -1
  55. package/dist/components/progress/index.js +1 -1
  56. package/dist/components/progress/index.min.js +1 -1
  57. package/dist/components/radio/index.js +1 -1
  58. package/dist/components/radio/index.min.js +1 -1
  59. package/dist/components/rate/index.js +1 -1
  60. package/dist/components/rate/index.min.js +1 -1
  61. package/dist/components/select/index.js +1 -1
  62. package/dist/components/select/index.min.js +1 -1
  63. package/dist/components/sidebar/index.js +1 -1
  64. package/dist/components/sidebar/index.min.js +1 -1
  65. package/dist/components/skeleton/index.js +1 -1
  66. package/dist/components/skeleton/index.min.js +1 -1
  67. package/dist/components/slider/index.js +1 -1
  68. package/dist/components/slider/index.min.js +1 -1
  69. package/dist/components/snackbar/index.js +1 -1
  70. package/dist/components/snackbar/index.min.js +1 -1
  71. package/dist/components/steps/index.js +1 -1
  72. package/dist/components/steps/index.min.js +1 -1
  73. package/dist/components/switch/index.js +1 -1
  74. package/dist/components/switch/index.min.js +1 -1
  75. package/dist/components/table/index.js +1 -1
  76. package/dist/components/table/index.min.js +1 -1
  77. package/dist/components/tabs/index.js +1 -1
  78. package/dist/components/tabs/index.min.js +1 -1
  79. package/dist/components/tag/index.js +1 -1
  80. package/dist/components/tag/index.min.js +1 -1
  81. package/dist/components/taginput/index.js +1 -1
  82. package/dist/components/taginput/index.min.js +1 -1
  83. package/dist/components/timepicker/index.js +1 -1
  84. package/dist/components/timepicker/index.min.js +1 -1
  85. package/dist/components/toast/index.js +1 -1
  86. package/dist/components/toast/index.min.js +1 -1
  87. package/dist/components/tooltip/index.js +1 -1
  88. package/dist/components/tooltip/index.min.js +1 -1
  89. package/dist/components/upload/index.js +1 -1
  90. package/dist/components/upload/index.min.js +1 -1
  91. package/dist/css/buefy.css +67 -57
  92. package/dist/css/buefy.css.map +1 -1
  93. package/dist/css/buefy.min.css +1 -1
  94. package/dist/css/versions/buefy-no-reset.css +67 -57
  95. package/dist/css/versions/buefy-no-reset.css.map +1 -1
  96. package/dist/css/versions/buefy-no-reset.min.css +1 -1
  97. package/dist/css/versions/buefy-standalone.css +168 -52
  98. package/dist/css/versions/buefy-standalone.css.map +1 -1
  99. package/dist/css/versions/buefy-standalone.min.css +1 -1
  100. package/dist/esm/dialog.js +131 -116
  101. package/package.json +2 -2
  102. package/src/components/dialog/Dialog.vue +10 -2
  103. package/src/scss/components/_checkbox.scss +4 -4
  104. package/src/scss/components/_datepicker.scss +1 -1
  105. package/src/scss/components/_dropdown.scss +1 -0
  106. package/src/scss/components/_form.scss +31 -31
  107. package/src/scss/components/_radio.scss +9 -9
  108. package/src/scss/components/_switch.scss +28 -5
  109. package/src/scss/components/_table.scss +2 -1
@@ -35,6 +35,14 @@ const Dialog$1 = defineComponent({
35
35
  },
36
36
  extends: Modal,
37
37
  props: {
38
+ customClass: {
39
+ type: String,
40
+ default: ""
41
+ },
42
+ customContentClass: {
43
+ type: String,
44
+ default: ""
45
+ },
38
46
  title: String,
39
47
  message: [String, Array],
40
48
  icon: String,
@@ -205,27 +213,26 @@ const Dialog$1 = defineComponent({
205
213
  });
206
214
 
207
215
  const _hoisted_1 = ["role", "aria-modal"];
208
- const _hoisted_2 = { class: "modal-card animation-content" };
209
- const _hoisted_3 = {
216
+ const _hoisted_2 = {
210
217
  key: 0,
211
218
  class: "modal-card-head"
212
219
  };
213
- const _hoisted_4 = { class: "modal-card-title" };
214
- const _hoisted_5 = { class: "media" };
215
- const _hoisted_6 = {
220
+ const _hoisted_3 = { class: "modal-card-title" };
221
+ const _hoisted_4 = { class: "media" };
222
+ const _hoisted_5 = {
216
223
  key: 0,
217
224
  class: "media-left"
218
225
  };
219
- const _hoisted_7 = { class: "media-content" };
220
- const _hoisted_8 = ["innerHTML"];
221
- const _hoisted_9 = {
226
+ const _hoisted_6 = { class: "media-content" };
227
+ const _hoisted_7 = ["innerHTML"];
228
+ const _hoisted_8 = {
222
229
  key: 0,
223
230
  class: "field"
224
231
  };
225
- const _hoisted_10 = { class: "control" };
226
- const _hoisted_11 = { class: "help is-danger" };
227
- const _hoisted_12 = { class: "modal-card-foot" };
228
- const _hoisted_13 = { class: "buttons" };
232
+ const _hoisted_9 = { class: "control" };
233
+ const _hoisted_10 = { class: "help is-danger" };
234
+ const _hoisted_11 = { class: "modal-card-foot" };
235
+ const _hoisted_12 = { class: "buttons" };
229
236
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
230
237
  const _component_b_icon = resolveComponent("b-icon");
231
238
  const _component_b_button = resolveComponent("b-button");
@@ -234,7 +241,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
234
241
  default: withCtx(() => [
235
242
  _ctx.isActive ? withDirectives((openBlock(), createElementBlock("div", {
236
243
  key: 0,
237
- class: normalizeClass(["dialog modal is-active", _ctx.dialogClass]),
244
+ class: normalizeClass(["dialog modal is-active", [_ctx.dialogClass, _ctx.customClass]]),
238
245
  role: _ctx.ariaRole,
239
246
  "aria-modal": _ctx.ariaModal
240
247
  }, [
@@ -242,116 +249,124 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
242
249
  class: "modal-background",
243
250
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.cancel("outside"))
244
251
  }),
245
- createElementVNode("div", _hoisted_2, [
246
- _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_3, [
252
+ createElementVNode(
253
+ "div",
254
+ {
255
+ class: normalizeClass(["modal-card animation-content", _ctx.customContentClass])
256
+ },
257
+ [
258
+ _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_2, [
259
+ createElementVNode(
260
+ "p",
261
+ _hoisted_3,
262
+ toDisplayString(_ctx.title),
263
+ 1
264
+ /* TEXT */
265
+ )
266
+ ])) : createCommentVNode("v-if", true),
247
267
  createElementVNode(
248
- "p",
249
- _hoisted_4,
250
- toDisplayString(_ctx.title),
251
- 1
252
- /* TEXT */
253
- )
254
- ])) : createCommentVNode("v-if", true),
255
- createElementVNode(
256
- "section",
257
- {
258
- class: normalizeClass(["modal-card-body", { "is-titleless": !_ctx.title, "is-flex": _ctx.hasIcon }])
259
- },
260
- [
261
- createElementVNode("div", _hoisted_5, [
262
- _ctx.hasIcon && (_ctx.icon || _ctx.iconByType) ? (openBlock(), createElementBlock("div", _hoisted_6, [
263
- createVNode(_component_b_icon, {
264
- icon: _ctx.icon ? _ctx.icon : _ctx.iconByType,
265
- pack: _ctx.iconPack,
266
- type: _ctx.type,
267
- both: !_ctx.icon,
268
- size: "is-large"
269
- }, null, 8, ["icon", "pack", "type", "both"])
270
- ])) : createCommentVNode("v-if", true),
271
- createElementVNode("div", _hoisted_7, [
272
- createElementVNode("p", null, [
273
- _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createElementBlock(
274
- Fragment,
275
- { key: 1 },
276
- [
277
- createCommentVNode(" eslint-disable-next-line vue/no-v-html "),
278
- createElementVNode("div", { innerHTML: _ctx.message }, null, 8, _hoisted_8)
279
- ],
280
- 64
281
- /* STABLE_FRAGMENT */
282
- ))
283
- ]),
284
- _ctx.hasInput ? (openBlock(), createElementBlock("div", _hoisted_9, [
285
- createElementVNode("div", _hoisted_10, [
286
- withDirectives(createElementVNode(
287
- "input",
288
- mergeProps({
289
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.prompt = $event),
290
- class: ["input", { "is-danger": _ctx.validationMessage }],
291
- ref: "input"
292
- }, _ctx.safeInputAttrs, {
293
- onCompositionstart: _cache[2] || (_cache[2] = ($event) => _ctx.isCompositing = true),
294
- onCompositionend: _cache[3] || (_cache[3] = ($event) => _ctx.isCompositing = false),
295
- onKeydown: _cache[4] || (_cache[4] = withKeys((...args) => _ctx.confirm && _ctx.confirm(...args), ["enter"]))
296
- }),
297
- null,
298
- 16
299
- /* FULL_PROPS */
300
- ), [
301
- [vModelDynamic, _ctx.prompt]
302
- ])
268
+ "section",
269
+ {
270
+ class: normalizeClass(["modal-card-body", { "is-titleless": !_ctx.title, "is-flex": _ctx.hasIcon }])
271
+ },
272
+ [
273
+ createElementVNode("div", _hoisted_4, [
274
+ _ctx.hasIcon && (_ctx.icon || _ctx.iconByType) ? (openBlock(), createElementBlock("div", _hoisted_5, [
275
+ createVNode(_component_b_icon, {
276
+ icon: _ctx.icon ? _ctx.icon : _ctx.iconByType,
277
+ pack: _ctx.iconPack,
278
+ type: _ctx.type,
279
+ both: !_ctx.icon,
280
+ size: "is-large"
281
+ }, null, 8, ["icon", "pack", "type", "both"])
282
+ ])) : createCommentVNode("v-if", true),
283
+ createElementVNode("div", _hoisted_6, [
284
+ createElementVNode("p", null, [
285
+ _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createElementBlock(
286
+ Fragment,
287
+ { key: 1 },
288
+ [
289
+ createCommentVNode(" eslint-disable-next-line vue/no-v-html "),
290
+ createElementVNode("div", { innerHTML: _ctx.message }, null, 8, _hoisted_7)
291
+ ],
292
+ 64
293
+ /* STABLE_FRAGMENT */
294
+ ))
303
295
  ]),
304
- createElementVNode(
305
- "p",
306
- _hoisted_11,
307
- toDisplayString(_ctx.validationMessage),
296
+ _ctx.hasInput ? (openBlock(), createElementBlock("div", _hoisted_8, [
297
+ createElementVNode("div", _hoisted_9, [
298
+ withDirectives(createElementVNode(
299
+ "input",
300
+ mergeProps({
301
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.prompt = $event),
302
+ class: ["input", { "is-danger": _ctx.validationMessage }],
303
+ ref: "input"
304
+ }, _ctx.safeInputAttrs, {
305
+ onCompositionstart: _cache[2] || (_cache[2] = ($event) => _ctx.isCompositing = true),
306
+ onCompositionend: _cache[3] || (_cache[3] = ($event) => _ctx.isCompositing = false),
307
+ onKeydown: _cache[4] || (_cache[4] = withKeys((...args) => _ctx.confirm && _ctx.confirm(...args), ["enter"]))
308
+ }),
309
+ null,
310
+ 16
311
+ /* FULL_PROPS */
312
+ ), [
313
+ [vModelDynamic, _ctx.prompt]
314
+ ])
315
+ ]),
316
+ createElementVNode(
317
+ "p",
318
+ _hoisted_10,
319
+ toDisplayString(_ctx.validationMessage),
320
+ 1
321
+ /* TEXT */
322
+ )
323
+ ])) : createCommentVNode("v-if", true)
324
+ ])
325
+ ])
326
+ ],
327
+ 2
328
+ /* CLASS */
329
+ ),
330
+ createElementVNode("footer", _hoisted_11, [
331
+ createElementVNode("div", _hoisted_12, [
332
+ _ctx.showCancel ? (openBlock(), createBlock(_component_b_button, {
333
+ key: 0,
334
+ ref: "cancelButton",
335
+ disabled: _ctx.isLoading,
336
+ onClick: _cache[5] || (_cache[5] = ($event) => _ctx.cancel("button"))
337
+ }, {
338
+ default: withCtx(() => [
339
+ createTextVNode(
340
+ toDisplayString(_ctx.cancelText),
308
341
  1
309
342
  /* TEXT */
310
343
  )
311
- ])) : createCommentVNode("v-if", true)
312
- ])
344
+ ]),
345
+ _: 1
346
+ /* STABLE */
347
+ }, 8, ["disabled"])) : createCommentVNode("v-if", true),
348
+ createVNode(_component_b_button, {
349
+ type: _ctx.type,
350
+ ref: "confirmButton",
351
+ loading: _ctx.isLoading,
352
+ onClick: _ctx.confirm
353
+ }, {
354
+ default: withCtx(() => [
355
+ createTextVNode(
356
+ toDisplayString(_ctx.confirmText),
357
+ 1
358
+ /* TEXT */
359
+ )
360
+ ]),
361
+ _: 1
362
+ /* STABLE */
363
+ }, 8, ["type", "loading", "onClick"])
313
364
  ])
314
- ],
315
- 2
316
- /* CLASS */
317
- ),
318
- createElementVNode("footer", _hoisted_12, [
319
- createElementVNode("div", _hoisted_13, [
320
- _ctx.showCancel ? (openBlock(), createBlock(_component_b_button, {
321
- key: 0,
322
- ref: "cancelButton",
323
- disabled: _ctx.isLoading,
324
- onClick: _cache[5] || (_cache[5] = ($event) => _ctx.cancel("button"))
325
- }, {
326
- default: withCtx(() => [
327
- createTextVNode(
328
- toDisplayString(_ctx.cancelText),
329
- 1
330
- /* TEXT */
331
- )
332
- ]),
333
- _: 1
334
- /* STABLE */
335
- }, 8, ["disabled"])) : createCommentVNode("v-if", true),
336
- createVNode(_component_b_button, {
337
- type: _ctx.type,
338
- ref: "confirmButton",
339
- loading: _ctx.isLoading,
340
- onClick: _ctx.confirm
341
- }, {
342
- default: withCtx(() => [
343
- createTextVNode(
344
- toDisplayString(_ctx.confirmText),
345
- 1
346
- /* TEXT */
347
- )
348
- ]),
349
- _: 1
350
- /* STABLE */
351
- }, 8, ["type", "loading", "onClick"])
352
365
  ])
353
- ])
354
- ])
366
+ ],
367
+ 2
368
+ /* CLASS */
369
+ )
355
370
  ], 10, _hoisted_1)), [
356
371
  [_directive_trap_focus, _ctx.trapFocus]
357
372
  ]) : createCommentVNode("v-if", true)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buefy",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Lightweight UI components for Vue.js (v3) based on Bulma",
5
5
  "keywords": [
6
6
  "vuejs",
@@ -80,4 +80,4 @@
80
80
  "rollup-plugin-esbuild": "^6.1.0",
81
81
  "vitest": "^3.0.6"
82
82
  }
83
- }
83
+ }
@@ -3,13 +3,13 @@
3
3
  <div
4
4
  v-if="isActive"
5
5
  class="dialog modal is-active"
6
- :class="dialogClass"
6
+ :class="[dialogClass, customClass]"
7
7
  v-trap-focus="trapFocus"
8
8
  :role="ariaRole"
9
9
  :aria-modal="ariaModal"
10
10
  >
11
11
  <div class="modal-background" @click="cancel('outside')" />
12
- <div class="modal-card animation-content">
12
+ <div class="modal-card animation-content" :class="customContentClass">
13
13
  <header class="modal-card-head" v-if="title">
14
14
  <p class="modal-card-title">
15
15
  {{ title }}
@@ -115,6 +115,14 @@ const Dialog = defineComponent({
115
115
  },
116
116
  extends: Modal,
117
117
  props: {
118
+ customClass: {
119
+ type: String,
120
+ default: ''
121
+ },
122
+ customContentClass: {
123
+ type: String,
124
+ default: ''
125
+ },
118
126
  title: String,
119
127
  message: [String, Array],
120
128
  icon: String,
@@ -69,15 +69,15 @@ $checkbox-colors: shared.$form-colors !default;
69
69
  align-items: center;
70
70
 
71
71
  &:not(.button) {
72
- margin-right: 0.5em;
72
+ margin-inline-end: 0.5em;
73
73
  & + .checkbox:last-child {
74
- margin-right: 0;
74
+ margin-inline-end: 0;
75
75
  }
76
76
  }
77
77
 
78
78
  input[type=checkbox] {
79
79
  position: absolute;
80
- left: 0;
80
+ inset-inline-start: 0;
81
81
  opacity: 0;
82
82
  outline: none;
83
83
  z-index: -1;
@@ -116,7 +116,7 @@ $checkbox-colors: shared.$form-colors !default;
116
116
  }
117
117
  }
118
118
  .control-label {
119
- padding-left: cv.getVar('control-padding-horizontal');
119
+ padding-inline-start: cv.getVar('control-padding-horizontal');
120
120
  }
121
121
  &.button {
122
122
  display: flex;
@@ -156,7 +156,7 @@ $datepicker-item-selected-background-color: cv.getVar("primary") !default;
156
156
  border-top-right-radius: 0;
157
157
  }
158
158
  &.is-within-selected {
159
- background-color: cv.getRgbaVar("datepicker-item-selected-background-color", 0.5);
159
+ background-color: rgb(from $datepicker-item-selected-background-color r g b / 0.5);
160
160
  border-radius: 0;
161
161
  }
162
162
  &.is-last-selected {
@@ -4,6 +4,7 @@
4
4
  @use "bulma/sass/utilities/initial-variables" as iv;
5
5
  @use "bulma/sass/utilities/derived-variables.scss" as dv;
6
6
  @use "bulma/sass/utilities/mixins" as mixins;
7
+ @use "bulma/sass/components/dropdown" as dropdown;
7
8
 
8
9
  $dropdown-mobile-breakpoint: calc(iv.$desktop - 1px) !default;
9
10
  $dropdown-background-color: rgba(dv.$scheme-invert, 0.86) !default;
@@ -18,7 +18,7 @@ $floating-in-height: 3.25em !default;
18
18
  .field {
19
19
  flex-shrink: 0;
20
20
  &:not(:last-child) {
21
- margin-right: 0.75rem;
21
+ margin-inline-end: 0.75rem;
22
22
  }
23
23
  &.is-expanded {
24
24
  flex-grow: 1;
@@ -32,16 +32,16 @@ $floating-in-height: 3.25em !default;
32
32
  .button,
33
33
  .input,
34
34
  .select select {
35
- border-bottom-left-radius: cv.getVar('input-radius');
36
- border-top-left-radius: cv.getVar('input-radius');
35
+ border-start-start-radius: cv.getVar('input-radius');
36
+ border-end-start-radius: cv.getVar('input-radius');
37
37
  }
38
38
  }
39
39
  &:last-child .control {
40
40
  .button,
41
41
  .input,
42
42
  .select select {
43
- border-bottom-right-radius: cv.getVar('input-radius');
44
- border-top-right-radius: cv.getVar('input-radius');
43
+ border-start-end-radius: cv.getVar('input-radius');
44
+ border-end-end-radius: cv.getVar('input-radius');
45
45
  }
46
46
  }
47
47
  .control {
@@ -60,8 +60,8 @@ $floating-in-height: 3.25em !default;
60
60
  .button,
61
61
  .input,
62
62
  .select select {
63
- border-bottom-left-radius: 0;
64
- border-top-left-radius: 0;
63
+ border-start-start-radius: 0;
64
+ border-end-start-radius: 0;
65
65
  }
66
66
  }
67
67
  }
@@ -70,15 +70,15 @@ $floating-in-height: 3.25em !default;
70
70
  .button,
71
71
  .input,
72
72
  .select select {
73
- border-bottom-right-radius: 0;
74
- border-top-right-radius: 0;
73
+ border-start-end-radius: 0;
74
+ border-end-end-radius: 0;
75
75
  }
76
76
  }
77
77
  }
78
78
  }
79
79
  &.b-numberinput {
80
80
  .control {
81
- margin-right: unset;
81
+ margin-inline-end: unset;
82
82
  }
83
83
  }
84
84
  }
@@ -91,7 +91,7 @@ $floating-in-height: 3.25em !default;
91
91
 
92
92
  .label {
93
93
  position: absolute;
94
- left: 1em;
94
+ inset-inline-start: 1em;
95
95
  font-size: calc(#{cv.getVar('size-normal')} * 0.75);
96
96
  background-color: transparent;
97
97
  z-index: 5;
@@ -112,7 +112,7 @@ $floating-in-height: 3.25em !default;
112
112
  }
113
113
  .taginput .counter {
114
114
  float: none;
115
- text-align: right;
115
+ text-align: end;
116
116
  }
117
117
 
118
118
  &.has-addons {
@@ -121,8 +121,8 @@ $floating-in-height: 3.25em !default;
121
121
  .button,
122
122
  .input,
123
123
  .select select {
124
- border-bottom-left-radius: cv.getVar('input-radius');
125
- border-top-left-radius: cv.getVar('input-radius');
124
+ border-start-start-radius: cv.getVar('input-radius');
125
+ border-end-start-radius: cv.getVar('input-radius');
126
126
  }
127
127
  }
128
128
  }
@@ -132,15 +132,15 @@ $floating-in-height: 3.25em !default;
132
132
  &.is-floating-label {
133
133
  .label {
134
134
  top: -0.775em;
135
- padding-left: 0.125em;
136
- padding-right: 0.125em;
135
+ padding-inline-start: 0.125em;
136
+ padding-inline-end: 0.125em;
137
137
  &:before {
138
138
  content: '';
139
139
  display: block;
140
140
  position: absolute;
141
141
  top: 0.775em;
142
- left: 0;
143
- right: 0;
142
+ inset-inline-start: 0;
143
+ inset-inline-end: 0;
144
144
  height: 0.375em;
145
145
  background-color: cv.getVar('input-background-color');
146
146
  z-index: -1;
@@ -237,41 +237,41 @@ $floating-in-height: 3.25em !default;
237
237
  &.is-floating-label, &.is-floating-in-label {
238
238
  &.has-numberinput {
239
239
  .label {
240
- margin-left: calc(#{cv.getVar('size-normal')} * 3);
240
+ margin-inline-start: calc(#{cv.getVar('size-normal')} * 3);
241
241
  }
242
242
  &.has-numberinput-is-small {
243
243
  .label {
244
- margin-left: calc(#{cv.getVar('size-small')} * 3);
244
+ margin-inline-start: calc(#{cv.getVar('size-small')} * 3);
245
245
  }
246
246
  }
247
247
  &.has-numberinput-is-medium {
248
248
  .label {
249
- margin-left: calc(#{cv.getVar('size-medium')} * 3);
249
+ margin-inline-start: calc(#{cv.getVar('size-medium')} * 3);
250
250
  }
251
251
  }
252
252
  &.has-numberinput-is-large {
253
253
  .label {
254
- margin-left: calc(#{cv.getVar('size-large')} * 3);
254
+ margin-inline-start: calc(#{cv.getVar('size-large')} * 3);
255
255
  }
256
256
  }
257
257
  }
258
258
  &.has-numberinput-compact {
259
259
  .label {
260
- margin-left: calc(#{cv.getVar('size-normal')} * 2.25);
260
+ margin-inline-start: calc(#{cv.getVar('size-normal')} * 2.25);
261
261
  }
262
262
  &.has-numberinput-is-small {
263
263
  .label {
264
- margin-left: calc(#{cv.getVar('size-small')} * 2.25);
264
+ margin-inline-start: calc(#{cv.getVar('size-small')} * 2.25);
265
265
  }
266
266
  }
267
267
  &.has-numberinput-is-medium {
268
268
  .label {
269
- margin-left: calc(#{cv.getVar('size-medium')} * 2.25);
269
+ margin-inline-start: calc(#{cv.getVar('size-medium')} * 2.25);
270
270
  }
271
271
  }
272
272
  &.has-numberinput-is-large {
273
273
  .label {
274
- margin-left: calc(#{cv.getVar('size-large')} * 2.25);
274
+ margin-inline-start: calc(#{cv.getVar('size-large')} * 2.25);
275
275
  }
276
276
  }
277
277
  }
@@ -280,13 +280,13 @@ $floating-in-height: 3.25em !default;
280
280
  &.is-floating-in-label {
281
281
  .label {
282
282
  position: relative;
283
- left: calc(3.25em + 2em);
283
+ inset-inline-start: calc(3.25em + 2em);
284
284
  }
285
285
  }
286
286
  &.is-floating-label {
287
287
  .label {
288
288
  position: relative;
289
- left: calc(3.25em + 2em);
289
+ inset-inline-start: calc(3.25em + 2em);
290
290
  }
291
291
  }
292
292
  }
@@ -294,8 +294,8 @@ $floating-in-height: 3.25em !default;
294
294
 
295
295
  .#{iv.$class-prefix}control {
296
296
  .help.counter {
297
- float: right;
298
- margin-left: 0.5em;
297
+ float: inline-end;
298
+ margin-inline-start: 0.5em;
299
299
  }
300
300
  .icon {
301
301
  &.is-clickable {
@@ -306,6 +306,6 @@ $floating-in-height: 3.25em !default;
306
306
  // fix Bulma 0.8.2
307
307
  &.is-loading::after {
308
308
  top: calc(50% - (1em * 0.5));
309
- right: calc((2.5em * 0.5) - .5em);
309
+ inset-inline-end: calc((2.5em * 0.5) - .5em);
310
310
  }
311
311
  }
@@ -42,18 +42,18 @@ $radio-shadow: cv.getVar('shadow') !default;
42
42
  display: inline-flex;
43
43
  align-items: center;
44
44
  &:not(.button) {
45
- margin-right: 0.5em;
45
+ margin-inline-end: 0.5em;
46
46
  & + .radio:last-child {
47
- margin-right: 0;
47
+ margin-inline-end: 0;
48
48
  }
49
49
  }
50
50
  // reset Bulma
51
51
  & + .radio {
52
- margin-left: 0;
52
+ margin-inline-start: 0;
53
53
  }
54
54
  input[type=radio] {
55
55
  position: absolute;
56
- left: 0;
56
+ inset-inline-start: 0;
57
57
  opacity: 0;
58
58
  outline: none;
59
59
  z-index: -1;
@@ -71,10 +71,10 @@ $radio-shadow: cv.getVar('shadow') !default;
71
71
  content: "";
72
72
  display: flex;
73
73
  position: absolute;
74
- left: 50%;
75
- margin-left: calc(#{cv.getVar('radio-size')} * -0.5);
76
- bottom: 50%;
77
- margin-bottom: calc(#{ cv.getVar('radio-size')} * -0.5);
74
+ inset-inline-start: 50%;
75
+ margin-inline-start: calc(#{cv.getVar('radio-size')} * -0.5);
76
+ inset-block-end: 50%;
77
+ margin-block-end: calc(#{ cv.getVar('radio-size')} * -0.5);
78
78
  width: cv.getVar('radio-size');
79
79
  height: cv.getVar('radio-size');
80
80
  transition: transform cv.getVar('speed-slow') cv.getVar('easing');
@@ -102,7 +102,7 @@ $radio-shadow: cv.getVar('shadow') !default;
102
102
  }
103
103
  }
104
104
  .control-label {
105
- padding-left: cv.getVar('control-padding-horizontal');
105
+ padding-inline-start: cv.getVar('control-padding-horizontal');
106
106
  }
107
107
  &.button {
108
108
  display: flex;