@brightspace-ui/core 3.271.4 → 3.272.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.271.4",
3
+ "version": "3.272.0",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",
@@ -1,200 +0,0 @@
1
- @use "../colors/colors.scss";
2
-
3
- @mixin d2l-typography {
4
-
5
- color: colors.$d2l-color-ferrite;
6
- display: block;
7
- font-family: "Lato", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
8
- font-size: 0.95rem;
9
- font-weight: 400;
10
- letter-spacing: 0.01rem;
11
- line-height: 1.4rem;
12
-
13
- p {
14
- margin: 1rem 0;
15
- }
16
-
17
- &:lang(ar),
18
- & :lang(ar) {
19
- font-family: "Segoe UI", "Geeza Pro", sans-serif;
20
- }
21
-
22
- &:lang(ja),
23
- & :lang(ja) {
24
- font-family: "Hiragino Kaku Gothic Pro", "Meiyro", sans-serif;
25
- }
26
-
27
- &:lang(ko),
28
- & :lang(ko) {
29
- font-family: "Apple SD Gothic Neo", Dotum, sans-serif;
30
- }
31
-
32
- &:lang(th),
33
- & :lang(th),
34
- &:lang(tha),
35
- & :lang(tha) {
36
- font-family: "Noto Sans Thai", system-ui, Tahoma;
37
- }
38
-
39
- &:lang(zh),
40
- & :lang(zh) {
41
- font-family: "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
42
- }
43
-
44
- }
45
-
46
- @mixin d2l-typography-font-face {
47
- @font-face {
48
- font-family: "Lato";
49
- font-style: normal;
50
- font-weight: 400;
51
- src:
52
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/Lato-400.woff2) format("woff2"),
53
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/Lato-400.woff) format("woff");
54
- }
55
- @font-face {
56
- font-family: "Lato";
57
- font-style: normal;
58
- font-weight: 700;
59
- src:
60
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/Lato-700.woff2) format("woff2"),
61
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/Lato-700.woff) format("woff");
62
- }
63
- @font-face {
64
- font-family: 'Noto Sans Thai';
65
- font-style: normal;
66
- font-weight: 400;
67
- src:
68
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/NotoSansThai-Regular.woff2) format('woff2'),
69
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/NotoSansThai-Regular.woff) format('woff');
70
- }
71
- @font-face {
72
- font-family: 'Noto Sans Thai';
73
- font-style: normal;
74
- font-weight: 700;
75
- src:
76
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/NotoSansThai-Bold.woff2) format('woff2'),
77
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/NotoSansThai-Bold.woff) format('woff');
78
- }
79
- @font-face {
80
- font-family: "BC Sans";
81
- font-style: normal;
82
- font-weight: 300;
83
- src:
84
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-Light.woff2) format("woff2"),
85
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-Light.woff) format("woff");
86
- }
87
- @font-face {
88
- font-family: "BC Sans";
89
- font-style: normal;
90
- font-weight: 400;
91
- src:
92
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-Regular.woff2) format("woff2"),
93
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-Regular.woff) format("woff");
94
- }
95
- @font-face {
96
- font-family: "BC Sans";
97
- font-style: normal;
98
- font-weight: 700;
99
- src:
100
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-Bold.woff2) format("woff2"),
101
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-Bold.woff) format("woff");
102
- }
103
- @font-face {
104
- font-family: "BC Sans";
105
- font-style: italic;
106
- font-weight: 300;
107
- src:
108
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-LightItalic.woff2) format("woff2"),
109
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-LightItalic.woff) format("woff");
110
- }
111
- @font-face {
112
- font-family: "BC Sans";
113
- font-style: italic;
114
- font-weight: 400;
115
- src:
116
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-Italic.woff2) format("woff2"),
117
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-Italic.woff) format("woff");
118
- }
119
- @font-face {
120
- font-family: "BC Sans";
121
- font-style: italic;
122
- font-weight: 700;
123
- src:
124
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-BoldItalic.woff2) format("woff2"),
125
- url(https://s.brightspace.com/lib/fonts/0.6.4/assets/BCSans-BoldItalic.woff) format("woff");
126
- }
127
- }
128
-
129
- @mixin d2l-body-standard {
130
- font-size: 0.95rem;
131
- font-weight: 400;
132
- line-height: 1.4rem;
133
- @media (max-width: 615px) {
134
- font-size: 0.8rem;
135
- line-height: 1.2rem;
136
- }
137
- }
138
-
139
- @mixin d2l-body-compact {
140
- font-size: 0.8rem;
141
- font-weight: 400;
142
- line-height: 1.2rem;
143
- }
144
-
145
- @mixin d2l-body-small {
146
- color: colors.$d2l-color-tungsten;
147
- font-size: 0.7rem;
148
- font-weight: 400;
149
- line-height: 0.9rem;
150
- margin: auto;
151
- }
152
-
153
- @mixin d2l-heading-1 {
154
- font-size: 2rem;
155
- font-weight: 400;
156
- line-height: 2.4rem;
157
- margin: 1.5rem 0 1.5rem 0;
158
- @media (max-width: 615px) {
159
- font-size: 1.5rem;
160
- line-height: 1.8rem;
161
- }
162
- }
163
-
164
- @mixin d2l-heading-2 {
165
- font-size: 1.5rem;
166
- font-weight: 400;
167
- line-height: 1.8rem;
168
- margin: 1.5rem 0 1.5rem 0;
169
- @media (max-width: 615px) {
170
- font-size: 1rem;
171
- font-weight: 700;
172
- line-height: 1.5rem;
173
- }
174
- }
175
-
176
- @mixin d2l-heading-3 {
177
- font-size: 1rem;
178
- font-weight: 700;
179
- line-height: 1.5rem;
180
- margin: 1.5rem 0 1.5rem 0;
181
- @media (max-width: 615px) {
182
- font-size: 0.8rem;
183
- font-weight: 700;
184
- line-height: 1.2rem;
185
- }
186
- }
187
-
188
- @mixin d2l-heading-4 {
189
- font-size: 0.8rem;
190
- font-weight: 700;
191
- line-height: 1.2rem;
192
- margin: 1.5rem 0 1.5rem 0;
193
- }
194
-
195
- @mixin d2l-label-text {
196
- font-size: 0.7rem;
197
- font-weight: 700;
198
- letter-spacing: 0.2px;
199
- line-height: 1rem;
200
- }