@aurea-uds/core 0.62.0 → 0.62.1

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.
Files changed (2) hide show
  1. package/README.md +14 -15
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,38 +1,37 @@
1
1
  # @aurea-uds/core
2
2
 
3
- A folha de estilo da **Aurea UDS**, mais o pouco de comportamento em JavaScript puro que não
4
- precisa de React.
3
+ The **Aurea UDS** stylesheet, plus the little behaviour in plain JavaScript that does not need React.
5
4
 
6
5
  ```bash
7
6
  pnpm add @aurea-uds/core @aurea-uds/fonts
8
7
  ```
9
8
 
10
9
  ```js
11
- import "@aurea-uds/fonts/css"; // antes do core: ele não embute fonte nenhuma
10
+ import "@aurea-uds/fonts/css"; // before the core: it bundles no font
12
11
  import "@aurea-uds/core/css";
13
- import "@aurea-uds/core/js"; // opcional — abas, abrir e fechar e afins, sem React
12
+ import "@aurea-uds/core/js"; // optional — tabs, open and close, and the like, without React
14
13
  ```
15
14
 
16
- O JavaScript não faz nada sem DOM, então é seguro importá-lo durante a renderização no servidor.
15
+ The JavaScript does nothing without a DOM, so it is safe to import during server rendering.
17
16
 
18
- ## O que tem aqui
17
+ ## What is here
19
18
 
20
- Toda regra de que o sistema precisa, e nada além. Enfeite de documentação e maquete de produto já
21
- moraram aqui; saíram, e um check os mantém fora — uma classe desta folha tem de ser uma que
22
- algum componente de fato produz.
19
+ Every rule the system needs, and nothing else. Documentation decoration and product mock-ups used to
20
+ live here; they were moved out, and a check keeps them out — a class in this stylesheet must be one that
21
+ some component actually produces.
23
22
 
24
- Os valores vêm do `@aurea-uds/tokens`. Um pixel cru de espaço, raio, tamanho de letra, peso ou
25
- altura de linha reprova no CI, e não numa revisão.
23
+ The values come from `@aurea-uds/tokens`. A raw pixel of spacing, radius, font size, weight or line
24
+ height fails in CI, not in a review.
26
25
 
27
- ## Tema e densidade
26
+ ## Theme and density
28
27
 
29
28
  ```html
30
29
  <html data-theme="dark" data-density="comfortable">
31
30
  ```
32
31
 
33
- `data-theme` é `dark` ou `light`; `data-density` é `compact`, `comfortable` ou `spacious`. Os dois
34
- são lidos do elemento raiz, e um controle de um dado tamanho mede o mesmo em toda combinação.
32
+ `data-theme` is `dark` or `light`; `data-density` is `compact`, `comfortable` or `spacious`. Both are
33
+ read from the root element, and a control of a given size measures the same in every combination.
35
34
 
36
- ## Licença
35
+ ## License
37
36
 
38
37
  Apache-2.0.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurea-uds/core",
3
- "version": "0.62.0",
3
+ "version": "0.62.1",
4
4
  "description": "O CSS da Aurea UDS e o comportamento em JavaScript puro. Importe @aurea-uds/fonts/css antes deste.",
5
5
  "keywords": [
6
6
  "aurea",