@ditojs/admin 2.2.7 → 2.2.9

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.
@@ -1,6 +1,6 @@
1
1
  <template lang="pug">
2
2
  .dito-section(:class="{ 'dito-section-labelled': !!schema.label }")
3
- DitoPane.dito-section-pane(
3
+ DitoPane.dito-section__pane(
4
4
  :schema="getItemFormSchema(schema, item, context)"
5
5
  :dataPath="dataPath"
6
6
  :data="item"
@@ -20,7 +20,6 @@ export default DitoTypeComponent.register('section', {
20
20
  ignoreMissingValue: schema => !schema.nested && !('default' in schema),
21
21
  defaultNested: false,
22
22
  generateLabel: false,
23
- alignBottom: false,
24
23
 
25
24
  computed: {
26
25
  item() {
@@ -49,5 +48,9 @@ export default DitoTypeComponent.register('section', {
49
48
  padding: $form-spacing;
50
49
  box-sizing: border-box;
51
50
  }
51
+
52
+ .dito-section__pane {
53
+ padding: 0;
54
+ }
52
55
  }
53
56
  </style>
@@ -17,7 +17,6 @@ import { getSchemaAccessor } from '../utils/accessor.js'
17
17
  export default DitoTypeComponent.register('textarea', {
18
18
  nativeField: true,
19
19
  textField: true,
20
- alignBottom: false,
21
20
 
22
21
  computed: {
23
22
  lines() {
@@ -35,8 +35,6 @@ export default DitoTypeComponent.register(
35
35
  {
36
36
  mixins: [SourceMixin],
37
37
 
38
- alignBottom: false,
39
-
40
38
  provide() {
41
39
  return { container: this }
42
40
  },
@@ -112,8 +112,6 @@ export default DitoTypeComponent.register('upload', {
112
112
  mixins: [SortableMixin],
113
113
  components: { VueUpload },
114
114
 
115
- alignBottom: false,
116
-
117
115
  data() {
118
116
  return {
119
117
  uploads: []
@@ -36,7 +36,6 @@ const ditoOptionKeys = [
36
36
  'generateLabel',
37
37
  'excludeValue',
38
38
  'ignoreMissingValue',
39
- 'alignBottom',
40
39
  'omitPadding',
41
40
  'processValue',
42
41
  'processSchema',
@@ -474,10 +474,6 @@ export function omitPadding(schema) {
474
474
  return !!getTypeOptions(schema)?.omitPadding
475
475
  }
476
476
 
477
- export function alignBottom(schema) {
478
- return !!getTypeOptions(schema)?.alignBottom
479
- }
480
-
481
477
  export function getDefaultValue(schema) {
482
478
  // Support default values both on schema and on component level.
483
479
  // NOTE: At the time of creation, components may not be instantiated, (e.g. if