@guildofgleks/ui 21.2.2 → 21.2.4
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/README.md +24 -12
- package/fesm2022/guildofgleks-ui.mjs +730 -112
- package/fesm2022/guildofgleks-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/src/styles/theme.css +978 -943
- package/src/styles/utilities.css +69 -33
- package/types/guildofgleks-ui.d.ts +356 -22
package/src/styles/utilities.css
CHANGED
|
@@ -1,33 +1,69 @@
|
|
|
1
|
-
.gog-inline-center {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.gog-flex-center {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/*
|
|
14
|
-
* Scopes reflow to this subtree. Never put it on an element that has to paint something
|
|
15
|
-
* outside its own box — `contain: layout` creates a stacking context, so a popup inside
|
|
16
|
-
* it can no longer stack above the rest of the page no matter its z-index. That rules it
|
|
17
|
-
* out for gog-select and gog-multiselect.
|
|
18
|
-
*/
|
|
19
|
-
.gog-contained-layout {
|
|
20
|
-
contain: layout style;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.gog-cursor-pointer {
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.gog-cursor-wait {
|
|
28
|
-
cursor: wait;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.gog-cursor-not-allowed {
|
|
32
|
-
cursor: not-allowed;
|
|
33
|
-
}
|
|
1
|
+
.gog-inline-center {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.gog-flex-center {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/*
|
|
14
|
+
* Scopes reflow to this subtree. Never put it on an element that has to paint something
|
|
15
|
+
* outside its own box — `contain: layout` creates a stacking context, so a popup inside
|
|
16
|
+
* it can no longer stack above the rest of the page no matter its z-index. That rules it
|
|
17
|
+
* out for gog-select and gog-multiselect.
|
|
18
|
+
*/
|
|
19
|
+
.gog-contained-layout {
|
|
20
|
+
contain: layout style;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.gog-cursor-pointer {
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.gog-cursor-wait {
|
|
28
|
+
cursor: wait;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.gog-cursor-not-allowed {
|
|
32
|
+
cursor: not-allowed;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/*
|
|
36
|
+
* `gog-collapsible`'s trigger/content classes, global rather than component-scoped: both
|
|
37
|
+
* are applied via `gogCollapsibleTrigger`/`gogCollapsibleContent` directives to elements a
|
|
38
|
+
* *consumer* projects into `<gog-collapsible>` — light DOM that belongs to the consumer's
|
|
39
|
+
* own view, not `gog-collapsible`'s, so a scoped stylesheet on the component itself would
|
|
40
|
+
* never reach it.
|
|
41
|
+
*/
|
|
42
|
+
.gog-collapsible__trigger {
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.gog-collapsible__trigger[aria-disabled='true'] {
|
|
47
|
+
cursor: not-allowed;
|
|
48
|
+
opacity: var(--gog-collapsible-disabled-opacity);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.gog-collapsible__content {
|
|
52
|
+
max-height: 0;
|
|
53
|
+
opacity: 0;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
transition:
|
|
56
|
+
max-height var(--gog-collapsible-transition-duration) var(--gog-easing),
|
|
57
|
+
opacity var(--gog-collapsible-transition-duration) var(--gog-easing);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.gog-collapsible__content--open {
|
|
61
|
+
max-height: var(--gog-collapsible-max-height);
|
|
62
|
+
opacity: 1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@media (prefers-reduced-motion: reduce) {
|
|
66
|
+
.gog-collapsible__content {
|
|
67
|
+
transition: none;
|
|
68
|
+
}
|
|
69
|
+
}
|