@dnanpm/ui-components 0.6.0 → 0.8.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/dist/components/AccordionItem/AccordionItem.css +16 -16
- package/dist/components/AccordionItem/AccordionItem.module.css.cjs +11 -11
- package/dist/components/AccordionItem/AccordionItem.module.css.js +11 -11
- package/dist/components/Breadcrumb/Breadcrumb.css +9 -9
- package/dist/components/Breadcrumb/Breadcrumb.module.css.cjs +6 -6
- package/dist/components/Breadcrumb/Breadcrumb.module.css.js +6 -6
- package/dist/components/Button/Button.css +32 -30
- package/dist/components/Button/Button.module.css.cjs +11 -11
- package/dist/components/Button/Button.module.css.js +11 -11
- package/dist/components/ButtonCard/ButtonCard.cjs +105 -0
- package/dist/components/ButtonCard/ButtonCard.cjs.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.css +167 -0
- package/dist/components/ButtonCard/ButtonCard.d.ts +3 -0
- package/dist/components/ButtonCard/ButtonCard.d.ts.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.js +105 -0
- package/dist/components/ButtonCard/ButtonCard.js.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.cjs +18 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.cjs.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.js +19 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.js.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.types.d.ts +103 -0
- package/dist/components/ButtonCard/ButtonCard.types.d.ts.map +1 -0
- package/dist/components/ButtonCard/index.d.ts +3 -0
- package/dist/components/ButtonCard/index.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.cjs +101 -0
- package/dist/components/Drawer/Drawer.cjs.map +1 -0
- package/dist/components/Drawer/Drawer.css +219 -0
- package/dist/components/Drawer/Drawer.d.ts +3 -0
- package/dist/components/Drawer/Drawer.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.js +101 -0
- package/dist/components/Drawer/Drawer.js.map +1 -0
- package/dist/components/Drawer/Drawer.module.css.cjs +37 -0
- package/dist/components/Drawer/Drawer.module.css.cjs.map +1 -0
- package/dist/components/Drawer/Drawer.module.css.js +37 -0
- package/dist/components/Drawer/Drawer.module.css.js.map +1 -0
- package/dist/components/Drawer/Drawer.types.d.ts +63 -0
- package/dist/components/Drawer/Drawer.types.d.ts.map +1 -0
- package/dist/components/Drawer/index.d.ts +3 -0
- package/dist/components/Drawer/index.d.ts.map +1 -0
- package/dist/components/Footer/Footer.cjs +272 -0
- package/dist/components/Footer/Footer.cjs.map +1 -0
- package/dist/components/Footer/Footer.css +473 -0
- package/dist/components/Footer/Footer.d.ts +3 -0
- package/dist/components/Footer/Footer.d.ts.map +1 -0
- package/dist/components/Footer/Footer.js +272 -0
- package/dist/components/Footer/Footer.js.map +1 -0
- package/dist/components/Footer/Footer.module.css.cjs +80 -0
- package/dist/components/Footer/Footer.module.css.cjs.map +1 -0
- package/dist/components/Footer/Footer.module.css.js +80 -0
- package/dist/components/Footer/Footer.module.css.js.map +1 -0
- package/dist/components/Footer/Footer.types.d.ts +128 -0
- package/dist/components/Footer/Footer.types.d.ts.map +1 -0
- package/dist/components/Footer/Footer.utils.cjs +41 -0
- package/dist/components/Footer/Footer.utils.cjs.map +1 -0
- package/dist/components/Footer/Footer.utils.d.ts +13 -0
- package/dist/components/Footer/Footer.utils.d.ts.map +1 -0
- package/dist/components/Footer/Footer.utils.js +41 -0
- package/dist/components/Footer/Footer.utils.js.map +1 -0
- package/dist/components/Footer/assets/app-store-badge.svg.cjs +4 -0
- package/dist/components/Footer/assets/app-store-badge.svg.cjs.map +1 -0
- package/dist/components/Footer/assets/app-store-badge.svg.js +5 -0
- package/dist/components/Footer/assets/app-store-badge.svg.js.map +1 -0
- package/dist/components/Footer/assets/google-play-badge.svg.cjs +4 -0
- package/dist/components/Footer/assets/google-play-badge.svg.cjs.map +1 -0
- package/dist/components/Footer/assets/google-play-badge.svg.js +5 -0
- package/dist/components/Footer/assets/google-play-badge.svg.js.map +1 -0
- package/dist/components/Footer/index.d.ts +3 -0
- package/dist/components/Footer/index.d.ts.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.cjs +34 -0
- package/dist/components/FunctionButton/FunctionButton.cjs.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.css +125 -0
- package/dist/components/FunctionButton/FunctionButton.d.ts +3 -0
- package/dist/components/FunctionButton/FunctionButton.d.ts.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.js +34 -0
- package/dist/components/FunctionButton/FunctionButton.js.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.cjs +11 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.cjs.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.js +12 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.js.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.types.d.ts +21 -0
- package/dist/components/FunctionButton/FunctionButton.types.d.ts.map +1 -0
- package/dist/components/FunctionButton/index.d.ts +3 -0
- package/dist/components/FunctionButton/index.d.ts.map +1 -0
- package/dist/components/Hero/Hero.cjs +44 -30
- package/dist/components/Hero/Hero.cjs.map +1 -1
- package/dist/components/Hero/Hero.css +89 -100
- package/dist/components/Hero/Hero.d.ts +1 -1
- package/dist/components/Hero/Hero.d.ts.map +1 -1
- package/dist/components/Hero/Hero.js +45 -31
- package/dist/components/Hero/Hero.js.map +1 -1
- package/dist/components/Hero/Hero.module.css.cjs +17 -20
- package/dist/components/Hero/Hero.module.css.cjs.map +1 -1
- package/dist/components/Hero/Hero.module.css.js +17 -20
- package/dist/components/Hero/Hero.module.css.js.map +1 -1
- package/dist/components/Hero/Hero.types.d.ts +8 -3
- package/dist/components/Hero/Hero.types.d.ts.map +1 -1
- package/dist/components/Hero/Hero.utils.cjs +5 -8
- package/dist/components/Hero/Hero.utils.cjs.map +1 -1
- package/dist/components/Hero/Hero.utils.d.ts +2 -2
- package/dist/components/Hero/Hero.utils.d.ts.map +1 -1
- package/dist/components/Hero/Hero.utils.js +5 -8
- package/dist/components/Hero/Hero.utils.js.map +1 -1
- package/dist/components/IconButton/IconButton.css +31 -32
- package/dist/components/IconButton/IconButton.module.css.cjs +9 -9
- package/dist/components/IconButton/IconButton.module.css.js +9 -9
- package/dist/components/MainNavigation/MainNavigation.cjs +1094 -0
- package/dist/components/MainNavigation/MainNavigation.cjs.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.css +948 -0
- package/dist/components/MainNavigation/MainNavigation.d.ts +3 -0
- package/dist/components/MainNavigation/MainNavigation.d.ts.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.js +1094 -0
- package/dist/components/MainNavigation/MainNavigation.js.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.cjs +74 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.cjs.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.js +75 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.js.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.types.d.ts +149 -0
- package/dist/components/MainNavigation/MainNavigation.types.d.ts.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.utils.cjs +168 -0
- package/dist/components/MainNavigation/MainNavigation.utils.cjs.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.utils.d.ts +29 -0
- package/dist/components/MainNavigation/MainNavigation.utils.d.ts.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.utils.js +168 -0
- package/dist/components/MainNavigation/MainNavigation.utils.js.map +1 -0
- package/dist/components/MainNavigation/index.d.ts +3 -0
- package/dist/components/MainNavigation/index.d.ts.map +1 -0
- package/dist/components/Modal/Modal.cjs +101 -0
- package/dist/components/Modal/Modal.cjs.map +1 -0
- package/dist/components/Modal/Modal.css +205 -0
- package/dist/components/Modal/Modal.d.ts +3 -0
- package/dist/components/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Modal/Modal.js +101 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Modal/Modal.module.css.cjs +39 -0
- package/dist/components/Modal/Modal.module.css.cjs.map +1 -0
- package/dist/components/Modal/Modal.module.css.js +39 -0
- package/dist/components/Modal/Modal.module.css.js.map +1 -0
- package/dist/components/Modal/Modal.types.d.ts +62 -0
- package/dist/components/Modal/Modal.types.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +3 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/Modal/useDialogDismissal.cjs +41 -0
- package/dist/components/Modal/useDialogDismissal.cjs.map +1 -0
- package/dist/components/Modal/useDialogDismissal.d.ts +17 -0
- package/dist/components/Modal/useDialogDismissal.d.ts.map +1 -0
- package/dist/components/Modal/useDialogDismissal.js +41 -0
- package/dist/components/Modal/useDialogDismissal.js.map +1 -0
- package/dist/components/Modal/useNativeDialog.cjs +126 -0
- package/dist/components/Modal/useNativeDialog.cjs.map +1 -0
- package/dist/components/Modal/useNativeDialog.d.ts +14 -0
- package/dist/components/Modal/useNativeDialog.d.ts.map +1 -0
- package/dist/components/Modal/useNativeDialog.js +126 -0
- package/dist/components/Modal/useNativeDialog.js.map +1 -0
- package/dist/components/Pictograph/Pictograph.css +69 -57
- package/dist/components/Pictograph/Pictograph.module.css.cjs +11 -11
- package/dist/components/Pictograph/Pictograph.module.css.js +11 -11
- package/dist/components/Pictograph/Pictograph.types.d.ts +2 -2
- package/dist/components/Pictograph/PictographItem.cjs +15 -4
- package/dist/components/Pictograph/PictographItem.cjs.map +1 -1
- package/dist/components/Pictograph/PictographItem.css +26 -23
- package/dist/components/Pictograph/PictographItem.d.ts.map +1 -1
- package/dist/components/Pictograph/PictographItem.js +15 -4
- package/dist/components/Pictograph/PictographItem.js.map +1 -1
- package/dist/components/Pictograph/PictographItem.module.css.cjs +3 -3
- package/dist/components/Pictograph/PictographItem.module.css.js +3 -3
- package/dist/components/Quote/Quote.cjs +32 -0
- package/dist/components/Quote/Quote.cjs.map +1 -0
- package/dist/components/Quote/Quote.css +95 -0
- package/dist/components/Quote/Quote.d.ts +3 -0
- package/dist/components/Quote/Quote.d.ts.map +1 -0
- package/dist/components/Quote/Quote.js +32 -0
- package/dist/components/Quote/Quote.js.map +1 -0
- package/dist/components/Quote/Quote.module.css.cjs +22 -0
- package/dist/components/Quote/Quote.module.css.cjs.map +1 -0
- package/dist/components/Quote/Quote.module.css.js +22 -0
- package/dist/components/Quote/Quote.module.css.js.map +1 -0
- package/dist/components/Quote/Quote.types.d.ts +12 -0
- package/dist/components/Quote/Quote.types.d.ts.map +1 -0
- package/dist/components/Quote/index.d.ts +3 -0
- package/dist/components/Quote/index.d.ts.map +1 -0
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/styles/utils/elevation.module.css.cjs +3 -0
- package/dist/styles/utils/elevation.module.css.cjs.map +1 -1
- package/dist/styles/utils/elevation.module.css.js +4 -1
- package/dist/styles/utils/elevation.module.css.js.map +1 -1
- package/dist/styles/utils/focus.css +21 -13
- package/dist/styles/utils/focus.module.css.cjs +3 -3
- package/dist/styles/utils/focus.module.css.js +3 -3
- package/dist/styles/utils/overlay.css +37 -0
- package/dist/styles/utils/overlay.module.css.cjs +13 -0
- package/dist/styles/utils/overlay.module.css.cjs.map +1 -0
- package/dist/styles/utils/overlay.module.css.js +13 -0
- package/dist/styles/utils/overlay.module.css.js.map +1 -0
- package/dist/styles/utils/text-decoration.css +9 -1
- package/dist/styles/utils/text-decoration.module.css.cjs +5 -2
- package/dist/styles/utils/text-decoration.module.css.cjs.map +1 -1
- package/dist/styles/utils/text-decoration.module.css.js +6 -3
- package/dist/styles/utils/text-decoration.module.css.js.map +1 -1
- package/dist/styles.css +24 -7
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elevation.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"elevation.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import './elevation.css';
|
|
2
2
|
const elevationLow = "_elevationLow_dspr0_1";
|
|
3
|
+
const elevationMedium = "_elevationMedium_dspr0_8";
|
|
3
4
|
const elevationHigh = "_elevationHigh_dspr0_16";
|
|
4
5
|
const elevationStyles = {
|
|
5
6
|
elevationLow,
|
|
7
|
+
elevationMedium,
|
|
6
8
|
elevationHigh
|
|
7
9
|
};
|
|
8
10
|
export {
|
|
9
11
|
elevationStyles as default,
|
|
10
12
|
elevationHigh,
|
|
11
|
-
elevationLow
|
|
13
|
+
elevationLow,
|
|
14
|
+
elevationMedium
|
|
12
15
|
};
|
|
13
16
|
//# sourceMappingURL=elevation.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elevation.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"elevation.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
@layer dds-components {.
|
|
1
|
+
@layer dds-components {._focusable_bhneb_1 {
|
|
2
2
|
/* Marker class for shared focus treatment */
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.
|
|
5
|
+
._focusable_bhneb_1:where(:focus, :focus-visible) {
|
|
6
|
+
border-radius: var(--radius-semantic-sm);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
._focusable_bhneb_1:focus {
|
|
6
10
|
outline-color: transparent;
|
|
7
11
|
}
|
|
8
12
|
|
|
9
|
-
.
|
|
13
|
+
._focusable_bhneb_1:focus-visible {
|
|
10
14
|
/* Transparent outline ensures a visible ring fallback in forced colors. */
|
|
11
15
|
outline: 2px solid transparent;
|
|
12
16
|
outline-offset: 2px;
|
|
@@ -16,21 +20,25 @@
|
|
|
16
20
|
}
|
|
17
21
|
|
|
18
22
|
@media (forced-colors: active) {
|
|
19
|
-
.
|
|
23
|
+
._focusable_bhneb_1:focus-visible {
|
|
20
24
|
outline-color: Highlight;
|
|
21
25
|
box-shadow: none;
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
28
|
|
|
25
|
-
.
|
|
29
|
+
._focusableInset_bhneb_29 {
|
|
26
30
|
/* Marker class for inset focus treatment (ring stays inside the element boundary) */
|
|
27
31
|
}
|
|
28
32
|
|
|
29
|
-
.
|
|
33
|
+
._focusableInset_bhneb_29:where(:focus, :focus-visible) {
|
|
34
|
+
border-radius: var(--radius-semantic-sm);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
._focusableInset_bhneb_29:focus {
|
|
30
38
|
outline-color: transparent;
|
|
31
39
|
}
|
|
32
40
|
|
|
33
|
-
.
|
|
41
|
+
._focusableInset_bhneb_29:focus-visible {
|
|
34
42
|
outline: 2px solid transparent;
|
|
35
43
|
box-shadow:
|
|
36
44
|
inset 0 0 0 2px var(--color-semantic-utility-focus-strong),
|
|
@@ -38,34 +46,34 @@
|
|
|
38
46
|
}
|
|
39
47
|
|
|
40
48
|
@media (forced-colors: active) {
|
|
41
|
-
.
|
|
49
|
+
._focusableInset_bhneb_29:focus-visible {
|
|
42
50
|
outline-color: Highlight;
|
|
43
51
|
box-shadow: none;
|
|
44
52
|
}
|
|
45
53
|
}
|
|
46
54
|
|
|
47
55
|
@scope ([data-color-scheme='dark']) to ([data-color-scheme='light']) {
|
|
48
|
-
.
|
|
56
|
+
._focusable_bhneb_1:focus-visible {
|
|
49
57
|
box-shadow:
|
|
50
58
|
0 0 0 2px var(--color-semantic-utility-focus-strong),
|
|
51
59
|
0 0 0 4px var(--color-semantic-utility-focus-soft);
|
|
52
60
|
}
|
|
53
61
|
|
|
54
|
-
.
|
|
62
|
+
._focusableInset_bhneb_29:focus-visible {
|
|
55
63
|
box-shadow:
|
|
56
64
|
inset 0 0 0 2px var(--color-semantic-utility-focus-soft),
|
|
57
65
|
inset 0 0 0 4px var(--color-semantic-utility-focus-strong);
|
|
58
66
|
}
|
|
59
67
|
|
|
60
68
|
@media (forced-colors: active) {
|
|
61
|
-
.
|
|
62
|
-
.
|
|
69
|
+
._focusable_bhneb_1:focus-visible,
|
|
70
|
+
._focusableInset_bhneb_29:focus-visible {
|
|
63
71
|
box-shadow: none;
|
|
64
72
|
}
|
|
65
73
|
}
|
|
66
74
|
}
|
|
67
75
|
|
|
68
|
-
.
|
|
76
|
+
._focusClipGuard_bhneb_76 {
|
|
69
77
|
/*
|
|
70
78
|
* Prevents focus rings from being clipped when the container uses overflow: hidden.
|
|
71
79
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require('./focus.css');
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
|
-
const focusable = "
|
|
5
|
-
const focusableInset = "
|
|
6
|
-
const focusClipGuard = "
|
|
4
|
+
const focusable = "_focusable_bhneb_1";
|
|
5
|
+
const focusableInset = "_focusableInset_bhneb_29";
|
|
6
|
+
const focusClipGuard = "_focusClipGuard_bhneb_76";
|
|
7
7
|
const focusStyles = {
|
|
8
8
|
focusable,
|
|
9
9
|
focusableInset,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './focus.css';
|
|
2
|
-
const focusable = "
|
|
3
|
-
const focusableInset = "
|
|
4
|
-
const focusClipGuard = "
|
|
2
|
+
const focusable = "_focusable_bhneb_1";
|
|
3
|
+
const focusableInset = "_focusableInset_bhneb_29";
|
|
4
|
+
const focusClipGuard = "_focusClipGuard_bhneb_76";
|
|
5
5
|
const focusStyles = {
|
|
6
6
|
focusable,
|
|
7
7
|
focusableInset,
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@layer dds-components {._overlayStrong_1w2h3_1::before,
|
|
2
|
+
._overlaySoft_1w2h3_2::before {
|
|
3
|
+
content: '';
|
|
4
|
+
position: fixed;
|
|
5
|
+
inset: 0;
|
|
6
|
+
pointer-events: none;
|
|
7
|
+
z-index: 5;
|
|
8
|
+
opacity: 1;
|
|
9
|
+
transition: opacity 0.2s ease;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@starting-style {
|
|
13
|
+
._overlayStrong_1w2h3_1::before,
|
|
14
|
+
._overlaySoft_1w2h3_2::before {
|
|
15
|
+
opacity: 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
._overlayClosing_1w2h3_19::before {
|
|
20
|
+
opacity: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (prefers-reduced-motion: reduce) {
|
|
24
|
+
._overlayStrong_1w2h3_1::before,
|
|
25
|
+
._overlaySoft_1w2h3_2::before {
|
|
26
|
+
transition: none;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
._overlayStrong_1w2h3_1::before {
|
|
31
|
+
background: var(--color-semantic-utility-overlay-strong);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
._overlaySoft_1w2h3_2::before {
|
|
35
|
+
background: var(--color-semantic-utility-overlay-soft);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
require('./overlay.css');
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
|
+
const overlayStrong = "_overlayStrong_1w2h3_1";
|
|
5
|
+
const overlayClosing = "_overlayClosing_1w2h3_19";
|
|
6
|
+
const overlayStyles = {
|
|
7
|
+
overlayStrong,
|
|
8
|
+
overlayClosing
|
|
9
|
+
};
|
|
10
|
+
exports.default = overlayStyles;
|
|
11
|
+
exports.overlayClosing = overlayClosing;
|
|
12
|
+
exports.overlayStrong = overlayStrong;
|
|
13
|
+
//# sourceMappingURL=overlay.module.css.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import './overlay.css';
|
|
2
|
+
const overlayStrong = "_overlayStrong_1w2h3_1";
|
|
3
|
+
const overlayClosing = "_overlayClosing_1w2h3_19";
|
|
4
|
+
const overlayStyles = {
|
|
5
|
+
overlayStrong,
|
|
6
|
+
overlayClosing
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
overlayStyles as default,
|
|
10
|
+
overlayClosing,
|
|
11
|
+
overlayStrong
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=overlay.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
@layer dds-components {.
|
|
1
|
+
@layer dds-components {._underlineLink_15fbp_1 {
|
|
2
|
+
text-decoration: underline;
|
|
3
|
+
text-underline-offset: 0.2em;
|
|
4
|
+
text-decoration-skip-ink: auto;
|
|
5
|
+
text-decoration-thickness: from-font;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
._underlineLinkOnHover_15fbp_8:hover,
|
|
9
|
+
._underlineLinkOnHover_15fbp_8:focus-visible {
|
|
2
10
|
text-decoration: underline;
|
|
3
11
|
text-underline-offset: 0.2em;
|
|
4
12
|
text-decoration-skip-ink: auto;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
require('./text-decoration.css');
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
|
-
const underlineLink = "
|
|
4
|
+
const underlineLink = "_underlineLink_15fbp_1";
|
|
5
|
+
const underlineLinkOnHover = "_underlineLinkOnHover_15fbp_8";
|
|
5
6
|
const textDecorationStyles = {
|
|
6
|
-
underlineLink
|
|
7
|
+
underlineLink,
|
|
8
|
+
underlineLinkOnHover
|
|
7
9
|
};
|
|
8
10
|
exports.default = textDecorationStyles;
|
|
9
11
|
exports.underlineLink = underlineLink;
|
|
12
|
+
exports.underlineLinkOnHover = underlineLinkOnHover;
|
|
10
13
|
//# sourceMappingURL=text-decoration.module.css.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-decoration.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text-decoration.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import './text-decoration.css';
|
|
2
|
-
const underlineLink = "
|
|
2
|
+
const underlineLink = "_underlineLink_15fbp_1";
|
|
3
|
+
const underlineLinkOnHover = "_underlineLinkOnHover_15fbp_8";
|
|
3
4
|
const textDecorationStyles = {
|
|
4
|
-
underlineLink
|
|
5
|
+
underlineLink,
|
|
6
|
+
underlineLinkOnHover
|
|
5
7
|
};
|
|
6
8
|
export {
|
|
7
9
|
textDecorationStyles as default,
|
|
8
|
-
underlineLink
|
|
10
|
+
underlineLink,
|
|
11
|
+
underlineLinkOnHover
|
|
9
12
|
};
|
|
10
13
|
//# sourceMappingURL=text-decoration.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-decoration.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text-decoration.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/dist/styles.css
CHANGED
|
@@ -285,6 +285,16 @@ body {
|
|
|
285
285
|
padding: 0;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
|
+
body.dds-un-scrollable {
|
|
289
|
+
overflow: hidden;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
@media screen and (min-width: 1024px) {
|
|
293
|
+
body.dds-un-scrollable {
|
|
294
|
+
overflow: initial;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
288
298
|
img,
|
|
289
299
|
picture,
|
|
290
300
|
svg,
|
|
@@ -314,6 +324,11 @@ html {
|
|
|
314
324
|
font: var(--typography-body-md);
|
|
315
325
|
}
|
|
316
326
|
|
|
327
|
+
body {
|
|
328
|
+
background-color: var(--color-semantic-surface-neutral-soft);
|
|
329
|
+
color: var(--color-semantic-foreground-default);
|
|
330
|
+
}
|
|
331
|
+
|
|
317
332
|
h1,
|
|
318
333
|
h2,
|
|
319
334
|
h3,
|
|
@@ -452,14 +467,16 @@ ol {
|
|
|
452
467
|
/* ─── Dark color scheme ─── */
|
|
453
468
|
|
|
454
469
|
@scope ([data-color-scheme='dark']) to ([data-color-scheme='light']) {
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
470
|
+
:scope {
|
|
471
|
+
color: var(--color-semantic-foreground-inverse);
|
|
472
|
+
}
|
|
458
473
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
474
|
+
:where(a) {
|
|
475
|
+
color: var(--color-semantic-foreground-link-inverse);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
:where(a:hover) {
|
|
479
|
+
color: var(--color-semantic-foreground-link-inverse-hover);
|
|
463
480
|
}
|
|
464
481
|
}
|
|
465
482
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dnanpm/ui-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "DNA Design System - React UI Components",
|
|
5
5
|
"author": "DNA Oy",
|
|
6
6
|
"license": "ISC",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"build": "tsc --project tsconfig.build.json && vite build",
|
|
28
28
|
"dev": "vite build --watch",
|
|
29
29
|
"gen:component": "plop --plopfile ./scripts/template-generators/plopfile.mjs component",
|
|
30
|
+
"tokens:check-css-vars": "bash scripts/check-token-css-vars.sh",
|
|
30
31
|
"test": "vitest run --coverage",
|
|
31
32
|
"test:watch": "vitest",
|
|
32
33
|
"format": "prettier --write .",
|
|
@@ -85,8 +86,8 @@
|
|
|
85
86
|
},
|
|
86
87
|
"repository": {
|
|
87
88
|
"type": "git",
|
|
88
|
-
"url": "https://
|
|
89
|
+
"url": "https://dnae.ghe.com/dna/dna-design-system.git",
|
|
89
90
|
"directory": "packages/ui-components"
|
|
90
91
|
},
|
|
91
|
-
"homepage": "https://
|
|
92
|
+
"homepage": "https://dnae.ghe.com/dna/dna-design-system/tree/main/packages/ui-components#readme"
|
|
92
93
|
}
|