vrembem 4.0.0-next.43 → 4.0.0-next.44

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/base.scss ADDED
@@ -0,0 +1,2 @@
1
+ @forward "@vrembem/core/base";
2
+ @forward "@vrembem/content" as content-*;
@@ -1,5 +1,3 @@
1
- @forward "@vrembem/core" as core-*;
2
- @forward "@vrembem/base" as base-*;
3
1
  @forward "@vrembem/flex" as flex-*;
4
2
  @forward "@vrembem/grid" as grid-*;
5
3
  @forward "@vrembem/button" as button-*;
@@ -17,4 +15,3 @@
17
15
  @forward "@vrembem/popover" as popover-*;
18
16
  @forward "@vrembem/section" as section-*;
19
17
  @forward "@vrembem/table" as table-*;
20
- @forward "@vrembem/utility" as utility-*;
package/dev/base.css ADDED
@@ -0,0 +1,261 @@
1
+ @layer base {
2
+ *,
3
+ *::before,
4
+ *::after {
5
+ box-sizing: border-box;
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+ html,
10
+ :host {
11
+ font-family: var(--vb-font-family, system-ui, sans-serif);
12
+ line-height: var(--vb-line-height, 1.5);
13
+ text-size-adjust: none;
14
+ }
15
+ html {
16
+ height: 100%;
17
+ }
18
+ body {
19
+ min-height: 100vh;
20
+ color: var(--vb-base-foreground);
21
+ background: var(--vb-base-background);
22
+ }
23
+ img,
24
+ svg,
25
+ video,
26
+ canvas,
27
+ audio,
28
+ iframe,
29
+ embed,
30
+ object {
31
+ display: block;
32
+ }
33
+ img,
34
+ video,
35
+ picture {
36
+ max-width: 100%;
37
+ height: auto;
38
+ vertical-align: middle;
39
+ }
40
+ button,
41
+ input,
42
+ textarea,
43
+ select {
44
+ font: inherit;
45
+ color: inherit;
46
+ }
47
+ button {
48
+ cursor: pointer;
49
+ border: 0;
50
+ background: none;
51
+ }
52
+ textarea {
53
+ resize: vertical;
54
+ }
55
+ label:has(:disabled) {
56
+ pointer-events: none;
57
+ }
58
+ a {
59
+ color: inherit;
60
+ text-decoration: inherit;
61
+ }
62
+ h1,
63
+ h2,
64
+ h3,
65
+ h4,
66
+ h5,
67
+ h6 {
68
+ font-size: inherit;
69
+ color: var(--vb-foreground-strong);
70
+ }
71
+ b,
72
+ strong {
73
+ font-weight: bold;
74
+ }
75
+ small {
76
+ font-size: var(--vb-font-size-sm, 0.875rem);
77
+ }
78
+ code,
79
+ pre {
80
+ font-family: var(--vb-font-family-mono, ui-monospace, monospace);
81
+ font-size: 1em;
82
+ }
83
+ table {
84
+ border-collapse: collapse;
85
+ border-color: inherit;
86
+ }
87
+ }
88
+ @layer base {
89
+ .content {
90
+ font-family: var(--vb-content-font-family, inherit);
91
+ font-size: var(--vb-content-font-size, inherit);
92
+ line-height: var(--vb-content-line-height, inherit);
93
+ color: var(--vb-content-foreground, var(--vb-foreground));
94
+ }
95
+ .content > * + * {
96
+ margin-top: var(--vb-content-spacing);
97
+ }
98
+ .h1, .content > h1, .h2, .content > h2, .h3, .content > h3, .h4, .content > h4, .h5, .content > h5, .h6, .content > h6 {
99
+ font-family: var(--vb-headings-font-family, inherit);
100
+ font-size: var(--vb-headings-font-size, 1em);
101
+ font-weight: var(--vb-headings-font-weight, var(--vb-font-weight-semi-bold));
102
+ line-height: var(--vb-headings-line-height, inherit);
103
+ color: var(--vb-headings-foreground, var(--vb-foreground-strong));
104
+ }
105
+ .h1, .content > h1 {
106
+ --vb-headings-font-size: 2.75em;
107
+ }
108
+ .h2, .content > h2 {
109
+ --vb-headings-font-size: 2em;
110
+ }
111
+ .h3, .content > h3 {
112
+ --vb-headings-font-size: 1.75em;
113
+ }
114
+ .h4, .content > h4 {
115
+ --vb-headings-font-size: 1.5em;
116
+ }
117
+ .h5, .content > h5 {
118
+ --vb-headings-font-size: 1.25em;
119
+ }
120
+ .h6, .content > h6 {
121
+ --vb-headings-font-size: 1em;
122
+ }
123
+ .link, .content :not(div) > a {
124
+ color: var(--vb-link-foreground, var(--vb-foreground-accent));
125
+ text-decoration: var(--vb-link-decoration, underline);
126
+ text-decoration-thickness: var(--vb-link-decoration-thickness, 1px);
127
+ text-underline-offset: var(--vb-link-underline-offset, 2px);
128
+ }
129
+ .link code, .content :not(div) > a code {
130
+ color: var(--vb-link-foreground, var(--vb-foreground-accent));
131
+ background-color: var(--vb-background-alt);
132
+ }
133
+ .link:hover, .link:focus, .content :not(div) > a:hover, .content :not(div) > a:focus {
134
+ color: var(--vb-link-foreground-hover, light-dark(oklch(from var(--vb-foreground-accent) calc(l - 0.1) c h), oklch(from var(--vb-foreground-accent) calc(l + 0.1) c h)));
135
+ text-decoration: var(--vb-link-decoration-hover, none);
136
+ }
137
+ .link:hover code, .link:focus code, .content :not(div) > a:hover code, .content :not(div) > a:focus code {
138
+ color: var(--vb-link-foreground-hover, light-dark(oklch(from var(--vb-foreground-accent) calc(l - 0.1) c h), oklch(from var(--vb-foreground-accent) calc(l + 0.1) c h)));
139
+ }
140
+ .link:focus, .content :not(div) > a:focus {
141
+ outline: var(--vb-link-focus-ring, currentcolor dotted 1px);
142
+ outline-offset: var(--vb-link-focus-ring-offset, 0.125rem);
143
+ }
144
+ .list, .content > ul, .content > ol {
145
+ margin-left: var(--vb-list-indent, var(--vb-spacing-lg));
146
+ }
147
+ .list ul,
148
+ .list ol, .content > ul ul,
149
+ .content > ul ol, .content > ol ul,
150
+ .content > ol ol {
151
+ margin-left: var(--vb-list-indent, var(--vb-spacing-lg));
152
+ }
153
+ .list li li,
154
+ .list li + li, .content > ul li li,
155
+ .content > ul li + li, .content > ol li li,
156
+ .content > ol li + li {
157
+ margin-top: var(--vb-list-spacing, var(--vb-spacing-sm));
158
+ }
159
+ .list-style-none {
160
+ list-style: none !important;
161
+ }
162
+ .code, .content :not(pre) > code {
163
+ padding: var(--vb-code-padding, 0.125rem 0.375rem);
164
+ border: var(--vb-code-border);
165
+ border-radius: var(--vb-code-border-radius, var(--vb-border-radius));
166
+ font-family: var(--vb-font-family-mono);
167
+ font-size: var(--vb-code-font-size, var(--vb-font-size-sm));
168
+ color: var(--vb-code-foreground, var(--vb-foreground-accent-alt));
169
+ overflow-wrap: break-word;
170
+ background: var(--vb-code-background, var(--vb-background-alt));
171
+ }
172
+ .pre, .content > pre {
173
+ overflow: auto;
174
+ padding: var(--vb-pre-padding, var(--vb-spacing-md));
175
+ border: var(--vb-pre-border, none);
176
+ border-radius: var(--vb-pre-border-radius, var(--vb-border-radius));
177
+ font-family: var(--vb-font-family-mono);
178
+ color: var(--vb-pre-foreground, var(--vb-foreground-strong));
179
+ background: var(--vb-pre-background, var(--vb-background-alt));
180
+ }
181
+ .pre code, .content > pre code {
182
+ padding: 0;
183
+ border: none;
184
+ font-size: var(--vb-pre-font-size, var(--vb-font-size-sm));
185
+ color: inherit;
186
+ background: none;
187
+ }
188
+ .blockquote, .content > blockquote {
189
+ position: relative;
190
+ padding: var(--vb-blockquote-padding, var(--vb-spacing-md));
191
+ border: var(--vb-blockquote-border, var(--vb-border));
192
+ border-radius: var(--vb-blockquote-border-radius, var(--vb-border-radius));
193
+ color: var(--vb-blockquote-foreground, currentcolor);
194
+ background: var(--vb-blockquote-background, transparent);
195
+ }
196
+ .blockquote > * + *, .content > blockquote > * + * {
197
+ margin-top: var(--vb-blockquote-spacing, var(--vb-spacing-md));
198
+ }
199
+ .sep, .content > hr {
200
+ display: block;
201
+ height: 0;
202
+ border: none;
203
+ border-top: var(--vb-separator-border-width, var(--vb-border-width)) var(--vb-separator-border-style, var(--vb-border-style)) var(--vb-separator-border-color, var(--vb-border-color));
204
+ }
205
+ .arrow,
206
+ .arrow-up,
207
+ .arrow-down,
208
+ .arrow-left,
209
+ .arrow-right {
210
+ pointer-events: none;
211
+ transform-origin: center;
212
+ display: inline-block;
213
+ flex-grow: 0;
214
+ flex-shrink: 0;
215
+ width: 0;
216
+ height: 0;
217
+ border-color: var(--vb-arrow-color, currentcolor) transparent transparent;
218
+ border-style: solid;
219
+ border-width: var(--vb-arrow-size, 6px 4px);
220
+ border-bottom-width: 0;
221
+ border-radius: var(--vb-arrow-radius, 2px);
222
+ }
223
+ .arrow-up {
224
+ transform: rotate(180deg);
225
+ }
226
+ .arrow-left {
227
+ transform: rotate(90deg);
228
+ }
229
+ .arrow-right {
230
+ transform: rotate(-90deg);
231
+ }
232
+ .loading-spinner {
233
+ width: var(--vb-loading-size, 1em);
234
+ height: var(--vb-loading-size, 1em);
235
+ position: relative;
236
+ display: inline-block;
237
+ border: var(--vb-loading-border, 2px solid);
238
+ border-color: var(--vb-loading-color, currentcolor) var(--vb-loading-color, currentcolor) transparent transparent;
239
+ border-radius: var(--vb-border-radius-circle);
240
+ animation: spin var(--vb-loading-duration, 0.6s) infinite linear;
241
+ }
242
+ @keyframes spin {
243
+ from {
244
+ transform: rotate(0deg);
245
+ }
246
+ to {
247
+ transform: rotate(360deg);
248
+ }
249
+ }
250
+ .sr-only {
251
+ position: absolute;
252
+ overflow: hidden;
253
+ width: 1px;
254
+ height: 1px;
255
+ margin: -1px;
256
+ padding: 0;
257
+ clip-path: inset(50%);
258
+ }
259
+ }
260
+
261
+ /*# sourceMappingURL=base.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../../node_modules/@vrembem/core/base.scss","../../../node_modules/@vrembem/core/src/scss/library/_base.scss","../../../node_modules/@vrembem/content/index.scss","../../../node_modules/@vrembem/content/src/modules/_content.scss","../../../node_modules/@vrembem/content/src/modules/_headings.scss","../../../node_modules/@vrembem/core/src/scss/modules/_tokens.scss","../../../node_modules/@vrembem/content/src/modules/_link.scss","../../../node_modules/@vrembem/content/src/modules/_list.scss","../../../node_modules/@vrembem/content/src/modules/_code.scss","../../../node_modules/@vrembem/content/src/modules/_pre.scss","../../../node_modules/@vrembem/content/src/modules/_blockquote.scss","../../../node_modules/@vrembem/content/src/modules/_separator.scss","../../../node_modules/@vrembem/content/src/modules/_arrow.scss","../../../node_modules/@vrembem/core/src/scss/library/_arrow.scss","../../../node_modules/@vrembem/content/src/modules/_loading-spinner.scss","../../../node_modules/@vrembem/core/src/scss/library/_size.scss","../../../node_modules/@vrembem/core/src/scss/library/_loading-spinner.scss","../../../node_modules/@vrembem/content/src/modules/_sr-only.scss","../../../node_modules/@vrembem/core/src/scss/library/_sr-only.scss"],"names":[],"mappings":"AAEA;ECWE;AAAA;AAAA;IAGE;IACA;IACA;;EAQF;AAAA;IAEE;IACA;IACA;;EAIF;IACE;;EAKF;IACE;IACA;IACA;;EAKF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IAQE;;EAIF;AAAA;AAAA;IAGE;IACA;IACA;;EAIF;AAAA;AAAA;AAAA;IAIE;IACA;;EAIF;IACE;IACA;IACA;;EAIF;IACE;;EAIF;IACE;;EAIF;IACE;IACA;;EAIF;AAAA;AAAA;AAAA;AAAA;AAAA;IAME;IACA;;EAIF;AAAA;IAEE;;EAIF;IACE;;EAIF;AAAA;IAEE;IACA;;EAKF;IACE;IACA;;;ACjIJ;ECGE;IACE;IACA;IACA;IACA;;EAEA;IACE;;ECLJ;IACE;IACA;IACA;IACA;IACA;;EAYA;IC0JE;;ED1JF;IC0JE;;ED1JF;IC0JE;;ED1JF;IC0JE;;ED1JF;IC0JE;;ED1JF;IC0JE;;EC7KJ;IACE;IACA;IACA;IACA;;EAEA;IACE;IACA;;EAIF;IAEE;IAIA;;EAEA;IACE;;EAOJ;IACE;IACA;;EC/BJ;IACE;;EAEA;AAAA;AAAA;AAAA;IAEE;;EAGF;AAAA;AAAA;AAAA;IAEE;;EAIJ;IACE;;ECfF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;ECRF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;;ECdJ;IACE;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;;ECTJ;IACE;IACA;IACA;IACA;;ECNF;AAAA;AAAA;AAAA;AAAA;ICMA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EDTA;IACE;;EAGF;IACE;;EAGF;IACE;;EEjBF;ICUE,OCCY;IDAZ;ICOF,UFjBgC;IEkBhC;IACA;IACA;IACA;IACA;;EAME;IACE;MACE;;IAGF;MACE;;;ECnCN;ICFA;IACA;IACA;IACA;IACA;IACA;IACA","file":"base.css"}