dso-toolkit 36.3.0 → 37.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.
- package/components/Componenten/badge/badge.config.js +6 -0
- package/components/Componenten/shopping-cart/shopping-cart.njk +12 -17
- package/components/Voorbeelden/30-Componenten/anchors.njk +0 -29
- package/components/Voorbeelden/_anchors.scss +0 -4
- package/dist/library/@dso-toolkit/core/cjs/dso-attachments-counter.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-badge.cjs.entry.js +2 -8
- package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-helpcenter-panel.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-highlight-box.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-icon.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-image-overlay.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-info_2.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-map-controls.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +28 -4
- package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-viewer-grid.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/attachments-counter/attachments-counter.css +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/badge/badge.css +5 -0
- package/dist/library/@dso-toolkit/core/collection/components/badge/badge.js +2 -11
- package/dist/library/@dso-toolkit/core/collection/components/header/header.css +6 -6
- package/dist/library/@dso-toolkit/core/collection/components/helpcenter-panel/helpcenter-panel.css +12 -12
- package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.css +4 -1
- package/dist/library/@dso-toolkit/core/collection/components/icon/icon.css +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.css +8 -8
- package/dist/library/@dso-toolkit/core/collection/components/info/info.css +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/map-controls/map-controls.css +12 -12
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/al.node.js +4 -1
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/inhoud.node.js +0 -1
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/opschrift.node.js +9 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-mapper.js +2 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.css +25 -5
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.js +54 -3
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.template.js +3 -1
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.css +16 -16
- package/dist/library/@dso-toolkit/core/custom-elements/index.js +40 -22
- package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.css +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-af8a4337.entry.js → p-076400f4.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-0e535c2b.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-121c3588.entry.js → p-1894c7ae.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-1dc02e51.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-b29184e1.entry.js → p-2daedd0a.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-efb7575f.entry.js → p-50c71bd2.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-efa4a33d.entry.js → p-5a56d726.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-6ec616ee.entry.js +1 -0
- package/dist/{toolkit/core/packages/core/dist/dso-toolkit/p-4f904355.entry.js → library/@dso-toolkit/core/dso-toolkit/p-c0b7f435.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-c32860a3.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-d76c1151.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/esm/dso-attachments-counter.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-badge.entry.js +2 -8
- package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-helpcenter-panel.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-highlight-box.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-icon.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-image-overlay.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-info_2.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-map-controls.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +28 -4
- package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-viewer-grid.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
- package/dist/library/@dso-toolkit/core/types/components/badge/badge.d.ts +1 -2
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/opschrift.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.d.ts +11 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.template.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components.d.ts +24 -2
- package/dist/library/components/detail/activiteiten.html +5 -1
- package/dist/library/components/detail/anchors.html +0 -63
- package/dist/library/components/detail/badge--badge-danger.html +1 -1
- package/dist/library/components/detail/badge--badge-info.html +1 -1
- package/dist/library/components/detail/badge--badge-outline.html +1495 -0
- package/dist/library/components/detail/badge--badge-primary.html +1 -1
- package/dist/library/components/detail/badge--badge-success.html +1 -1
- package/dist/library/components/detail/badge--badge-warning.html +1 -1
- package/dist/library/components/detail/badge--default.html +1 -1
- package/dist/library/components/detail/badge.html +18 -6
- package/dist/library/components/detail/form--autocomplete.html +1 -1
- package/dist/library/components/detail/form--form-horizontal.html +1 -1
- package/dist/library/components/detail/form--form-vertical.html +1 -1
- package/dist/library/components/detail/form--multi-page.html +1 -1
- package/dist/library/components/detail/form--sections.html +1 -1
- package/dist/library/components/detail/form--simple-form.html +1 -1
- package/dist/library/components/detail/form--single-page.html +1 -1
- package/dist/library/components/detail/form.html +1 -1
- package/dist/library/components/detail/shopping-cart--default.html +12 -17
- package/dist/library/components/detail/shopping-cart--items-collapsed.html +17 -18
- package/dist/library/components/detail/shopping-cart--items-edit.html +21 -21
- package/dist/library/components/detail/shopping-cart--items-expanded.html +25 -24
- package/dist/library/components/detail/shopping-cart--subitems-hidden-summary.html +22 -24
- package/dist/library/components/detail/shopping-cart--subitems-with-warning.html +30 -28
- package/dist/library/components/detail/shopping-cart--subitems.html +32 -29
- package/dist/library/components/detail/shopping-cart.html +87 -59
- package/dist/library/components/preview/activiteiten.html +10 -2
- package/dist/library/components/preview/anchors.html +0 -34
- package/dist/library/components/preview/badge--badge-danger.html +1 -1
- package/dist/library/components/preview/badge--badge-info.html +1 -1
- package/dist/library/components/preview/badge--badge-outline.html +23 -0
- package/dist/library/components/preview/badge--badge-primary.html +1 -1
- package/dist/library/components/preview/badge--badge-success.html +1 -1
- package/dist/library/components/preview/badge--badge-warning.html +1 -1
- package/dist/library/components/preview/badge--default.html +1 -1
- package/dist/library/components/preview/badge.html +5 -6
- package/dist/library/components/preview/shopping-cart--items-collapsed.html +6 -2
- package/dist/library/components/preview/shopping-cart--items-edit.html +11 -7
- package/dist/library/components/preview/shopping-cart--items-expanded.html +16 -12
- package/dist/library/components/preview/shopping-cart--subitems-hidden-summary.html +13 -13
- package/dist/library/components/preview/shopping-cart--subitems-with-warning.html +26 -22
- package/dist/library/components/preview/shopping-cart--subitems.html +27 -23
- package/dist/library/components/preview/shopping-cart.html +99 -79
- package/dist/library/components/preview/zoeken-in-lijst-cards.html +5 -14
- package/dist/library/components/render/activiteiten.html +6 -2
- package/dist/library/components/render/anchors.html +0 -34
- package/dist/library/components/render/badge--badge-danger.html +1 -3
- package/dist/library/components/render/badge--badge-info.html +1 -3
- package/dist/library/components/render/badge--badge-outline.html +6 -0
- package/dist/library/components/render/badge--badge-primary.html +1 -3
- package/dist/library/components/render/badge--badge-success.html +1 -3
- package/dist/library/components/render/badge--badge-warning.html +1 -3
- package/dist/library/components/render/badge--default.html +1 -3
- package/dist/library/components/render/badge.html +7 -13
- package/dist/library/components/render/shopping-cart--items-collapsed.html +6 -2
- package/dist/library/components/render/shopping-cart--items-edit.html +11 -7
- package/dist/library/components/render/shopping-cart--items-expanded.html +16 -12
- package/dist/library/components/render/shopping-cart--subitems-hidden-summary.html +13 -13
- package/dist/library/components/render/shopping-cart--subitems-with-warning.html +26 -22
- package/dist/library/components/render/shopping-cart--subitems.html +27 -23
- package/dist/library/components/render/shopping-cart.html +99 -79
- package/dist/library/styles/dso.css +398 -675
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.css +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-af8a4337.entry.js → p-076400f4.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-0e535c2b.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-121c3588.entry.js → p-1894c7ae.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-1dc02e51.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-b29184e1.entry.js → p-2daedd0a.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-efb7575f.entry.js → p-50c71bd2.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-efa4a33d.entry.js → p-5a56d726.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-6ec616ee.entry.js +1 -0
- package/dist/{library/@dso-toolkit/core/dso-toolkit/p-4f904355.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-c0b7f435.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-c32860a3.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-d76c1151.entry.js +1 -0
- package/dist/toolkit/styles/dso.css +398 -671
- package/hydrate/index.js +42 -22
- package/libs/@dso-toolkit/css/src/components/accordion/accordion.scss +0 -1
- package/libs/@dso-toolkit/css/src/components/card/card.scss +4 -1
- package/libs/@dso-toolkit/css/src/components/form/fieldset.scss +48 -0
- package/libs/@dso-toolkit/css/src/components/form/form-group.scss +179 -0
- package/libs/@dso-toolkit/css/src/components/form/form-groups/input/form-group-input.scss +13 -0
- package/libs/@dso-toolkit/css/src/components/form/form.mixins.scss +8 -0
- package/libs/@dso-toolkit/css/src/components/form/form.scss +4 -0
- package/libs/@dso-toolkit/css/src/components/form/form.variables.scss +37 -0
- package/libs/@dso-toolkit/css/src/components/form-control/form-control.scss +5 -0
- package/libs/@dso-toolkit/css/src/components/shopping-cart/shopping-cart.scss +18 -3
- package/libs/@dso-toolkit/css/src/dso.scss +2 -0
- package/libs/@dso-toolkit/sources/src/components/badge/badge.args.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/badge/badge.scss +6 -0
- package/libs/@dso-toolkit/sources/src/components/badge/badge.stories.ts +11 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/form.content.ts +16 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/input.content.ts +15 -0
- package/libs/@dso-toolkit/sources/src/components/form/form-groups/input/form-group-input.args.ts +175 -0
- package/libs/@dso-toolkit/sources/src/components/form/form.args.ts +32 -0
- package/libs/@dso-toolkit/sources/src/components/form/form.models.ts +3 -0
- package/libs/@dso-toolkit/sources/src/components/form/form.stories.ts +49 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group-input.model.ts +19 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group.base-model.ts +17 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group.model.ts +3 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form.model.ts +8 -0
- package/libs/@dso-toolkit/sources/src/components/info/info.models.ts +2 -1
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.args.ts +14 -0
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.content.ts +27 -0
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.models.ts +2 -0
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.stories.ts +7 -3
- package/libs/@dso-toolkit/sources/src/components/shopping-cart/shopping-cart.args.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/shopping-cart/shopping-cart.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/shopping-cart/shopping-cart.stories.ts +23 -0
- package/libs/@dso-toolkit/sources/src/index.ts +2 -0
- package/libs/@dso-toolkit/sources/src/styling/mixins/step-counter.scss +5 -1
- package/libs/@dso-toolkit/sources/src/styling/variables/icon.scss +1 -1
- package/libs/@dso-toolkit/sources/src/styling/variables/typography.scss +2 -0
- package/libs/@dso-toolkit/sources/src/styling/variables/units.scss +2 -0
- package/libs/@dso-toolkit/sources/src/styling/variables/zindex.scss +0 -1
- package/libs/_bootstrap.scss +1 -1
- package/libs/bootstrap/_forms.scss +0 -213
- package/libs/bootstrap/_variables.scss +2 -13
- package/libs/bootstrap/mixins/_forms.scss +0 -55
- package/package.json +2 -2
- package/reference/render/activiteiten.html +5 -1
- package/reference/render/anchors.html +0 -29
- package/reference/render/badge--badge-danger.html +1 -1
- package/reference/render/badge--badge-info.html +1 -1
- package/reference/render/badge--badge-outline.html +1 -0
- package/reference/render/badge--badge-primary.html +1 -1
- package/reference/render/badge--badge-success.html +1 -1
- package/reference/render/badge--badge-warning.html +1 -1
- package/reference/render/badge--default.html +1 -1
- package/reference/render/shopping-cart--items-collapsed.html +5 -1
- package/reference/render/shopping-cart--items-edit.html +9 -4
- package/reference/render/shopping-cart--items-expanded.html +13 -7
- package/reference/render/shopping-cart--subitems-hidden-summary.html +8 -7
- package/reference/render/shopping-cart--subitems-with-warning.html +15 -11
- package/reference/render/shopping-cart--subitems.html +17 -12
- package/src/styles/components/_dso-select.scss +7 -5
- package/src/styles/components/_form.scss +4 -199
- package/src/styles/components/_search-bar.scss +5 -2
- package/src/styles/mixins/_bootstrap-variables.scss +2 -2
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-1fd3d18d.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-2a611af3.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-72e47943.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-a58b3108.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-a93e9760.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-1fd3d18d.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-2a611af3.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-72e47943.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-a58b3108.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-a93e9760.entry.js +0 -1
- package/libs/bootstrap/_input-groups.scss +0 -168
- package/src/styles/components/_input-group.scss +0 -11
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { bindTemplate, StorybookParameters, } from '../../stories-helpers';
|
|
2
|
+
|
|
3
|
+
import { formArgsMapper, formArgTypes } from './form.args';
|
|
4
|
+
import { } from './content/form.content';
|
|
5
|
+
import { Form, FormGroupInput, FormGroupInputDate } from './form.models';
|
|
6
|
+
import { formGroupInputArgsMapper, formGroupInputArgTypes } from './form-groups/input/form-group-input.args';
|
|
7
|
+
import { inputContent } from './content/input.content';
|
|
8
|
+
import { DecoratorFunction } from '@storybook/addons';
|
|
9
|
+
|
|
10
|
+
export interface FormParameters<TemplateFnReturnType> {
|
|
11
|
+
formTemplate: (form: Form<TemplateFnReturnType>) => TemplateFnReturnType;
|
|
12
|
+
formGroupDecorator: DecoratorFunction<TemplateFnReturnType>;
|
|
13
|
+
formGroupInputTemplate: (formGroupInput: FormGroupInput<TemplateFnReturnType> | FormGroupInputDate<TemplateFnReturnType>) => TemplateFnReturnType;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export function storiesOfForm<TemplateFnReturnType>(
|
|
17
|
+
{
|
|
18
|
+
module: mainModule,
|
|
19
|
+
storiesOf,
|
|
20
|
+
readme
|
|
21
|
+
}: StorybookParameters,
|
|
22
|
+
{
|
|
23
|
+
formTemplate,
|
|
24
|
+
formGroupDecorator,
|
|
25
|
+
formGroupInputTemplate
|
|
26
|
+
}: FormParameters<TemplateFnReturnType>
|
|
27
|
+
) {
|
|
28
|
+
storiesOf('Form/form', mainModule)
|
|
29
|
+
.addParameters({
|
|
30
|
+
argTypes: formArgTypes,
|
|
31
|
+
docs: {
|
|
32
|
+
page: readme
|
|
33
|
+
}
|
|
34
|
+
})
|
|
35
|
+
.add('form', bindTemplate(formArgsMapper, formTemplate)
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
storiesOf('Form/groups/input', mainModule)
|
|
39
|
+
.addParameters({
|
|
40
|
+
argTypes: formGroupInputArgTypes,
|
|
41
|
+
args: inputContent,
|
|
42
|
+
docs: {
|
|
43
|
+
page: readme
|
|
44
|
+
}
|
|
45
|
+
})
|
|
46
|
+
.addDecorator(formGroupDecorator)
|
|
47
|
+
.add('input', bindTemplate(formGroupInputArgsMapper, formGroupInputTemplate)
|
|
48
|
+
);
|
|
49
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Icon } from '../../..';
|
|
2
|
+
|
|
3
|
+
import { FormGroupBase } from './form-group.base-model';
|
|
4
|
+
|
|
5
|
+
export interface FormGroupInput<TemplateFnReturnType> extends FormGroupBase<TemplateFnReturnType> {
|
|
6
|
+
group: 'input',
|
|
7
|
+
type: 'text' | 'email' | 'password' | 'url' | 'tel';
|
|
8
|
+
value?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
size?: number;
|
|
11
|
+
autocomplete?: boolean;
|
|
12
|
+
feedback?: Icon;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface FormGroupInputDate<TemplateFnReturnType> extends Omit<FormGroupInput<TemplateFnReturnType>, 'type'> {
|
|
16
|
+
type: 'date';
|
|
17
|
+
min?: string;
|
|
18
|
+
max?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Info } from '../../..';
|
|
2
|
+
import { InfoButton } from '../../info-button/info-button.models';
|
|
3
|
+
|
|
4
|
+
export interface FormGroupBase<TemplateFnReturnType> {
|
|
5
|
+
group: string;
|
|
6
|
+
type: string;
|
|
7
|
+
label: string;
|
|
8
|
+
id: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
infoButton?: InfoButton;
|
|
13
|
+
info?: Info<TemplateFnReturnType>;
|
|
14
|
+
state?: 'invalid' | 'valid';
|
|
15
|
+
errorText?: string;
|
|
16
|
+
helpText?: string;
|
|
17
|
+
}
|
|
@@ -5,6 +5,8 @@ import { OzonContent } from "./ozon-content.models";
|
|
|
5
5
|
|
|
6
6
|
export interface OzonContentArgs {
|
|
7
7
|
content: string;
|
|
8
|
+
inline: boolean;
|
|
9
|
+
deleted: boolean;
|
|
8
10
|
onAnchorClick: HandlerFunction;
|
|
9
11
|
}
|
|
10
12
|
|
|
@@ -14,6 +16,16 @@ export const ozonContentArgTypes: ArgTypes<OzonContentArgs> = {
|
|
|
14
16
|
type: 'text'
|
|
15
17
|
}
|
|
16
18
|
},
|
|
19
|
+
inline: {
|
|
20
|
+
control: {
|
|
21
|
+
type: 'boolean'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
deleted: {
|
|
25
|
+
control: {
|
|
26
|
+
type: 'boolean'
|
|
27
|
+
}
|
|
28
|
+
},
|
|
17
29
|
onAnchorClick: {
|
|
18
30
|
...noControl,
|
|
19
31
|
action: "anchorClick",
|
|
@@ -23,6 +35,8 @@ export const ozonContentArgTypes: ArgTypes<OzonContentArgs> = {
|
|
|
23
35
|
export function ozonContentArgsMapper(a: OzonContentArgs): OzonContent {
|
|
24
36
|
return {
|
|
25
37
|
content: a.content,
|
|
38
|
+
inline: a.inline,
|
|
39
|
+
deleted: a.deleted,
|
|
26
40
|
onAnchorClick: (e: any) => a.onAnchorClick(e.detail),
|
|
27
41
|
};
|
|
28
42
|
}
|
|
@@ -13,6 +13,33 @@ export const content = [
|
|
|
13
13
|
</Inhoud>
|
|
14
14
|
`,
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
// De Noot in deze content is verzonnen. Volgens STOP kan dit voorkomen maar ik heb geen echte content gevonden.
|
|
18
|
+
title: 'Opschrift',
|
|
19
|
+
content: `
|
|
20
|
+
<Opschrift
|
|
21
|
+
xmlns='https://standaarden.overheid.nl/stop/imop/tekst/'
|
|
22
|
+
xmlns:ns6='http://www.w3.org/1999/xlink'
|
|
23
|
+
xmlns:ns5='http://www.opengis.net/se'
|
|
24
|
+
xmlns:ns8='http://www.opengis.net/gml'
|
|
25
|
+
xmlns:ns7='http://www.opengis.net/ogc'
|
|
26
|
+
xmlns:data='https://standaarden.overheid.nl/stop/imop/data/'
|
|
27
|
+
xmlns:DSO-PI12='https://standaarden.overheid.nl/lvbb/DSO-PI12'
|
|
28
|
+
xmlns:ns9='http://www.w3.org/2001/SMIL20/'
|
|
29
|
+
xmlns:ns10='http://www.w3.org/2001/SMIL20/Language'
|
|
30
|
+
xmlns:ns2='https://standaarden.overheid.nl/stop/imop/consolidatie/'
|
|
31
|
+
xmlns:ns4='https://standaarden.overheid.nl/lvbb/stop/uitlevering/'
|
|
32
|
+
>Programma's met programmatische aanpak <Noot id="Noot5000" type="voet">
|
|
33
|
+
<NootNummer>5</NootNummer>
|
|
34
|
+
<Al>
|
|
35
|
+
Een Testnoot
|
|
36
|
+
</Al>
|
|
37
|
+
</Noot></Opschrift>
|
|
38
|
+
`,
|
|
39
|
+
args: {
|
|
40
|
+
inline: true
|
|
41
|
+
}
|
|
42
|
+
},
|
|
16
43
|
{
|
|
17
44
|
title: 'Lijst',
|
|
18
45
|
content: `
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { bindTemplate, StorybookParameters } from "../../stories-helpers";
|
|
1
|
+
import { bindTemplate, componentArgs, StorybookParameters } from "../../stories-helpers";
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
ozonContentArgTypes,
|
|
5
5
|
ozonContentArgsMapper,
|
|
6
|
+
OzonContentArgs,
|
|
6
7
|
} from "./ozon-content.args";
|
|
7
8
|
import { content } from "./ozon-content.content";
|
|
8
9
|
import { OzonContent } from "./ozon-content.models";
|
|
@@ -28,9 +29,12 @@ export function storiesOfOzonContent<TemplateFnReturnType>(
|
|
|
28
29
|
|
|
29
30
|
content.forEach((story) => {
|
|
30
31
|
stories.add(story.title, template, {
|
|
31
|
-
args: {
|
|
32
|
+
args: componentArgs<Omit<OzonContentArgs, 'onAnchorClick'>>({
|
|
32
33
|
content: story.content,
|
|
33
|
-
|
|
34
|
+
inline: false,
|
|
35
|
+
deleted: false,
|
|
36
|
+
...story.args
|
|
37
|
+
}),
|
|
34
38
|
});
|
|
35
39
|
});
|
|
36
40
|
}
|
|
@@ -5,6 +5,7 @@ import { ShoppingCart, ShoppingCartItem } from './shopping-cart.models';
|
|
|
5
5
|
export interface ShoppingCartArgs {
|
|
6
6
|
collapsed?: boolean;
|
|
7
7
|
hideSummary?: boolean;
|
|
8
|
+
removeAll?: boolean;
|
|
8
9
|
isOpen?: boolean;
|
|
9
10
|
items: ShoppingCartItem[];
|
|
10
11
|
shoppingcartTitleTag: 'h2' | 'h3';
|
|
@@ -22,6 +23,11 @@ export const shoppingCartArgTypes: ArgTypes<ShoppingCartArgs> = {
|
|
|
22
23
|
type: 'boolean'
|
|
23
24
|
}
|
|
24
25
|
},
|
|
26
|
+
removeAll: {
|
|
27
|
+
control: {
|
|
28
|
+
type: 'boolean'
|
|
29
|
+
}
|
|
30
|
+
},
|
|
25
31
|
isOpen: {
|
|
26
32
|
control: {
|
|
27
33
|
type: 'boolean'
|
|
@@ -49,6 +55,7 @@ export function shoppingCartArgsMapper(a: ShoppingCartArgs): ShoppingCart {
|
|
|
49
55
|
return {
|
|
50
56
|
collapsed: a.collapsed,
|
|
51
57
|
hideSummary: a.hideSummary,
|
|
58
|
+
removeAll: a.removeAll,
|
|
52
59
|
isOpen: a.isOpen,
|
|
53
60
|
items: a.items,
|
|
54
61
|
shoppingcartTitleTag: a.shoppingcartTitleTag,
|
|
@@ -30,6 +30,7 @@ export function storiesOfShoppingCart<TemplateFnReturnType>(
|
|
|
30
30
|
args: componentArgs<ShoppingCartArgs>({
|
|
31
31
|
collapsed: false,
|
|
32
32
|
hideSummary: false,
|
|
33
|
+
removeAll: false,
|
|
33
34
|
isOpen: false,
|
|
34
35
|
shoppingcartTitle: 'Mijn activiteiten',
|
|
35
36
|
shoppingcartTitleTag: 'h2',
|
|
@@ -63,6 +64,28 @@ export function storiesOfShoppingCart<TemplateFnReturnType>(
|
|
|
63
64
|
}
|
|
64
65
|
);
|
|
65
66
|
|
|
67
|
+
stories.add(
|
|
68
|
+
'remove all items option',
|
|
69
|
+
template,
|
|
70
|
+
{
|
|
71
|
+
args: componentArgs<Pick<ShoppingCartArgs, 'removeAll' | 'collapsed' | 'items'>>({
|
|
72
|
+
removeAll: true,
|
|
73
|
+
collapsed: true,
|
|
74
|
+
items: [
|
|
75
|
+
{
|
|
76
|
+
id: uuidv4(),
|
|
77
|
+
label: 'Milieubelastende activiteit - Melding'
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: uuidv4(),
|
|
81
|
+
label: 'Milieubelastende activiteit - Melding',
|
|
82
|
+
additive: '2'
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
})
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
|
|
66
89
|
stories.add(
|
|
67
90
|
'edit items',
|
|
68
91
|
template,
|
|
@@ -42,6 +42,8 @@ export * from './components/dropdown-menu/dropdown-menu.models';
|
|
|
42
42
|
export * from './components/dropdown-menu/dropdown-menu.stories';
|
|
43
43
|
export * from './components/footnotes/footnotes.models';
|
|
44
44
|
export * from './components/footnotes/footnotes.stories';
|
|
45
|
+
export * from './components/form/form.models';
|
|
46
|
+
export * from './components/form/form.stories';
|
|
45
47
|
export * from './components/header/header.models';
|
|
46
48
|
export * from './components/header/header.stories';
|
|
47
49
|
export * from './components/helpcenter-panel/helpcenter-panel.models';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.dso-step-counter {
|
|
8
|
-
background-color: $
|
|
8
|
+
background-color: $bosgroen;
|
|
9
9
|
border: $u1 solid $lime;
|
|
10
10
|
border-radius: 50%;
|
|
11
11
|
box-sizing: content-box;
|
|
@@ -20,4 +20,8 @@
|
|
|
20
20
|
top: -$u3;
|
|
21
21
|
width: $u4;
|
|
22
22
|
}
|
|
23
|
+
|
|
24
|
+
dso-icon {
|
|
25
|
+
vertical-align: text-top;
|
|
26
|
+
}
|
|
23
27
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
$dso-icon-size:
|
|
1
|
+
$dso-icon-size: $u3;
|
|
2
2
|
$dso-icon-vertical-align: top;
|
|
@@ -19,6 +19,8 @@ $font-size-h6: $dso-font-size-h5;
|
|
|
19
19
|
$line-height-base: 1.5;
|
|
20
20
|
$line-height-computed: math.floor($font-size-base * $line-height-base);
|
|
21
21
|
$line-height-small: 1.5;
|
|
22
|
+
$line-height-large: 1.3333333;
|
|
23
|
+
|
|
22
24
|
|
|
23
25
|
$headings: "h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6";
|
|
24
26
|
$headings-font-family: "Asap", sans-serif;
|
package/libs/_bootstrap.scss
CHANGED
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
// Components
|
|
64
64
|
@import "bootstrap/component-animations";
|
|
65
65
|
// @import "bootstrap/dropdowns"; Applicable styling moved to @dso-toolkit/styling
|
|
66
|
-
@import "bootstrap/input-groups";
|
|
66
|
+
// @import "bootstrap/input-groups"; -> Deleted, deprecated
|
|
67
67
|
@import "bootstrap/navs";
|
|
68
68
|
@import "bootstrap/navbar";
|
|
69
69
|
// @import "bootstrap/pager"; -> Deleted, deprecated
|
|
@@ -27,10 +27,6 @@ input[type="search"] {
|
|
|
27
27
|
appearance: none;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// Position radios and checkboxes better
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
30
|
// Make range inputs behave like textual form controls
|
|
35
31
|
input[type="range"] {
|
|
36
32
|
display: block;
|
|
@@ -74,30 +70,9 @@ textarea.form-control {
|
|
|
74
70
|
&.form-control {
|
|
75
71
|
line-height: $input-height-base;
|
|
76
72
|
}
|
|
77
|
-
|
|
78
|
-
&.input-sm,
|
|
79
|
-
.input-group-sm & {
|
|
80
|
-
line-height: $input-height-small;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&.input-lg,
|
|
84
|
-
.input-group-lg & {
|
|
85
|
-
line-height: $input-height-large;
|
|
86
|
-
}
|
|
87
73
|
}
|
|
88
74
|
}
|
|
89
75
|
|
|
90
|
-
|
|
91
|
-
// Form groups
|
|
92
|
-
//
|
|
93
|
-
// Designed to help with the organization and spacing of vertical forms. For
|
|
94
|
-
// horizontal forms, use the predefined grid classes.
|
|
95
|
-
|
|
96
|
-
.form-group {
|
|
97
|
-
margin-bottom: $form-group-margin-bottom;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
76
|
// Checkboxes and radios
|
|
102
77
|
//
|
|
103
78
|
// Indent the labels to position radios/checkboxes as hanging controls.
|
|
@@ -175,12 +150,6 @@ textarea.form-control {
|
|
|
175
150
|
padding-bottom: ($padding-base-vertical + 1);
|
|
176
151
|
// Remove default margin from `p`
|
|
177
152
|
margin-bottom: 0;
|
|
178
|
-
|
|
179
|
-
&.input-lg,
|
|
180
|
-
&.input-sm {
|
|
181
|
-
padding-right: 0;
|
|
182
|
-
padding-left: 0;
|
|
183
|
-
}
|
|
184
153
|
}
|
|
185
154
|
|
|
186
155
|
|
|
@@ -192,100 +161,6 @@ textarea.form-control {
|
|
|
192
161
|
// The `.form-group-* form-control` variations are sadly duplicated to avoid the
|
|
193
162
|
// issue documented in https://github.com/twbs/bootstrap/issues/15074.
|
|
194
163
|
|
|
195
|
-
@include input-size('.input-sm', $input-height-small, $padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $input-border-radius-small);
|
|
196
|
-
.form-group-sm {
|
|
197
|
-
.form-control {
|
|
198
|
-
height: $input-height-small;
|
|
199
|
-
padding: $padding-small-vertical $padding-small-horizontal;
|
|
200
|
-
font-size: $font-size-small;
|
|
201
|
-
line-height: $line-height-small;
|
|
202
|
-
border-radius: $input-border-radius-small;
|
|
203
|
-
}
|
|
204
|
-
select.form-control {
|
|
205
|
-
height: $input-height-small;
|
|
206
|
-
line-height: $input-height-small;
|
|
207
|
-
}
|
|
208
|
-
textarea.form-control,
|
|
209
|
-
select[multiple].form-control {
|
|
210
|
-
height: auto;
|
|
211
|
-
}
|
|
212
|
-
.form-control-static {
|
|
213
|
-
height: $input-height-small;
|
|
214
|
-
min-height: ($line-height-computed + $font-size-small);
|
|
215
|
-
padding: ($padding-small-vertical + 1) $padding-small-horizontal;
|
|
216
|
-
font-size: $font-size-small;
|
|
217
|
-
line-height: $line-height-small;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
@include input-size('.input-lg', $input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $input-border-radius-large);
|
|
222
|
-
.form-group-lg {
|
|
223
|
-
.form-control {
|
|
224
|
-
height: $input-height-large;
|
|
225
|
-
padding: $padding-large-vertical $padding-large-horizontal;
|
|
226
|
-
font-size: $font-size-large;
|
|
227
|
-
line-height: $line-height-large;
|
|
228
|
-
border-radius: $input-border-radius-large;
|
|
229
|
-
}
|
|
230
|
-
select.form-control {
|
|
231
|
-
height: $input-height-large;
|
|
232
|
-
line-height: $input-height-large;
|
|
233
|
-
}
|
|
234
|
-
textarea.form-control,
|
|
235
|
-
select[multiple].form-control {
|
|
236
|
-
height: auto;
|
|
237
|
-
}
|
|
238
|
-
.form-control-static {
|
|
239
|
-
height: $input-height-large;
|
|
240
|
-
min-height: ($line-height-computed + $font-size-large);
|
|
241
|
-
padding: ($padding-large-vertical + 1) $padding-large-horizontal;
|
|
242
|
-
font-size: $font-size-large;
|
|
243
|
-
line-height: $line-height-large;
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
// Form control feedback states
|
|
249
|
-
//
|
|
250
|
-
// Apply contextual and semantic states to individual form controls.
|
|
251
|
-
|
|
252
|
-
.has-feedback {
|
|
253
|
-
// Enable absolute positioning
|
|
254
|
-
position: relative;
|
|
255
|
-
|
|
256
|
-
// Ensure icons don't overlap text
|
|
257
|
-
.form-control {
|
|
258
|
-
padding-right: ($input-height-base * 1.25);
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
// Feedback icon (requires .glyphicon classes)
|
|
262
|
-
.form-control-feedback {
|
|
263
|
-
position: absolute;
|
|
264
|
-
top: 0;
|
|
265
|
-
right: 0;
|
|
266
|
-
z-index: $zx-form-control-feedback; // Ensure icon is above input groups
|
|
267
|
-
display: block;
|
|
268
|
-
width: $input-height-base;
|
|
269
|
-
height: $input-height-base;
|
|
270
|
-
line-height: $input-height-base;
|
|
271
|
-
text-align: center;
|
|
272
|
-
pointer-events: none;
|
|
273
|
-
}
|
|
274
|
-
.input-lg + .form-control-feedback,
|
|
275
|
-
.input-group-lg + .form-control-feedback,
|
|
276
|
-
.form-group-lg .form-control + .form-control-feedback {
|
|
277
|
-
width: $input-height-large;
|
|
278
|
-
height: $input-height-large;
|
|
279
|
-
line-height: $input-height-large;
|
|
280
|
-
}
|
|
281
|
-
.input-sm + .form-control-feedback,
|
|
282
|
-
.input-group-sm + .form-control-feedback,
|
|
283
|
-
.form-group-sm .form-control + .form-control-feedback {
|
|
284
|
-
width: $input-height-small;
|
|
285
|
-
height: $input-height-small;
|
|
286
|
-
line-height: $input-height-small;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
164
|
// Feedback states
|
|
290
165
|
.has-success {
|
|
291
166
|
@include form-control-validation($state-success-text, $state-success-text, $state-success-bg);
|
|
@@ -297,42 +172,6 @@ textarea.form-control {
|
|
|
297
172
|
@include form-control-validation($state-danger-text, $state-danger-text, $state-danger-bg);
|
|
298
173
|
}
|
|
299
174
|
|
|
300
|
-
// Reposition feedback icon if input has visible label above
|
|
301
|
-
.has-feedback label {
|
|
302
|
-
|
|
303
|
-
& ~ .form-control-feedback {
|
|
304
|
-
top: ($line-height-computed + 5); // Height of the `label` and its margin
|
|
305
|
-
}
|
|
306
|
-
&.sr-only ~ .form-control-feedback {
|
|
307
|
-
top: 0;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
// Help text
|
|
313
|
-
//
|
|
314
|
-
// Apply to any element you wish to create light text for placement immediately
|
|
315
|
-
// below a form control. Use for general help, formatting, or instructional text.
|
|
316
|
-
|
|
317
|
-
.help-block {
|
|
318
|
-
display: block; // account for any element using help-block
|
|
319
|
-
margin-top: 5px;
|
|
320
|
-
margin-bottom: 10px;
|
|
321
|
-
color: lighten($text-color, 25%); // lighten the text some for contrast
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
// Inline forms
|
|
326
|
-
//
|
|
327
|
-
// Make forms appear inline(-block) by adding the `.form-inline` class. Inline
|
|
328
|
-
// forms begin stacked on extra small (mobile) devices and then go inline when
|
|
329
|
-
// viewports reach <768px.
|
|
330
|
-
//
|
|
331
|
-
// Requires wrapping inputs and labels with `.form-group` for proper display of
|
|
332
|
-
// default HTML form controls and our custom form controls (e.g., input groups).
|
|
333
|
-
//
|
|
334
|
-
// Heads up! This is mixin-ed into `.navbar-form` in navbars.less.
|
|
335
|
-
|
|
336
175
|
// [converter] extracted from `.form-inline` for libsass compatibility
|
|
337
176
|
@mixin form-inline {
|
|
338
177
|
|
|
@@ -357,22 +196,6 @@ textarea.form-control {
|
|
|
357
196
|
display: inline-block;
|
|
358
197
|
}
|
|
359
198
|
|
|
360
|
-
.input-group {
|
|
361
|
-
display: inline-table;
|
|
362
|
-
vertical-align: middle;
|
|
363
|
-
|
|
364
|
-
.input-group-addon,
|
|
365
|
-
.input-group-btn,
|
|
366
|
-
.form-control {
|
|
367
|
-
width: auto;
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
// Input groups need that 100% width though
|
|
372
|
-
.input-group > .form-control {
|
|
373
|
-
width: 100%;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
199
|
.control-label {
|
|
377
200
|
margin-bottom: 0;
|
|
378
201
|
vertical-align: middle;
|
|
@@ -408,8 +231,6 @@ textarea.form-control {
|
|
|
408
231
|
@include form-inline;
|
|
409
232
|
}
|
|
410
233
|
|
|
411
|
-
|
|
412
|
-
|
|
413
234
|
// Horizontal forms
|
|
414
235
|
//
|
|
415
236
|
// Horizontal forms are built on grid classes and allow you to create forms with
|
|
@@ -435,11 +256,6 @@ textarea.form-control {
|
|
|
435
256
|
min-height: ($line-height-computed + ($padding-base-vertical + 1));
|
|
436
257
|
}
|
|
437
258
|
|
|
438
|
-
// Make form groups behave like rows
|
|
439
|
-
.form-group {
|
|
440
|
-
@include make-row;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
259
|
// Reset spacing and right align labels, but scope to media queries so that
|
|
444
260
|
// labels on narrow viewports stack the same as a default form example.
|
|
445
261
|
@media (min-width: $screen-sm-min) {
|
|
@@ -449,33 +265,4 @@ textarea.form-control {
|
|
|
449
265
|
text-align: right;
|
|
450
266
|
}
|
|
451
267
|
}
|
|
452
|
-
|
|
453
|
-
// Validation states
|
|
454
|
-
//
|
|
455
|
-
// Reposition the icon because it's now within a grid column and columns have
|
|
456
|
-
// `position: relative;` on them. Also accounts for the grid gutter padding.
|
|
457
|
-
.has-feedback .form-control-feedback {
|
|
458
|
-
right: floor(($grid-gutter-width * 0.5));
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
// Form group sizes
|
|
462
|
-
//
|
|
463
|
-
// Quick utility class for applying `.input-lg` and `.input-sm` styles to the
|
|
464
|
-
// inputs and labels within a `.form-group`.
|
|
465
|
-
.form-group-lg {
|
|
466
|
-
@media (min-width: $screen-sm-min) {
|
|
467
|
-
.control-label {
|
|
468
|
-
padding-top: ($padding-large-vertical + 1);
|
|
469
|
-
font-size: $font-size-large;
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
.form-group-sm {
|
|
474
|
-
@media (min-width: $screen-sm-min) {
|
|
475
|
-
.control-label {
|
|
476
|
-
padding-top: ($padding-small-vertical + 1);
|
|
477
|
-
font-size: $font-size-small;
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
268
|
}
|
|
@@ -46,15 +46,10 @@ $icon-font-svg-id: "glyphicons_halflingsregular" !default;
|
|
|
46
46
|
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
$padding-large-vertical: 10px !default;
|
|
50
49
|
$padding-large-horizontal: 16px !default;
|
|
51
|
-
|
|
52
|
-
$padding-small-vertical: 5px !default;
|
|
53
50
|
$padding-small-horizontal: 10px !default;
|
|
54
51
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
$line-height-large: 1.3333333 !default; // extra decimals for Win 8.1 Chrome
|
|
52
|
+
// $line-height-large: 1.3333333 !default; // Moved to @dso-toolkit\css\src\components\form\form.variables.scss
|
|
58
53
|
|
|
59
54
|
|
|
60
55
|
// Merged into @dso-toolkit/sources/src/styling/variables/scaffolding
|
|
@@ -95,7 +90,7 @@ $input-border-radius-large: $border-radius-large !default;
|
|
|
95
90
|
$input-border-radius-small: $border-radius-small !default;
|
|
96
91
|
|
|
97
92
|
//** Border color for inputs on focus
|
|
98
|
-
$input-border-focus: #66afe9 !default;
|
|
93
|
+
// $input-border-focus: #66afe9 !default;
|
|
99
94
|
|
|
100
95
|
//** Default `.form-control` height
|
|
101
96
|
$input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
|
|
@@ -107,12 +102,6 @@ $input-height-small: (floor($font-size-small * $line-height-small) +
|
|
|
107
102
|
//** `.form-group` margin
|
|
108
103
|
$form-group-margin-bottom: 15px !default;
|
|
109
104
|
|
|
110
|
-
//** Background color for textual input addons
|
|
111
|
-
$input-group-addon-bg: $gray-lighter !default;
|
|
112
|
-
//** Border color for textual input addons
|
|
113
|
-
$input-group-addon-border-color: $input-border !default;
|
|
114
|
-
|
|
115
|
-
|
|
116
105
|
//== Dropdowns
|
|
117
106
|
//
|
|
118
107
|
//## Dropdown menu container and contents.
|