@ndwnu/design-system 6.0.0 → 7.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/assets/icons.ts +83 -0
- package/fesm2022/ndwnu-design-system.mjs +869 -929
- package/fesm2022/ndwnu-design-system.mjs.map +1 -1
- package/index.d.ts +2 -5
- package/{components → lib/components}/card/card.component.d.ts +2 -1
- package/{components → lib/components}/form-field/checkbox/checkbox.component.d.ts +3 -2
- package/{components → lib/components}/form-field/clear-search-button/clear-search-button.component.d.ts +1 -1
- package/lib/components/form-field/clear-search-button/index.d.ts +1 -0
- package/{components → lib/components}/form-field/file-upload/file-upload.component.d.ts +8 -7
- package/{components → lib/components}/form-field/input-button/input-button.component.d.ts +1 -1
- package/{components → lib/components}/form-field/month-input/month-input.component.d.ts +8 -7
- package/{components → lib/components}/form-field/option-group/option-group.component.d.ts +7 -4
- package/lib/components/form-field/picker-button/index.d.ts +1 -0
- package/{components → lib/components}/form-field/picker-button/picker-button.component.d.ts +1 -2
- package/{components → lib/components}/icon/action-icon/action-icon.component.d.ts +1 -1
- package/lib/components/icon/icon.component.d.ts +6 -0
- package/{components → lib/components}/layout/layout.component.d.ts +2 -2
- package/{components → lib/components}/main-navigation/main-navigation.component.d.ts +2 -10
- package/lib/components/tab/tab.component.d.ts +17 -0
- package/{components → lib/components}/tab-group/tab-group.component.d.ts +7 -5
- package/{components → lib/components}/toast/toast.component.d.ts +4 -4
- package/package.json +14 -8
- package/styles/base/_colors.scss +234 -0
- package/styles/base/_typography.scss +135 -0
- package/styles/base/_variables.scss +79 -0
- package/styles/base/colors.stories.model.ts +143 -0
- package/styles/base/colors.stories.ts +14 -0
- package/styles/base/colors.stories.utils.ts +58 -0
- package/styles/base/index.scss +3 -0
- package/styles/base/typography.stories.ts +116 -0
- package/styles/components/_button.scss +133 -0
- package/styles/components/_card.scss +3 -0
- package/styles/components/_divider.scss +12 -0
- package/styles/components/_dropdown.scss +8 -0
- package/styles/components/_filter-button.scss +39 -0
- package/styles/components/_input.scss +198 -0
- package/styles/components/_label.scss +23 -0
- package/styles/components/_link.scss +35 -0
- package/styles/components/_menu-button.scss +38 -0
- package/styles/components/_popover.scss +19 -0
- package/styles/components/_summary-card.scss +227 -0
- package/styles/components/divider.stories.ts +80 -0
- package/styles/components/index.scss +11 -0
- package/styles/components/link.stories.ts +154 -0
- package/styles/index.scss +4 -0
- package/styles/layout/_grid.scss +57 -0
- package/styles/layout/_overlay.scss +7 -0
- package/styles/layout/grid.stories.ts +117 -0
- package/styles/layout/index.scss +2 -0
- package/styles/storybook/_core.scss +60 -0
- package/styles/storybook/_reset.scss +20 -0
- package/styles/storybook/index.scss +17 -0
- package/styles/storybook/overrides/_buttons.scss +95 -0
- package/styles/storybook/overrides/_code-previews.scss +97 -0
- package/styles/storybook/overrides/_content.scss +24 -0
- package/styles/storybook/overrides/_headers.scss +31 -0
- package/styles/storybook/overrides/_layout.scss +44 -0
- package/styles/storybook/overrides/_table.scss +112 -0
- package/styles/storybook/overrides/index.scss +6 -0
- package/styles/storybook/overrides.css +343 -0
- package/styles/utils/_screenreader.scss +18 -0
- package/styles/utils/index.scss +1 -0
- package/assets/fonts/ObjectSans-Bold.woff2 +0 -0
- package/assets/fonts/ObjectSans-Regular.woff2 +0 -0
- package/components/icon/icon.component.d.ts +0 -13
- package/components/tab/tab.component.d.ts +0 -9
- package/core/style/styles.css +0 -1380
- package/core/style/styles.scss +0 -1380
- package/public-api.d.ts +0 -1
- package/assets/images/{ndw-logo-short.svg → logos/ndw-logo-short.svg} +0 -0
- package/assets/images/{ndw-logo.svg → logos/ndw-logo.svg} +0 -0
- package/assets/images/{nwb-logo-short.svg → logos/nwb-logo-short.svg} +0 -0
- package/assets/images/{nwb-logo.svg → logos/nwb-logo.svg} +0 -0
- package/{components → lib/components}/accordion/accordion.component.d.ts +0 -0
- package/{components → lib/components}/accordion/accordion.service.d.ts +0 -0
- package/{components → lib/components}/accordion/index.d.ts +0 -0
- package/{components → lib/components}/alert/alert.component.d.ts +0 -0
- package/{components → lib/components}/alert/alert.model.d.ts +0 -0
- package/{components → lib/components}/alert/index.d.ts +0 -0
- package/{components → lib/components}/badge/badge.component.d.ts +0 -0
- package/{components → lib/components}/badge/index.d.ts +0 -0
- package/{components → lib/components}/banner/banner.component.d.ts +0 -0
- package/{components → lib/components}/banner/banner.model.d.ts +0 -0
- package/{components → lib/components}/banner/index.d.ts +0 -0
- package/{components → lib/components}/breadcrumb/breadcrumb.component.d.ts +0 -0
- package/{components → lib/components}/breadcrumb/index.d.ts +0 -0
- package/{components → lib/components}/breadcrumb-group/breadcrumb-group.component.d.ts +0 -0
- package/{components → lib/components}/breadcrumb-group/index.d.ts +0 -0
- package/{components → lib/components}/button/button.directive.d.ts +0 -0
- package/{components → lib/components}/button/index.d.ts +0 -0
- package/{components → lib/components}/card/card-content/card-content.component.d.ts +0 -0
- package/{components → lib/components}/card/card-content/index.d.ts +0 -0
- package/{components → lib/components}/card/card-footer/card-footer.component.d.ts +0 -0
- package/{components → lib/components}/card/card-footer/index.d.ts +0 -0
- package/{components → lib/components}/card/card-header/card-header.component.d.ts +0 -0
- package/{components → lib/components}/card/card-header/index.d.ts +0 -0
- package/{components → lib/components}/card/card.animation.d.ts +0 -0
- package/{components → lib/components}/card/index.d.ts +0 -0
- package/{components → lib/components}/collapsible/collapsible.animation.d.ts +0 -0
- package/{components → lib/components}/collapsible/collapsible.component.d.ts +0 -0
- package/{components → lib/components}/collapsible/index.d.ts +0 -0
- package/{components → lib/components}/dashboard-card/dashboard-card.component.d.ts +0 -0
- package/{components → lib/components}/dashboard-card/index.d.ts +0 -0
- package/{components → lib/components}/dropdown/dropdown.component.d.ts +0 -0
- package/{components → lib/components}/dropdown/index.d.ts +0 -0
- package/{components → lib/components}/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.d.ts +0 -0
- package/{components → lib/components}/form-field/autosuggest/autosuggest-add-option/index.d.ts +0 -0
- package/{components → lib/components}/form-field/autosuggest/autosuggest-option/autosuggest-option.component.d.ts +0 -0
- package/{components → lib/components}/form-field/autosuggest/autosuggest-option/autosuggest-option.model.d.ts +0 -0
- package/{components → lib/components}/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.d.ts +0 -0
- package/{components → lib/components}/form-field/autosuggest/autosuggest-option/index.d.ts +0 -0
- package/{components → lib/components}/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.d.ts +0 -0
- package/{components → lib/components}/form-field/autosuggest/autosuggest.directive.d.ts +0 -0
- package/{components → lib/components}/form-field/autosuggest/index.d.ts +0 -0
- package/{components → lib/components}/form-field/autosuggest/match-bold.pipe.d.ts +0 -0
- package/{components → lib/components}/form-field/checkbox/index.d.ts +0 -0
- package/{components → lib/components}/form-field/checkbox-group/checkbox-group.component.d.ts +0 -0
- package/{components → lib/components}/form-field/checkbox-group/index.d.ts +0 -0
- package/{components → lib/components}/form-field/error/error.component.d.ts +0 -0
- package/{components → lib/components}/form-field/error/index.d.ts +0 -0
- package/{components → lib/components}/form-field/file-upload/file-upload-text.interface.d.ts +0 -0
- package/{components → lib/components}/form-field/file-upload/index.d.ts +0 -0
- package/{components → lib/components}/form-field/form-field.component.d.ts +0 -0
- package/{components → lib/components}/form-field/form-field.constant.d.ts +0 -0
- package/{components → lib/components}/form-field/form-field.model.d.ts +0 -0
- package/{components → lib/components}/form-field/index.d.ts +0 -0
- package/{components → lib/components}/form-field/info/index.d.ts +0 -0
- package/{components → lib/components}/form-field/info/info.component.d.ts +0 -0
- package/{components → lib/components}/form-field/input/index.d.ts +0 -0
- package/{components → lib/components}/form-field/input/input.directive.d.ts +0 -0
- package/{components → lib/components}/form-field/input/input.model.d.ts +0 -0
- package/{components → lib/components}/form-field/input-button/index.d.ts +0 -0
- package/{components → lib/components}/form-field/input-icon/index.d.ts +0 -0
- package/{components → lib/components}/form-field/input-icon/input-icon.component.d.ts +0 -0
- package/{components → lib/components}/form-field/month-input/index.d.ts +0 -0
- package/{components → lib/components}/form-field/month-input/month-input-utils.d.ts +0 -0
- package/{components → lib/components}/form-field/option-group/index.d.ts +0 -0
- package/{components → lib/components}/form-field/option-group/option-group.model.d.ts +0 -0
- package/{components → lib/components}/form-field/option-group/option.component.d.ts +0 -0
- package/{components → lib/components}/form-field/radio-button/index.d.ts +0 -0
- package/{components → lib/components}/form-field/radio-button/radio-button.component.d.ts +0 -0
- package/{components → lib/components}/form-field/radio-group/index.d.ts +0 -0
- package/{components → lib/components}/form-field/radio-group/radio-group.component.d.ts +0 -0
- package/{components → lib/components}/form-field/success/index.d.ts +0 -0
- package/{components → lib/components}/form-field/success/success.component.d.ts +0 -0
- package/{components → lib/components}/form-field/textarea/auto-grow.directive.d.ts +0 -0
- package/{components → lib/components}/form-field/textarea/index.d.ts +0 -0
- package/{components → lib/components}/form-field/textarea/max-char.directive.d.ts +0 -0
- package/{components → lib/components}/icon/action-icon/index.d.ts +0 -0
- package/{components → lib/components}/icon/index.d.ts +0 -0
- package/{components → lib/components}/index.d.ts +0 -0
- package/{components → lib/components}/layout/index.d.ts +0 -0
- package/{components → lib/components}/layout-banners/index.d.ts +0 -0
- package/{components → lib/components}/layout-banners/layout-banners.component.d.ts +0 -0
- package/{components → lib/components}/loader/index.d.ts +0 -0
- package/{components → lib/components}/loader/loader.component.d.ts +0 -0
- package/{components → lib/components}/main-navigation/index.d.ts +0 -0
- package/{components → lib/components}/main-navigation/main-navigation.imports.d.ts +0 -0
- package/{components → lib/components}/main-navigation/main-navigation.model.d.ts +0 -0
- package/{components → lib/components}/main-navigation-menu/index.d.ts +0 -0
- package/{components → lib/components}/main-navigation-menu/main-navigation-menu.component.d.ts +0 -0
- package/{components → lib/components}/modal/index.d.ts +0 -0
- package/{components → lib/components}/modal/modal-content/index.d.ts +0 -0
- package/{components → lib/components}/modal/modal-content/modal-content.component.d.ts +0 -0
- package/{components → lib/components}/modal/modal-footer/index.d.ts +0 -0
- package/{components → lib/components}/modal/modal-footer/modal-footer.component.d.ts +0 -0
- package/{components → lib/components}/modal/modal-header/index.d.ts +0 -0
- package/{components → lib/components}/modal/modal-header/modal-header.component.d.ts +0 -0
- package/{components → lib/components}/modal/modal-ref.d.ts +0 -0
- package/{components → lib/components}/modal/modal.component.d.ts +0 -0
- package/{components → lib/components}/modal/modal.service.d.ts +0 -0
- package/{components → lib/components}/multi-select/checkbox-data.interface.d.ts +0 -0
- package/{components → lib/components}/multi-select/index.d.ts +0 -0
- package/{components → lib/components}/multi-select/multi-select.component.d.ts +0 -0
- package/{components → lib/components}/multi-select/select-all-text.interface.d.ts +0 -0
- package/{components → lib/components}/pill/index.d.ts +0 -0
- package/{components → lib/components}/pill/pill.component.d.ts +0 -0
- package/{components → lib/components}/pill/pill.model.d.ts +0 -0
- package/{components → lib/components}/popover/index.d.ts +0 -0
- package/{components → lib/components}/popover/popover-trigger.directive.d.ts +0 -0
- package/{components → lib/components}/router-breadcrumbs/index.d.ts +0 -0
- package/{components → lib/components}/router-breadcrumbs/router-breadcrumbs.component.d.ts +0 -0
- package/{components → lib/components}/summary-card/index.d.ts +0 -0
- package/{components → lib/components}/summary-card/summary-card-action/summary-card-action.component.d.ts +0 -0
- package/{components → lib/components}/summary-card/summary-card-actions/summary-card-actions.component.d.ts +0 -0
- package/{components → lib/components}/summary-card/summary-card-avatar/summary-card-avatar.component.d.ts +0 -0
- package/{components → lib/components}/summary-card/summary-card-content/summary-card-content.component.d.ts +0 -0
- package/{components → lib/components}/summary-card/summary-card-header/summary-card-header.component.d.ts +0 -0
- package/{components → lib/components}/summary-card/summary-card-subtitle/summary-card-subtitle.component.d.ts +0 -0
- package/{components → lib/components}/summary-card/summary-card-tag/summary-card-tag.component.d.ts +0 -0
- package/{components → lib/components}/summary-card/summary-card-tags/summary-card-tags.component.d.ts +0 -0
- package/{components → lib/components}/summary-card/summary-card.component.d.ts +0 -0
- package/{components → lib/components}/summary-card/summary-card.model.d.ts +0 -0
- package/{components → lib/components}/tab/index.d.ts +0 -0
- package/{components → lib/components}/tab-group/index.d.ts +0 -0
- package/{components → lib/components}/tag/index.d.ts +0 -0
- package/{components → lib/components}/tag/tag.component.d.ts +0 -0
- package/{components → lib/components}/toast/index.d.ts +0 -0
- package/{components → lib/components}/toast/toast.service.d.ts +0 -0
- package/{components → lib/components}/tooltip/index.d.ts +0 -0
- package/{components → lib/components}/tooltip/tooltip.component.d.ts +0 -0
- package/{components → lib/components}/tooltip/tooltip.directive.d.ts +1 -1
- /package/{models → lib/models}/aria.model.d.ts +0 -0
- /package/{models → lib/models}/index.d.ts +0 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.sb-show-main {
|
|
2
|
+
background-color: var(--ndw-color-white);
|
|
3
|
+
|
|
4
|
+
&.sb-main-fullscreen {
|
|
5
|
+
padding: var(--ndw-spacing-md);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
div {
|
|
10
|
+
&.sbdocs-wrapper {
|
|
11
|
+
background-color: inherit;
|
|
12
|
+
|
|
13
|
+
.sbdocs-content {
|
|
14
|
+
div {
|
|
15
|
+
p {
|
|
16
|
+
max-width: 45rem;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.sbdocs-preview {
|
|
23
|
+
background-color: inherit;
|
|
24
|
+
border: none;
|
|
25
|
+
border-radius: 0;
|
|
26
|
+
box-shadow: none;
|
|
27
|
+
|
|
28
|
+
> div {
|
|
29
|
+
background-color: transparent;
|
|
30
|
+
|
|
31
|
+
&.docs-story {
|
|
32
|
+
> div {
|
|
33
|
+
&:first-of-type {
|
|
34
|
+
padding: var(--ndw-spacing-md) 0 var(--ndw-spacing-xl);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:last-of-type {
|
|
38
|
+
background-color: transparent;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
table.docblock-argstable {
|
|
2
|
+
thead.docblock-argstable-head {
|
|
3
|
+
tr {
|
|
4
|
+
th {
|
|
5
|
+
border-bottom: 1px solid var(--ndw-color-grey-200);
|
|
6
|
+
padding-block: var(--ndw-spacing-lg);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
tbody.docblock-argstable-body {
|
|
12
|
+
border: none;
|
|
13
|
+
|
|
14
|
+
tr {
|
|
15
|
+
&:first-of-type,
|
|
16
|
+
&:last-of-type {
|
|
17
|
+
> * {
|
|
18
|
+
border: none;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:first-of-type {
|
|
23
|
+
> * {
|
|
24
|
+
border-bottom: 1px solid var(--ndw-color-grey-200);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:last-of-type {
|
|
29
|
+
td {
|
|
30
|
+
border-bottom: none;
|
|
31
|
+
|
|
32
|
+
&:first-of-type,
|
|
33
|
+
&:last-of-type {
|
|
34
|
+
border-bottom: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
td {
|
|
40
|
+
background-color: transparent;
|
|
41
|
+
border: none;
|
|
42
|
+
border-bottom: 1px solid var(--ndw-color-grey-200);
|
|
43
|
+
padding-block: var(--ndw-spacing-lg);
|
|
44
|
+
|
|
45
|
+
&:first-of-type,
|
|
46
|
+
&:last-of-type {
|
|
47
|
+
border: none;
|
|
48
|
+
border-bottom: 1px solid var(--ndw-color-grey-200);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
label {
|
|
52
|
+
background-color: var(--ndw-color-white);
|
|
53
|
+
margin-bottom: 0;
|
|
54
|
+
|
|
55
|
+
input[type='checkbox'] {
|
|
56
|
+
border: var(--ndw-border-size-sm) solid var(--ndw-color-grey-300);
|
|
57
|
+
|
|
58
|
+
&:not(:checked) {
|
|
59
|
+
~ span {
|
|
60
|
+
&:first-of-type {
|
|
61
|
+
background-color: var(--ndw-color-grey-200);
|
|
62
|
+
border-right: 1px solid var(--ndw-color-grey-300);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:checked {
|
|
68
|
+
~ span {
|
|
69
|
+
&:last-of-type {
|
|
70
|
+
background-color: var(--ndw-color-grey-200);
|
|
71
|
+
border-left: 1px solid var(--ndw-color-grey-300);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
input[type='number'],
|
|
78
|
+
textarea {
|
|
79
|
+
border: var(--ndw-border-size-sm) solid var(--ndw-color-grey-300);
|
|
80
|
+
border-radius: 0;
|
|
81
|
+
box-shadow: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
textarea {
|
|
85
|
+
min-height: 2.125rem;
|
|
86
|
+
resize: vertical;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
span {
|
|
90
|
+
box-shadow: none;
|
|
91
|
+
|
|
92
|
+
&:first-of-type {
|
|
93
|
+
border-radius: var(--ndw-border-radius-lg) 0 0 var(--ndw-border-radius-lg);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&:last-of-type {
|
|
97
|
+
border-radius: 0 var(--ndw-border-radius-lg) var(--ndw-border-radius-lg) 0;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
span {
|
|
103
|
+
select {
|
|
104
|
+
border: var(--ndw-border-size-sm) solid var(--ndw-color-grey-300);
|
|
105
|
+
border-radius: 0;
|
|
106
|
+
box-shadow: none;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--_grey-700: 195, 100%, 10%;
|
|
3
|
+
--_grey-600: 196, 13%, 29%;
|
|
4
|
+
--_grey-500: 197, 7%, 40%;
|
|
5
|
+
--_grey-400: 204, 2%, 54%;
|
|
6
|
+
--_grey-300: 192, 5%, 82%;
|
|
7
|
+
--_grey-200: 204, 11%, 91%;
|
|
8
|
+
--_grey-100: 200, 16%, 96%;
|
|
9
|
+
--_white: 0, 0%, 100%;
|
|
10
|
+
|
|
11
|
+
--ndw-color-grey-700: hsl(var(--_grey-700));
|
|
12
|
+
--ndw-color-grey-600: hsl(var(--_grey-600));
|
|
13
|
+
--ndw-color-grey-500: hsl(var(--_grey-500));
|
|
14
|
+
--ndw-color-grey-400: hsl(var(--_grey-400));
|
|
15
|
+
--ndw-color-grey-300: hsl(var(--_grey-300));
|
|
16
|
+
--ndw-color-grey-200: hsl(var(--_grey-200));
|
|
17
|
+
--ndw-color-grey-100: hsl(var(--_grey-100));
|
|
18
|
+
--ndw-color-white: hsl(var(--_white));
|
|
19
|
+
|
|
20
|
+
--_primary: 19, 100%;
|
|
21
|
+
--_primary-050: var(--_primary), 95%;
|
|
22
|
+
--_primary-100: var(--_primary), 80%;
|
|
23
|
+
--_primary-200: var(--_primary), 73%;
|
|
24
|
+
--_primary-300: var(--_primary), 62%;
|
|
25
|
+
--_primary-400: var(--_primary), 50%;
|
|
26
|
+
--_primary-500: var(--_primary), 40%;
|
|
27
|
+
--_primary-600: var(--_primary), 35%;
|
|
28
|
+
--_primary-700: var(--_primary), 27%;
|
|
29
|
+
--_primary-800: var(--_primary), 15%;
|
|
30
|
+
|
|
31
|
+
--ndw-color-primary-050: hsl(var(--_primary-050));
|
|
32
|
+
--ndw-color-primary-100: hsl(var(--_primary-100));
|
|
33
|
+
--ndw-color-primary-200: hsl(var(--_primary-200));
|
|
34
|
+
--ndw-color-primary-300: hsl(var(--_primary-300));
|
|
35
|
+
--ndw-color-primary-400: hsl(var(--_primary-400));
|
|
36
|
+
--ndw-color-primary-500: hsl(var(--_primary-500));
|
|
37
|
+
--ndw-color-primary-600: hsl(var(--_primary-600));
|
|
38
|
+
--ndw-color-primary-700: hsl(var(--_primary-700));
|
|
39
|
+
--ndw-color-primary-800: hsl(var(--_primary-800));
|
|
40
|
+
|
|
41
|
+
--ndw-color-primary: var(--ndw-color-primary-500);
|
|
42
|
+
--ndw-color-primary-hover: var(--ndw-color-primary-600);
|
|
43
|
+
--ndw-color-primary-active: var(--ndw-color-primary-700);
|
|
44
|
+
|
|
45
|
+
--_secondary-050: 209, 100%, 96%;
|
|
46
|
+
--_secondary-100: 209, 85%, 91%;
|
|
47
|
+
--_secondary-200: 209, 85%, 78%;
|
|
48
|
+
--_secondary-300: 209, 85%, 69%;
|
|
49
|
+
--_secondary-400: 208, 100%, 46%;
|
|
50
|
+
--_secondary-500: 208, 100%, 41%;
|
|
51
|
+
--_secondary-600: 209, 100%, 32%;
|
|
52
|
+
--_secondary-700: 209, 100%, 18%;
|
|
53
|
+
|
|
54
|
+
--ndw-color-secondary-050: hsl(var(--_secondary-050));
|
|
55
|
+
--ndw-color-secondary-100: hsl(var(--_secondary-100));
|
|
56
|
+
--ndw-color-secondary-200: hsl(var(--_secondary-200));
|
|
57
|
+
--ndw-color-secondary-300: hsl(var(--_secondary-300));
|
|
58
|
+
--ndw-color-secondary-400: hsl(var(--_secondary-400));
|
|
59
|
+
--ndw-color-secondary-500: hsl(var(--_secondary-500));
|
|
60
|
+
--ndw-color-secondary-600: hsl(var(--_secondary-600));
|
|
61
|
+
--ndw-color-secondary-700: hsl(var(--_secondary-700));
|
|
62
|
+
|
|
63
|
+
--ndw-color-secondary: var(--ndw-color-secondary-500);
|
|
64
|
+
--ndw-color-secondary-hover: var(--ndw-color-secondary-600);
|
|
65
|
+
--ndw-color-secondary-active: var(--ndw-color-secondary-700);
|
|
66
|
+
|
|
67
|
+
--_tertiary-400: 43, 100%, 50%;
|
|
68
|
+
--_tertiary-500: 42, 100%, 43%;
|
|
69
|
+
|
|
70
|
+
--ndw-color-tertiary-400: hsl(var(--_tertiary-400));
|
|
71
|
+
--ndw-color-tertiary-500: hsl(var(--_tertiary-500));
|
|
72
|
+
|
|
73
|
+
--_link: 208, 100%;
|
|
74
|
+
--_link-400: var(--_link), 41%;
|
|
75
|
+
--_link-500: var(--_link), 32%;
|
|
76
|
+
|
|
77
|
+
--ndw-color-link-400: hsl(var(--_link-400));
|
|
78
|
+
--ndw-color-link-500: hsl(var(--_link-500));
|
|
79
|
+
|
|
80
|
+
--_positive: 133, 92%;
|
|
81
|
+
--_positive-100: 117, 56%, 92%;
|
|
82
|
+
--_positive-500: var(--_positive), 33%;
|
|
83
|
+
--_positive-600: var(--_positive), 24%;
|
|
84
|
+
--_warning: 43, 93%;
|
|
85
|
+
--_warning-100: 44, 100%, 94%;
|
|
86
|
+
--_warning-500: var(--_warning), 43%;
|
|
87
|
+
--_warning-600: 42, 83%, 32%;
|
|
88
|
+
--_alternative: 292, 100%;
|
|
89
|
+
--_alternative-100: var(--_alternative), 95%;
|
|
90
|
+
--_alternative-500: 292, 95%, 33%;
|
|
91
|
+
--_critical: 0, 100%;
|
|
92
|
+
--_critical-100: var(--_critical), 98%;
|
|
93
|
+
--_critical-200: var(--_critical), 95%;
|
|
94
|
+
--_critical-300: var(--_critical), 90%;
|
|
95
|
+
--_critical-500: var(--_critical), 46%;
|
|
96
|
+
--_info-100: 210, 100%, 96%;
|
|
97
|
+
--_info-200: 210, 86%, 91%;
|
|
98
|
+
--_info-500: 208, 100%, 41%;
|
|
99
|
+
|
|
100
|
+
--ndw-color-positive-100: hsl(var(--_positive-100));
|
|
101
|
+
--ndw-color-positive-500: hsl(var(--_positive-500));
|
|
102
|
+
--ndw-color-positive-600: hsl(var(--_positive-600));
|
|
103
|
+
--ndw-color-warning-100: hsl(var(--_warning-100));
|
|
104
|
+
--ndw-color-warning-500: hsl(var(--_warning-500));
|
|
105
|
+
--ndw-color-warning-600: hsl(var(--_warning-600));
|
|
106
|
+
--ndw-color-alternative-100: hsl(var(--_alternative-100));
|
|
107
|
+
--ndw-color-alternative-500: hsl(var(--_alternative-500));
|
|
108
|
+
--ndw-color-critical-100: hsl(var(--_critical-100));
|
|
109
|
+
--ndw-color-critical-200: hsl(var(--_critical-200));
|
|
110
|
+
--ndw-color-critical-300: hsl(var(--_critical-300));
|
|
111
|
+
--ndw-color-critical-500: hsl(var(--_critical-500));
|
|
112
|
+
--ndw-color-info-100: hsl(var(--_info-100));
|
|
113
|
+
--ndw-color-info-200: hsl(var(--_info-200));
|
|
114
|
+
--ndw-color-info-500: hsl(var(--_info-500));
|
|
115
|
+
|
|
116
|
+
--ndw-color-notification: hsl(19, 100%, 35%);
|
|
117
|
+
|
|
118
|
+
--_data-a-500: 133, 100%, 21%;
|
|
119
|
+
--_data-a-100: 101, 61%, 81%;
|
|
120
|
+
--_data-b-500: 0, 0%, 27%;
|
|
121
|
+
--_data-b-100: 0, 0%, 87%;
|
|
122
|
+
--_data-c-500: 209, 97%, 38%;
|
|
123
|
+
--_data-c-100: 194, 95%, 84%;
|
|
124
|
+
--_data-d-500: 292, 95%, 33%;
|
|
125
|
+
--_data-d-100: 292, 100%, 87%;
|
|
126
|
+
--_data-e-500: 51, 95%, 23%;
|
|
127
|
+
--_data-e-100: 54, 89%, 79%;
|
|
128
|
+
--_data-f-500: 0, 97%, 35%;
|
|
129
|
+
--_data-f-100: 0, 100%, 94%;
|
|
130
|
+
|
|
131
|
+
--ndw-color-data-a-500: hsl(var(--_data-a-500));
|
|
132
|
+
--ndw-color-data-a-100: hsl(var(--_data-a-100));
|
|
133
|
+
--ndw-color-data-b-500: hsl(var(--_data-b-500));
|
|
134
|
+
--ndw-color-data-b-100: hsl(var(--_data-b-100));
|
|
135
|
+
--ndw-color-data-c-500: hsl(var(--_data-c-500));
|
|
136
|
+
--ndw-color-data-c-100: hsl(var(--_data-c-100));
|
|
137
|
+
--ndw-color-data-d-500: hsl(var(--_data-d-500));
|
|
138
|
+
--ndw-color-data-d-100: hsl(var(--_data-d-100));
|
|
139
|
+
--ndw-color-data-e-500: hsl(var(--_data-e-500));
|
|
140
|
+
--ndw-color-data-e-100: hsl(var(--_data-e-100));
|
|
141
|
+
--ndw-color-data-f-500: hsl(var(--_data-f-500));
|
|
142
|
+
--ndw-color-data-f-100: hsl(var(--_data-f-100));
|
|
143
|
+
|
|
144
|
+
--_alpha-black: 0, 0%, 0%;
|
|
145
|
+
--_alpha-007: 0.07;
|
|
146
|
+
--_alpha-015: 0.15;
|
|
147
|
+
--_alpha-040: 0.4;
|
|
148
|
+
|
|
149
|
+
--ndw-alpha-black-007: hsla(var(--_alpha-black), var(--_alpha-007));
|
|
150
|
+
--ndw-alpha-black-015: hsla(var(--_alpha-black), var(--_alpha-015));
|
|
151
|
+
--ndw-alpha-black-040: hsla(var(--_alpha-black), var(--_alpha-040));
|
|
152
|
+
|
|
153
|
+
--ndw-alpha-white-040: hsla(var(--_white), var(--_alpha-040));
|
|
154
|
+
|
|
155
|
+
--ndw-alpha-primary-007: hsla(var(--_primary-500), var(--_alpha-007));
|
|
156
|
+
--ndw-alpha-primary-015: hsla(var(--_primary-500), var(--_alpha-015));
|
|
157
|
+
|
|
158
|
+
--ndw-color-background: var(--ndw-color-primary);
|
|
159
|
+
--ndw-color-background-hover: var(--ndw-color-primary-hover);
|
|
160
|
+
--ndw-color-background-active: var(--ndw-color-primary-active);
|
|
161
|
+
--ndw-color-background-disabled: var(--ndw-color-grey-300);
|
|
162
|
+
|
|
163
|
+
--ndw-color-foreground: var(--ndw-color-white);
|
|
164
|
+
--ndw-color-foreground-hover: var(--ndw-color-white);
|
|
165
|
+
--ndw-color-foreground-active: var(--ndw-color-white);
|
|
166
|
+
|
|
167
|
+
--ndw-color-text: var(--ndw-color-grey-700);
|
|
168
|
+
|
|
169
|
+
--ndw-spacing-3xs: 0.125rem;
|
|
170
|
+
--ndw-spacing-2xs: 0.25rem;
|
|
171
|
+
--ndw-spacing-xs: 0.5rem;
|
|
172
|
+
--ndw-spacing-sm: 0.75rem;
|
|
173
|
+
--ndw-spacing-md: 1rem;
|
|
174
|
+
--ndw-spacing-lg: 1.5rem;
|
|
175
|
+
--ndw-spacing-xl: 2rem;
|
|
176
|
+
--ndw-spacing-2xl: 2.5rem;
|
|
177
|
+
--ndw-spacing-3xl: 3rem;
|
|
178
|
+
--ndw-spacing-4xl: 5rem;
|
|
179
|
+
--ndw-spacing-5xl: 8rem;
|
|
180
|
+
|
|
181
|
+
--ndw-border-size-sm: 1px;
|
|
182
|
+
--ndw-border-size-md: 2px;
|
|
183
|
+
--ndw-border-size-lg: 3px;
|
|
184
|
+
|
|
185
|
+
--ndw-border-radius-xs: 0.125rem;
|
|
186
|
+
--ndw-border-radius-sm: 0.25rem;
|
|
187
|
+
--ndw-border-radius-md: 0.5rem;
|
|
188
|
+
--ndw-border-radius-lg: 1.5rem;
|
|
189
|
+
|
|
190
|
+
--ndw-elevation-info: 0 0 0.5rem 0 hsla(var(--_link-500), 0.25);
|
|
191
|
+
--ndw-elevation-content: 0 0.125rem 0.125rem 0 hsla(var(--_grey-600), 0.05);
|
|
192
|
+
--ndw-elevation-dropdown: 0 0.25rem 1rem hsla(var(--_grey-600), 0.125);
|
|
193
|
+
--ndw-elevation-popover: 0 0.5rem 1.25rem hsla(var(--_grey-600), 0.125);
|
|
194
|
+
--ndw-backdrop-color: var(--ndw-alpha-black-040);
|
|
195
|
+
|
|
196
|
+
--ndw-animation-speed-very-fast: 100ms;
|
|
197
|
+
--ndw-animation-speed-fast: 200ms;
|
|
198
|
+
--ndw-animation-speed-default: 300ms;
|
|
199
|
+
--ndw-animation-speed-slow: 500ms;
|
|
200
|
+
|
|
201
|
+
--ndw-icon-size-md: 1rem;
|
|
202
|
+
--ndw-icon-size-lg: 1.5rem;
|
|
203
|
+
|
|
204
|
+
--multi-select-default-width: 18.75rem;
|
|
205
|
+
|
|
206
|
+
--ndw-font-family-body: 'Nunito Sans', sans-serif;
|
|
207
|
+
--ndw-font-family-heading: 'DM Sans', sans-serif;
|
|
208
|
+
|
|
209
|
+
--ndw-base-font-size: 16px;
|
|
210
|
+
|
|
211
|
+
--ndw-font-size-2xs: 0.5625rem;
|
|
212
|
+
--ndw-font-size-xs: 0.6875rem;
|
|
213
|
+
--ndw-font-size-sm: 0.8125rem;
|
|
214
|
+
--ndw-font-size-md: 1.125rem;
|
|
215
|
+
--ndw-font-size-lg: 1.25rem;
|
|
216
|
+
--ndw-font-size-xl: 1.5rem;
|
|
217
|
+
|
|
218
|
+
--ndw-font-weight-regular: 400;
|
|
219
|
+
--ndw-font-weight-bold: 650;
|
|
220
|
+
|
|
221
|
+
--ndw-line-height-sm: 1.375rem;
|
|
222
|
+
--ndw-line-height-md: 1.5rem;
|
|
223
|
+
|
|
224
|
+
--ndw-rotate-half: rotate(180deg);
|
|
225
|
+
|
|
226
|
+
--ndw-modal-width-sm: 31.25rem;
|
|
227
|
+
--ndw-modal-width-md: 45rem;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
[data-theme='nwb'] {
|
|
231
|
+
--_primary-050: 176, 44%, 95%;
|
|
232
|
+
--_primary-100: 176, 44%, 82%;
|
|
233
|
+
--_primary-200: 176, 44%, 73%;
|
|
234
|
+
--_primary-300: 176, 50%, 60%;
|
|
235
|
+
--_primary-400: 176, 55%, 48%;
|
|
236
|
+
--_primary-500: 176, 58%, 41%;
|
|
237
|
+
--_primary-600: 176, 60%, 34%;
|
|
238
|
+
--_primary-700: 176, 68%, 21%;
|
|
239
|
+
--_primary-800: 176, 68%, 13%;
|
|
240
|
+
|
|
241
|
+
--ndw-color-primary-050: hsl(var(--_primary-050));
|
|
242
|
+
--ndw-color-primary-100: hsl(var(--_primary-100));
|
|
243
|
+
--ndw-color-primary-200: hsl(var(--_primary-200));
|
|
244
|
+
--ndw-color-primary-300: hsl(var(--_primary-300));
|
|
245
|
+
--ndw-color-primary-400: hsl(var(--_primary-400));
|
|
246
|
+
--ndw-color-primary-500: hsl(var(--_primary-500));
|
|
247
|
+
--ndw-color-primary-600: hsl(var(--_primary-600));
|
|
248
|
+
--ndw-color-primary-700: hsl(var(--_primary-700));
|
|
249
|
+
--ndw-color-primary-800: hsl(var(--_primary-800));
|
|
250
|
+
|
|
251
|
+
--_secondary-050: 0, 100%, 95%;
|
|
252
|
+
--_secondary-100: 0, 100%, 90%;
|
|
253
|
+
--_secondary-200: 0, 100%, 82%;
|
|
254
|
+
--_secondary-300: 0, 100%, 74%;
|
|
255
|
+
--_secondary-400: 0, 100%, 66%;
|
|
256
|
+
--_secondary-500: 0, 100%, 58%;
|
|
257
|
+
--_secondary-600: 0, 75%, 42%;
|
|
258
|
+
--_secondary-700: 0, 79%, 26%;
|
|
259
|
+
|
|
260
|
+
--ndw-color-secondary-050: hsl(var(--_secondary-050));
|
|
261
|
+
--ndw-color-secondary-100: hsl(var(--_secondary-100));
|
|
262
|
+
--ndw-color-secondary-200: hsl(var(--_secondary-200));
|
|
263
|
+
--ndw-color-secondary-300: hsl(var(--_secondary-300));
|
|
264
|
+
--ndw-color-secondary-400: hsl(var(--_secondary-400));
|
|
265
|
+
--ndw-color-secondary-500: hsl(var(--_secondary-500));
|
|
266
|
+
--ndw-color-secondary-600: hsl(var(--_secondary-600));
|
|
267
|
+
--ndw-color-secondary-700: hsl(var(--_secondary-700));
|
|
268
|
+
|
|
269
|
+
--_tertiary-400: 309, 29%, 36%;
|
|
270
|
+
--_tertiary-500: 309, 29%, 18%;
|
|
271
|
+
|
|
272
|
+
--ndw-color-tertiary-400: hsl(var(--_tertiary-400));
|
|
273
|
+
--ndw-color-tertiary-500: hsl(var(--_tertiary-500));
|
|
274
|
+
|
|
275
|
+
--ndw-alpha-primary-007: hsla(var(--_primary-500), var(--_alpha-007));
|
|
276
|
+
--ndw-alpha-primary-015: hsla(var(--_primary-500), var(--_alpha-015));
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
body {
|
|
280
|
+
font-family: var(--ndw-font-family-body);
|
|
281
|
+
font-size: var(--ndw-base-font-size);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.sidebar-container.css-r1cy5n {
|
|
285
|
+
background-color: var(--ndw-color-grey-700);
|
|
286
|
+
color: var(--ndw-color-grey-400);
|
|
287
|
+
|
|
288
|
+
div.sidebar-header.css-1be7p8e {
|
|
289
|
+
padding-left: 0.25rem;
|
|
290
|
+
padding-top: 0.125rem;
|
|
291
|
+
|
|
292
|
+
img.css-32o4gv {
|
|
293
|
+
max-width: 130px !important;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
div.search-field.css-1bn0s81 {
|
|
298
|
+
background-color: var(--ndw-color-white);
|
|
299
|
+
height: 2rem;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.sidebar-item.css-ld0a14 {
|
|
303
|
+
border-radius: 0;
|
|
304
|
+
color: var(--ndw-color-grey-400);
|
|
305
|
+
height: 1.75rem;
|
|
306
|
+
margin-inline: -0.75rem;
|
|
307
|
+
|
|
308
|
+
svg {
|
|
309
|
+
&.css-1e3avu6,
|
|
310
|
+
&.css-1omskcr,
|
|
311
|
+
&.css-ndobih,
|
|
312
|
+
&.css-rqpmm3,
|
|
313
|
+
&.css-9ilfw8 {
|
|
314
|
+
color: var(--ndw-color-grey-400);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
&:hover {
|
|
319
|
+
background-color: var(--ndw-color-grey-600);
|
|
320
|
+
color: var(--ndw-color-white);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
&[data-selected='true'] {
|
|
324
|
+
background-color: transparent;
|
|
325
|
+
color: var(--ndw-color-white);
|
|
326
|
+
font-weight: 500;
|
|
327
|
+
|
|
328
|
+
svg {
|
|
329
|
+
&.css-1e3avu6,
|
|
330
|
+
&.css-1omskcr,
|
|
331
|
+
&.css-ndobih,
|
|
332
|
+
&.css-rqpmm3,
|
|
333
|
+
&.css-9ilfw8 {
|
|
334
|
+
color: var(--ndw-color-white);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
&:hover {
|
|
339
|
+
background-color: var(--ndw-color-grey-600);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Utilities for improving accessibility with screen readers.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
// Use sr-only to hide an element visually without hiding it from screen readers
|
|
6
|
+
.sr-only {
|
|
7
|
+
position: absolute;
|
|
8
|
+
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
width: 1px;
|
|
11
|
+
height: 1px;
|
|
12
|
+
padding: 0;
|
|
13
|
+
margin: -1px;
|
|
14
|
+
border-width: 0;
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
|
|
17
|
+
clip: rect(0, 0, 0, 0);
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward 'screenreader';
|
|
Binary file
|
|
Binary file
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type IconSize = 'sm' | 'md';
|
|
4
|
-
export declare class IconComponent implements OnInit {
|
|
5
|
-
size: import("@angular/core").InputSignal<IconSize>;
|
|
6
|
-
private readonly elementRef;
|
|
7
|
-
private readonly renderer;
|
|
8
|
-
private readonly document;
|
|
9
|
-
get hostClass(): string;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "ndw-icon", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TabComponent {
|
|
3
|
-
index: import("@angular/core").InputSignal<number>;
|
|
4
|
-
active: import("@angular/core").ModelSignal<boolean>;
|
|
5
|
-
onClick(): void;
|
|
6
|
-
onTabKeyDown(event: KeyboardEvent): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "ndw-tab", never, { "index": { "alias": "index"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, never, ["*"], true, never>;
|
|
9
|
-
}
|