dso-toolkit 39.0.0 → 40.0.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.
Files changed (133) hide show
  1. package/components/Componenten/form/form.config.yml +72 -0
  2. package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +3 -2
  3. package/dist/library/@dso-toolkit/core/cjs/dso-info_2.cjs.entry.js +2 -2
  4. package/dist/library/@dso-toolkit/core/cjs/dso-map-base-layers.cjs.entry.js +3 -1
  5. package/dist/library/@dso-toolkit/core/cjs/dso-map-overlays.cjs.entry.js +3 -1
  6. package/dist/library/@dso-toolkit/core/cjs/dso-responsive-element.cjs.entry.js +44 -0
  7. package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
  8. package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
  9. package/dist/library/@dso-toolkit/core/collection/collection-manifest.json +1 -0
  10. package/dist/library/@dso-toolkit/core/collection/components/header/header.js +21 -2
  11. package/dist/library/@dso-toolkit/core/collection/components/map-base-layers/map-base-layers.js +21 -1
  12. package/dist/library/@dso-toolkit/core/collection/components/map-overlays/map-overlays.js +21 -1
  13. package/dist/library/@dso-toolkit/core/collection/components/responsive-element/responsive-element.css +3 -0
  14. package/dist/library/@dso-toolkit/core/collection/components/responsive-element/responsive-element.js +46 -0
  15. package/dist/library/@dso-toolkit/core/collection/components/responsive-element/responsive-element.stories.js +57 -0
  16. package/dist/library/@dso-toolkit/core/collection/components/responsive-element/responsive-element.template.js +8 -0
  17. package/dist/library/@dso-toolkit/core/collection/components/selectable/selectable.js +5 -4
  18. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/example-pages/viewer-grid-document-header.example-template.js +15 -164
  19. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/example-pages/viewer-grid-document-list.example-template.js +12 -0
  20. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.stories.js +2 -2
  21. package/dist/library/@dso-toolkit/core/custom-elements/index.d.ts +6 -0
  22. package/dist/library/@dso-toolkit/core/custom-elements/index.js +54 -11
  23. package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.css +1 -1
  24. package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
  25. package/dist/library/@dso-toolkit/core/dso-toolkit/p-02272301.entry.js +1 -0
  26. package/dist/library/@dso-toolkit/core/dso-toolkit/p-09b53589.entry.js +1 -0
  27. package/dist/library/@dso-toolkit/core/dso-toolkit/p-202bd676.entry.js +1 -0
  28. package/dist/library/@dso-toolkit/core/dso-toolkit/p-336bf5b9.entry.js +1 -0
  29. package/dist/library/@dso-toolkit/core/dso-toolkit/p-3ad06d9d.entry.js +1 -0
  30. package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +3 -2
  31. package/dist/library/@dso-toolkit/core/esm/dso-info_2.entry.js +2 -2
  32. package/dist/library/@dso-toolkit/core/esm/dso-map-base-layers.entry.js +3 -1
  33. package/dist/library/@dso-toolkit/core/esm/dso-map-overlays.entry.js +3 -1
  34. package/dist/library/@dso-toolkit/core/esm/dso-responsive-element.entry.js +40 -0
  35. package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
  36. package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
  37. package/dist/library/@dso-toolkit/core/types/components/header/header.d.ts +7 -0
  38. package/dist/library/@dso-toolkit/core/types/components/map-base-layers/map-base-layers.d.ts +1 -0
  39. package/dist/library/@dso-toolkit/core/types/components/map-overlays/map-overlays.d.ts +1 -0
  40. package/dist/library/@dso-toolkit/core/types/components/responsive-element/responsive-element.d.ts +10 -0
  41. package/dist/library/@dso-toolkit/core/types/components/responsive-element/responsive-element.stories.d.ts +1 -0
  42. package/dist/library/@dso-toolkit/core/types/components/responsive-element/responsive-element.template.d.ts +3 -0
  43. package/dist/library/@dso-toolkit/core/types/components/viewer-grid/example-pages/viewer-grid-document-list.example-template.d.ts +2 -0
  44. package/dist/library/@dso-toolkit/core/types/components.d.ts +22 -1
  45. package/dist/library/components/detail/form--autocomplete.html +1 -1
  46. package/dist/library/components/detail/form--form-horizontal.html +1 -1
  47. package/dist/library/components/detail/form--form-vertical.html +1 -1
  48. package/dist/library/components/detail/form--header-in-legend.html +1812 -0
  49. package/dist/library/components/detail/form--multi-page.html +1 -1
  50. package/dist/library/components/detail/form--sections.html +1 -1
  51. package/dist/library/components/detail/form--simple-form.html +1 -1
  52. package/dist/library/components/detail/form--single-page.html +1 -1
  53. package/dist/library/components/detail/form.html +297 -1
  54. package/dist/library/components/preview/form--header-in-legend.html +567 -0
  55. package/dist/library/components/preview/form.html +278 -0
  56. package/dist/library/components/render/form--header-in-legend.html +551 -0
  57. package/dist/library/components/render/form.html +557 -0
  58. package/dist/library/styles/dso.css +508 -224
  59. package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.css +1 -1
  60. package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  61. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-02272301.entry.js +1 -0
  62. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-09b53589.entry.js +1 -0
  63. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-202bd676.entry.js +1 -0
  64. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-336bf5b9.entry.js +1 -0
  65. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-3ad06d9d.entry.js +1 -0
  66. package/dist/toolkit/styles/dso.css +508 -224
  67. package/hydrate/index.js +61 -7
  68. package/libs/@dso-toolkit/css/src/components/document-header/document-header.scss +122 -0
  69. package/libs/@dso-toolkit/css/src/components/document-list/document-list.scss +63 -0
  70. package/libs/@dso-toolkit/css/src/components/form/fieldset.scss +1 -0
  71. package/libs/@dso-toolkit/css/src/components/form/form-groups/confirm/form-group-confirm.scss +22 -0
  72. package/libs/@dso-toolkit/css/src/components/form/form-groups/files/form-group-files.scss +142 -0
  73. package/libs/@dso-toolkit/css/src/components/form/form-groups/input-number/form-group-input-number.scss +21 -0
  74. package/libs/@dso-toolkit/css/src/components/form/form-groups/select/form-group-select.scss +38 -0
  75. package/libs/@dso-toolkit/css/src/components/form/form-groups/static/form-group-static.scss +30 -0
  76. package/libs/@dso-toolkit/css/src/components/form/form-groups/textarea/form-group-textarea.scss +32 -0
  77. package/libs/@dso-toolkit/css/src/components/form/form.scss +6 -0
  78. package/libs/@dso-toolkit/css/src/components/tile-grid/tile-grid.scss +14 -0
  79. package/libs/@dso-toolkit/css/src/dso.scss +2 -0
  80. package/libs/@dso-toolkit/sources/src/components/accordion/accordion.args.ts +8 -0
  81. package/libs/@dso-toolkit/sources/src/components/accordion/accordion.models.ts +1 -1
  82. package/libs/@dso-toolkit/sources/src/components/accordion/accordion.stories.ts +5 -18
  83. package/libs/@dso-toolkit/sources/src/components/conclusion/conclusion.scss +1 -0
  84. package/libs/@dso-toolkit/sources/src/components/document-header/document-header.args.ts +31 -0
  85. package/libs/@dso-toolkit/sources/src/components/document-header/document-header.models.ts +13 -0
  86. package/libs/@dso-toolkit/sources/src/components/document-header/document-header.stories.ts +48 -0
  87. package/libs/@dso-toolkit/sources/src/components/document-list/document-list.args.ts +8 -0
  88. package/libs/@dso-toolkit/sources/src/components/document-list/document-list.content.ts +30 -0
  89. package/libs/@dso-toolkit/sources/src/components/document-list/document-list.models.ts +17 -0
  90. package/libs/@dso-toolkit/sources/src/components/document-list/document-list.stories.ts +36 -0
  91. package/libs/@dso-toolkit/sources/src/components/form/content/confirm.content.ts +10 -0
  92. package/libs/@dso-toolkit/sources/src/components/form/content/files.content.ts +28 -0
  93. package/libs/@dso-toolkit/sources/src/components/form/content/input-number.content.ts +11 -0
  94. package/libs/@dso-toolkit/sources/src/components/form/content/select.content.ts +66 -0
  95. package/libs/@dso-toolkit/sources/src/components/form/content/static.content.ts +12 -0
  96. package/libs/@dso-toolkit/sources/src/components/form/content/textarea.content.ts +14 -0
  97. package/libs/@dso-toolkit/sources/src/components/form/form-groups/confirm/form-group-confirm.args.ts +80 -0
  98. package/libs/@dso-toolkit/sources/src/components/form/form-groups/files/form-group-files.args.ts +76 -0
  99. package/libs/@dso-toolkit/sources/src/components/form/form-groups/input-number/form-group-input-number.args.ts +73 -0
  100. package/libs/@dso-toolkit/sources/src/components/form/form-groups/select/form-group-select.args.ts +130 -0
  101. package/libs/@dso-toolkit/sources/src/components/form/form-groups/static/form-group-static.args.ts +93 -0
  102. package/libs/@dso-toolkit/sources/src/components/form/form-groups/textarea/form-group-textarea.args.ts +155 -0
  103. package/libs/@dso-toolkit/sources/src/components/form/form.args.ts +8 -0
  104. package/libs/@dso-toolkit/sources/src/components/form/form.models.ts +6 -0
  105. package/libs/@dso-toolkit/sources/src/components/form/form.stories.ts +104 -8
  106. package/libs/@dso-toolkit/sources/src/components/form/models/form-group-confirm.model.ts +8 -0
  107. package/libs/@dso-toolkit/sources/src/components/form/models/form-group-files.model.ts +15 -0
  108. package/libs/@dso-toolkit/sources/src/components/form/models/form-group-input-number.model.ts +13 -0
  109. package/libs/@dso-toolkit/sources/src/components/form/models/form-group-select.model.ts +23 -0
  110. package/libs/@dso-toolkit/sources/src/components/form/models/form-group-static.model.ts +7 -0
  111. package/libs/@dso-toolkit/sources/src/components/form/models/form-group-textarea.model.ts +11 -0
  112. package/libs/@dso-toolkit/sources/src/components/form/models/form-group.model.ts +7 -2
  113. package/libs/@dso-toolkit/sources/src/components/form/models/form.model.ts +1 -0
  114. package/libs/@dso-toolkit/sources/src/components/responsive-element/responsive-element.args.ts +8 -0
  115. package/libs/@dso-toolkit/sources/src/components/responsive-element/responsive-element.models.ts +3 -0
  116. package/libs/@dso-toolkit/sources/src/components/responsive-element/responsive-element.stories.ts +37 -0
  117. package/libs/@dso-toolkit/sources/src/components/tile/tile.scss +6 -1
  118. package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.stories.ts +6 -4
  119. package/libs/@dso-toolkit/sources/src/index.ts +6 -0
  120. package/package.json +2 -2
  121. package/reference/render/form--header-in-legend.html +156 -0
  122. package/src/styles/components/_form.scss +0 -114
  123. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/example-pages/viewer-grid-document-item.example-template.js +0 -56
  124. package/dist/library/@dso-toolkit/core/dso-toolkit/p-746d70f9.entry.js +0 -1
  125. package/dist/library/@dso-toolkit/core/dso-toolkit/p-8bb8148f.entry.js +0 -1
  126. package/dist/library/@dso-toolkit/core/dso-toolkit/p-c32860a3.entry.js +0 -1
  127. package/dist/library/@dso-toolkit/core/dso-toolkit/p-d76c1151.entry.js +0 -1
  128. package/dist/library/@dso-toolkit/core/types/components/viewer-grid/example-pages/viewer-grid-document-item.example-template.d.ts +0 -1
  129. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-746d70f9.entry.js +0 -1
  130. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-8bb8148f.entry.js +0 -1
  131. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-c32860a3.entry.js +0 -1
  132. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-d76c1151.entry.js +0 -1
  133. package/src/styles/components/form/_files.scss +0 -133
