genesys-spark 4.65.0 → 4.65.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.
@@ -0,0 +1,167 @@
1
+ @use './typography.scss';
2
+
3
+ //Header
4
+
5
+ h1 {
6
+ @include typography.heading-xl;
7
+ }
8
+
9
+ h2 {
10
+ @include typography.heading-lg;
11
+ }
12
+
13
+ h3 {
14
+ @include typography.heading-md;
15
+ }
16
+
17
+ h4,
18
+ h5,
19
+ h6 {
20
+ @include typography.heading-sm;
21
+ }
22
+
23
+ .gux-heading-xl,
24
+ .gux-heading-xl-bold {
25
+ @include typography.heading-xl-bold;
26
+ }
27
+
28
+ .gux-heading-xl-semibold {
29
+ @include typography.heading-xl-semiBold;
30
+ }
31
+
32
+ .gux-heading-lg,
33
+ .gux-heading-lg-bold {
34
+ @include typography.heading-lg-bold;
35
+ }
36
+
37
+ .gux-heading-lg-semibold {
38
+ @include typography.heading-lg-semiBold;
39
+ }
40
+
41
+ .gux-heading-md,
42
+ .gux-heading-md-bold {
43
+ @include typography.heading-md-bold;
44
+ }
45
+
46
+ .gux-heading-md-semibold {
47
+ @include typography.heading-md-semiBold;
48
+ }
49
+
50
+ .gux-heading-sm,
51
+ .gux-heading-sm-bold {
52
+ @include typography.heading-sm-bold;
53
+ }
54
+
55
+ .gux-heading-sm-semibold {
56
+ @include typography.heading-sm-semiBold;
57
+ }
58
+
59
+ .gux-heading-xs,
60
+ .gux-heading-xs-bold {
61
+ @include typography.heading-xs-bold;
62
+ }
63
+
64
+ .gux-heading-xs-semibold {
65
+ @include typography.heading-xs-semiBold;
66
+ }
67
+
68
+ .gux-heading-subheading-regular {
69
+ @include typography.heading-subheading-regular;
70
+ }
71
+
72
+ .gux-heading-subheading,
73
+ .gux-heading-subheading-bold {
74
+ @include typography.heading-subheading-bold;
75
+ }
76
+
77
+ .gux-heading-subheading-semibold {
78
+ @include typography.heading-subheading-semiBold;
79
+ }
80
+
81
+ .gux-heading-overline {
82
+ @include typography.heading-overline;
83
+ }
84
+
85
+ // Body
86
+
87
+ body {
88
+ @include typography.body-sm-regular;
89
+ }
90
+
91
+ .gux-body-lg-regular {
92
+ @include typography.body-lg-regular;
93
+ }
94
+
95
+ .gux-body-lg-semibold {
96
+ @include typography.body-lg-semiBold;
97
+ }
98
+
99
+ .gux-body-lg-bold {
100
+ @include typography.body-lg-bold;
101
+ }
102
+
103
+ .gux-body-md-regular {
104
+ @include typography.body-md-regular;
105
+ }
106
+
107
+ .gux-body-md-semibold {
108
+ @include typography.body-md-semiBold;
109
+ }
110
+
111
+ .gux-body-md-bold {
112
+ @include typography.body-md-bold;
113
+ }
114
+
115
+ .gux-body-sm-regular {
116
+ @include typography.body-sm-regular;
117
+ }
118
+
119
+ .gux-body-sm-semibold {
120
+ @include typography.body-sm-semiBold;
121
+ }
122
+
123
+ .gux-body-sm-bold {
124
+ @include typography.body-sm-bold;
125
+ }
126
+
127
+ //Components
128
+
129
+ .gux-ui-button {
130
+ @include typography.ui-button;
131
+ }
132
+
133
+ .gux-ui-link {
134
+ @include typography.ui-link;
135
+ }
136
+
137
+ .gux-ui-label {
138
+ @include typography.ui-label;
139
+ }
140
+
141
+ .gux-ui-placeholder {
142
+ @include typography.ui-placeholder;
143
+ }
144
+
145
+ // Anchor
146
+
147
+ a {
148
+ @include typography.ui-anchor;
149
+ }
150
+
151
+ table a {
152
+ @include typography.ui-anchor-table;
153
+ }
154
+
155
+ .gux-ui-anchor {
156
+ @include typography.ui-anchor;
157
+ }
158
+
159
+ .gux-anchor-table {
160
+ @include typography.ui-anchor-table;
161
+ }
162
+
163
+ .gux-icon-anchor {
164
+ .gux-icon {
165
+ padding-right: var(--gse-ui-links-inLine-padding);
166
+ }
167
+ }
@@ -0,0 +1,4 @@
1
+ @use '../../../genesys-spark-tokens/dist/css/gse-core.css';
2
+ @use '../../../genesys-spark-tokens/dist/css/gse-semantic.css';
3
+ @use 'global-focusable.scss';
4
+ @use 'global-typography.scss';
@@ -0,0 +1,94 @@
1
+ /**
2
+ * A minimal reset stylesheet intended to reduce browser inconsistencies and set some smart default styles for common html elements.
3
+ * Taken from https://piccalil.li/blog/a-more-modern-css-reset/
4
+ */
5
+
6
+ /* Box sizing rules */
7
+ *,
8
+ *::before,
9
+ *::after {
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ /* Prevent font size inflation */
14
+ html {
15
+ -moz-text-size-adjust: none;
16
+ -webkit-text-size-adjust: none;
17
+ text-size-adjust: none;
18
+ }
19
+
20
+ /* Remove default margin in favour of better control in authored CSS */
21
+ body,
22
+ h1,
23
+ h2,
24
+ h3,
25
+ h4,
26
+ p,
27
+ figure,
28
+ blockquote,
29
+ dl,
30
+ dd {
31
+ margin-block-end: 0;
32
+ }
33
+
34
+ /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
35
+ ul[role='list'],
36
+ ol[role='list'] {
37
+ list-style: none;
38
+ }
39
+
40
+ /* Set core body defaults */
41
+ body {
42
+ min-height: 100vh;
43
+ line-height: 1.5;
44
+ }
45
+
46
+ /* Set shorter line heights on headings and interactive elements */
47
+ h1,
48
+ h2,
49
+ h3,
50
+ h4,
51
+ button,
52
+ input,
53
+ label {
54
+ line-height: 1.1;
55
+ }
56
+
57
+ /* Balance text wrapping on headings */
58
+ h1,
59
+ h2,
60
+ h3,
61
+ h4 {
62
+ text-wrap: balance;
63
+ }
64
+
65
+ /* A elements that don't have a class get default styles */
66
+ a:not([class]) {
67
+ text-decoration-skip-ink: auto;
68
+ color: currentcolor;
69
+ }
70
+
71
+ /* Make images easier to work with */
72
+ img,
73
+ picture {
74
+ display: block;
75
+ max-width: 100%;
76
+ }
77
+
78
+ /* Inherit fonts for inputs and buttons */
79
+ input,
80
+ button,
81
+ textarea,
82
+ select {
83
+ font: inherit;
84
+ }
85
+
86
+ /* Make sure textareas without a rows attribute are not tiny */
87
+ textarea:not([rows]) {
88
+ min-height: 10em;
89
+ }
90
+
91
+ /* Anything that has been anchored to should have extra scroll margin */
92
+ :target {
93
+ scroll-margin-block: 5ex;
94
+ }
@@ -0,0 +1,9 @@
1
+ @use '../../../genesys-spark-tokens/dist/css/gse-ui-actions.css';
2
+ @use '../../../genesys-spark-tokens/dist/css/gse-ui-dataDisplay.css';
3
+ @use '../../../genesys-spark-tokens/dist/css/gse-ui-feedback.css';
4
+ @use '../../../genesys-spark-tokens/dist/css/gse-ui-formControl.css';
5
+ @use '../../../genesys-spark-tokens/dist/css/gse-ui-formsAndInputs.css';
6
+ @use '../../../genesys-spark-tokens/dist/css/gse-ui-layoutContainer.css';
7
+ @use '../../../genesys-spark-tokens/dist/css/gse-ui-navigation.css';
8
+ @use '../../../genesys-spark-tokens/dist/css/gse-ui-searchAndFilter.css';
9
+ @use '../../../genesys-spark-tokens/dist/css/gse-ui.css';