@kofile/gds-foundations 1.0.0-alpha.10 → 1.0.0-alpha.12
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/build/css/components/card.module.css +23 -0
- package/build/css/components/list-callout-group.module.css +3 -0
- package/build/css/components/list-callout.module.css +11 -0
- package/build/css/components/list-group.module.css +3 -0
- package/build/css/components/list-item.module.css +11 -0
- package/build/css/components/segmented-controller.module.css +139 -0
- package/build/css/themes/card/dark.css +6 -0
- package/build/css/themes/card/light.css +6 -0
- package/build/css/themes/global.css +23 -0
- package/build/css/themes/index.css +6 -0
- package/build/css/themes/list-item/dark.css +5 -0
- package/build/css/themes/list-item/light.css +5 -0
- package/build/css/themes/segmented-controller/dark.css +15 -0
- package/build/css/themes/segmented-controller/light.css +14 -0
- package/build/css/utilities/flex.css +1 -1
- package/build/css/utilities/height.css +53 -8
- package/build/css/utilities/index.css +22 -22
- package/build/css/utilities/max-height.css +8 -8
- package/build/css/utilities/position.css +191 -0
- package/build/css/utilities/width.css +86 -8
- package/package.json +25 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.card {
|
|
2
|
+
background-color: var(--card-light-color-background-primary-default);
|
|
3
|
+
border: var(--card-size-sm-border-width) solid
|
|
4
|
+
var(--card-light-color-border-primary-default);
|
|
5
|
+
border-radius: var(--card-size-sm-border-radius);
|
|
6
|
+
min-height: var(--card-size-sm-min-height);
|
|
7
|
+
padding: var(--card-size-sm-padding);
|
|
8
|
+
width: var(--card-size-sm-width);
|
|
9
|
+
}
|
|
10
|
+
.card[data-size="md"] {
|
|
11
|
+
padding: var(--card-size-sm-padding);
|
|
12
|
+
width: var(--card-size-md-width);
|
|
13
|
+
}
|
|
14
|
+
.card[data-size="lg"] {
|
|
15
|
+
padding: var(--card-size-sm-padding);
|
|
16
|
+
width: var(--card-size-lg-width);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.card[data-mode="dark"] {
|
|
20
|
+
background-color: var(--card-dark-color-background-primary-default);
|
|
21
|
+
border: var(--card-size-sm-border-width) solid
|
|
22
|
+
var(--card-dark-color-border-primary-default);
|
|
23
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
button,
|
|
2
|
+
fieldset,
|
|
3
|
+
input {
|
|
4
|
+
all: unset;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.root {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.list {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
display: flex;
|
|
15
|
+
column-gap: 1px;
|
|
16
|
+
border: var(--segmented-controller-elements-list-size-lg-border-width) solid
|
|
17
|
+
var(--segmented-controller-light-elements-list-color-border-primary-default);
|
|
18
|
+
border-radius: var(
|
|
19
|
+
--segmented-controller-elements-list-size-lg-border-radius
|
|
20
|
+
);
|
|
21
|
+
width: fit-content;
|
|
22
|
+
}
|
|
23
|
+
.trigger {
|
|
24
|
+
background-color: var(
|
|
25
|
+
--segmented-controller-light-elements-trigger-color-background-primary-default
|
|
26
|
+
);
|
|
27
|
+
padding-block: var(
|
|
28
|
+
--segmented-controller-elements-trigger-size-lg-padding-block
|
|
29
|
+
);
|
|
30
|
+
padding-inline: var(
|
|
31
|
+
--segmented-controller-elements-trigger-size-lg-padding-inline
|
|
32
|
+
);
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
font: var(--segmented-controller-elements-trigger-size-lg-typography);
|
|
38
|
+
color: var(--segmented-controller-trigger-color);
|
|
39
|
+
}
|
|
40
|
+
.trigger:hover {
|
|
41
|
+
color: var(
|
|
42
|
+
--segmented-controller-light-elements-trigger-color-text-primary-hover
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
.trigger:first-child {
|
|
46
|
+
border-top-left-radius: var(
|
|
47
|
+
--segmented-controller-elements-trigger-size-lg-border-radius
|
|
48
|
+
);
|
|
49
|
+
border-bottom-left-radius: var(
|
|
50
|
+
--segmented-controller-elements-trigger-size-lg-border-radius
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
.trigger:last-child {
|
|
54
|
+
border-top-right-radius: var(
|
|
55
|
+
--segmented-controller-elements-trigger-size-lg-border-radius
|
|
56
|
+
);
|
|
57
|
+
border-bottom-right-radius: var(
|
|
58
|
+
--segmented-controller-elements-trigger-size-lg-border-radius
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.trigger[data-state="active"] {
|
|
63
|
+
box-sizing: border-box;
|
|
64
|
+
background-color: var(
|
|
65
|
+
--segmented-controller-light-elements-trigger-color-background-primary-active
|
|
66
|
+
);
|
|
67
|
+
color: var(
|
|
68
|
+
--segmented-controller-light-elements-trigger-color-text-primary-active
|
|
69
|
+
);
|
|
70
|
+
/* border-color: var(
|
|
71
|
+
--segmented-controller-light-elements-trigger-color-border-primary-active
|
|
72
|
+
); */
|
|
73
|
+
|
|
74
|
+
border: 1px solid var(--color-primary-300);
|
|
75
|
+
border-radius: 6px;
|
|
76
|
+
|
|
77
|
+
margin: -1px;
|
|
78
|
+
}
|
|
79
|
+
.trigger[data-size="md"] {
|
|
80
|
+
font: var(--segmented-controller-elements-trigger-size-md-typography);
|
|
81
|
+
}
|
|
82
|
+
.list[data-mode="dark"] {
|
|
83
|
+
border: var(--segmented-controller-elements-list-size-lg-border-width) solid
|
|
84
|
+
var(--segmented-controller-dark-elements-list-color-border-primary-default);
|
|
85
|
+
background-color: var(
|
|
86
|
+
--segmented-controller-dark-elements-list-color-background-primary-default
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.trigger[data-mode="dark"] {
|
|
91
|
+
border-color: var(
|
|
92
|
+
--segmented-controller-dark-elements-trigger-color-border-primary-default
|
|
93
|
+
);
|
|
94
|
+
|
|
95
|
+
background-color: var(
|
|
96
|
+
--segmented-controller-dark-elements-trigger-color-background-primary-default
|
|
97
|
+
);
|
|
98
|
+
color: var(
|
|
99
|
+
--segmented-controller-dark-elements-trigger-color-text-primary-default
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
.trigger[data-mode="dark"]:hover {
|
|
103
|
+
color: var(
|
|
104
|
+
--segmented-controller-dark-elements-trigger-color-text-primary-hover
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
.trigger[data-mode="dark"][data-state="active"] {
|
|
108
|
+
color: var(
|
|
109
|
+
--segmented-controller-dark-elements-trigger-color-text-primary-active
|
|
110
|
+
);
|
|
111
|
+
background-color: var(
|
|
112
|
+
--segmented-controller-dark-elements-trigger-color-background-primary-active
|
|
113
|
+
);
|
|
114
|
+
border-color: var(
|
|
115
|
+
--segmented-controller-dark-elements-trigger-color-border-primary-active
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.content {
|
|
120
|
+
flex-shrink: 1;
|
|
121
|
+
border: var(--segmented-controller-elements-content-size-lg-border-width)
|
|
122
|
+
solid
|
|
123
|
+
var(
|
|
124
|
+
--segmented-controller-light-elements-content-color-border-primary-default
|
|
125
|
+
);
|
|
126
|
+
margin-top: var(
|
|
127
|
+
--segmented-controller-elements-content-size-lg-margin-block-start
|
|
128
|
+
);
|
|
129
|
+
padding: var(--segmented-controller-elements-content-size-lg-padding);
|
|
130
|
+
outline: none;
|
|
131
|
+
width: auto;
|
|
132
|
+
}
|
|
133
|
+
.content:focus {
|
|
134
|
+
border: var(--segmented-controller-elements-content-size-lg-border-width)
|
|
135
|
+
solid
|
|
136
|
+
var(
|
|
137
|
+
--segmented-controller-light-elements-content-color-border-primary-default
|
|
138
|
+
);
|
|
139
|
+
}
|
|
@@ -432,6 +432,16 @@
|
|
|
432
432
|
--input-elements-addon-size-xl-height: 3rem;
|
|
433
433
|
--input-elements-addon-size-xl-padding-inline: 1rem;
|
|
434
434
|
--input-disabled-opacity: 0.32;
|
|
435
|
+
--card-size-sm-border-radius: 0.5rem;
|
|
436
|
+
--card-size-sm-border-width: 0.063rem;
|
|
437
|
+
--card-size-sm-border-style: solid;
|
|
438
|
+
--card-size-sm-min-height: 16rem;
|
|
439
|
+
--card-size-sm-padding: 1rem;
|
|
440
|
+
--card-size-sm-width: 288px;
|
|
441
|
+
--card-size-md-padding: 1.5rem;
|
|
442
|
+
--card-size-md-width: 32rem;
|
|
443
|
+
--card-size-lg-padding: 3rem;
|
|
444
|
+
--card-size-lg-width: 64rem;
|
|
435
445
|
--field-message-size-sm-typography: 400 0.75rem/1rem 'Source Sans 3';
|
|
436
446
|
--field-message-size-md-margin-block-end: 0.375rem;
|
|
437
447
|
--field-message-size-md-typography: 400 0.813rem/1.25rem 'Source Sans 3';
|
|
@@ -475,6 +485,19 @@
|
|
|
475
485
|
--radio-group-tile-size-md-padding-block: 1rem;
|
|
476
486
|
--radio-group-tile-size-md-padding-inline: 1rem;
|
|
477
487
|
--radio-group-tile-size-md-width: auto;
|
|
488
|
+
--segmented-controller-elements-list-size-lg-border-radius: 0.375rem;
|
|
489
|
+
--segmented-controller-elements-list-size-lg-border-width: 0.063rem;
|
|
490
|
+
--segmented-controller-elements-trigger-size-md-padding-block: 0.125rem;
|
|
491
|
+
--segmented-controller-elements-trigger-size-md-padding-inline: 0.5rem;
|
|
492
|
+
--segmented-controller-elements-trigger-size-md-typography: 600 0.813rem/1.25rem 'Source Sans 3';
|
|
493
|
+
--segmented-controller-elements-trigger-size-lg-border-radius: 0.375rem;
|
|
494
|
+
--segmented-controller-elements-trigger-size-lg-border-width: 0.125rem;
|
|
495
|
+
--segmented-controller-elements-trigger-size-lg-padding-block: 0.375rem;
|
|
496
|
+
--segmented-controller-elements-trigger-size-lg-padding-inline: 0.75rem;
|
|
497
|
+
--segmented-controller-elements-trigger-size-lg-typography: 600 0.938rem/1.25rem 'Source Sans 3';
|
|
498
|
+
--segmented-controller-elements-content-size-lg-border-width: 0.063rem;
|
|
499
|
+
--segmented-controller-elements-content-size-lg-margin-block-start: 0.5rem;
|
|
500
|
+
--segmented-controller-elements-content-size-lg-padding: 1rem;
|
|
478
501
|
--select-elements-trigger-size-md-max-height: 1.5rem;
|
|
479
502
|
--select-elements-trigger-size-md-padding-block: 0.25rem;
|
|
480
503
|
--select-elements-trigger-size-md-padding-inline: 0.5rem;
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
@import "./badge";
|
|
3
3
|
@import "./button/light.css";
|
|
4
4
|
@import "./button/dark.css";
|
|
5
|
+
@import "./card/light.css";
|
|
6
|
+
@import "./card/dark.css";
|
|
5
7
|
@import "./checkbox/light.css";
|
|
6
8
|
@import "./checkbox/dark.css";
|
|
7
9
|
@import "./checkbox-tile/light.css";
|
|
@@ -16,10 +18,14 @@
|
|
|
16
18
|
@import "./label/dark.css";
|
|
17
19
|
@import "./link/light.css";
|
|
18
20
|
@import "./link/dark.css";
|
|
21
|
+
@import "./list-item/light.css";
|
|
22
|
+
@import "./list-item/dark.css";
|
|
19
23
|
@import "./radio-group/light.css";
|
|
20
24
|
@import "./radio-group/dark.css";
|
|
21
25
|
@import "./radio-group-tile/light.css";
|
|
22
26
|
@import "./radio-group-tile/dark.css";
|
|
27
|
+
@import "./segmented-controller/light.css";
|
|
28
|
+
@import "./segmented-controller/dark.css";
|
|
23
29
|
@import "./select/light.css";
|
|
24
30
|
@import "./select/dark.css";
|
|
25
31
|
@import "./switch/light.css";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
:root,
|
|
3
|
+
:host {
|
|
4
|
+
--segmented-controller-dark-elements-list-color-background-primary-default: #191b22;
|
|
5
|
+
--segmented-controller-dark-elements-list-color-border-primary-default: #343944;
|
|
6
|
+
--segmented-controller-dark-elements-trigger-color-background-primary-default: #121212;
|
|
7
|
+
--segmented-controller-dark-elements-trigger-color-background-primary-active: #03122f;
|
|
8
|
+
--segmented-controller-dark-elements-trigger-color-border-primary-default: transparent;
|
|
9
|
+
--segmented-controller-dark-elements-trigger-color-border-primary-active: #052b74;
|
|
10
|
+
--segmented-controller-dark-elements-trigger-color-text-primary-default: #ffffff;
|
|
11
|
+
--segmented-controller-dark-elements-trigger-color-text-primary-active: #66a8fd;
|
|
12
|
+
--segmented-controller-dark-elements-trigger-color-text-primary-hover: #abcffd;
|
|
13
|
+
--segmented-controller-dark-elements-content-color-background-primary-default: #ffffff;
|
|
14
|
+
--segmented-controller-dark-elements-content-color-border-primary-default: #d5d7db;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
:root,
|
|
3
|
+
:host {
|
|
4
|
+
--segmented-controller-light-elements-list-color-border-primary-default: #d5d7db;
|
|
5
|
+
--segmented-controller-light-elements-trigger-color-background-primary-default: #ffffff;
|
|
6
|
+
--segmented-controller-light-elements-trigger-color-background-primary-active: #f0f7ff;
|
|
7
|
+
--segmented-controller-light-elements-trigger-color-border-primary-default: transparent;
|
|
8
|
+
--segmented-controller-light-elements-trigger-color-border-primary-active: #abcffd;
|
|
9
|
+
--segmented-controller-light-elements-trigger-color-text-primary-default: #121212;
|
|
10
|
+
--segmented-controller-light-elements-trigger-color-text-primary-active: #0c57cd;
|
|
11
|
+
--segmented-controller-light-elements-trigger-color-text-primary-hover: #063b99;
|
|
12
|
+
--segmented-controller-light-elements-content-color-background-primary-default: #ffffff;
|
|
13
|
+
--segmented-controller-light-elements-content-color-border-primary-default: #d5d7db;
|
|
14
|
+
}
|
|
@@ -4,27 +4,27 @@
|
|
|
4
4
|
.h-px {
|
|
5
5
|
height: 1px !important;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
.h-0.5 {
|
|
8
8
|
height: var(--primitive-2) !important;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
10
|
.h-1 {
|
|
11
11
|
height: var(--primitive-4) !important;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
.h-1.5 {
|
|
14
14
|
height: var(--primitive-6) !important;
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
.h-2 {
|
|
17
17
|
height: var(--primitive-8) !important;
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
.h-2.5 {
|
|
20
20
|
height: var(--primitive-10) !important;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
22
|
.h-3 {
|
|
23
23
|
height: var(--primitive-12) !important;
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
.h-3.5 {
|
|
26
26
|
height: var(--primitive-14) !important;
|
|
27
|
-
}
|
|
27
|
+
}
|
|
28
28
|
.h-4 {
|
|
29
29
|
height: var(--primitive-16) !important;
|
|
30
30
|
}
|
|
@@ -106,6 +106,51 @@
|
|
|
106
106
|
.h-auto {
|
|
107
107
|
height: auto !important;
|
|
108
108
|
}
|
|
109
|
+
/* .h-1/2 {
|
|
110
|
+
height: 50% !important;
|
|
111
|
+
}
|
|
112
|
+
.h-1/3 {
|
|
113
|
+
height: 33.333333% !important;
|
|
114
|
+
}
|
|
115
|
+
.h-2/3 {
|
|
116
|
+
height: 66.666667% !important;
|
|
117
|
+
}
|
|
118
|
+
.h-1/4 {
|
|
119
|
+
height: 25% !important;
|
|
120
|
+
}
|
|
121
|
+
.h-2/4 {
|
|
122
|
+
height: 50% !important;
|
|
123
|
+
}
|
|
124
|
+
.h-3/4 {
|
|
125
|
+
height: 75% !important;
|
|
126
|
+
}
|
|
127
|
+
.h-1/5 {
|
|
128
|
+
height: 20% !important;
|
|
129
|
+
}
|
|
130
|
+
.h-2/5 {
|
|
131
|
+
height: 40% !important;
|
|
132
|
+
}
|
|
133
|
+
.h-3/5 {
|
|
134
|
+
height: 60% !important;
|
|
135
|
+
}
|
|
136
|
+
.h-4/5 {
|
|
137
|
+
height: 80% !important;
|
|
138
|
+
}
|
|
139
|
+
.h-1/6 {
|
|
140
|
+
height: 16.666667% !important;
|
|
141
|
+
}
|
|
142
|
+
.h-2/6 {
|
|
143
|
+
height: 33.333333% !important;
|
|
144
|
+
}
|
|
145
|
+
.h-3/6 {
|
|
146
|
+
height: 50% !important;
|
|
147
|
+
}
|
|
148
|
+
.h-4/6 {
|
|
149
|
+
height: 66.666667% !important;
|
|
150
|
+
}
|
|
151
|
+
.h-5/6 {
|
|
152
|
+
height: 83.333333% !important;
|
|
153
|
+
} */
|
|
109
154
|
.h-full {
|
|
110
155
|
height: 100% !important;
|
|
111
156
|
}
|
|
@@ -6,25 +6,25 @@
|
|
|
6
6
|
@import "./border-width.css";
|
|
7
7
|
@import "./cursor.css";
|
|
8
8
|
@import "./display.css";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
9
|
+
@import "./flex.css";
|
|
10
|
+
@import "./flex-shrink.css";
|
|
11
|
+
@import "./font.css";
|
|
12
|
+
@import "./gap.css";
|
|
13
|
+
@import "./grid-auto-columns.css";
|
|
14
|
+
@import "./grid-template-columns.css";
|
|
15
|
+
@import "./height.css";
|
|
16
|
+
@import "./margin.css";
|
|
17
|
+
@import "./max-height.css";
|
|
18
|
+
@import "./max-width.css";
|
|
19
|
+
@import "./min-height.css";
|
|
20
|
+
@import "./min-width.css";
|
|
21
|
+
@import "./object-fit.css";
|
|
22
|
+
@import "./object-position.css";
|
|
23
|
+
@import "./overflow.css";
|
|
24
|
+
@import "./position.css";
|
|
25
|
+
@import "./padding.css";
|
|
26
|
+
@import "./text-overflow.css";
|
|
27
|
+
@import "./text-transform.css";
|
|
28
|
+
@import "./vertical-align.css";
|
|
29
|
+
@import "./white-space.css";
|
|
30
|
+
@import "./width.css";
|
|
@@ -4,27 +4,27 @@
|
|
|
4
4
|
.max-h-px {
|
|
5
5
|
max-height: 1px !important;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
.max-h-0.5 {
|
|
8
8
|
max-height: var(--primitive-2) !important;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
10
|
.max-h-1 {
|
|
11
11
|
max-height: var(--primitive-4) !important;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
.max-h-1.5 {
|
|
14
14
|
max-height: var(--primitive-6) !important;
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
.max-h-2 {
|
|
17
17
|
max-height: var(--primitive-8) !important;
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
.max-h-2.5 {
|
|
20
20
|
max-height: var(--primitive-10) !important;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
22
|
.max-h-3 {
|
|
23
23
|
max-height: var(--primitive-12) !important;
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
.max-h-3.5 {
|
|
26
26
|
max-height: var(--primitive-14) !important;
|
|
27
|
-
}
|
|
27
|
+
}
|
|
28
28
|
.max-h-4 {
|
|
29
29
|
max-height: var(--primitive-16) !important;
|
|
30
30
|
}
|
|
@@ -1059,13 +1059,114 @@
|
|
|
1059
1059
|
.inset-auto {
|
|
1060
1060
|
inset: auto !important;
|
|
1061
1061
|
}
|
|
1062
|
+
/* .inset-1/2 {
|
|
1063
|
+
inset: 50% !important;
|
|
1064
|
+
}
|
|
1065
|
+
.inset-1/3 {
|
|
1066
|
+
inset: 33.333333% !important;
|
|
1067
|
+
}
|
|
1068
|
+
.inset-2/3 {
|
|
1069
|
+
inset: 66.666667% !important;
|
|
1070
|
+
}
|
|
1071
|
+
.inset-1/4 {
|
|
1072
|
+
inset: 25% !important;
|
|
1073
|
+
}
|
|
1074
|
+
.inset-2/4 {
|
|
1075
|
+
inset: 50% !important;
|
|
1076
|
+
}
|
|
1077
|
+
.inset-3/4 {
|
|
1078
|
+
inset: 75% !important;
|
|
1079
|
+
}
|
|
1080
|
+
.inset-full {
|
|
1081
|
+
inset: 100% !important;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.inset-x-auto {
|
|
1085
|
+
left: auto !important;
|
|
1086
|
+
right: auto !important;
|
|
1087
|
+
}
|
|
1088
|
+
.inset-x-1/2 {
|
|
1089
|
+
left: 50% !important;
|
|
1090
|
+
right: 50% !important;
|
|
1091
|
+
}
|
|
1092
|
+
.inset-x-1/3 {
|
|
1093
|
+
left: 33.333333% !important;
|
|
1094
|
+
right: 33.333333% !important;
|
|
1095
|
+
}
|
|
1096
|
+
.inset-x-2/3 {
|
|
1097
|
+
left: 66.666667% !important;
|
|
1098
|
+
right: 66.666667% !important;
|
|
1099
|
+
}
|
|
1100
|
+
.inset-x-1/4 {
|
|
1101
|
+
left: 25% !important;
|
|
1102
|
+
right: 25% !important;
|
|
1103
|
+
}
|
|
1104
|
+
.inset-x-2/4 {
|
|
1105
|
+
left: 50% !important;
|
|
1106
|
+
right: 50% !important;
|
|
1107
|
+
}
|
|
1108
|
+
.inset-x-3/4 {
|
|
1109
|
+
left: 75% !important;
|
|
1110
|
+
right: 75% !important;
|
|
1111
|
+
}
|
|
1112
|
+
.inset-x-full {
|
|
1113
|
+
left: 100% !important;
|
|
1114
|
+
right: 100% !important;
|
|
1115
|
+
}
|
|
1116
|
+
.inset-y-auto {
|
|
1117
|
+
top: auto !important;
|
|
1118
|
+
bottom: auto !important;
|
|
1119
|
+
}
|
|
1120
|
+
.inset-y-1/2 {
|
|
1121
|
+
top: 50% !important;
|
|
1122
|
+
bottom: 50% !important;
|
|
1123
|
+
}
|
|
1124
|
+
.inset-y-1/3 {
|
|
1125
|
+
top: 33.333333% !important;
|
|
1126
|
+
bottom: 33.333333% !important;
|
|
1127
|
+
}
|
|
1128
|
+
.inset-y-2/3 {
|
|
1129
|
+
top: 66.666667% !important;
|
|
1130
|
+
bottom: 66.666667% !important;
|
|
1131
|
+
}
|
|
1132
|
+
.inset-y-1/4 {
|
|
1133
|
+
top: 25% !important;
|
|
1134
|
+
bottom: 25% !important;
|
|
1135
|
+
}
|
|
1136
|
+
.inset-y-2/4 {
|
|
1137
|
+
top: 50% !important;
|
|
1138
|
+
bottom: 50% !important;
|
|
1139
|
+
}
|
|
1140
|
+
.inset-y-3/4 {
|
|
1141
|
+
top: 75% !important;
|
|
1142
|
+
bottom: 75% !important;
|
|
1143
|
+
} */
|
|
1062
1144
|
.inset-y-full {
|
|
1063
1145
|
top: 100% !important;
|
|
1064
1146
|
bottom: 100% !important;
|
|
1065
1147
|
}
|
|
1148
|
+
|
|
1066
1149
|
.start-auto {
|
|
1067
1150
|
inset-inline-start: auto !important;
|
|
1068
1151
|
}
|
|
1152
|
+
/* .start-1/2 {
|
|
1153
|
+
inset-inline-start: 50% !important;
|
|
1154
|
+
}
|
|
1155
|
+
.start-1/3 {
|
|
1156
|
+
inset-inline-start: 33.333333% !important;
|
|
1157
|
+
}
|
|
1158
|
+
.start-2/3 {
|
|
1159
|
+
inset-inline-start: 66.666667% !important;
|
|
1160
|
+
}
|
|
1161
|
+
.start-1/4 {
|
|
1162
|
+
inset-inline-start: 25% !important;
|
|
1163
|
+
}
|
|
1164
|
+
.start-2/4 {
|
|
1165
|
+
inset-inline-start: 50% !important;
|
|
1166
|
+
}
|
|
1167
|
+
.start-3/4 {
|
|
1168
|
+
inset-inline-start: 75% !important;
|
|
1169
|
+
} */
|
|
1069
1170
|
.start-full {
|
|
1070
1171
|
inset-inline-start: 100% !important;
|
|
1071
1172
|
}
|
|
@@ -1073,6 +1174,24 @@
|
|
|
1073
1174
|
.end-auto {
|
|
1074
1175
|
inset-inline-end: auto !important;
|
|
1075
1176
|
}
|
|
1177
|
+
/* .end-1/2 {
|
|
1178
|
+
inset-inline-end: 50% !important;
|
|
1179
|
+
}
|
|
1180
|
+
.end-1/3 {
|
|
1181
|
+
inset-inline-end: 33.333333% !important;
|
|
1182
|
+
}
|
|
1183
|
+
.end-2/3 {
|
|
1184
|
+
inset-inline-end: 66.666667% !important;
|
|
1185
|
+
}
|
|
1186
|
+
.end-1/4 {
|
|
1187
|
+
inset-inline-end: 25% !important;
|
|
1188
|
+
}
|
|
1189
|
+
.end-2/4 {
|
|
1190
|
+
inset-inline-end: 50% !important;
|
|
1191
|
+
}
|
|
1192
|
+
.end-3/4 {
|
|
1193
|
+
inset-inline-end: 75% !important;
|
|
1194
|
+
} */
|
|
1076
1195
|
.end-full {
|
|
1077
1196
|
inset-inline-end: 100% !important;
|
|
1078
1197
|
}
|
|
@@ -1080,6 +1199,24 @@
|
|
|
1080
1199
|
.top-auto {
|
|
1081
1200
|
top: auto !important;
|
|
1082
1201
|
}
|
|
1202
|
+
/* .top-1/2 {
|
|
1203
|
+
top: 50% !important;
|
|
1204
|
+
}
|
|
1205
|
+
.top-1/3 {
|
|
1206
|
+
top: 33.333333% !important;
|
|
1207
|
+
}
|
|
1208
|
+
.top-2/3 {
|
|
1209
|
+
top: 66.666667% !important;
|
|
1210
|
+
}
|
|
1211
|
+
.top-1/4 {
|
|
1212
|
+
top: 25% !important;
|
|
1213
|
+
}
|
|
1214
|
+
.top-2/4 {
|
|
1215
|
+
top: 50% !important;
|
|
1216
|
+
}
|
|
1217
|
+
.top-3/4 {
|
|
1218
|
+
top: 75% !important;
|
|
1219
|
+
} */
|
|
1083
1220
|
.top-full {
|
|
1084
1221
|
top: 100% !important;
|
|
1085
1222
|
}
|
|
@@ -1087,6 +1224,24 @@
|
|
|
1087
1224
|
.right-auto {
|
|
1088
1225
|
right: auto !important;
|
|
1089
1226
|
}
|
|
1227
|
+
/* .right-1/2 {
|
|
1228
|
+
right: 50% !important;
|
|
1229
|
+
}
|
|
1230
|
+
.right-1/3 {
|
|
1231
|
+
right: 33.333333% !important;
|
|
1232
|
+
}
|
|
1233
|
+
.right-2/3 {
|
|
1234
|
+
right: 66.666667% !important;
|
|
1235
|
+
}
|
|
1236
|
+
.right-1/4 {
|
|
1237
|
+
right: 25% !important;
|
|
1238
|
+
}
|
|
1239
|
+
.right-2/4 {
|
|
1240
|
+
right: 50% !important;
|
|
1241
|
+
}
|
|
1242
|
+
.right-3/4 {
|
|
1243
|
+
right: 75% !important;
|
|
1244
|
+
} */
|
|
1090
1245
|
.right-full {
|
|
1091
1246
|
right: 100% !important;
|
|
1092
1247
|
}
|
|
@@ -1094,6 +1249,24 @@
|
|
|
1094
1249
|
.bottom-auto {
|
|
1095
1250
|
bottom: auto !important;
|
|
1096
1251
|
}
|
|
1252
|
+
/* .bottom-1/2 {
|
|
1253
|
+
bottom: 50% !important;
|
|
1254
|
+
}
|
|
1255
|
+
.bottom-1/3 {
|
|
1256
|
+
bottom: 33.333333% !important;
|
|
1257
|
+
}
|
|
1258
|
+
.bottom-2/3 {
|
|
1259
|
+
bottom: 66.666667% !important;
|
|
1260
|
+
}
|
|
1261
|
+
.bottom-1/4 {
|
|
1262
|
+
bottom: 25% !important;
|
|
1263
|
+
}
|
|
1264
|
+
.bottom-2/4 {
|
|
1265
|
+
bottom: 50% !important;
|
|
1266
|
+
}
|
|
1267
|
+
.bottom-3/4 {
|
|
1268
|
+
bottom: 75% !important;
|
|
1269
|
+
} */
|
|
1097
1270
|
.bottom-full {
|
|
1098
1271
|
bottom: 100% !important;
|
|
1099
1272
|
}
|
|
@@ -1101,6 +1274,24 @@
|
|
|
1101
1274
|
.left-auto {
|
|
1102
1275
|
left: auto !important;
|
|
1103
1276
|
}
|
|
1277
|
+
/* .left-1/2 {
|
|
1278
|
+
left: 50% !important;
|
|
1279
|
+
}
|
|
1280
|
+
.left-1/3 {
|
|
1281
|
+
left: 33.333333% !important;
|
|
1282
|
+
}
|
|
1283
|
+
.left-2/3 {
|
|
1284
|
+
left: 66.666667% !important;
|
|
1285
|
+
}
|
|
1286
|
+
.left-1/4 {
|
|
1287
|
+
left: 25% !important;
|
|
1288
|
+
}
|
|
1289
|
+
.left-2/4 {
|
|
1290
|
+
left: 50% !important;
|
|
1291
|
+
}
|
|
1292
|
+
.left-3/4 {
|
|
1293
|
+
left: 75% !important;
|
|
1294
|
+
} */
|
|
1104
1295
|
.left-full {
|
|
1105
1296
|
left: 100% !important;
|
|
1106
1297
|
}
|
|
@@ -4,27 +4,27 @@
|
|
|
4
4
|
.w-px {
|
|
5
5
|
width: 1px !important;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
.w-0.5 {
|
|
8
8
|
width: var(--primitive-2) !important;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
10
|
.w-1 {
|
|
11
11
|
width: var(--primitive-4) !important;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
.w-1.5 {
|
|
14
14
|
width: var(--primitive-6) !important;
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
.w-2 {
|
|
17
17
|
width: var(--primitive-8) !important;
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
.w-2.5 {
|
|
20
20
|
width: var(--primitive-10) !important;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
22
|
.w-3 {
|
|
23
23
|
width: var(--primitive-12) !important;
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
.w-3.5 {
|
|
26
26
|
width: var(--primitive-14) !important;
|
|
27
|
-
}
|
|
27
|
+
}
|
|
28
28
|
.w-4 {
|
|
29
29
|
width: var(--primitive-16) !important;
|
|
30
30
|
}
|
|
@@ -106,6 +106,84 @@
|
|
|
106
106
|
.w-auto {
|
|
107
107
|
width: auto !important;
|
|
108
108
|
}
|
|
109
|
+
/* .w-1\/2 {
|
|
110
|
+
width: 50% !important;
|
|
111
|
+
}
|
|
112
|
+
.w-1\/3 {
|
|
113
|
+
width: 33.333333% !important;
|
|
114
|
+
}
|
|
115
|
+
.w-2\/3 {
|
|
116
|
+
width: 66.666667% !important;
|
|
117
|
+
}
|
|
118
|
+
.w-1\/4 {
|
|
119
|
+
width: 25% !important;
|
|
120
|
+
}
|
|
121
|
+
.w-2\/4 {
|
|
122
|
+
width: 50% !important;
|
|
123
|
+
}
|
|
124
|
+
.w-3\/4 {
|
|
125
|
+
width: 75% !important;
|
|
126
|
+
}
|
|
127
|
+
.w-1\/5 {
|
|
128
|
+
width: 20% !important;
|
|
129
|
+
}
|
|
130
|
+
.w-2\/5 {
|
|
131
|
+
width: 40% !important;
|
|
132
|
+
}
|
|
133
|
+
.w-3\/5 {
|
|
134
|
+
width: 60% !important;
|
|
135
|
+
}
|
|
136
|
+
.w-4\/5 {
|
|
137
|
+
width: 80% !important;
|
|
138
|
+
}
|
|
139
|
+
.w-1\/6 {
|
|
140
|
+
width: 16.666667% !important;
|
|
141
|
+
}
|
|
142
|
+
.w-2\/6 {
|
|
143
|
+
width: 33.333333% !important;
|
|
144
|
+
}
|
|
145
|
+
.w-3\/6 {
|
|
146
|
+
width: 50% !important;
|
|
147
|
+
}
|
|
148
|
+
.w-4\/6 {
|
|
149
|
+
width: 66.666667% !important;
|
|
150
|
+
}
|
|
151
|
+
.w-5\/6 {
|
|
152
|
+
width: 83.333333% !important;
|
|
153
|
+
}
|
|
154
|
+
.w-1\/12 {
|
|
155
|
+
width: 8.333333% !important;
|
|
156
|
+
}
|
|
157
|
+
.w-2\/12 {
|
|
158
|
+
width: 16.666667% !important;
|
|
159
|
+
}
|
|
160
|
+
.w-3\/12 {
|
|
161
|
+
width: 25% !important;
|
|
162
|
+
}
|
|
163
|
+
.w-4\/12 {
|
|
164
|
+
width: 33.333333% !important;
|
|
165
|
+
}
|
|
166
|
+
.w-5\/12 {
|
|
167
|
+
width: 41.666667% !important;
|
|
168
|
+
}
|
|
169
|
+
.w-6\/12 {
|
|
170
|
+
width: 50% !important;
|
|
171
|
+
}
|
|
172
|
+
.w-7\/12 {
|
|
173
|
+
width: 58.333333% !important;
|
|
174
|
+
}
|
|
175
|
+
.w-8\/12 {
|
|
176
|
+
width: 66.666667% !important;
|
|
177
|
+
}
|
|
178
|
+
.w-9\/12 {
|
|
179
|
+
width: 75% !important;
|
|
180
|
+
}
|
|
181
|
+
.w-10\/12 {
|
|
182
|
+
width: 83.333333% !important;
|
|
183
|
+
}
|
|
184
|
+
.w-11\/12 {
|
|
185
|
+
width: 91.666667% !important;
|
|
186
|
+
} */
|
|
109
187
|
.w-full {
|
|
110
188
|
width: 100% !important;
|
|
111
189
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kofile/gds-foundations",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "build/css/index.css",
|
|
6
6
|
"exports": {
|
|
@@ -60,6 +60,10 @@
|
|
|
60
60
|
"import": "./build/css/components/button.module.css",
|
|
61
61
|
"require": "./build/css/components/button.module.css"
|
|
62
62
|
},
|
|
63
|
+
"./components/card.module.css": {
|
|
64
|
+
"import": "./build/css/components/card.module.css",
|
|
65
|
+
"require": "./build/css/components/card.module.css"
|
|
66
|
+
},
|
|
63
67
|
"./components/checkbox.module.css": {
|
|
64
68
|
"import": "./build/css/components/checkbox.module.css",
|
|
65
69
|
"require": "./build/css/components/checkbox.module.css"
|
|
@@ -84,10 +88,30 @@
|
|
|
84
88
|
"import": "./build/css/components/link.module.css",
|
|
85
89
|
"require": "./build/css/components/link.module.css"
|
|
86
90
|
},
|
|
91
|
+
"./components/list-callout.module.css": {
|
|
92
|
+
"import": "./build/css/components/list-callout.module.css",
|
|
93
|
+
"require": "./build/css/components/list-callout.module.css"
|
|
94
|
+
},
|
|
95
|
+
"./components/list-callout-group.module.css": {
|
|
96
|
+
"import": "./build/css/components/list-callout-group.module.css",
|
|
97
|
+
"require": "./build/css/components/list-callout-group.module.css"
|
|
98
|
+
},
|
|
99
|
+
"./components/list-group.module.css": {
|
|
100
|
+
"import": "./build/css/components/list-group.module.css",
|
|
101
|
+
"require": "./build/css/components/list-group.module.css"
|
|
102
|
+
},
|
|
103
|
+
"./components/list-item.module.css": {
|
|
104
|
+
"import": "./build/css/components/list-item.module.css",
|
|
105
|
+
"require": "./build/css/components/list-item.module.css"
|
|
106
|
+
},
|
|
87
107
|
"./components/radio-group.module.css": {
|
|
88
108
|
"import": "./build/css/components/radio-group.module.css",
|
|
89
109
|
"require": "./build/css/components/radio-group.module.css"
|
|
90
110
|
},
|
|
111
|
+
"./components/segmented-controller.module.css": {
|
|
112
|
+
"import": "./build/css/components/segmented-controller.module.css",
|
|
113
|
+
"require": "./build/css/components/segmented-controller.module.css"
|
|
114
|
+
},
|
|
91
115
|
"./components/select.module.css": {
|
|
92
116
|
"import": "./build/css/components/select.module.css",
|
|
93
117
|
"require": "./build/css/components/select.module.css"
|