package/hydrate/index.js CHANGED
@@ -7331,6 +7331,7 @@ class Header {
7331
7331
  constructor(hostRef) {
7332
7332
  registerInstance(this, hostRef);
7333
7333
  this.menuItemClick = createEvent(this, "menuItemClick", 7);
7334
+ this.logoutClick = createEvent(this, "logoutClick", 7);
7334
7335
  this.mainMenu = [];
7335
7336
  this.useDropDownMenu = "auto";
7336
7337
  this.showDropDown = false;
@@ -7408,9 +7409,9 @@ class Header {
7408
7409
  ["has-sub-logo"]: this.hasSubLogo,
7409
7410
  }), ref: (element) => (this.wrapper = element) }, hAsync("div", { class: "logo-container" }, hAsync("div", { class: "logo" }, hAsync("slot", { name: "logo" })), hAsync("div", { class: "sub-logo" }, hAsync("slot", { name: "sub-logo" }))), this.showDropDown && this.mainMenu.length > 0 && (hAsync("div", { class: "dropdown" }, hAsync("dso-dropdown-menu", { "dropdown-align": "right" }, hAsync("button", { type: "button", class: "tertiary", slot: "toggle" }, hAsync("span", null, "Menu")), hAsync("div", { class: "dso-dropdown-options" }, hAsync("dso-dropdown-options", null, hAsync("ul", null, this.mainMenu.map(this.MenuItem), this.userHomeUrl && (hAsync("li", null, hAsync("a", { href: this.userHomeUrl }, "Mijn Omgevingsloket"))), this.loginUrl && !this.isLoggedIn && (hAsync("li", null, hAsync("a", { href: this.loginUrl }, "Inloggen"))), this.userProfileUrl &&
7410
7411
  this.userProfileName &&
7411
- this.isLoggedIn && (hAsync("li", null, hAsync("a", { href: this.userProfileUrl }, this.userProfileName, hAsync("span", { class: "profile-label" }, "- Mijn profiel")))), this.logoutUrl && this.isLoggedIn && (hAsync("li", null, hAsync("a", { href: this.logoutUrl }, "Uitloggen"))))))))), !this.showDropDown && this.mainMenu.length > 0 && (hAsync(Fragment, null, hAsync("div", { class: "dso-header-session" }, this.userProfileUrl &&
7412
+ this.isLoggedIn && (hAsync("li", null, hAsync("a", { href: this.userProfileUrl }, this.userProfileName, hAsync("span", { class: "profile-label" }, "- Mijn profiel")))), this.logoutUrl && this.isLoggedIn && (hAsync("li", null, hAsync("a", { href: this.logoutUrl, onClick: e => this.logoutClick.emit({ originalEvent: e }) }, "Uitloggen"))))))))), !this.showDropDown && this.mainMenu.length > 0 && (hAsync(Fragment, null, hAsync("div", { class: "dso-header-session" }, this.userProfileUrl &&
7412
7413
  this.userProfileName &&
7413
- this.isLoggedIn && (hAsync("div", { class: "profile" }, hAsync("span", { class: "profile-label" }, "Welkom:"), hAsync("a", { href: this.userProfileUrl }, this.userProfileName))), this.loginUrl && !this.isLoggedIn && (hAsync("div", { class: "login" }, hAsync("a", { href: this.loginUrl }, "Inloggen"))), this.logoutUrl && this.isLoggedIn && (hAsync("div", { class: "logout" }, hAsync("a", { href: this.logoutUrl }, "Uitloggen")))), hAsync("nav", { class: "dso-navbar" }, hAsync("ul", { class: "dso-nav dso-nav-main", ref: (element) => (this.nav = element) }, this.mainMenu
7414
+ this.isLoggedIn && (hAsync("div", { class: "profile" }, hAsync("span", { class: "profile-label" }, "Welkom:"), hAsync("a", { href: this.userProfileUrl }, this.userProfileName))), this.loginUrl && !this.isLoggedIn && (hAsync("div", { class: "login" }, hAsync("a", { href: this.loginUrl }, "Inloggen"))), this.logoutUrl && this.isLoggedIn && (hAsync("div", { class: "logout" }, hAsync("a", { href: this.logoutUrl, onClick: e => this.logoutClick.emit({ originalEvent: e }) }, "Uitloggen")))), hAsync("nav", { class: "dso-navbar" }, hAsync("ul", { class: "dso-nav dso-nav-main", ref: (element) => (this.nav = element) }, this.mainMenu
7414
7415
  .filter((_, index) => index < this.mainMenu.length - this.overflowMenuItems)
7415
7416
  .map(this.MenuItem), this.overflowMenuItems > 0 && (hAsync("li", null, hAsync("dso-dropdown-menu", { "dropdown-align": "left" }, hAsync("button", { type: "button", class: "tertiary", slot: "toggle" }, hAsync("span", null, "Meer")), hAsync("div", { class: "dso-dropdown-options" }, hAsync("dso-dropdown-options", null, hAsync("ul", null, this.mainMenu
7416
7417
  .filter((_, index) => index >=
@@ -9035,6 +9036,7 @@ class MapBaseLayers {
9035
9036
  registerInstance(this, hostRef);
9036
9037
  this.baseLayerChange = createEvent(this, "baseLayerChange", 7);
9037
9038
  this.selectableRefs = {};
9039
+ this.group = v4();
9038
9040
  }
9039
9041
  baseLayerChangeHandler(baseLayer) {
9040
9042
  this.baseLayerChange.emit({ activeBaseLayer: baseLayer });
@@ -9052,7 +9054,7 @@ class MapBaseLayers {
9052
9054
  for (const ref in this.selectableRefs) {
9053
9055
  delete this.selectableRefs[ref];
9054
9056
  }
9055
- return (hAsync("fieldset", { class: "form-group dso-radios" }, hAsync("legend", { class: "sr-only" }, "Achtergrond"), hAsync("div", { class: "dso-label-container" }, hAsync("span", { class: "control-label", "aria-hidden": "true" }, "Achtergrond")), hAsync("div", { class: "dso-field-container" }, this.baseLayers.map(baseLayer => (hAsync("dso-selectable", { key: baseLayer.id, type: "radio", value: baseLayer.name, checked: baseLayer.checked, disabled: baseLayer.disabled, ref: ref => this.selectableRefs[baseLayer.id] = ref, onDsoChange: () => this.baseLayerChangeHandler(baseLayer) }, baseLayer.name, baseLayer.info
9057
+ return (hAsync("fieldset", { class: "form-group dso-radios" }, hAsync("legend", { class: "sr-only" }, "Achtergrond"), hAsync("div", { class: "dso-label-container" }, hAsync("span", { class: "control-label", "aria-hidden": "true" }, "Achtergrond")), hAsync("div", { class: "dso-field-container" }, this.baseLayers.map(baseLayer => (hAsync("dso-selectable", { key: baseLayer.id, type: "radio", value: baseLayer.name, checked: baseLayer.checked, disabled: baseLayer.disabled, name: this.group, ref: ref => this.selectableRefs[baseLayer.id] = ref, onDsoChange: () => this.baseLayerChangeHandler(baseLayer) }, baseLayer.name, baseLayer.info
9056
9058
  ? hAsync("p", { slot: "info" }, baseLayer.info)
9057
9059
  : null))))));
9058
9060
  }
@@ -9061,6 +9063,7 @@ class MapBaseLayers {
9061
9063
  "$flags$": 9,
9062
9064
  "$tagName$": "dso-map-base-layers",
9063
9065
  "$members$": {
9066
+ "group": [1],
9064
9067
  "baseLayers": [16]
9065
9068
  },
9066
9069
  "$listeners$": undefined,
@@ -9140,6 +9143,7 @@ class MapOverlays {
9140
9143
  registerInstance(this, hostRef);
9141
9144
  this.toggleOverlay = createEvent(this, "toggleOverlay", 7);
9142
9145
  this.selectableRefs = {};
9146
+ this.group = v4();
9143
9147
  }
9144
9148
  overlayChangeHandler(overlay, e) {
9145
9149
  const checked = e.detail.target instanceof HTMLInputElement ? !!e.detail.target.checked : false;
@@ -9158,7 +9162,7 @@ class MapOverlays {
9158
9162
  for (const ref in this.selectableRefs) {
9159
9163
  delete this.selectableRefs[ref];
9160
9164
  }
9161
- return (hAsync("fieldset", { class: "form-group dso-checkboxes" }, hAsync("legend", { class: "sr-only" }, "Kaartlagen"), hAsync("div", { class: "dso-label-container" }, hAsync("span", { class: "control-label", "aria-hidden": "true" }, "Kaartlagen")), hAsync("div", { class: "dso-field-container" }, this.overlays.map(overlay => (hAsync("dso-selectable", { key: overlay.id, type: "checkbox", value: overlay.name, checked: overlay.checked, disabled: overlay.disabled, ref: ref => this.selectableRefs[overlay.id] = ref, onDsoChange: e => this.overlayChangeHandler(overlay, e) }, overlay.name, overlay.info
9165
+ return (hAsync("fieldset", { class: "form-group dso-checkboxes" }, hAsync("legend", { class: "sr-only" }, "Kaartlagen"), hAsync("div", { class: "dso-label-container" }, hAsync("span", { class: "control-label", "aria-hidden": "true" }, "Kaartlagen")), hAsync("div", { class: "dso-field-container" }, this.overlays.map(overlay => (hAsync("dso-selectable", { key: overlay.id, type: "checkbox", value: overlay.name, checked: overlay.checked, disabled: overlay.disabled, name: this.group, ref: ref => this.selectableRefs[overlay.id] = ref, onDsoChange: e => this.overlayChangeHandler(overlay, e) }, overlay.name, overlay.info
9162
9166
  ? hAsync("p", { slot: "info" }, overlay.info)
9163
9167
  : null))))));
9164
9168
  }
@@ -9167,6 +9171,7 @@ class MapOverlays {
9167
9171
  "$flags$": 9,
9168
9172
  "$tagName$": "dso-map-overlays",
9169
9173
  "$members$": {
9174
+ "group": [1],
9170
9175
  "overlays": [16]
9171
9176
  },
9172
9177
  "$listeners$": undefined,
@@ -9647,7 +9652,55 @@ class Progressindicator {
9647
9652
  }; }
9648
9653
  }
9649
9654
 
9650
- const selectableCss = "/*!@:host*/.sc-dso-selectable-h{display:block;padding:0 0 0 32px;position:relative}/*!@:host .dso-selectable-options*/.sc-dso-selectable-h .dso-selectable-options.sc-dso-selectable{list-style:none;margin-top:8px;padding-left:0}/*!@:host .dso-selectable-options li + li*/.sc-dso-selectable-h .dso-selectable-options.sc-dso-selectable li.sc-dso-selectable+li.sc-dso-selectable{margin-top:8px}/*!@:host label*/.sc-dso-selectable-h label.sc-dso-selectable{font-weight:400;line-height:24px;margin:0}/*!@:host input[type=checkbox][disabled] + label::before, :host input[type=checkbox][disabled]:active + label::before, :host input[type=checkbox][disabled]:focus + label::before,\n:host input[type=radio][disabled] + label::before,\n:host input[type=radio][disabled]:active + label::before,\n:host input[type=radio][disabled]:focus + label::before*/.sc-dso-selectable-h input[type=checkbox][disabled].sc-dso-selectable+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=checkbox][disabled].sc-dso-selectable:active+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=checkbox][disabled].sc-dso-selectable:focus+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio][disabled].sc-dso-selectable+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio][disabled].sc-dso-selectable:active+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio][disabled].sc-dso-selectable:focus+label.sc-dso-selectable::before{background-color:#fff;box-shadow:0 0 0 2px #e5e5e5}/*!@:host input[type=checkbox],\n:host input[type=radio]*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable,.sc-dso-selectable-h input[type=radio].sc-dso-selectable{height:24px;left:0;margin:0;opacity:0;position:absolute;top:0;width:24px;z-index:100;zoom:1}@media (prefers-contrast: more){/*!@:host input[type=checkbox],\n:host input[type=radio]*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable,.sc-dso-selectable-h input[type=radio].sc-dso-selectable{opacity:1}}/*!@:host input[type=checkbox]:not([disabled]),\n:host input[type=radio]:not([disabled])*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:not([disabled]),.sc-dso-selectable-h input[type=radio].sc-dso-selectable:not([disabled]){cursor:pointer}/*!@:host input[type=checkbox] + label,\n:host input[type=radio] + label*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable+label.sc-dso-selectable,.sc-dso-selectable-h input[type=radio].sc-dso-selectable+label.sc-dso-selectable{display:inline;font-style:normal;padding-left:0}/*!@:host input[type=checkbox] + label::before,\n:host input[type=radio] + label::before*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio].sc-dso-selectable+label.sc-dso-selectable::before{background:#fff;border:0;box-shadow:0 0 0 2px var(--dso-selectable-color, #275937);content:\"\";height:20px;left:2px;position:absolute;top:2px;width:20px}/*!@:host input[type=checkbox]:focus,\n:host input[type=radio]:focus*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:focus,.sc-dso-selectable-h input[type=radio].sc-dso-selectable:focus{outline:0}/*!@:host input[type=checkbox]:focus + label::before,\n:host input[type=radio]:focus + label::before*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:focus+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio].sc-dso-selectable:focus+label.sc-dso-selectable::before{box-shadow:0 0 0 3px var(--dso-selectable-color, #275937);height:18px;left:3px;top:3px;width:18px}/*!@:host input[type=checkbox]:active + label::before, :host input[type=checkbox].active + label::before,\n:host input[type=radio]:active + label::before,\n:host input[type=radio].active + label::before*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:active+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=checkbox].active.sc-dso-selectable+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio].sc-dso-selectable:active+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio].active.sc-dso-selectable+label.sc-dso-selectable::before{background-color:#ebf3e6;box-shadow:0 0 0 1px #275937;height:22px;left:1px;top:1px;width:22px}/*!@:host input[type=checkbox] + label::before*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable+label.sc-dso-selectable::before{border-radius:4px}/*!@:host input[type=checkbox] + label::after*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable+label.sc-dso-selectable::after{background:transparent;content:\"\";left:6px;opacity:0;position:absolute;top:6px;zoom:1}/*!@:host input[type=checkbox]:checked + label::after, :host input[type=checkbox]:indeterminate + label::after*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:checked+label.sc-dso-selectable::after,.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:indeterminate+label.sc-dso-selectable::after{opacity:1}/*!@:host input[type=checkbox]:checked + label::after*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:checked+label.sc-dso-selectable::after{border:solid;border-color:var(--dso-selectable-color, #39870c);border-top-color:transparent;border-width:0 0 3px 3px;height:8px;transform:rotate(-45deg);width:13px}/*!@:host input[type=checkbox]:indeterminate + label::after*/.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:indeterminate+label.sc-dso-selectable::after{background-color:var(--dso-selectable-color, #39870c);height:12px;width:12px}/*!@:host input[type=radio] + label::before*/.sc-dso-selectable-h input[type=radio].sc-dso-selectable+label.sc-dso-selectable::before{border-radius:50%}/*!@:host input[type=radio] + label::after*/.sc-dso-selectable-h input[type=radio].sc-dso-selectable+label.sc-dso-selectable::after{background-color:transparent;border-radius:50%;content:\"\";height:12px;left:6px;opacity:0;position:absolute;top:6px;width:12px;zoom:1}/*!@:host input[type=radio]:checked + label::after*/.sc-dso-selectable-h input[type=radio].sc-dso-selectable:checked+label.sc-dso-selectable::after{background-color:var(--dso-selectable-color, #39870c);opacity:1}/*!@:host > dso-info*/.sc-dso-selectable-h>dso-info.sc-dso-selectable{float:none;margin:8px 16px 0 -32px;width:calc(100% + 32px)}/*!@:host(:not(:last-child))*/.sc-dso-selectable-h:not(:last-child){margin-bottom:8px}/*!@*,\n*::after,\n*::before*/*.sc-dso-selectable,*.sc-dso-selectable::after,*.sc-dso-selectable::before{box-sizing:border-box}";
9655
+ const responsiveElementCss = "/*!@:host*/.sc-dso-responsive-element-h{display:block}";
9656
+
9657
+ const elementSizes = [
9658
+ {
9659
+ width: 624, alias: 'large'
9660
+ },
9661
+ {
9662
+ width: 375, alias: 'medium'
9663
+ },
9664
+ {
9665
+ width: 0, alias: 'small'
9666
+ }
9667
+ ];
9668
+ class ResponsiveElement {
9669
+ constructor(hostRef) {
9670
+ registerInstance(this, hostRef);
9671
+ this.sizeAlias = elementSizes[0].alias;
9672
+ this.sizeWidth = 0;
9673
+ this.observer = new ResizeObserver(([entry]) => {
9674
+ var _a, _b;
9675
+ const size = (_b = (_a = elementSizes.find(s => entry.contentRect.width >= s.width)) === null || _a === void 0 ? void 0 : _a.alias) !== null && _b !== void 0 ? _b : elementSizes[0].alias;
9676
+ this.sizeAlias = size;
9677
+ });
9678
+ }
9679
+ componentWillLoad() {
9680
+ this.observer.observe(this.host);
9681
+ }
9682
+ disconnectedCallback() {
9683
+ this.observer.unobserve(this.host);
9684
+ }
9685
+ render() {
9686
+ return (hAsync(Host, { small: this.sizeAlias === 'small', medium: this.sizeAlias === 'medium', large: this.sizeAlias === 'large' }, hAsync("slot", null)));
9687
+ }
9688
+ get host() { return getElement(this); }
9689
+ static get style() { return responsiveElementCss; }
9690
+ static get cmpMeta() { return {
9691
+ "$flags$": 9,
9692
+ "$tagName$": "dso-responsive-element",
9693
+ "$members$": {
9694
+ "sizeAlias": [32],
9695
+ "sizeWidth": [32]
9696
+ },
9697
+ "$listeners$": undefined,
9698
+ "$lazyBundleId$": "-",
9699
+ "$attrsToReflect$": []
9700
+ }; }
9701
+ }
9702
+
9703
+ const selectableCss = ".sc-dso-selectable-h{display:block;padding:0 0 0 32px;position:relative}.sc-dso-selectable-h .dso-selectable-options.sc-dso-selectable{list-style:none;margin-top:8px;padding-left:0}.sc-dso-selectable-h .dso-selectable-options.sc-dso-selectable li.sc-dso-selectable+li.sc-dso-selectable{margin-top:8px}.sc-dso-selectable-h label.sc-dso-selectable{font-weight:400;line-height:24px;margin:0}.sc-dso-selectable-h input[type=checkbox][disabled].sc-dso-selectable+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=checkbox][disabled].sc-dso-selectable:active+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=checkbox][disabled].sc-dso-selectable:focus+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio][disabled].sc-dso-selectable+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio][disabled].sc-dso-selectable:active+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio][disabled].sc-dso-selectable:focus+label.sc-dso-selectable::before{background-color:#fff;box-shadow:0 0 0 2px #e5e5e5}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable,.sc-dso-selectable-h input[type=radio].sc-dso-selectable{height:24px;left:0;margin:0;opacity:0;position:absolute;top:0;width:24px;z-index:100;zoom:1}@media (prefers-contrast: more){.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable,.sc-dso-selectable-h input[type=radio].sc-dso-selectable{opacity:1}}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:not([disabled]),.sc-dso-selectable-h input[type=radio].sc-dso-selectable:not([disabled]){cursor:pointer}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable+label.sc-dso-selectable,.sc-dso-selectable-h input[type=radio].sc-dso-selectable+label.sc-dso-selectable{display:inline;font-style:normal;padding-left:0}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio].sc-dso-selectable+label.sc-dso-selectable::before{background:#fff;border:0;box-shadow:0 0 0 2px var(--dso-selectable-color, #275937);content:\"\";height:20px;left:2px;position:absolute;top:2px;width:20px}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:focus,.sc-dso-selectable-h input[type=radio].sc-dso-selectable:focus{outline:0}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:focus+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio].sc-dso-selectable:focus+label.sc-dso-selectable::before{box-shadow:0 0 0 3px var(--dso-selectable-color, #275937);height:18px;left:3px;top:3px;width:18px}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:active+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=checkbox].active.sc-dso-selectable+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio].sc-dso-selectable:active+label.sc-dso-selectable::before,.sc-dso-selectable-h input[type=radio].active.sc-dso-selectable+label.sc-dso-selectable::before{background-color:#ebf3e6;box-shadow:0 0 0 1px #275937;height:22px;left:1px;top:1px;width:22px}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable+label.sc-dso-selectable::before{border-radius:4px}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable+label.sc-dso-selectable::after{background:transparent;content:\"\";left:6px;opacity:0;position:absolute;top:6px;zoom:1}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:checked+label.sc-dso-selectable::after,.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:indeterminate+label.sc-dso-selectable::after{opacity:1}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:checked+label.sc-dso-selectable::after{border:solid;border-color:var(--dso-selectable-color, #39870c);border-top-color:transparent;border-width:0 0 3px 3px;height:8px;transform:rotate(-45deg);width:13px}.sc-dso-selectable-h input[type=checkbox].sc-dso-selectable:indeterminate+label.sc-dso-selectable::after{background-color:var(--dso-selectable-color, #39870c);height:12px;width:12px}.sc-dso-selectable-h input[type=radio].sc-dso-selectable+label.sc-dso-selectable::before{border-radius:50%}.sc-dso-selectable-h input[type=radio].sc-dso-selectable+label.sc-dso-selectable::after{background-color:transparent;border-radius:50%;content:\"\";height:12px;left:6px;opacity:0;position:absolute;top:6px;width:12px;zoom:1}.sc-dso-selectable-h input[type=radio].sc-dso-selectable:checked+label.sc-dso-selectable::after{background-color:var(--dso-selectable-color, #39870c);opacity:1}.sc-dso-selectable-h>dso-info.sc-dso-selectable{float:none;margin:8px 16px 0 -32px;width:calc(100% + 32px)}.sc-dso-selectable-h:not(:last-child){margin-bottom:8px}*.sc-dso-selectable,*.sc-dso-selectable::after,*.sc-dso-selectable::before{box-sizing:border-box}";
9651
9704
 
9652
9705
  class Selectable {
9653
9706
  constructor(hostRef) {
@@ -9681,7 +9734,7 @@ class Selectable {
9681
9734
  render() {
9682
9735
  var _a;
9683
9736
  const hasInfo = !!this.host.querySelector('[slot="info"]');
9684
- return (hAsync(Fragment, null, hAsync("input", { type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": this.describedById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: e => this.change.emit(e), ref: (el) => this.input = el }), hAsync("label", { htmlFor: this.getIdentifier() }, hAsync("slot", null)), hasInfo && (hAsync(Fragment, null, !this.infoFixed && (hAsync("dso-info-button", { active: this.infoActive, onToggle: e => this.infoActive = e.detail.active })), hAsync("dso-info", { fixed: this.infoFixed, active: this.infoActive, onClose: () => this.infoActive = false }, hAsync("slot", { name: "info" }))))));
9737
+ return (hAsync(Fragment, null, hAsync("input", { type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": (hasInfo && this.infoFixed) ? this.describedById : undefined, disabled: this.disabled, required: this.required, checked: this.checked, onChange: e => this.change.emit(e), ref: (el) => this.input = el }), hAsync("label", { htmlFor: this.getIdentifier() }, hAsync("slot", null)), hasInfo && (hAsync(Fragment, null, !this.infoFixed && (hAsync("dso-info-button", { active: this.infoActive, onToggle: e => this.infoActive = e.detail.active })), hAsync("dso-info", { id: (hasInfo && this.infoFixed) ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onClose: () => this.infoActive = false }, hAsync("div", null, hAsync("slot", { name: "info" })))))));
9685
9738
  }
9686
9739
  getIdentifier() {
9687
9740
  var _a;
@@ -9693,7 +9746,7 @@ class Selectable {
9693
9746
  }; }
9694
9747
  static get style() { return selectableCss; }
9695
9748
  static get cmpMeta() { return {
9696
- "$flags$": 9,
9749
+ "$flags$": 6,
9697
9750
  "$tagName$": "dso-selectable",
9698
9751
  "$members$": {
9699
9752
  "type": [1],
@@ -12124,6 +12177,7 @@ registerComponents([
12124
12177
  OzonContent,
12125
12178
  ProgressBar,
12126
12179
  Progressindicator,
12180
+ ResponsiveElement,
12127
12181
  Selectable,
12128
12182
  Toggletip,
12129
12183
  Tooltip,
@@ -0,0 +1,122 @@
1
+ .dso-document-header {
2
+ background-color: $grijs-5;
3
+ padding: $grid-gutter-width * 0.5;
4
+ margin-left: $grid-gutter-width * -0.5;
5
+ margin-right: $grid-gutter-width * -0.5;
6
+
7
+ a {
8
+ color: $zwart;
9
+ }
10
+
11
+ > :first-child {
12
+ margin: 0;
13
+ }
14
+
15
+ .dso-document-header-status {
16
+ .dso-document-header-toggle-status {
17
+ background-color: transparent;
18
+ border: 0;
19
+ padding: 0;
20
+ }
21
+
22
+ > dso-label,
23
+ > .dso-label {
24
+ margin-left: $u2;
25
+ margin-right: $u1;
26
+ }
27
+
28
+ dso-badge,
29
+ .dso-badge {
30
+ margin-right: $u1;
31
+ }
32
+ }
33
+
34
+ .dso-document-header-container {
35
+ position: relative;
36
+ }
37
+
38
+ .dso-document-header-type,
39
+ .dso-document-header-owner {
40
+ margin: 0 0 $u1 0;
41
+ display: inline-block;
42
+ }
43
+
44
+ .dso-document-header-map-action,
45
+ .dso-document-header-toggle-features {
46
+ @include button-tertiary();
47
+
48
+ color: $zwart;
49
+ font-weight: normal;
50
+ }
51
+
52
+ .dso-document-header-map-action {
53
+ position: absolute;
54
+ top: 0;
55
+ right: 0;
56
+ }
57
+ }
58
+
59
+ dso-responsive-element.dso-document-header {
60
+ &[small] {
61
+ .dso-document-header-features-wrapper {
62
+ margin-bottom: $u1;
63
+ }
64
+
65
+ .dso-document-header-container {
66
+ @include clearfix();
67
+ }
68
+
69
+ .dso-document-header-type,
70
+ .dso-document-header-owner {
71
+ display: block;
72
+ }
73
+
74
+ .dso-document-header-type {
75
+ margin-right: $u4;
76
+ }
77
+
78
+ .dso-document-header-status {
79
+ margin: 0 0 $u1 0;
80
+ }
81
+
82
+ dl.dso-document-header-features {
83
+ dt {
84
+ clear: initial;
85
+ float: none;
86
+ width: auto;
87
+ word-wrap: initial;
88
+ }
89
+
90
+ dd {
91
+ margin-left: 0;
92
+ padding-left: 0;
93
+ }
94
+ }
95
+ }
96
+
97
+ &:not([small]) {
98
+ .dso-document-header-status {
99
+ margin: $u1 0 0;
100
+ }
101
+
102
+ .dso-document-header-type {
103
+ margin-right: $u1;
104
+ }
105
+
106
+ dl.dso-document-header-features {
107
+ dt {
108
+ width: 20%;
109
+ }
110
+
111
+ dd {
112
+ margin-left: 20%;
113
+ }
114
+ }
115
+
116
+ .dso-document-header-features {
117
+ margin-bottom: 0;
118
+ margin-top: $u2;
119
+ border-bottom: 1px solid $grijs-20;
120
+ }
121
+ }
122
+ }
@@ -0,0 +1,63 @@
1
+ .dso-document-list {
2
+ @include list-unstyled();
3
+
4
+ margin: 0 $grid-gutter-width * -0.5 0 $grid-gutter-width * -0.5;
5
+ }
6
+
7
+ .dso-document-list-item {
8
+ background-color: $grijs-5;
9
+ padding: $grid-gutter-width * 0.5;
10
+
11
+ a {
12
+ color: $zwart;
13
+ }
14
+
15
+ > :first-child {
16
+ margin: 0;
17
+ }
18
+
19
+ .dso-document-list-item-container {
20
+ position: relative;
21
+ }
22
+
23
+ .dso-document-list-item-type,
24
+ .dso-document-list-item-owner {
25
+ margin: 0 0 $u1 0;
26
+ display: inline-block;
27
+ }
28
+
29
+ .dso-document-list-item-status {
30
+ dso-badge,
31
+ .dso-badge {
32
+ margin-right: $u1;
33
+ }
34
+ }
35
+ }
36
+
37
+ dso-responsive-element[small] > .dso-document-list {
38
+ .dso-document-list-item-container {
39
+ @include clearfix();
40
+ }
41
+
42
+ .dso-document-list-item-open-document {
43
+ float: right;
44
+ }
45
+
46
+ .dso-document-list-item-status {
47
+ margin: 0 0 $u1 0;
48
+ }
49
+ }
50
+
51
+ dso-responsive-element:not([small]) > .dso-document-list {
52
+ .dso-document-list-item {
53
+ &-status {
54
+ margin: 0;
55
+ }
56
+ }
57
+
58
+ .dso-document-list-item-open-document {
59
+ position: absolute;
60
+ right: 0;
61
+ bottom: 0;
62
+ }
63
+ }
@@ -15,6 +15,7 @@
15
15
  border-bottom: 0;
16
16
  margin-bottom: $dso-fieldset-separator-unit;
17
17
 
18
+ h1,
18
19
  h2,
19
20
  h3,
20
21
  h4,
@@ -0,0 +1,22 @@
1
+ @use "sass:math";
2
+
3
+ .form-group.dso-confirm {
4
+ &.dso-invalid {
5
+ .dso-selectable {
6
+ @include selectable_invalid();
7
+ }
8
+ }
9
+
10
+ &.dso-required {
11
+ .control-label::after {
12
+ @include form-group-required();
13
+ }
14
+ }
15
+
16
+ @media screen and (min-width: $screen-sm-min) {
17
+ .form-horizontal & .dso-field-container {
18
+ margin-left: math.percentage(math.div($dso-label-column, $grid-columns));
19
+ padding-left: $grid-gutter-width * 0.5;
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,142 @@
1
+ @import "../../form.variables"; // stylelint-disable-line scss/at-import-partial-extension -- extension is needed because of filesystem based namespacing
2
+ @import "../../form.mixins"; // stylelint-disable-line scss/at-import-partial-extension -- extension is needed because of filesystem based namespacing
3
+
4
+ @import "../../../../../../sources/src/styling/variables";
5
+ @import "../../../../../../sources/src/styling/mixins";
6
+
7
+ .form-group.dso-files {
8
+ &.dso-required {
9
+ .control-label::after {
10
+ @include form-group-required();
11
+ }
12
+ }
13
+
14
+ dso-selectable,
15
+ .dso-selectable {
16
+ margin: #{$u1 * 0.5} 0;
17
+ }
18
+
19
+ .dso-file-upload {
20
+ input[type="file"] {
21
+ @include sr-only();
22
+
23
+ + label {
24
+ cursor: pointer;
25
+ }
26
+
27
+ &:focus {
28
+ & + label {
29
+ &.dso-primary {
30
+ background-color: $dso-button-primary-hover-background-color;
31
+ }
32
+
33
+ &.dso-secondary {
34
+ background-color: $dso-button-secondary-hover-background-color;
35
+ color: $dso-button-secondary-hover-color;
36
+ }
37
+ }
38
+ }
39
+
40
+ &[disabled] {
41
+ + label {
42
+ cursor: default;
43
+
44
+ &.dso-primary {
45
+ background-color: $dso-button-primary-disabled-background-color;
46
+ border-color: $dso-button-primary-disabled-background-color;
47
+ }
48
+
49
+ &.dso-secondary {
50
+ background-color: $wit;
51
+ border-color: $dso-button-secondary-disabled-color;
52
+ color: $dso-button-secondary-disabled-color;
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+
59
+ .dso-filelist {
60
+ list-style: none;
61
+ margin-bottom: 0;
62
+ padding-left: 0;
63
+
64
+ li {
65
+ background-color: $grijs-5;
66
+ border: 1px solid $grijs-10;
67
+ border-radius: $dso-button-border-radius;
68
+ display: flex;
69
+ padding: #{$u1 * 0.5 - 1} #{$u1 - 1} #{$u1 * 0.5 - 2};
70
+
71
+ + li {
72
+ margin-top: $u1;
73
+ }
74
+
75
+ .dso-filename {
76
+ font-weight: 600;
77
+ padding-right: $u1;
78
+ width: calc(100% - #{$u1});
79
+ word-break: break-all;
80
+ }
81
+
82
+ .dso-selectable,
83
+ dso-selectable {
84
+ + .dso-remove {
85
+ margin-left: $u4;
86
+ }
87
+ }
88
+
89
+ .dso-remove {
90
+ font-size: 0;
91
+ min-width: auto;
92
+ padding: $u1 * 0.5;
93
+
94
+ &::before {
95
+ @include di("times-bosgroen");
96
+
97
+ content: "";
98
+ display: block;
99
+ font-size: $font-size-base;
100
+ }
101
+ }
102
+
103
+ .dso-filename,
104
+ .dso-confidential {
105
+ margin: #{$u1 * 0.5} 0;
106
+ }
107
+
108
+ > dso-icon,
109
+ > svg.di {
110
+ flex: 0 0 24px;
111
+ height: 24px;
112
+ margin: #{$u1 * 0.5} 0 #{$u1 * 0.5} $u1;
113
+ }
114
+
115
+ button.btn-link {
116
+ color: $grijs-90;
117
+ }
118
+
119
+ @media screen and (max-width: $screen-sm-max) {
120
+ @include clearfix();
121
+
122
+ display: block;
123
+
124
+ .dso-confidential,
125
+ > dso-icon,
126
+ > svg.di,
127
+ .dso-remove {
128
+ display: block;
129
+ float: left;
130
+ }
131
+
132
+ .dso-confidential {
133
+ width: calc(100% - #{$u8});
134
+ }
135
+ }
136
+ }
137
+
138
+ + .dso-file-upload {
139
+ margin-top: $u2;
140
+ }
141
+ }
142
+ }
@@ -0,0 +1,21 @@
1
+ @import "../../form.variables"; // stylelint-disable-line scss/at-import-partial-extension -- extension is needed because of filesystem based namespacing
2
+ @import "../../form.mixins"; // stylelint-disable-line scss/at-import-partial-extension -- extension is needed because of filesystem based namespacing
3
+
4
+ @import "../../../../../../sources/src/styling/variables";
5
+ @import "../../../../../../sources/src/styling/mixins";
6
+
7
+ .form-group.dso-input-number {
8
+ &.dso-required {
9
+ .control-label::after {
10
+ @include form-group-required();
11
+ }
12
+ }
13
+
14
+ @media screen and (min-width: $screen-sm-min) {
15
+ .form-horizontal & {
16
+ .dso-field-container {
17
+ padding-top: #{$padding-base-vertical + 1};
18
+ }
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,38 @@
1
+ @import "../../form.variables"; // stylelint-disable-line scss/at-import-partial-extension -- extension is needed because of filesystem based namespacing
2
+ @import "../../form.mixins"; // stylelint-disable-line scss/at-import-partial-extension -- extension is needed because of filesystem based namespacing
3
+
4
+ @import "../../../../../../sources/src/styling/variables";
5
+ @import "../../../../../../sources/src/styling/mixins";
6
+
7
+ .form-group.dso-select {
8
+ &.dso-required {
9
+ .control-label::after {
10
+ @include form-group-required();
11
+ }
12
+ }
13
+
14
+ &.dso-invalid {
15
+ select:not([multiple]) {
16
+ @include di-variant("caret-down-invalid");
17
+ }
18
+ }
19
+
20
+ select:not([multiple]) {
21
+ @include di-variant("caret-down");
22
+
23
+ -moz-appearance: none;
24
+ -webkit-appearance: none;
25
+ background-position: calc(100% - #{$u1});
26
+ background-repeat: no-repeat;
27
+ background-size: $dso-icon-size $dso-icon-size;
28
+ padding-right: $u4;
29
+
30
+ &:disabled {
31
+ @include di-variant("caret-down-disabled");
32
+ }
33
+
34
+ &::-ms-expand {
35
+ display: none;
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,30 @@
1
+ .form-group.dso-static {
2
+ .form-horizontal & {
3
+ .dso-field-container {
4
+ margin-bottom: 0;
5
+ min-height: $line-height-computed + $font-size-base;
6
+ padding-bottom: $padding-base-vertical + 1;
7
+ padding-top: $padding-base-vertical + 1;
8
+
9
+ * {
10
+ margin-bottom: 0;
11
+ margin-top: 0;
12
+
13
+ + * {
14
+ margin-top: $dso-vertical-spacing-small;
15
+ }
16
+ }
17
+ }
18
+
19
+ &.dso-edit .dso-field-container {
20
+ padding-right: $u5;
21
+ position: relative;
22
+
23
+ button {
24
+ position: absolute;
25
+ right: $u2;
26
+ top: 0;
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,32 @@
1
+ @import "../../form.variables"; // stylelint-disable-line scss/at-import-partial-extension -- extension is needed because of filesystem based namespacing
2
+ @import "../../form.mixins"; // stylelint-disable-line scss/at-import-partial-extension -- extension is needed because of filesystem based namespacing
3
+
4
+ @import "../../../../../../sources/src/styling/variables";
5
+ @import "../../../../../../sources/src/styling/mixins";
6
+
7
+ .form-group.dso-textarea {
8
+ &.dso-required {
9
+ .control-label::after {
10
+ @include form-group-required();
11
+ }
12
+ }
13
+
14
+ textarea {
15
+ resize: vertical;
16
+
17
+ &.form-control {
18
+ height: auto;
19
+
20
+ &:not([rows]) {
21
+ height: calc(#{$line-height-base * $dso-textarea-default-rows}em + #{($padding-base-vertical + 1) * 2});
22
+ }
23
+ }
24
+ }
25
+
26
+ .form-control {
27
+ .form-horizontal & {
28
+ padding-bottom: $padding-base-vertical - 1;
29
+ padding-top: $padding-base-vertical - 1;
30
+ }
31
+ }
32
+ }
@@ -2,5 +2,11 @@
2
2
  @import "form-group";
3
3
 
4
4
  @import "form-groups/checkboxes/form-group-checkboxes";
5
+ @import "form-groups/confirm/form-group-confirm";
6
+ @import "form-groups/files/form-group-files";
5
7
  @import "form-groups/input/form-group-input";
8
+ @import "form-groups/input-number/form-group-input-number";
6
9
  @import "form-groups/radios/form-group-radios";
10
+ @import "form-groups/select/form-group-select";
11
+ @import "form-groups/static/form-group-static";
12
+ @import "form-groups/textarea/form-group-textarea";