@ndwnu/design-system 5.1.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 +1052 -1000
- package/fesm2022/ndwnu-design-system.mjs.map +1 -1
- package/index.d.ts +2 -5
- package/lib/components/alert/alert.model.d.ts +1 -0
- package/lib/components/banner/banner.model.d.ts +1 -0
- package/lib/components/card/card-header/card-header.component.d.ts +11 -0
- package/lib/components/card/card.animation.d.ts +1 -0
- package/lib/components/card/card.component.d.ts +19 -0
- package/{components → lib/components}/dropdown/dropdown.component.d.ts +1 -1
- package/{components → lib/components}/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.d.ts +3 -3
- package/lib/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.d.ts +19 -0
- package/lib/components/form-field/autosuggest/autosuggest-option/autosuggest-option.model.d.ts +5 -0
- package/{components → lib/components}/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.d.ts +5 -6
- package/{components → lib/components}/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.d.ts +12 -14
- package/{components → lib/components}/form-field/autosuggest/autosuggest.directive.d.ts +7 -8
- 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 +3 -2
- 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/form-field.component.d.ts +2 -1
- package/lib/components/form-field/input/input.model.d.ts +1 -0
- 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}/form-field/textarea/auto-grow.directive.d.ts +6 -3
- package/{components → lib/components}/form-field/textarea/index.d.ts +1 -0
- package/lib/components/form-field/textarea/max-char.directive.d.ts +15 -0
- package/{components → lib/components}/icon/action-icon/action-icon.component.d.ts +3 -3
- 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/{components → lib/components}/main-navigation/main-navigation.model.d.ts +1 -4
- package/{components → lib/components}/modal/modal.component.d.ts +1 -2
- package/{components → lib/components}/multi-select/multi-select.component.d.ts +3 -3
- package/lib/components/pill/pill.model.d.ts +1 -0
- package/{components → lib/components}/router-breadcrumbs/router-breadcrumbs.component.d.ts +2 -2
- 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}/tag/tag.component.d.ts +2 -2
- package/{components → lib/components}/toast/toast.component.d.ts +4 -4
- package/package.json +14 -10
- 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/alert/alert.model.d.ts +0 -6
- package/components/banner/banner.model.d.ts +0 -4
- package/components/card/card-header/card-header.component.d.ts +0 -5
- package/components/card/card.component.d.ts +0 -5
- package/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.d.ts +0 -19
- package/components/form-field/autosuggest/autosuggest-option/autosuggest-option.model.d.ts +0 -2
- package/components/form-field/input/input.model.d.ts +0 -11
- package/components/icon/icon.component.d.ts +0 -13
- package/components/pill/pill.model.d.ts +0 -8
- package/components/tab/tab.component.d.ts +0 -9
- package/core/style/styles.css +0 -1360
- package/core/style/styles.scss +0 -1360
- package/esm2022/components/accordion/accordion.component.mjs +0 -32
- package/esm2022/components/accordion/accordion.service.mjs +0 -17
- package/esm2022/components/accordion/index.mjs +0 -3
- package/esm2022/components/alert/alert.component.mjs +0 -42
- package/esm2022/components/alert/alert.model.mjs +0 -8
- package/esm2022/components/alert/index.mjs +0 -3
- package/esm2022/components/badge/badge.component.mjs +0 -21
- package/esm2022/components/badge/index.mjs +0 -2
- package/esm2022/components/banner/banner.component.mjs +0 -61
- package/esm2022/components/banner/banner.model.mjs +0 -6
- package/esm2022/components/banner/index.mjs +0 -3
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +0 -15
- package/esm2022/components/breadcrumb/index.mjs +0 -2
- package/esm2022/components/breadcrumb-group/breadcrumb-group.component.mjs +0 -21
- package/esm2022/components/breadcrumb-group/index.mjs +0 -2
- package/esm2022/components/button/button.directive.mjs +0 -37
- package/esm2022/components/button/index.mjs +0 -2
- package/esm2022/components/card/card-content/card-content.component.mjs +0 -11
- package/esm2022/components/card/card-content/index.mjs +0 -2
- package/esm2022/components/card/card-footer/card-footer.component.mjs +0 -11
- package/esm2022/components/card/card-footer/index.mjs +0 -2
- package/esm2022/components/card/card-header/card-header.component.mjs +0 -11
- package/esm2022/components/card/card-header/index.mjs +0 -2
- package/esm2022/components/card/card.component.mjs +0 -11
- package/esm2022/components/card/index.mjs +0 -15
- package/esm2022/components/collapsible/collapsible.animation.mjs +0 -26
- package/esm2022/components/collapsible/collapsible.component.mjs +0 -34
- package/esm2022/components/collapsible/index.mjs +0 -2
- package/esm2022/components/dashboard-card/dashboard-card.component.mjs +0 -32
- package/esm2022/components/dashboard-card/index.mjs +0 -2
- package/esm2022/components/dropdown/dropdown.component.mjs +0 -57
- package/esm2022/components/dropdown/index.mjs +0 -2
- package/esm2022/components/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.mjs +0 -29
- package/esm2022/components/form-field/autosuggest/autosuggest-add-option/index.mjs +0 -2
- package/esm2022/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.mjs +0 -45
- package/esm2022/components/form-field/autosuggest/autosuggest-option/autosuggest-option.model.mjs +0 -2
- package/esm2022/components/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.mjs +0 -85
- package/esm2022/components/form-field/autosuggest/autosuggest-option/index.mjs +0 -3
- package/esm2022/components/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.mjs +0 -82
- package/esm2022/components/form-field/autosuggest/autosuggest.directive.mjs +0 -411
- package/esm2022/components/form-field/autosuggest/index.mjs +0 -6
- package/esm2022/components/form-field/autosuggest/match-bold.pipe.mjs +0 -21
- package/esm2022/components/form-field/checkbox/checkbox.component.mjs +0 -62
- package/esm2022/components/form-field/checkbox/index.mjs +0 -2
- package/esm2022/components/form-field/checkbox-group/checkbox-group.component.mjs +0 -15
- package/esm2022/components/form-field/checkbox-group/index.mjs +0 -2
- package/esm2022/components/form-field/clear-search-button/clear-search-button.component.mjs +0 -37
- package/esm2022/components/form-field/error/error.component.mjs +0 -12
- package/esm2022/components/form-field/error/index.mjs +0 -2
- package/esm2022/components/form-field/file-upload/file-upload-text.interface.mjs +0 -2
- package/esm2022/components/form-field/file-upload/file-upload.component.mjs +0 -172
- package/esm2022/components/form-field/file-upload/index.mjs +0 -3
- package/esm2022/components/form-field/form-field.component.mjs +0 -81
- package/esm2022/components/form-field/form-field.constant.mjs +0 -2
- package/esm2022/components/form-field/form-field.model.mjs +0 -8
- package/esm2022/components/form-field/index.mjs +0 -17
- package/esm2022/components/form-field/info/index.mjs +0 -2
- package/esm2022/components/form-field/info/info.component.mjs +0 -11
- package/esm2022/components/form-field/input/index.mjs +0 -3
- package/esm2022/components/form-field/input/input.directive.mjs +0 -68
- package/esm2022/components/form-field/input/input.model.mjs +0 -13
- package/esm2022/components/form-field/input-button/index.mjs +0 -2
- package/esm2022/components/form-field/input-button/input-button.component.mjs +0 -23
- package/esm2022/components/form-field/input-icon/index.mjs +0 -2
- package/esm2022/components/form-field/input-icon/input-icon.component.mjs +0 -12
- package/esm2022/components/form-field/month-input/index.mjs +0 -2
- package/esm2022/components/form-field/month-input/month-input-utils.mjs +0 -13
- package/esm2022/components/form-field/month-input/month-input.component.mjs +0 -154
- package/esm2022/components/form-field/option-group/index.mjs +0 -4
- package/esm2022/components/form-field/option-group/option-group.component.mjs +0 -64
- package/esm2022/components/form-field/option-group/option-group.model.mjs +0 -2
- package/esm2022/components/form-field/option-group/option.component.mjs +0 -22
- package/esm2022/components/form-field/picker-button/picker-button.component.mjs +0 -50
- package/esm2022/components/form-field/radio-button/index.mjs +0 -2
- package/esm2022/components/form-field/radio-button/radio-button.component.mjs +0 -63
- package/esm2022/components/form-field/radio-group/index.mjs +0 -2
- package/esm2022/components/form-field/radio-group/radio-group.component.mjs +0 -70
- package/esm2022/components/form-field/success/index.mjs +0 -2
- package/esm2022/components/form-field/success/success.component.mjs +0 -12
- package/esm2022/components/form-field/textarea/auto-grow.directive.mjs +0 -45
- package/esm2022/components/form-field/textarea/index.mjs +0 -2
- package/esm2022/components/icon/action-icon/action-icon.component.mjs +0 -40
- package/esm2022/components/icon/action-icon/index.mjs +0 -2
- package/esm2022/components/icon/icon.component.mjs +0 -36
- package/esm2022/components/icon/index.mjs +0 -3
- package/esm2022/components/index.mjs +0 -29
- package/esm2022/components/layout/index.mjs +0 -2
- package/esm2022/components/layout/layout.component.mjs +0 -23
- package/esm2022/components/layout-banners/index.mjs +0 -2
- package/esm2022/components/layout-banners/layout-banners.component.mjs +0 -11
- package/esm2022/components/loader/index.mjs +0 -2
- package/esm2022/components/loader/loader.component.mjs +0 -11
- package/esm2022/components/main-navigation/index.mjs +0 -3
- package/esm2022/components/main-navigation/main-navigation.component.mjs +0 -165
- package/esm2022/components/main-navigation/main-navigation.imports.mjs +0 -20
- package/esm2022/components/main-navigation/main-navigation.model.mjs +0 -6
- package/esm2022/components/main-navigation-menu/index.mjs +0 -2
- package/esm2022/components/main-navigation-menu/main-navigation-menu.component.mjs +0 -20
- package/esm2022/components/modal/index.mjs +0 -16
- package/esm2022/components/modal/modal-content/index.mjs +0 -2
- package/esm2022/components/modal/modal-content/modal-content.component.mjs +0 -11
- package/esm2022/components/modal/modal-footer/index.mjs +0 -2
- package/esm2022/components/modal/modal-footer/modal-footer.component.mjs +0 -11
- package/esm2022/components/modal/modal-header/index.mjs +0 -2
- package/esm2022/components/modal/modal-header/modal-header.component.mjs +0 -18
- package/esm2022/components/modal/modal-ref.mjs +0 -4
- package/esm2022/components/modal/modal.component.mjs +0 -19
- package/esm2022/components/modal/modal.service.mjs +0 -31
- package/esm2022/components/multi-select/checkbox-data.interface.mjs +0 -2
- package/esm2022/components/multi-select/index.mjs +0 -4
- package/esm2022/components/multi-select/multi-select.component.mjs +0 -76
- package/esm2022/components/multi-select/select-all-text.interface.mjs +0 -2
- package/esm2022/components/pill/index.mjs +0 -3
- package/esm2022/components/pill/pill.component.mjs +0 -26
- package/esm2022/components/pill/pill.model.mjs +0 -10
- package/esm2022/components/popover/index.mjs +0 -2
- package/esm2022/components/popover/popover-trigger.directive.mjs +0 -182
- package/esm2022/components/router-breadcrumbs/index.mjs +0 -2
- package/esm2022/components/router-breadcrumbs/router-breadcrumbs.component.mjs +0 -37
- package/esm2022/components/summary-card/index.mjs +0 -11
- package/esm2022/components/summary-card/summary-card-action/summary-card-action.component.mjs +0 -23
- package/esm2022/components/summary-card/summary-card-actions/summary-card-actions.component.mjs +0 -26
- package/esm2022/components/summary-card/summary-card-avatar/summary-card-avatar.component.mjs +0 -25
- package/esm2022/components/summary-card/summary-card-content/summary-card-content.component.mjs +0 -19
- package/esm2022/components/summary-card/summary-card-header/summary-card-header.component.mjs +0 -13
- package/esm2022/components/summary-card/summary-card-subtitle/summary-card-subtitle.component.mjs +0 -11
- package/esm2022/components/summary-card/summary-card-tag/summary-card-tag.component.mjs +0 -20
- package/esm2022/components/summary-card/summary-card-tags/summary-card-tags.component.mjs +0 -20
- package/esm2022/components/summary-card/summary-card.component.mjs +0 -14
- package/esm2022/components/summary-card/summary-card.model.mjs +0 -2
- package/esm2022/components/tab/index.mjs +0 -2
- package/esm2022/components/tab/tab.component.mjs +0 -32
- package/esm2022/components/tab-group/index.mjs +0 -2
- package/esm2022/components/tab-group/tab-group.component.mjs +0 -34
- package/esm2022/components/tag/index.mjs +0 -2
- package/esm2022/components/tag/tag.component.mjs +0 -29
- package/esm2022/components/toast/index.mjs +0 -3
- package/esm2022/components/toast/toast.component.mjs +0 -77
- package/esm2022/components/toast/toast.service.mjs +0 -43
- package/esm2022/components/tooltip/index.mjs +0 -3
- package/esm2022/components/tooltip/tooltip.component.mjs +0 -16
- package/esm2022/components/tooltip/tooltip.directive.mjs +0 -89
- package/esm2022/models/aria.model.mjs +0 -2
- package/esm2022/models/index.mjs +0 -2
- package/esm2022/ndwnu-design-system.mjs +0 -5
- package/esm2022/public-api.mjs +0 -5
- 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/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/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/index.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/index.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/index.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.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-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}/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-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.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/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}/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}/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 +1 -1
- 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}/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
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { CardComponent } from '../card';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export type ModalSize = 'sm' | 'md';
|
|
4
|
-
export declare class ModalComponent
|
|
3
|
+
export declare class ModalComponent {
|
|
5
4
|
size: import("@angular/core").InputSignal<ModalSize>;
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
7
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ndw-modal", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -12,9 +12,9 @@ export declare class MultiSelectComponent {
|
|
|
12
12
|
readonly chevron: import("@angular/core").InputSignal<boolean>;
|
|
13
13
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
14
14
|
readonly selectAllText: import("@angular/core").InputSignal<SelectAllText>;
|
|
15
|
-
readonly lastCheckedElementId: import("@angular/core").ModelSignal<string | number | null | undefined>;
|
|
16
15
|
readonly dataSource: import("@angular/core").ModelSignal<CheckboxData[]>;
|
|
17
|
-
readonly
|
|
16
|
+
protected readonly lastCheckedElementId: import("@angular/core").ModelSignal<string | number | null | undefined>;
|
|
17
|
+
protected readonly searchInputValue: import("@angular/core").ModelSignal<string>;
|
|
18
18
|
readonly selectAmount: import("@angular/core").Signal<number>;
|
|
19
19
|
readonly noSearchResults: import("@angular/core").Signal<boolean>;
|
|
20
20
|
filterSearch(value: string): boolean;
|
|
@@ -24,5 +24,5 @@ export declare class MultiSelectComponent {
|
|
|
24
24
|
isOpenChanged(isOpen: boolean): void;
|
|
25
25
|
private determineLastCheckedElement;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "ndw-multi-select", never, { "buttonText": { "alias": "buttonText"; "required": true; "isSignal": true; }; "searchLabel": { "alias": "searchLabel"; "required": true; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "noResultText": { "alias": "noResultText"; "required": false; "isSignal": true; }; "chevron": { "alias": "chevron"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectAllText": { "alias": "selectAllText"; "required": false; "isSignal": true; }; "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "ndw-multi-select", never, { "buttonText": { "alias": "buttonText"; "required": true; "isSignal": true; }; "searchLabel": { "alias": "searchLabel"; "required": true; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "noResultText": { "alias": "noResultText"; "required": false; "isSignal": true; }; "chevron": { "alias": "chevron"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectAllText": { "alias": "selectAllText"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "lastCheckedElementId": { "alias": "lastCheckedElementId"; "required": false; "isSignal": true; }; "searchInputValue": { "alias": "searchInputValue"; "required": false; "isSignal": true; }; }, { "dataSource": "dataSourceChange"; "lastCheckedElementId": "lastCheckedElementIdChange"; "searchInputValue": "searchInputValueChange"; }, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PillColor = 'blue' | 'gray' | 'green' | 'purple' | 'red' | 'yellow';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
|
|
2
|
+
interface RouteBreadcrumb {
|
|
3
3
|
url: string;
|
|
4
4
|
title: string;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
6
|
export declare const breadcrumbRouteDataKey = "breadcrumb";
|
|
7
7
|
export declare class RouterBreadcrumbsComponent {
|
|
8
8
|
private readonly route;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TemplatePortal } from '@angular/cdk/portal';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TabComponent implements OnInit {
|
|
5
|
+
private readonly _viewContainerRef;
|
|
6
|
+
private readonly _elementRef;
|
|
7
|
+
private _content;
|
|
8
|
+
private readonly _contentTemplate;
|
|
9
|
+
get content(): TemplatePortal | null;
|
|
10
|
+
title: import("@angular/core").InputSignal<string>;
|
|
11
|
+
active: boolean;
|
|
12
|
+
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
getNativeElement(): HTMLElement;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "ndw-tab", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
17
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { AfterContentInit } from '@angular/core';
|
|
2
1
|
import { TabComponent } from '../tab';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TabGroupComponent
|
|
5
|
-
|
|
3
|
+
export declare class TabGroupComponent {
|
|
4
|
+
private readonly _tabs;
|
|
5
|
+
private readonly _tabButtons;
|
|
6
|
+
tabs: import("@angular/core").Signal<TabComponent[]>;
|
|
6
7
|
activeTab: import("@angular/core").ModelSignal<number>;
|
|
7
|
-
|
|
8
|
+
selectTab(index: number): void;
|
|
9
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "ndw-tab-group", never, { "activeTab": { "alias": "activeTab"; "required": false; "isSignal": true; }; }, { "activeTab": "activeTabChange"; }, ["
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "ndw-tab-group", never, { "activeTab": { "alias": "activeTab"; "required": false; "isSignal": true; }; }, { "activeTab": "activeTabChange"; }, ["_tabs"], never, true, never>;
|
|
10
12
|
}
|
|
@@ -12,7 +12,7 @@ export declare class TagComponent {
|
|
|
12
12
|
* The name of the icon to display
|
|
13
13
|
*/
|
|
14
14
|
suffixIcon: import("@angular/core").InputSignal<string>;
|
|
15
|
-
|
|
15
|
+
clicked: import("@angular/core").OutputEmitterRef<Event>;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "ndw-tag", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "suffixAriaLabel": { "alias": "suffixAriaLabel"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; }, { "
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "ndw-tag", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "suffixAriaLabel": { "alias": "suffixAriaLabel"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
|
|
18
18
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ToastComponent implements OnInit, OnDestroy {
|
|
4
|
-
readonly message: import("@angular/core").ModelSignal<string>;
|
|
5
|
-
readonly close: import("@angular/core").OutputEmitterRef<void>;
|
|
6
|
-
private interval;
|
|
7
4
|
private readonly renderer;
|
|
5
|
+
readonly close: import("@angular/core").OutputEmitterRef<void>;
|
|
6
|
+
readonly message: import("@angular/core").ModelSignal<string>;
|
|
8
7
|
private readonly toastContainer;
|
|
8
|
+
private interval;
|
|
9
9
|
ngOnInit(): void;
|
|
10
10
|
ngOnDestroy(): void;
|
|
11
11
|
open(): void;
|
|
@@ -15,5 +15,5 @@ export declare class ToastComponent implements OnInit, OnDestroy {
|
|
|
15
15
|
private clearInterval;
|
|
16
16
|
private truncateText;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "ndw-toast", never, { "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "ndw-toast", never, { "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "close": "close"; "message": "messageChange"; }, never, never, true, never>;
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndwnu/design-system",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/
|
|
6
|
-
"@angular/
|
|
7
|
-
"@angular/
|
|
8
|
-
"@angular/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
5
|
+
"@angular/animations": "~19.0.0",
|
|
6
|
+
"@angular/cdk": "~19.0.0",
|
|
7
|
+
"@angular/common": "^19.0.0",
|
|
8
|
+
"@angular/core": "^19.0.0",
|
|
9
|
+
"@angular/forms": "~19.0.0",
|
|
10
|
+
"@angular/router": "~19.0.0",
|
|
11
|
+
"@ndwnu/core": "0.0.1-beta.1",
|
|
12
|
+
"@storybook/addon-actions": "8.5.0",
|
|
13
|
+
"@storybook/angular": "8.5.0",
|
|
14
|
+
"rxjs": "~7.8.0"
|
|
12
15
|
},
|
|
13
16
|
"sideEffects": false,
|
|
14
17
|
"module": "fesm2022/ndwnu-design-system.mjs",
|
|
@@ -19,9 +22,10 @@
|
|
|
19
22
|
},
|
|
20
23
|
".": {
|
|
21
24
|
"types": "./index.d.ts",
|
|
22
|
-
"esm2022": "./esm2022/ndwnu-design-system.mjs",
|
|
23
|
-
"esm": "./esm2022/ndwnu-design-system.mjs",
|
|
24
25
|
"default": "./fesm2022/ndwnu-design-system.mjs"
|
|
25
26
|
}
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"tslib": "^2.3.0"
|
|
26
30
|
}
|
|
27
31
|
}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Colors */
|
|
3
|
+
// Grey
|
|
4
|
+
--_grey-700: 195, 100%, 10%;
|
|
5
|
+
--_grey-600: 196, 13%, 29%;
|
|
6
|
+
--_grey-500: 197, 7%, 40%;
|
|
7
|
+
--_grey-400: 204, 2%, 54%;
|
|
8
|
+
--_grey-300: 192, 5%, 82%;
|
|
9
|
+
--_grey-200: 204, 11%, 91%;
|
|
10
|
+
--_grey-100: 200, 16%, 96%;
|
|
11
|
+
--_white: 0, 0%, 100%;
|
|
12
|
+
|
|
13
|
+
--ndw-color-grey-700: hsl(var(--_grey-700));
|
|
14
|
+
--ndw-color-grey-600: hsl(var(--_grey-600));
|
|
15
|
+
--ndw-color-grey-500: hsl(var(--_grey-500));
|
|
16
|
+
--ndw-color-grey-400: hsl(var(--_grey-400));
|
|
17
|
+
--ndw-color-grey-300: hsl(var(--_grey-300));
|
|
18
|
+
--ndw-color-grey-200: hsl(var(--_grey-200));
|
|
19
|
+
--ndw-color-grey-100: hsl(var(--_grey-100));
|
|
20
|
+
--ndw-color-white: hsl(var(--_white));
|
|
21
|
+
|
|
22
|
+
// Primary
|
|
23
|
+
--_primary: 19, 100%;
|
|
24
|
+
--_primary-050: var(--_primary), 95%;
|
|
25
|
+
--_primary-100: var(--_primary), 80%;
|
|
26
|
+
--_primary-200: var(--_primary), 73%;
|
|
27
|
+
--_primary-300: var(--_primary), 62%;
|
|
28
|
+
--_primary-400: var(--_primary), 50%;
|
|
29
|
+
--_primary-500: var(--_primary), 40%;
|
|
30
|
+
--_primary-600: var(--_primary), 35%;
|
|
31
|
+
--_primary-700: var(--_primary), 27%;
|
|
32
|
+
--_primary-800: var(--_primary), 15%;
|
|
33
|
+
|
|
34
|
+
--ndw-color-primary-050: hsl(var(--_primary-050));
|
|
35
|
+
--ndw-color-primary-100: hsl(var(--_primary-100));
|
|
36
|
+
--ndw-color-primary-200: hsl(var(--_primary-200));
|
|
37
|
+
--ndw-color-primary-300: hsl(var(--_primary-300));
|
|
38
|
+
--ndw-color-primary-400: hsl(var(--_primary-400));
|
|
39
|
+
--ndw-color-primary-500: hsl(var(--_primary-500));
|
|
40
|
+
--ndw-color-primary-600: hsl(var(--_primary-600));
|
|
41
|
+
--ndw-color-primary-700: hsl(var(--_primary-700));
|
|
42
|
+
--ndw-color-primary-800: hsl(var(--_primary-800));
|
|
43
|
+
|
|
44
|
+
--ndw-color-primary: var(--ndw-color-primary-500);
|
|
45
|
+
--ndw-color-primary-hover: var(--ndw-color-primary-600);
|
|
46
|
+
--ndw-color-primary-active: var(--ndw-color-primary-700);
|
|
47
|
+
|
|
48
|
+
// Secondary
|
|
49
|
+
--_secondary-050: 209, 100%, 96%;
|
|
50
|
+
--_secondary-100: 209, 85%, 91%;
|
|
51
|
+
--_secondary-200: 209, 85%, 78%;
|
|
52
|
+
--_secondary-300: 209, 85%, 69%;
|
|
53
|
+
--_secondary-400: 208, 100%, 46%;
|
|
54
|
+
--_secondary-500: 208, 100%, 41%;
|
|
55
|
+
--_secondary-600: 209, 100%, 32%;
|
|
56
|
+
--_secondary-700: 209, 100%, 18%;
|
|
57
|
+
|
|
58
|
+
--ndw-color-secondary-050: hsl(var(--_secondary-050));
|
|
59
|
+
--ndw-color-secondary-100: hsl(var(--_secondary-100));
|
|
60
|
+
--ndw-color-secondary-200: hsl(var(--_secondary-200));
|
|
61
|
+
--ndw-color-secondary-300: hsl(var(--_secondary-300));
|
|
62
|
+
--ndw-color-secondary-400: hsl(var(--_secondary-400));
|
|
63
|
+
--ndw-color-secondary-500: hsl(var(--_secondary-500));
|
|
64
|
+
--ndw-color-secondary-600: hsl(var(--_secondary-600));
|
|
65
|
+
--ndw-color-secondary-700: hsl(var(--_secondary-700));
|
|
66
|
+
|
|
67
|
+
--ndw-color-secondary: var(--ndw-color-secondary-500);
|
|
68
|
+
--ndw-color-secondary-hover: var(--ndw-color-secondary-600);
|
|
69
|
+
--ndw-color-secondary-active: var(--ndw-color-secondary-700);
|
|
70
|
+
|
|
71
|
+
// Tertiary
|
|
72
|
+
--_tertiary-400: 43, 100%, 50%;
|
|
73
|
+
--_tertiary-500: 42, 100%, 43%;
|
|
74
|
+
|
|
75
|
+
--ndw-color-tertiary-400: hsl(var(--_tertiary-400));
|
|
76
|
+
--ndw-color-tertiary-500: hsl(var(--_tertiary-500));
|
|
77
|
+
|
|
78
|
+
// Links
|
|
79
|
+
--_link: 208, 100%;
|
|
80
|
+
--_link-400: var(--_link), 41%;
|
|
81
|
+
--_link-500: var(--_link), 32%;
|
|
82
|
+
|
|
83
|
+
--ndw-color-link-400: hsl(var(--_link-400));
|
|
84
|
+
--ndw-color-link-500: hsl(var(--_link-500));
|
|
85
|
+
|
|
86
|
+
// Feedback
|
|
87
|
+
--_positive: 133, 92%;
|
|
88
|
+
--_positive-100: 117, 56%, 92%;
|
|
89
|
+
--_positive-500: var(--_positive), 33%;
|
|
90
|
+
--_positive-600: var(--_positive), 24%;
|
|
91
|
+
--_warning: 43, 93%;
|
|
92
|
+
--_warning-100: 44, 100%, 94%;
|
|
93
|
+
--_warning-500: var(--_warning), 43%;
|
|
94
|
+
--_warning-600: 42, 83%, 32%;
|
|
95
|
+
--_alternative: 292, 100%;
|
|
96
|
+
--_alternative-100: var(--_alternative), 95%;
|
|
97
|
+
--_alternative-500: 292, 95%, 33%;
|
|
98
|
+
--_critical: 0, 100%;
|
|
99
|
+
--_critical-100: var(--_critical), 98%;
|
|
100
|
+
--_critical-200: var(--_critical), 95%;
|
|
101
|
+
--_critical-300: var(--_critical), 90%;
|
|
102
|
+
--_critical-500: var(--_critical), 46%;
|
|
103
|
+
--_info-100: 210, 100%, 96%;
|
|
104
|
+
--_info-200: 210, 86%, 91%;
|
|
105
|
+
--_info-500: 208, 100%, 41%;
|
|
106
|
+
|
|
107
|
+
--ndw-color-positive-100: hsl(var(--_positive-100));
|
|
108
|
+
--ndw-color-positive-500: hsl(var(--_positive-500));
|
|
109
|
+
--ndw-color-positive-600: hsl(var(--_positive-600));
|
|
110
|
+
--ndw-color-warning-100: hsl(var(--_warning-100));
|
|
111
|
+
--ndw-color-warning-500: hsl(var(--_warning-500));
|
|
112
|
+
--ndw-color-warning-600: hsl(var(--_warning-600));
|
|
113
|
+
--ndw-color-alternative-100: hsl(var(--_alternative-100));
|
|
114
|
+
--ndw-color-alternative-500: hsl(var(--_alternative-500));
|
|
115
|
+
--ndw-color-critical-100: hsl(var(--_critical-100));
|
|
116
|
+
--ndw-color-critical-200: hsl(var(--_critical-200));
|
|
117
|
+
--ndw-color-critical-300: hsl(var(--_critical-300));
|
|
118
|
+
--ndw-color-critical-500: hsl(var(--_critical-500));
|
|
119
|
+
--ndw-color-info-100: hsl(var(--_info-100));
|
|
120
|
+
--ndw-color-info-200: hsl(var(--_info-200));
|
|
121
|
+
--ndw-color-info-500: hsl(var(--_info-500));
|
|
122
|
+
|
|
123
|
+
--ndw-color-notification: hsl(19, 100%, 35%);
|
|
124
|
+
|
|
125
|
+
// Data
|
|
126
|
+
--_data-a-500: 133, 100%, 21%;
|
|
127
|
+
--_data-a-100: 101, 61%, 81%;
|
|
128
|
+
--_data-b-500: 0, 0%, 27%;
|
|
129
|
+
--_data-b-100: 0, 0%, 87%;
|
|
130
|
+
--_data-c-500: 209, 97%, 38%;
|
|
131
|
+
--_data-c-100: 194, 95%, 84%;
|
|
132
|
+
--_data-d-500: 292, 95%, 33%;
|
|
133
|
+
--_data-d-100: 292, 100%, 87%;
|
|
134
|
+
--_data-e-500: 51, 95%, 23%;
|
|
135
|
+
--_data-e-100: 54, 89%, 79%;
|
|
136
|
+
--_data-f-500: 0, 97%, 35%;
|
|
137
|
+
--_data-f-100: 0, 100%, 94%;
|
|
138
|
+
|
|
139
|
+
--ndw-color-data-a-500: hsl(var(--_data-a-500));
|
|
140
|
+
--ndw-color-data-a-100: hsl(var(--_data-a-100));
|
|
141
|
+
--ndw-color-data-b-500: hsl(var(--_data-b-500));
|
|
142
|
+
--ndw-color-data-b-100: hsl(var(--_data-b-100));
|
|
143
|
+
--ndw-color-data-c-500: hsl(var(--_data-c-500));
|
|
144
|
+
--ndw-color-data-c-100: hsl(var(--_data-c-100));
|
|
145
|
+
--ndw-color-data-d-500: hsl(var(--_data-d-500));
|
|
146
|
+
--ndw-color-data-d-100: hsl(var(--_data-d-100));
|
|
147
|
+
--ndw-color-data-e-500: hsl(var(--_data-e-500));
|
|
148
|
+
--ndw-color-data-e-100: hsl(var(--_data-e-100));
|
|
149
|
+
--ndw-color-data-f-500: hsl(var(--_data-f-500));
|
|
150
|
+
--ndw-color-data-f-100: hsl(var(--_data-f-100));
|
|
151
|
+
|
|
152
|
+
// Alpha Primary
|
|
153
|
+
--_alpha-black: 0, 0%, 0%;
|
|
154
|
+
--_alpha-007: 0.07;
|
|
155
|
+
--_alpha-015: 0.15;
|
|
156
|
+
--_alpha-040: 0.4;
|
|
157
|
+
|
|
158
|
+
--ndw-alpha-black-007: hsla(var(--_alpha-black), var(--_alpha-007));
|
|
159
|
+
--ndw-alpha-black-015: hsla(var(--_alpha-black), var(--_alpha-015));
|
|
160
|
+
--ndw-alpha-black-040: hsla(var(--_alpha-black), var(--_alpha-040));
|
|
161
|
+
|
|
162
|
+
--ndw-alpha-white-040: hsla(var(--_white), var(--_alpha-040));
|
|
163
|
+
|
|
164
|
+
--ndw-alpha-primary-007: hsla(var(--_primary-500), var(--_alpha-007));
|
|
165
|
+
--ndw-alpha-primary-015: hsla(var(--_primary-500), var(--_alpha-015));
|
|
166
|
+
|
|
167
|
+
// Background
|
|
168
|
+
--ndw-color-background: var(--ndw-color-primary);
|
|
169
|
+
--ndw-color-background-hover: var(--ndw-color-primary-hover);
|
|
170
|
+
--ndw-color-background-active: var(--ndw-color-primary-active);
|
|
171
|
+
--ndw-color-background-disabled: var(--ndw-color-grey-300);
|
|
172
|
+
|
|
173
|
+
// Foreground
|
|
174
|
+
--ndw-color-foreground: var(--ndw-color-white);
|
|
175
|
+
--ndw-color-foreground-hover: var(--ndw-color-white);
|
|
176
|
+
--ndw-color-foreground-active: var(--ndw-color-white);
|
|
177
|
+
|
|
178
|
+
// Text
|
|
179
|
+
--ndw-color-text: var(--ndw-color-grey-700);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
[data-theme='nwb'] {
|
|
183
|
+
/* Colors */
|
|
184
|
+
// Primary
|
|
185
|
+
--_primary-050: 176, 44%, 95%;
|
|
186
|
+
--_primary-100: 176, 44%, 82%;
|
|
187
|
+
--_primary-200: 176, 44%, 73%;
|
|
188
|
+
--_primary-300: 176, 50%, 60%;
|
|
189
|
+
--_primary-400: 176, 55%, 48%;
|
|
190
|
+
--_primary-500: 176, 58%, 41%;
|
|
191
|
+
--_primary-600: 176, 60%, 34%;
|
|
192
|
+
--_primary-700: 176, 68%, 21%;
|
|
193
|
+
--_primary-800: 176, 68%, 13%;
|
|
194
|
+
|
|
195
|
+
--ndw-color-primary-050: hsl(var(--_primary-050));
|
|
196
|
+
--ndw-color-primary-100: hsl(var(--_primary-100));
|
|
197
|
+
--ndw-color-primary-200: hsl(var(--_primary-200));
|
|
198
|
+
--ndw-color-primary-300: hsl(var(--_primary-300));
|
|
199
|
+
--ndw-color-primary-400: hsl(var(--_primary-400));
|
|
200
|
+
--ndw-color-primary-500: hsl(var(--_primary-500));
|
|
201
|
+
--ndw-color-primary-600: hsl(var(--_primary-600));
|
|
202
|
+
--ndw-color-primary-700: hsl(var(--_primary-700));
|
|
203
|
+
--ndw-color-primary-800: hsl(var(--_primary-800));
|
|
204
|
+
|
|
205
|
+
// Secondary
|
|
206
|
+
--_secondary-050: 0, 100%, 95%;
|
|
207
|
+
--_secondary-100: 0, 100%, 90%;
|
|
208
|
+
--_secondary-200: 0, 100%, 82%;
|
|
209
|
+
--_secondary-300: 0, 100%, 74%;
|
|
210
|
+
--_secondary-400: 0, 100%, 66%;
|
|
211
|
+
--_secondary-500: 0, 100%, 58%;
|
|
212
|
+
--_secondary-600: 0, 75%, 42%;
|
|
213
|
+
--_secondary-700: 0, 79%, 26%;
|
|
214
|
+
|
|
215
|
+
--ndw-color-secondary-050: hsl(var(--_secondary-050));
|
|
216
|
+
--ndw-color-secondary-100: hsl(var(--_secondary-100));
|
|
217
|
+
--ndw-color-secondary-200: hsl(var(--_secondary-200));
|
|
218
|
+
--ndw-color-secondary-300: hsl(var(--_secondary-300));
|
|
219
|
+
--ndw-color-secondary-400: hsl(var(--_secondary-400));
|
|
220
|
+
--ndw-color-secondary-500: hsl(var(--_secondary-500));
|
|
221
|
+
--ndw-color-secondary-600: hsl(var(--_secondary-600));
|
|
222
|
+
--ndw-color-secondary-700: hsl(var(--_secondary-700));
|
|
223
|
+
|
|
224
|
+
// Tertiary
|
|
225
|
+
--_tertiary-400: 309, 29%, 36%;
|
|
226
|
+
--_tertiary-500: 309, 29%, 18%;
|
|
227
|
+
|
|
228
|
+
--ndw-color-tertiary-400: hsl(var(--_tertiary-400));
|
|
229
|
+
--ndw-color-tertiary-500: hsl(var(--_tertiary-500));
|
|
230
|
+
|
|
231
|
+
// Alpha Primary
|
|
232
|
+
--ndw-alpha-primary-007: hsla(var(--_primary-500), var(--_alpha-007));
|
|
233
|
+
--ndw-alpha-primary-015: hsla(var(--_primary-500), var(--_alpha-015));
|
|
234
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..650;1,9..40,400..650&family=Material+Symbols+Rounded:opsz,wght@20..48,400&family=Nunito+Sans:ital,opsz,wght@0,6..12,400..650;1,6..12,400..650&family=Roboto+Flex:opsz,wght@8..144,100..1000&display=block');
|
|
2
|
+
|
|
3
|
+
/* Mixins */
|
|
4
|
+
@mixin ndw-heading-xl {
|
|
5
|
+
font-family: var(--ndw-font-family-heading);
|
|
6
|
+
font-size: 2.5rem;
|
|
7
|
+
font-weight: var(--ndw-font-weight-bold);
|
|
8
|
+
line-height: 150%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@mixin ndw-heading-lg {
|
|
12
|
+
font-family: var(--ndw-font-family-heading);
|
|
13
|
+
font-size: 2rem;
|
|
14
|
+
font-weight: var(--ndw-font-weight-bold);
|
|
15
|
+
line-height: 150%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin ndw-heading-md {
|
|
19
|
+
font-family: var(--ndw-font-family-heading);
|
|
20
|
+
font-size: 1.5rem;
|
|
21
|
+
font-weight: var(--ndw-font-weight-bold);
|
|
22
|
+
line-height: 150%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin ndw-heading-sm {
|
|
26
|
+
font-family: var(--ndw-font-family-heading);
|
|
27
|
+
font-size: 1.25rem;
|
|
28
|
+
font-weight: var(--ndw-font-weight-bold);
|
|
29
|
+
line-height: 150%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@mixin ndw-paragraph-bold-xl {
|
|
33
|
+
font-family: var(--ndw-font-family-body);
|
|
34
|
+
font-size: 1.125rem;
|
|
35
|
+
font-weight: var(--ndw-font-weight-bold);
|
|
36
|
+
line-height: 150%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@mixin ndw-paragraph-xl {
|
|
40
|
+
font-family: var(--ndw-font-family-body);
|
|
41
|
+
font-size: 1.125rem;
|
|
42
|
+
font-weight: var(--ndw-font-weight-regular);
|
|
43
|
+
line-height: 150%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@mixin ndw-paragraph-bold-lg {
|
|
47
|
+
font-family: var(--ndw-font-family-body);
|
|
48
|
+
font-size: 1rem;
|
|
49
|
+
font-weight: var(--ndw-font-weight-bold);
|
|
50
|
+
line-height: 150%;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@mixin ndw-paragraph-lg {
|
|
54
|
+
font-family: var(--ndw-font-family-body);
|
|
55
|
+
font-size: 1rem;
|
|
56
|
+
font-weight: var(--ndw-font-weight-regular);
|
|
57
|
+
line-height: 150%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@mixin ndw-paragraph-bold-md {
|
|
61
|
+
font-family: var(--ndw-font-family-body);
|
|
62
|
+
font-size: 0.8125rem;
|
|
63
|
+
font-weight: var(--ndw-font-weight-bold);
|
|
64
|
+
line-height: 150%;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@mixin ndw-paragraph-md {
|
|
68
|
+
font-family: var(--ndw-font-family-body);
|
|
69
|
+
font-size: 0.8125rem;
|
|
70
|
+
font-weight: var(--ndw-font-weight-regular);
|
|
71
|
+
line-height: 150%;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@mixin ndw-paragraph-bold-sm {
|
|
75
|
+
font-family: var(--ndw-font-family-body);
|
|
76
|
+
font-size: 0.6875rem;
|
|
77
|
+
font-weight: var(--ndw-font-weight-bold);
|
|
78
|
+
line-height: 150%;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@mixin ndw-paragraph-sm {
|
|
82
|
+
font-family: var(--ndw-font-family-body);
|
|
83
|
+
font-size: 0.6875rem;
|
|
84
|
+
font-weight: var(--ndw-font-weight-regular);
|
|
85
|
+
line-height: 150%;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* Classes */
|
|
89
|
+
.ndw-heading-xl {
|
|
90
|
+
@include ndw-heading-xl;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ndw-heading-lg {
|
|
94
|
+
@include ndw-heading-lg;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.ndw-heading-md {
|
|
98
|
+
@include ndw-heading-md;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.ndw-heading-sm {
|
|
102
|
+
@include ndw-heading-sm;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ndw-paragraph-bold-xl {
|
|
106
|
+
@include ndw-paragraph-bold-xl;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.ndw-paragraph-xl {
|
|
110
|
+
@include ndw-paragraph-xl;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.ndw-paragraph-bold-lg {
|
|
114
|
+
@include ndw-paragraph-bold-lg;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.ndw-paragraph-lg {
|
|
118
|
+
@include ndw-paragraph-lg;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ndw-paragraph-bold-md {
|
|
122
|
+
@include ndw-paragraph-bold-md;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.ndw-paragraph-md {
|
|
126
|
+
@include ndw-paragraph-md;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.ndw-paragraph-bold-sm {
|
|
130
|
+
@include ndw-paragraph-bold-sm;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.ndw-paragraph-sm {
|
|
134
|
+
@include ndw-paragraph-sm;
|
|
135
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Spacing */
|
|
3
|
+
--ndw-spacing-3xs: 0.125rem;
|
|
4
|
+
--ndw-spacing-2xs: 0.25rem;
|
|
5
|
+
--ndw-spacing-xs: 0.5rem;
|
|
6
|
+
--ndw-spacing-sm: 0.75rem;
|
|
7
|
+
--ndw-spacing-md: 1rem;
|
|
8
|
+
--ndw-spacing-lg: 1.5rem;
|
|
9
|
+
--ndw-spacing-xl: 2rem;
|
|
10
|
+
--ndw-spacing-2xl: 2.5rem;
|
|
11
|
+
--ndw-spacing-3xl: 3rem;
|
|
12
|
+
--ndw-spacing-4xl: 5rem;
|
|
13
|
+
--ndw-spacing-5xl: 8rem;
|
|
14
|
+
|
|
15
|
+
/* Border */
|
|
16
|
+
--ndw-border-size-sm: 1px;
|
|
17
|
+
--ndw-border-size-md: 2px;
|
|
18
|
+
--ndw-border-size-lg: 3px;
|
|
19
|
+
|
|
20
|
+
/* Radius */
|
|
21
|
+
--ndw-border-radius-xs: 0.125rem;
|
|
22
|
+
--ndw-border-radius-sm: 0.25rem;
|
|
23
|
+
--ndw-border-radius-md: 0.5rem;
|
|
24
|
+
--ndw-border-radius-lg: 1.5rem;
|
|
25
|
+
|
|
26
|
+
/* Elevation */
|
|
27
|
+
--ndw-elevation-info: 0 0 0.5rem 0 hsla(var(--_link-500), 0.25);
|
|
28
|
+
--ndw-elevation-content: 0 0.125rem 0.125rem 0 hsla(var(--_grey-600), 0.05);
|
|
29
|
+
--ndw-elevation-dropdown: 0 0.25rem 1rem hsla(var(--_grey-600), 0.125);
|
|
30
|
+
--ndw-elevation-popover: 0 0.5rem 1.25rem hsla(var(--_grey-600), 0.125);
|
|
31
|
+
--ndw-backdrop-color: var(--ndw-alpha-black-040);
|
|
32
|
+
|
|
33
|
+
/* Animation */
|
|
34
|
+
--ndw-animation-speed-very-fast: 100ms;
|
|
35
|
+
--ndw-animation-speed-fast: 200ms;
|
|
36
|
+
--ndw-animation-speed-default: 300ms;
|
|
37
|
+
--ndw-animation-speed-slow: 500ms;
|
|
38
|
+
|
|
39
|
+
/* Icon Size */
|
|
40
|
+
--ndw-icon-size-md: 1rem;
|
|
41
|
+
--ndw-icon-size-lg: 1.5rem;
|
|
42
|
+
|
|
43
|
+
/* Mult-select Size */
|
|
44
|
+
--multi-select-default-width: 18.75rem;
|
|
45
|
+
|
|
46
|
+
/* Typography */
|
|
47
|
+
// Font Family
|
|
48
|
+
--ndw-font-family-body: 'Nunito Sans', sans-serif;
|
|
49
|
+
--ndw-font-family-heading: 'DM Sans', sans-serif;
|
|
50
|
+
|
|
51
|
+
// Font Size
|
|
52
|
+
--ndw-base-font-size: 16px;
|
|
53
|
+
|
|
54
|
+
--ndw-font-size-2xs: 0.5625rem;
|
|
55
|
+
--ndw-font-size-xs: 0.6875rem;
|
|
56
|
+
--ndw-font-size-sm: 0.8125rem;
|
|
57
|
+
--ndw-font-size-md: 1.125rem;
|
|
58
|
+
--ndw-font-size-lg: 1.25rem;
|
|
59
|
+
--ndw-font-size-xl: 1.5rem;
|
|
60
|
+
|
|
61
|
+
// Font Weight
|
|
62
|
+
--ndw-font-weight-regular: 400;
|
|
63
|
+
--ndw-font-weight-bold: 650;
|
|
64
|
+
|
|
65
|
+
// Line Height
|
|
66
|
+
--ndw-line-height-sm: 1.375rem;
|
|
67
|
+
--ndw-line-height-md: 1.5rem;
|
|
68
|
+
|
|
69
|
+
/* Transform */
|
|
70
|
+
--ndw-rotate-half: rotate(180deg);
|
|
71
|
+
|
|
72
|
+
/* Modal */
|
|
73
|
+
--ndw-modal-width-sm: 31.25rem;
|
|
74
|
+
--ndw-modal-width-md: 45rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* Screen sizes */
|
|
78
|
+
$ndw-screen-sm: 1024px;
|
|
79
|
+
$ndw-screen-md: 1440px;
|