@govbr-ds/tokens 4.0.0-next.30 → 4.0.0-next.31
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/LICENSE +21 -0
- package/README.md +35 -44
- package/dist/css/components/breadcrumbs/tokens.css +5 -2
- package/dist/css/components/chatInput/tokens.css +67 -0
- package/dist/css/components/footer/tokens.css +6 -6
- package/dist/css/tokens.css +7 -0
- package/dist/js/components/breadcrumbs/tokens.js +5 -4
- package/dist/js/components/chatInput/tokens.js +68 -0
- package/dist/js/components/footer/tokens.js +6 -6
- package/dist/js/tokens.js +11 -4
- package/dist/json/components/breadcrumbs/tokens.json +165 -60
- package/dist/json/components/chatInput/tokens.json +1892 -0
- package/dist/json/components/footer/tokens.json +62 -64
- package/dist/json/tokens.json +263 -4
- package/dist/scss/components/breadcrumbs/tokens.scss +5 -2
- package/dist/scss/components/chatInput/tokens.scss +64 -0
- package/dist/scss/components/footer/tokens.scss +6 -6
- package/dist/scss/tokens.scss +15 -1
- package/dist/tokens-studio/tokens.json +351 -24
- package/package.json +11 -9
- package/src/temp/style-dictionary/core/component.json +330 -24
- package/src/temp/style-dictionary/core/foundation.json +21 -0
- package/src/temp/tokens-studio/core/component.json +330 -24
- package/src/temp/tokens-studio/core/global.json +21 -0
- package/src/tokens.json +352 -25
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 SERPRO
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,43 +1,46 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @govbr-ds/tokens
|
|
2
2
|
|
|
3
|
-
Este pacote organiza os [Design Tokens](https://next-ds.estaleiro.serpro.gov.br/fundamentos/design-token) do Padrão Digital de Governo.
|
|
3
|
+
Este pacote organiza os [Design Tokens](https://next-ds.estaleiro.serpro.gov.br/fundamentos/design-token) do Padrão Digital de Governo e os transforma nos formatos CSS, Sass, JavaScript, JSON e Tokens Studio.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Instalação
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
```bash
|
|
8
|
+
npm install @govbr-ds/tokens
|
|
9
|
+
```
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
2. [Style Dictionary Transforms for Tokens Studio](https://github.com/tokens-studio/sd-transforms)
|
|
11
|
+
## Uso
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
Exemplo de importação dos tokens JavaScript:
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
```js
|
|
16
|
+
import { brColorPure0 } from '@govbr-ds/tokens/dist/js/tokens.js';
|
|
17
|
+
```
|
|
15
18
|
|
|
16
|
-
|
|
19
|
+
Exemplo de uso dos tokens Sass:
|
|
17
20
|
|
|
18
|
-
```
|
|
19
|
-
|
|
21
|
+
```scss
|
|
22
|
+
@use '@govbr-ds/tokens/dist/scss/tokens.scss';
|
|
20
23
|
```
|
|
21
24
|
|
|
22
|
-
|
|
25
|
+
Os arquivos CSS, JSON e do Tokens Studio podem ser consumidos diretamente a partir de seus respectivos diretórios em `dist`.
|
|
23
26
|
|
|
24
|
-
|
|
27
|
+
## Desenvolvimento
|
|
28
|
+
|
|
29
|
+
No monorepo, gere os arquivos com:
|
|
25
30
|
|
|
26
31
|
```bash
|
|
27
|
-
|
|
32
|
+
pnpm --filter @govbr-ds/tokens build
|
|
28
33
|
```
|
|
29
34
|
|
|
30
35
|
## Formatos disponíveis
|
|
31
36
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
4. JSON - Arquivo JSON estruturado
|
|
38
|
-
5. Tokens Studio (JSON) - *Tokens* para o plugin Tokens Studio do Figma
|
|
37
|
+
- CSS: custom properties;
|
|
38
|
+
- Sass: variáveis e mapas;
|
|
39
|
+
- JavaScript: módulos ESM;
|
|
40
|
+
- JSON: tokens estruturados;
|
|
41
|
+
- Tokens Studio: arquivo compatível com o plugin do Figma.
|
|
39
42
|
|
|
40
|
-
## Estrutura de arquivos
|
|
43
|
+
## Estrutura de arquivos
|
|
41
44
|
|
|
42
45
|
```text
|
|
43
46
|
dist/
|
|
@@ -46,39 +49,27 @@ dist/
|
|
|
46
49
|
│ ├── contrast-mode.css
|
|
47
50
|
│ ├── components/
|
|
48
51
|
│ └── theme/
|
|
49
|
-
│ ├── dark/
|
|
50
|
-
│ │ ├── tokens.css
|
|
51
|
-
│ │ └── prefers-color-scheme.css
|
|
52
|
-
│ └── light/
|
|
53
|
-
│ ├── tokens.css
|
|
54
|
-
│ └── prefers-color-scheme.css
|
|
55
52
|
├── scss/
|
|
56
53
|
├── js/
|
|
57
54
|
├── json/
|
|
58
55
|
└── tokens-studio/
|
|
59
56
|
```
|
|
60
57
|
|
|
61
|
-
##
|
|
62
|
-
|
|
63
|
-
### [Guia para *build* dos *tokens*](./guia-build.md)
|
|
58
|
+
## Documentação
|
|
64
59
|
|
|
65
|
-
-
|
|
66
|
-
-
|
|
60
|
+
- [Guia da build](guia-build.md);
|
|
61
|
+
- [Guia para aplicações web](guia-web.md).
|
|
67
62
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
- Como aplicar os *tokens* em aplicações web a partir do pacote Core.
|
|
71
|
-
- Ativação de tema e Modo Contraste.
|
|
72
|
-
|
|
73
|
-
## Precisa de ajuda?
|
|
63
|
+
## Tecnologias
|
|
74
64
|
|
|
75
|
-
|
|
65
|
+
- [Style Dictionary](https://github.com/amzn/style-dictionary);
|
|
66
|
+
- [Style Dictionary Transforms for Tokens Studio](https://github.com/tokens-studio/sd-transforms).
|
|
76
67
|
|
|
77
|
-
|
|
68
|
+
## Suporte
|
|
78
69
|
|
|
79
|
-
- Site do Padrão Digital de Governo <https://
|
|
80
|
-
-
|
|
70
|
+
- Site do Padrão Digital de Governo: <https://gov.br/ds>;
|
|
71
|
+
- Discord: <https://discord.gg/NkaVZERAT7>.
|
|
81
72
|
|
|
82
73
|
## Licença
|
|
83
74
|
|
|
84
|
-
Este projeto
|
|
75
|
+
Este projeto é distribuído sob a licença MIT.
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
--br-breadcrumbs-density-compact: var(--br-spacing-adjust-1, 4px);
|
|
9
9
|
--br-breadcrumbs-density-regular: var(--br-spacing-layout-1, 8px);
|
|
10
10
|
--br-breadcrumbs-density-spacious: var(--br-spacing-adjust-2, 12px);
|
|
11
|
+
--br-breadcrumbs-rounder-default: var(--br-surface-rounder-sm, 4px);
|
|
12
|
+
--br-breadcrumbs-icon-name-home: var(--br-iconography-icon-name-navigation-home, home);
|
|
13
|
+
--br-breadcrumbs-icon-name-more: var(--br-iconography-icon-name-navigation-more, ellipsis-h);
|
|
11
14
|
--br-breadcrumbs-font-style-default: var(--br-typography-font-weight-regular, 400) var(--br-typography-font-size-down-1, 0.8889rem)/var(--br-typography-line-height-md, 1.5) var(--br-typography-font-family-primary, 'Noto Sans');
|
|
12
15
|
--br-breadcrumbs-color-foreground-main-default: var(--br-state-interactive-color-main, #0040b4);
|
|
13
16
|
--br-breadcrumbs-color-foreground-contrast-default: var(--br-state-interactive-color-contrast, #adcdff);
|
|
@@ -26,8 +29,8 @@
|
|
|
26
29
|
--br-breadcrumbs-focus-duration-in: var(--br-state-focus-duration-in, 200ms);
|
|
27
30
|
--br-breadcrumbs-focus-duration-out: var(--br-state-focus-duration-out, 100ms);
|
|
28
31
|
--br-breadcrumbs-shadow-style-default: var(--br-elevation-shadow-style-level2, 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2));
|
|
29
|
-
--br-breadcrumbs-hover-color-
|
|
30
|
-
--br-breadcrumbs-hover-color-
|
|
32
|
+
--br-breadcrumbs-hover-color-main: var(--br-state-hover-color-interactive-fg-main, rgba(212, 229, 255, 0.5));
|
|
33
|
+
--br-breadcrumbs-hover-color-contrast: var(--br-state-hover-color-interactive-fg-contrast, rgba(12, 50, 111, 0.6));
|
|
31
34
|
--br-breadcrumbs-pressed-shadow-style: var(--br-state-pressed-shadow-style, inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5));
|
|
32
35
|
--br-breadcrumbs-focus-border-style-main: var(--br-state-focus-border-style-main-high, 4px dashed #da680b);
|
|
33
36
|
--br-breadcrumbs-focus-border-style-contrast: var(--br-state-focus-border-style-contrast-high, 4px dashed #ff8c00);
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--br-chat-input-height-default: 66px;
|
|
7
|
+
--br-chat-input-height-maximun-max-height: 288px;
|
|
8
|
+
--br-chat-input-width-default: 88px;
|
|
9
|
+
--br-chat-input-density-compact: var(--br-spacing-layout-1, 8px);
|
|
10
|
+
--br-chat-input-density-regular: var(--br-spacing-adjust-2, 12px);
|
|
11
|
+
--br-chat-input-density-spacious: var(--br-spacing-layout-2, 16px);
|
|
12
|
+
--br-chat-input-icon-name-send: var(--br-iconography-icon-name-action-send, share);
|
|
13
|
+
--br-chat-input-icon-name-confirm: var(--br-iconography-icon-name-action-confirm, check);
|
|
14
|
+
--br-chat-input-icon-name-delete: var(--br-iconography-icon-name-action-delete, trash-alt);
|
|
15
|
+
--br-chat-input-icon-name-add: var(--br-iconography-icon-name-action-add, plus);
|
|
16
|
+
--br-chat-input-icon-name-voice: var(--br-iconography-icon-name-action-voice, microphone);
|
|
17
|
+
--br-chat-input-icon-name-play: var(--br-iconography-icon-name-action-play, play);
|
|
18
|
+
--br-chat-input-icon-name-stop: var(--br-iconography-icon-name-action-stop, stop);
|
|
19
|
+
--br-chat-input-icon-name-pause: var(--br-iconography-icon-name-action-pause, pause);
|
|
20
|
+
--br-chat-input-icon-name-forward: var(--br-iconography-icon-name-action-forward, forward);
|
|
21
|
+
--br-chat-input-icon-name-backward: var(--br-iconography-icon-name-action-backward, backward);
|
|
22
|
+
--br-chat-input-padding-sm: var(--br-spacing-layout-1, 8px);
|
|
23
|
+
--br-chat-input-padding-lg: var(--br-spacing-layout-2, 16px);
|
|
24
|
+
--br-chat-input-font-style-help-text: var(--br-typography-font-weight-regular, 400) var(--br-typography-font-size-down-2, 0.7901rem)/var(--br-text-density-regular, 1.5) var(--br-typography-font-family-primary, 'Noto Sans');
|
|
25
|
+
--br-chat-input-color-background-main-primary: var(--br-color-background-main-primary, #fcfcfc);
|
|
26
|
+
--br-chat-input-color-background-main-secondary: var(--br-color-background-main-secondary, #f0f0f0);
|
|
27
|
+
--br-chat-input-color-background-contrast-primary: var(--br-color-background-contrast-primary, #252f3e);
|
|
28
|
+
--br-chat-input-color-background-contrast-secondary: var(--br-color-background-contrast-secondary, #2f4668);
|
|
29
|
+
--br-chat-input-color-foreground-main-primary: var(--br-color-foreground-main-primary, #1b1b1b);
|
|
30
|
+
--br-chat-input-color-foreground-main-secondary: var(--br-color-foreground-main-secondary, #636363);
|
|
31
|
+
--br-chat-input-color-foreground-contrast-primary: var(--br-color-foreground-contrast-primary, #fcfcfc);
|
|
32
|
+
--br-chat-input-color-foreground-contrast-secondary: var(--br-color-foreground-contrast-secondary, #cccccc);
|
|
33
|
+
--br-chat-input-rounder-default: var(--br-form-rounder-primary, 4px);
|
|
34
|
+
--br-chat-input-gap-default: var(--br-form-gap-default, 8px);
|
|
35
|
+
--br-chat-input-font-style-placeholder: var(--br-typography-font-style-placeholder, italic 400 1rem/1.5 'Noto Sans');
|
|
36
|
+
--br-chat-input-font-style-entry: var(--br-typography-font-style-input, 500 1rem/1.5 'Noto Sans');
|
|
37
|
+
--br-chat-input-hover-easing-in: var(--br-state-hover-easing-in-default, cubic-bezier(0.42, 0, 1, 1));
|
|
38
|
+
--br-chat-input-hover-easing-out: var(--br-state-hover-easing-out, cubic-bezier(0.42, 0, 1, 1));
|
|
39
|
+
--br-chat-input-hover-duration-in: var(--br-state-hover-duration-in-default, 200ms);
|
|
40
|
+
--br-chat-input-hover-duration-out: var(--br-state-hover-duration-out, 100ms);
|
|
41
|
+
--br-chat-input-pressed-easing-in: var(--br-state-pressed-easing-in, cubic-bezier(0.42, 0, 0.58, 1));
|
|
42
|
+
--br-chat-input-pressed-easing-out: var(--br-state-pressed-easing-out, cubic-bezier(0, 0, 0.58, 1));
|
|
43
|
+
--br-chat-input-pressed-duration-in: var(--br-state-pressed-duration-in, 100ms);
|
|
44
|
+
--br-chat-input-pressed-duration-out: var(--br-state-pressed-duration-out, 50ms);
|
|
45
|
+
--br-chat-input-dropzone-active-opacity-main: var(--br-state-dropzone-active-opacity, 0.3);
|
|
46
|
+
--br-chat-input-focus-padding: var(--br-state-focus-padding, 4px);
|
|
47
|
+
--br-chat-input-focus-easing-in: var(--br-state-focus-easing-in, cubic-bezier(0.7, 3.3, 0.3, 0));
|
|
48
|
+
--br-chat-input-focus-easing-out: var(--br-state-focus-easing-out, cubic-bezier(0, 0, 0.58, 1));
|
|
49
|
+
--br-chat-input-focus-duration-in: var(--br-state-focus-duration-in, 200ms);
|
|
50
|
+
--br-chat-input-focus-duration-out: var(--br-state-focus-duration-out, 100ms);
|
|
51
|
+
--br-chat-input-disabled-color-main: var(--br-state-disabled-color-main, #4a4a4a);
|
|
52
|
+
--br-chat-input-disabled-color-contrast: var(--br-state-disabled-color-contrast, #cccccc);
|
|
53
|
+
--br-chat-input-disabled-opacity: var(--br-state-disabled-opacity, 0.3);
|
|
54
|
+
--br-chat-input-shadow-style-default: var(--br-elevation-shadow-style-level2, 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2));
|
|
55
|
+
--br-chat-input-hover-color-main: var(--br-state-hover-color-interactive-fg-main, rgba(212, 229, 255, 0.5));
|
|
56
|
+
--br-chat-input-hover-color-contrast: var(--br-state-hover-color-interactive-fg-contrast, rgba(12, 50, 111, 0.6));
|
|
57
|
+
--br-chat-input-pressed-shadow-style: var(--br-state-pressed-shadow-style, inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5));
|
|
58
|
+
--br-chat-input-dropzone-active-color-main: var(--br-state-dropzone-active-color-main, #0040b4);
|
|
59
|
+
--br-chat-input-dropzone-active-color-contrast: var(--br-state-dropzone-active-color-contrast, #adcdff);
|
|
60
|
+
--br-chat-input-focus-border-style-low-main: var(--br-state-focus-border-style-main-low, 2px solid #da680b);
|
|
61
|
+
--br-chat-input-focus-border-style-low-contrast: var(--br-state-focus-border-style-contrast-low, 2px solid #ff8c00);
|
|
62
|
+
--br-chat-input-focus-border-style-high-main: var(--br-state-focus-border-style-main-high, 4px dashed #da680b);
|
|
63
|
+
--br-chat-input-focus-border-style-high-contrast: var(--br-state-focus-border-style-contrast-high, 4px dashed #ff8c00);
|
|
64
|
+
--br-chat-input-border-style-default: var(--br-form-border-style-default, 1px solid #cccccc);
|
|
65
|
+
--br-chat-input-dropzone-border-style-main: var(--br-state-dropzone-border-style-main, 1px dashed #0040b4);
|
|
66
|
+
--br-chat-input-dropzone-border-style-contrast: var(--br-state-dropzone-border-style-contrast, 1px dashed #adcdff);
|
|
67
|
+
}
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
--br-footer-icon-name-collapse-close: var(--br-iconography-icon-name-navigation-collapse-down, chevron-down);
|
|
15
15
|
--br-footer-icon-name-externallink: var(--br-iconography-icon-name-navigation-externallink, external-link-alt);
|
|
16
16
|
--br-footer-font-style-identification: var(--br-typography-font-weight-medium, 500) var(--br-typography-font-size-down-1, 0.8889rem)/var(--br-typography-line-height-md, 1.5) var(--br-typography-font-family-primary, 'Noto Sans');
|
|
17
|
-
--br-footer-density-compact
|
|
18
|
-
--br-footer-density-
|
|
19
|
-
--br-footer-density-
|
|
20
|
-
--br-footer-density-
|
|
21
|
-
--br-footer-density-
|
|
22
|
-
--br-footer-density-spacious
|
|
17
|
+
--br-footer-density-default-compact: var(--br-spacing-layout-1, 8px);
|
|
18
|
+
--br-footer-density-default-regular: var(--br-spacing-layout-3, 24px);
|
|
19
|
+
--br-footer-density-default-spacious: var(--br-spacing-layout-4, 32px);
|
|
20
|
+
--br-footer-density-support-compact: var(--br-spacing-adjust-1, 4px);
|
|
21
|
+
--br-footer-density-support-regular: var(--br-spacing-layout-2, 16px);
|
|
22
|
+
--br-footer-density-support-spacious: var(--br-spacing-layout-3, 24px);
|
|
23
23
|
--br-footer-color-background-main-primary: var(--br-color-background-main-primary, #fcfcfc);
|
|
24
24
|
--br-footer-color-background-main-secondary: var(--br-color-background-main-secondary, #f0f0f0);
|
|
25
25
|
--br-footer-color-background-contrast-primary: var(--br-color-background-contrast-primary, #252f3e);
|
package/dist/css/tokens.css
CHANGED
|
@@ -553,6 +553,12 @@
|
|
|
553
553
|
--br-iconography-icon-name-action-subtract: minus;
|
|
554
554
|
--br-iconography-icon-name-action-upload: upload;
|
|
555
555
|
--br-iconography-icon-name-action-view: eye;
|
|
556
|
+
--br-iconography-icon-name-action-voice: microphone;
|
|
557
|
+
--br-iconography-icon-name-action-play: play;
|
|
558
|
+
--br-iconography-icon-name-action-pause: pause;
|
|
559
|
+
--br-iconography-icon-name-action-stop: stop;
|
|
560
|
+
--br-iconography-icon-name-action-forward: forward;
|
|
561
|
+
--br-iconography-icon-name-action-backward: backward;
|
|
556
562
|
--br-iconography-icon-name-navigation-next: arrow-right;
|
|
557
563
|
--br-iconography-icon-name-navigation-collapse-down: chevron-down;
|
|
558
564
|
--br-iconography-icon-name-navigation-collapse-up: chevron-up;
|
|
@@ -569,6 +575,7 @@
|
|
|
569
575
|
--br-iconography-icon-name-navigation-home: home;
|
|
570
576
|
--br-iconography-icon-name-navigation-menu: bars;
|
|
571
577
|
--br-iconography-icon-name-navigation-options: ellipsis-v;
|
|
578
|
+
--br-iconography-icon-name-navigation-more: ellipsis-h;
|
|
572
579
|
--br-iconography-icon-name-navigation-user: user;
|
|
573
580
|
--br-iconography-icon-name-navigation-signin: sign-in-alt;
|
|
574
581
|
--br-iconography-icon-name-navigation-back: arrow-left;
|
|
@@ -10,13 +10,14 @@ export const brBreadcrumbsPaddingDefault = "4px";
|
|
|
10
10
|
export const brBreadcrumbsDensityCompact = "4px";
|
|
11
11
|
export const brBreadcrumbsDensityRegular = "8px";
|
|
12
12
|
export const brBreadcrumbsDensitySpacious = "12px";
|
|
13
|
+
export const brBreadcrumbsRounderDefault = "4px";
|
|
14
|
+
export const brBreadcrumbsIconNameHome = "home";
|
|
15
|
+
export const brBreadcrumbsIconNameMore = "ellipsis-h";
|
|
13
16
|
export const brBreadcrumbsFontStyleDefault = "400 0.8889rem/1.5 'Noto Sans'";
|
|
14
17
|
export const brBreadcrumbsShadowStyleDefault =
|
|
15
18
|
"0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2)";
|
|
16
|
-
export const
|
|
17
|
-
|
|
18
|
-
export const brBreadcrumbsHoverColorInteractiveFgContrast =
|
|
19
|
-
"rgba(12, 50, 111, 0.6)";
|
|
19
|
+
export const brBreadcrumbsHoverColorMain = "rgba(212, 229, 255, 0.5)";
|
|
20
|
+
export const brBreadcrumbsHoverColorContrast = "rgba(12, 50, 111, 0.6)";
|
|
20
21
|
export const brBreadcrumbsHoverEasingIn = "cubic-bezier(0.42, 0, 1, 1)";
|
|
21
22
|
export const brBreadcrumbsHoverEasingOut = "cubic-bezier(0.42, 0, 1, 1)";
|
|
22
23
|
export const brBreadcrumbsHoverDurationIn = "200ms";
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export const brChatInputColorBackgroundMainPrimary = "#fcfcfc";
|
|
6
|
+
export const brChatInputColorBackgroundMainSecondary = "#f0f0f0";
|
|
7
|
+
export const brChatInputColorBackgroundContrastPrimary = "#252f3e";
|
|
8
|
+
export const brChatInputColorBackgroundContrastSecondary = "#2f4668";
|
|
9
|
+
export const brChatInputColorForegroundMainPrimary = "#1b1b1b";
|
|
10
|
+
export const brChatInputColorForegroundMainSecondary = "#636363";
|
|
11
|
+
export const brChatInputColorForegroundContrastPrimary = "#fcfcfc";
|
|
12
|
+
export const brChatInputColorForegroundContrastSecondary = "#cccccc";
|
|
13
|
+
export const brChatInputRounderDefault = "4px";
|
|
14
|
+
export const brChatInputBorderStyleDefault = "1px solid #cccccc";
|
|
15
|
+
export const brChatInputGapDefault = "8px";
|
|
16
|
+
export const brChatInputDensityCompact = "8px";
|
|
17
|
+
export const brChatInputDensityRegular = "12px";
|
|
18
|
+
export const brChatInputDensitySpacious = "16px";
|
|
19
|
+
export const brChatInputIconNameSend = "share";
|
|
20
|
+
export const brChatInputIconNameConfirm = "check";
|
|
21
|
+
export const brChatInputIconNameDelete = "trash-alt";
|
|
22
|
+
export const brChatInputIconNameAdd = "plus";
|
|
23
|
+
export const brChatInputIconNameVoice = "microphone";
|
|
24
|
+
export const brChatInputIconNamePlay = "play";
|
|
25
|
+
export const brChatInputIconNameStop = "stop";
|
|
26
|
+
export const brChatInputIconNamePause = "pause";
|
|
27
|
+
export const brChatInputIconNameForward = "forward";
|
|
28
|
+
export const brChatInputIconNameBackward = "backward";
|
|
29
|
+
export const brChatInputHeightDefault = "66px";
|
|
30
|
+
export const brChatInputHeightMaximunMaxHeight = "288px";
|
|
31
|
+
export const brChatInputWidthDefault = "88px";
|
|
32
|
+
export const brChatInputPaddingSm = "8px";
|
|
33
|
+
export const brChatInputPaddingLg = "16px";
|
|
34
|
+
export const brChatInputFontStyleHelpText = "400 0.7901rem/1.5 'Noto Sans'";
|
|
35
|
+
export const brChatInputFontStylePlaceholder =
|
|
36
|
+
"italic 400 1rem/1.5 'Noto Sans'";
|
|
37
|
+
export const brChatInputFontStyleEntry = "500 1rem/1.5 'Noto Sans'";
|
|
38
|
+
export const brChatInputShadowStyleDefault =
|
|
39
|
+
"0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2)";
|
|
40
|
+
export const brChatInputHoverColorMain = "rgba(212, 229, 255, 0.5)";
|
|
41
|
+
export const brChatInputHoverColorContrast = "rgba(12, 50, 111, 0.6)";
|
|
42
|
+
export const brChatInputHoverEasingIn = "cubic-bezier(0.42, 0, 1, 1)";
|
|
43
|
+
export const brChatInputHoverEasingOut = "cubic-bezier(0.42, 0, 1, 1)";
|
|
44
|
+
export const brChatInputHoverDurationIn = "200ms";
|
|
45
|
+
export const brChatInputHoverDurationOut = "100ms";
|
|
46
|
+
export const brChatInputPressedShadowStyle =
|
|
47
|
+
"inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5)";
|
|
48
|
+
export const brChatInputPressedEasingIn = "cubic-bezier(0.42, 0, 0.58, 1)";
|
|
49
|
+
export const brChatInputPressedEasingOut = "cubic-bezier(0, 0, 0.58, 1)";
|
|
50
|
+
export const brChatInputPressedDurationIn = "100ms";
|
|
51
|
+
export const brChatInputPressedDurationOut = "50ms";
|
|
52
|
+
export const brChatInputDropzoneBorderStyleMain = "1px dashed #0040b4";
|
|
53
|
+
export const brChatInputDropzoneBorderStyleContrast = "1px dashed #adcdff";
|
|
54
|
+
export const brChatInputDropzoneActiveColorMain = "#0040b4";
|
|
55
|
+
export const brChatInputDropzoneActiveColorContrast = "#adcdff";
|
|
56
|
+
export const brChatInputDropzoneActiveOpacityMain = "0.3";
|
|
57
|
+
export const brChatInputFocusBorderStyleLowMain = "2px solid #da680b";
|
|
58
|
+
export const brChatInputFocusBorderStyleLowContrast = "2px solid #ff8c00";
|
|
59
|
+
export const brChatInputFocusBorderStyleHighMain = "4px dashed #da680b";
|
|
60
|
+
export const brChatInputFocusBorderStyleHighContrast = "4px dashed #ff8c00";
|
|
61
|
+
export const brChatInputFocusPadding = "4px";
|
|
62
|
+
export const brChatInputFocusEasingIn = "cubic-bezier(0.7, 3.3, 0.3, 0)";
|
|
63
|
+
export const brChatInputFocusEasingOut = "cubic-bezier(0, 0, 0.58, 1)";
|
|
64
|
+
export const brChatInputFocusDurationIn = "200ms";
|
|
65
|
+
export const brChatInputFocusDurationOut = "100ms";
|
|
66
|
+
export const brChatInputDisabledColorMain = "#4a4a4a";
|
|
67
|
+
export const brChatInputDisabledColorContrast = "#cccccc";
|
|
68
|
+
export const brChatInputDisabledOpacity = "0.3";
|
|
@@ -20,12 +20,12 @@ export const brFooterIconNameCollapseClose = "chevron-down";
|
|
|
20
20
|
export const brFooterIconNameExternallink = "external-link-alt";
|
|
21
21
|
export const brFooterBorderStyleDefault = "1px solid #cccccc";
|
|
22
22
|
export const brFooterFontStyleIdentification = "500 0.8889rem/1.5 'Noto Sans'";
|
|
23
|
-
export const
|
|
24
|
-
export const
|
|
25
|
-
export const
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
28
|
-
export const
|
|
23
|
+
export const brFooterDensityDefaultCompact = "8px";
|
|
24
|
+
export const brFooterDensityDefaultRegular = "24px";
|
|
25
|
+
export const brFooterDensityDefaultSpacious = "32px";
|
|
26
|
+
export const brFooterDensitySupportCompact = "4px";
|
|
27
|
+
export const brFooterDensitySupportRegular = "16px";
|
|
28
|
+
export const brFooterDensitySupportSpacious = "24px";
|
|
29
29
|
export const brFooterHoverColorMain = "rgba(212, 229, 255, 0.5)";
|
|
30
30
|
export const brFooterHoverColorContrast = "rgba(12, 50, 111, 0.6)";
|
|
31
31
|
export const brFooterHoverEasingIn = "cubic-bezier(0.42, 0, 1, 1)";
|
package/dist/js/tokens.js
CHANGED
|
@@ -553,6 +553,12 @@ export const brIconographyIconNameActionSearch = "search";
|
|
|
553
553
|
export const brIconographyIconNameActionSubtract = "minus";
|
|
554
554
|
export const brIconographyIconNameActionUpload = "upload";
|
|
555
555
|
export const brIconographyIconNameActionView = "eye";
|
|
556
|
+
export const brIconographyIconNameActionVoice = "microphone";
|
|
557
|
+
export const brIconographyIconNameActionPlay = "play";
|
|
558
|
+
export const brIconographyIconNameActionPause = "pause";
|
|
559
|
+
export const brIconographyIconNameActionStop = "stop";
|
|
560
|
+
export const brIconographyIconNameActionForward = "forward";
|
|
561
|
+
export const brIconographyIconNameActionBackward = "backward";
|
|
556
562
|
export const brIconographyIconNameNavigationNext = "arrow-right";
|
|
557
563
|
export const brIconographyIconNameNavigationCollapseDown = "chevron-down";
|
|
558
564
|
export const brIconographyIconNameNavigationCollapseUp = "chevron-up";
|
|
@@ -569,6 +575,7 @@ export const brIconographyIconNameNavigationExternallink = "external-link-alt";
|
|
|
569
575
|
export const brIconographyIconNameNavigationHome = "home";
|
|
570
576
|
export const brIconographyIconNameNavigationMenu = "bars";
|
|
571
577
|
export const brIconographyIconNameNavigationOptions = "ellipsis-v";
|
|
578
|
+
export const brIconographyIconNameNavigationMore = "ellipsis-h";
|
|
572
579
|
export const brIconographyIconNameNavigationUser = "user";
|
|
573
580
|
export const brIconographyIconNameNavigationSignin = "sign-in-alt";
|
|
574
581
|
export const brIconographyIconNameNavigationBack = "arrow-left";
|
|
@@ -612,7 +619,7 @@ export const brIconographyIconNameBrandNpm = "npm";
|
|
|
612
619
|
export const brIconographyIconNameBrandReact = "react";
|
|
613
620
|
export const brIconographyIconNameBrandVue = "vuejs";
|
|
614
621
|
export const brIconographyIconNameBrandYoutube = "youtube";
|
|
615
|
-
export const brSpacingNone = 0;
|
|
622
|
+
export const brSpacingNone = "0";
|
|
616
623
|
export const brSpacingLayout1 = "8px";
|
|
617
624
|
export const brSpacingLayout2 = "16px";
|
|
618
625
|
export const brSpacingLayout3 = "24px";
|
|
@@ -628,11 +635,11 @@ export const brSpacingAdjust2 = "12px";
|
|
|
628
635
|
export const brSpacingAdjust3 = "20px";
|
|
629
636
|
export const brSpacingAdjust4 = "28px";
|
|
630
637
|
export const brSpacingAdjust5 = "36px";
|
|
631
|
-
export const brSurfaceBorderWidthNone = 0;
|
|
638
|
+
export const brSurfaceBorderWidthNone = "0";
|
|
632
639
|
export const brSurfaceBorderWidthSm = "1px";
|
|
633
640
|
export const brSurfaceBorderWidthMd = "2px";
|
|
634
641
|
export const brSurfaceBorderWidthLg = "4px";
|
|
635
|
-
export const brSurfaceRounderNone = 0;
|
|
642
|
+
export const brSurfaceRounderNone = "0";
|
|
636
643
|
export const brSurfaceRounderFull = "999999px";
|
|
637
644
|
export const brSurfaceRounderSm = "4px";
|
|
638
645
|
export const brSurfaceRounderMd = "8px";
|
|
@@ -686,7 +693,7 @@ export const brElevationOffsetSm = "4";
|
|
|
686
693
|
export const brElevationOffsetMd = "8";
|
|
687
694
|
export const brElevationOffsetLg = "12";
|
|
688
695
|
export const brElevationOffsetXlg = "16";
|
|
689
|
-
export const brElevationBlurNone = 0;
|
|
696
|
+
export const brElevationBlurNone = "0";
|
|
690
697
|
export const brElevationBlurXsm = "1px";
|
|
691
698
|
export const brElevationBlurSm = "4px";
|
|
692
699
|
export const brElevationBlurMd = "8px";
|