@ndwnu/design-system 11.0.1 → 11.0.2
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/fesm2022/ndwnu-design-system.mjs +4 -4
- package/fesm2022/ndwnu-design-system.mjs.map +1 -1
- package/lib/components/form-field/form-field.component.d.ts +2 -1
- package/lib/components/form-field/input/index.d.ts +0 -1
- package/lib/components/form-field/picker-button/picker-button.component.d.ts +2 -1
- package/package.json +1 -1
- package/styles/components/_list-item.scss +1 -13
- package/styles/utils/index.scss +1 -1
- package/lib/components/form-field/input/input.model.d.ts +0 -1
- package/styles/utils/_screenreader.scss +0 -18
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InputType } from '@ndwnu/core';
|
|
2
|
+
import { InputDirective } from './input';
|
|
2
3
|
import { MonthInputComponent } from './month-input';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class FormFieldComponent {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InputType } from '@ndwnu/core';
|
|
2
|
+
import { InputDirective } from '../input';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class PickerButtonComponent {
|
|
4
5
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
package/package.json
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
|
-
@use 'components/list-item' as *;
|
|
2
1
|
@use '../base/typography' as *;
|
|
3
2
|
|
|
4
|
-
[
|
|
3
|
+
[ndw-list-item] {
|
|
5
4
|
cursor: pointer;
|
|
6
5
|
|
|
7
6
|
@include ndw-paragraph-md;
|
|
8
|
-
--list-item-animation-speed: var(--ndw-animation-speed-fast);
|
|
9
|
-
--list-item-background-color: var(--ndw-color-white);
|
|
10
|
-
--list-item-border-radius: var(--ndw-border-radius-sm);
|
|
11
|
-
--list-item-color: var(--ndw-color-grey-700);
|
|
12
|
-
--list-item-disabled-background-color: var(--ndw-color-grey-100);
|
|
13
|
-
--list-item-disabled-color: var(--ndw-color-grey-400);
|
|
14
|
-
--list-item-font-size: initial;
|
|
15
|
-
--list-item-gap: var(--ndw-spacing-sm);
|
|
16
|
-
--list-item-hover-background-color: var(--ndw-color-grey-100);
|
|
17
|
-
--list-item-min-height: var(--ndw-spacing-2xl);
|
|
18
|
-
--list-item-padding: var(--ndw-spacing-xs) var(--ndw-spacing-sm);
|
|
19
7
|
}
|
package/styles/utils/index.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@forward 'screenreader';
|
|
1
|
+
@forward 'utils/screenreader';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type InputType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url';
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
}
|