@neo-design/foundations 1.0.0-rc.5 → 1.0.0-rc.7
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/README.md +4 -3
- package/css/bottom-sheet.css +138 -0
- package/css/combobox.css +16 -3
- package/css/index.css +3 -2
- package/css/select.css +16 -3
- package/css/text-field.css +17 -7
- package/icon-aliases.d.mts +313 -0
- package/icons/sprite.d.mts +2 -0
- package/package.json +64 -15
- package/tokens/api-js.d.mts +236 -0
- package/tokens/breakpoints.d.mts +35 -0
- package/tokens/color-semantic.d.mts +194 -0
- package/tokens/color.d.mts +319 -0
- package/tokens/component-tokens.d.mts +83 -0
- package/tokens/container.d.mts +19 -0
- package/tokens/iconSize.d.mts +43 -0
- package/tokens/radius.d.mts +46 -0
- package/tokens/shadows.d.mts +28 -0
- package/tokens/spacing.d.mts +56 -0
- package/tokens/stroke.d.mts +31 -0
- package/tokens/typography.d.mts +1108 -0
package/README.md
CHANGED
|
@@ -13,6 +13,7 @@ on Material UI: `@neo-design/mui` uses it underneath, and an app in another fram
|
|
|
13
13
|
|
|
14
14
|
The `css/` sheets resolve their variables against the two token sheets, so those load first.
|
|
15
15
|
|
|
16
|
-
**How to mount it, and the full reference, are in the repository
|
|
17
|
-
|
|
18
|
-
the composition examples.
|
|
16
|
+
**How to mount it, and the full reference, are in [the Neo repository](https://github.com/jzamorano-ui/neo-ds)** —
|
|
17
|
+
[Integration](https://github.com/jzamorano-ui/neo-ds/blob/main/docs/dev/INTEGRATION.md) covers installation and mounting, and `docs/dev/` covers the token dictionary, the layout
|
|
18
|
+
recipe and the composition examples. While the version is a release candidate, install it with the `next` tag:
|
|
19
|
+
`npm i @neo-design/foundations@next`.
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/* packages/foundations/css/bottom-sheet.css — emitted without comments. The reasoning behind each decision lives in Neo's source repository. */
|
|
2
|
+
|
|
3
|
+
.bottom-sheet {
|
|
4
|
+
position: fixed;
|
|
5
|
+
right: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
z-index: 1300;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: flex-start;
|
|
12
|
+
max-height: 90dvh;
|
|
13
|
+
background: var(--surface--base--default);
|
|
14
|
+
border-top-left-radius: var(--neo-radius-xl);
|
|
15
|
+
border-top-right-radius: var(--neo-radius-xl);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
.bottom-sheet > * {
|
|
20
|
+
align-self: stretch;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.bottom-sheet__handle {
|
|
24
|
+
flex: 0 0 auto;
|
|
25
|
+
width: 40px;
|
|
26
|
+
height: 4px;
|
|
27
|
+
margin: var(--neo-space-sm-rem) auto;
|
|
28
|
+
border-radius: var(--neo-radius-pill);
|
|
29
|
+
background: var(--fill--base--medium);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.bottom-sheet__header {
|
|
33
|
+
flex: 0 0 auto;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
align-items: flex-end;
|
|
38
|
+
padding-inline: var(--neo-space-lg-rem);
|
|
39
|
+
padding-block: 0 var(--neo-space-xs-rem);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.bottom-sheet[data-scroll="top"] .bottom-sheet__header,
|
|
43
|
+
.bottom-sheet[data-scroll="mid"] .bottom-sheet__header,
|
|
44
|
+
.bottom-sheet[data-scroll="bottom"] .bottom-sheet__header {
|
|
45
|
+
border-bottom: var(--neo-stroke-xs) solid var(--border--base--secondary);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.bottom-sheet__header > * {
|
|
49
|
+
align-self: stretch;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.bottom-sheet__title-row {
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: flex-end;
|
|
56
|
+
height: 40px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.bottom-sheet__title {
|
|
60
|
+
margin: 0;
|
|
61
|
+
flex: 1 1 auto;
|
|
62
|
+
min-width: 0;
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
text-overflow: ellipsis;
|
|
65
|
+
white-space: nowrap;
|
|
66
|
+
color: var(--text--base--default);
|
|
67
|
+
font-size: var(--neo-type-body-lg-bold-size-rem);
|
|
68
|
+
font-weight: var(--neo-type-body-lg-bold-weight);
|
|
69
|
+
line-height: var(--neo-type-body-lg-bold-line-height-rem);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.bottom-sheet__header-image {
|
|
73
|
+
position: relative;
|
|
74
|
+
flex: 0 0 auto;
|
|
75
|
+
height: 160px;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.bottom-sheet__header-image > img,
|
|
80
|
+
.bottom-sheet__header-image > picture,
|
|
81
|
+
.bottom-sheet__header-image > video {
|
|
82
|
+
display: block;
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: 100%;
|
|
85
|
+
object-fit: cover;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.bottom-sheet__header-image .bottom-sheet__handle {
|
|
89
|
+
position: absolute;
|
|
90
|
+
right: 0;
|
|
91
|
+
left: 0;
|
|
92
|
+
top: 0;
|
|
93
|
+
background: var(--fill--base--default);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.bottom-sheet__header-image .bottom-sheet__close {
|
|
97
|
+
position: absolute;
|
|
98
|
+
top: var(--neo-space-lg-rem);
|
|
99
|
+
right: var(--neo-space-lg-rem);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.bottom-sheet__content {
|
|
103
|
+
flex: 1 1 auto;
|
|
104
|
+
overflow-y: auto;
|
|
105
|
+
min-height: 200px;
|
|
106
|
+
padding-inline: var(--neo-space-lg-rem);
|
|
107
|
+
padding-block: 0 var(--neo-space-lg-rem);
|
|
108
|
+
color: var(--text--base--default);
|
|
109
|
+
font-size: var(--neo-type-body-lg-regular-size-rem);
|
|
110
|
+
font-weight: var(--neo-type-body-lg-regular-weight);
|
|
111
|
+
line-height: var(--neo-type-body-lg-regular-line-height-rem);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.bottom-sheet__content:focus-visible {
|
|
115
|
+
outline: none;
|
|
116
|
+
box-shadow:
|
|
117
|
+
inset 0 0 0 var(--neo-stroke-focus-ring-width) var(--focus--ring--default),
|
|
118
|
+
inset 0 0 0 calc(var(--neo-stroke-focus-ring-width) * 2) var(--focus--gap--default);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.bottom-sheet__actions {
|
|
122
|
+
flex: 0 0 auto;
|
|
123
|
+
display: flex;
|
|
124
|
+
flex-direction: column;
|
|
125
|
+
gap: var(--neo-space-sm-rem);
|
|
126
|
+
padding-inline: var(--neo-space-lg-rem);
|
|
127
|
+
padding-block: var(--neo-space-lg-rem) var(--neo-space-2xl-rem);
|
|
128
|
+
background: var(--surface--base--default);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.bottom-sheet__actions .btn {
|
|
132
|
+
width: 100%;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.bottom-sheet__actions[data-scroll="top"],
|
|
136
|
+
.bottom-sheet__actions[data-scroll="mid"] {
|
|
137
|
+
border-top: var(--neo-stroke-xs) solid var(--border--base--secondary);
|
|
138
|
+
}
|
package/css/combobox.css
CHANGED
|
@@ -10,9 +10,22 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
.combobox__label-row {
|
|
13
|
-
display:
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.combobox__label-row .combobox__label {
|
|
17
|
+
display: inline;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.combobox__label-tail {
|
|
21
|
+
white-space: nowrap;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.combobox__label-tail > .combobox__icon--tooltip,
|
|
25
|
+
.combobox__label-row > .combobox__icon--tooltip {
|
|
26
|
+
vertical-align: top;
|
|
27
|
+
margin-block: calc((var(--neo-type-body-lg-medium-line-height-rem) - var(--neo-icon-size-xs-rem)) / 2);
|
|
28
|
+
margin-left: var(--neo-space-xs-rem);
|
|
16
29
|
}
|
|
17
30
|
|
|
18
31
|
.combobox__label {
|
package/css/index.css
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
@import './aspect-ratio.css';
|
|
5
5
|
@import './badge.css';
|
|
6
6
|
@import './banner.css';
|
|
7
|
+
@import './bottom-sheet.css';
|
|
7
8
|
@import './button.css';
|
|
8
9
|
@import './button-icon.css';
|
|
9
10
|
@import './checkbox.css';
|
|
@@ -26,10 +27,10 @@
|
|
|
26
27
|
@import './tooltip.css';
|
|
27
28
|
|
|
28
29
|
.alert, .aspect-ratio, .badge, .notification, .banner, .btn, .checkbox, .checkbox-group,
|
|
29
|
-
.chip, .chips-group, .combobox, .empty-state, .empty-state-shell, .link, .menu-item, .menu-list, .menu-divider, .modal-overlay, .modal-dialog,
|
|
30
|
+
.bottom-sheet, .chip, .chips-group, .combobox, .empty-state, .empty-state-shell, .link, .menu-item, .menu-list, .menu-divider, .modal-overlay, .modal-dialog,
|
|
30
31
|
.modal-full, .radio, .radio-group, .select, .snackbar, .spinner, .tabs, .tag, .field, .toggle, .tooltip,
|
|
31
32
|
.alert *, .aspect-ratio *, .badge *, .banner *, .btn *, .checkbox *, .chip *, .combobox *,
|
|
32
|
-
.empty-state *, .menu-item *, .menu-list *, .modal-dialog *, .modal-full *, .radio *, .select *, .snackbar *, .tabs *,
|
|
33
|
+
.bottom-sheet *, .empty-state *, .menu-item *, .menu-list *, .modal-dialog *, .modal-full *, .radio *, .select *, .snackbar *, .tabs *,
|
|
33
34
|
.tag *, .field *, .toggle *, .tooltip *,
|
|
34
35
|
[role="tablist"], [role="tab"] {
|
|
35
36
|
box-sizing: border-box;
|
package/css/select.css
CHANGED
|
@@ -10,9 +10,22 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
.select__label-row {
|
|
13
|
-
display:
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.select__label-row .select__label {
|
|
17
|
+
display: inline;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.select__label-tail {
|
|
21
|
+
white-space: nowrap;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.select__label-tail > .select__icon--tooltip,
|
|
25
|
+
.select__label-row > .select__icon--tooltip {
|
|
26
|
+
vertical-align: top;
|
|
27
|
+
margin-block: calc((var(--neo-type-body-lg-medium-line-height-rem) - var(--neo-icon-size-xs-rem)) / 2);
|
|
28
|
+
margin-left: var(--neo-space-xs-rem);
|
|
16
29
|
}
|
|
17
30
|
|
|
18
31
|
.select__label {
|
package/css/text-field.css
CHANGED
|
@@ -8,9 +8,22 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.field__label-row {
|
|
11
|
-
display:
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
display: block;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.field__label-row .field__label {
|
|
15
|
+
display: inline;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.field__label-tail {
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.field__label-tail > .field__icon--tooltip,
|
|
23
|
+
.field__label-row > .field__icon--tooltip {
|
|
24
|
+
vertical-align: top;
|
|
25
|
+
margin-block: calc((var(--neo-type-body-lg-medium-line-height-rem) - var(--neo-icon-size-xs-rem)) / 2);
|
|
26
|
+
margin-left: var(--neo-space-xs-rem);
|
|
14
27
|
}
|
|
15
28
|
|
|
16
29
|
.field__label {
|
|
@@ -18,13 +31,10 @@
|
|
|
18
31
|
font-weight: var(--neo-type-body-lg-medium-weight);
|
|
19
32
|
line-height: var(--neo-type-body-lg-medium-line-height-rem);
|
|
20
33
|
color: var(--text--base--default);
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
text-overflow: ellipsis;
|
|
23
|
-
white-space: nowrap;
|
|
24
34
|
}
|
|
25
35
|
|
|
26
36
|
.field__label--required::after {
|
|
27
|
-
content: '
|
|
37
|
+
content: '\00a0*';
|
|
28
38
|
color: var(--text--semantic--error);
|
|
29
39
|
}
|
|
30
40
|
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
// icon-aliases.d.mts — GENERATED · the types of `@neo-design/foundations/icon-aliases.mjs`. Do NOT edit by hand.
|
|
2
|
+
export declare const ALIASES: {
|
|
3
|
+
readonly 'system-advertencia': string;
|
|
4
|
+
readonly 'system-agregar': string;
|
|
5
|
+
readonly 'system-agregar-circulo': string;
|
|
6
|
+
readonly 'system-alarma': string;
|
|
7
|
+
readonly 'system-ayuda': string;
|
|
8
|
+
readonly 'system-bandeja-entrada': string;
|
|
9
|
+
readonly 'system-bandeja-salida': string;
|
|
10
|
+
readonly 'system-bano': string;
|
|
11
|
+
readonly 'system-bano-mujeres': string;
|
|
12
|
+
readonly 'system-billetera': string;
|
|
13
|
+
readonly 'system-bolsa': string;
|
|
14
|
+
readonly 'system-bombilla': string;
|
|
15
|
+
readonly 'system-brujula': string;
|
|
16
|
+
readonly 'system-buscar': string;
|
|
17
|
+
readonly 'system-buscar-circulo': string;
|
|
18
|
+
readonly 'system-buzon-voz': string;
|
|
19
|
+
readonly 'system-buzon-voz-silencio': string;
|
|
20
|
+
readonly 'system-calendario': string;
|
|
21
|
+
readonly 'system-calendario-agregar': string;
|
|
22
|
+
readonly 'system-campana': string;
|
|
23
|
+
readonly 'system-campana-agregar': string;
|
|
24
|
+
readonly 'system-campana-bloquear': string;
|
|
25
|
+
readonly 'system-campana-silencio': string;
|
|
26
|
+
readonly 'system-campana-timbrar': string;
|
|
27
|
+
readonly 'system-candado': string;
|
|
28
|
+
readonly 'system-carrito': string;
|
|
29
|
+
readonly 'system-carrito-agregar': string;
|
|
30
|
+
readonly 'system-carrito-verificar': string;
|
|
31
|
+
readonly 'system-celular': string;
|
|
32
|
+
readonly 'system-cerrar': string;
|
|
33
|
+
readonly 'system-cerrar-sesion': string;
|
|
34
|
+
readonly 'system-chat-burbujas': string;
|
|
35
|
+
readonly 'system-chat-escribiendo': string;
|
|
36
|
+
readonly 'system-chevron-abajo': string;
|
|
37
|
+
readonly 'system-chevron-arriba': string;
|
|
38
|
+
readonly 'system-chevron-derecha': string;
|
|
39
|
+
readonly 'system-chevron-izquierda': string;
|
|
40
|
+
readonly 'system-configuracion': string;
|
|
41
|
+
readonly 'system-copiar': string;
|
|
42
|
+
readonly 'system-corazon': string;
|
|
43
|
+
readonly 'system-corazon-desactivar': string;
|
|
44
|
+
readonly 'system-correo': string;
|
|
45
|
+
readonly 'system-correo-enviar': string;
|
|
46
|
+
readonly 'system-derivacion-out': string;
|
|
47
|
+
readonly 'system-descargar': string;
|
|
48
|
+
readonly 'system-diccionario': string;
|
|
49
|
+
readonly 'system-editar': string;
|
|
50
|
+
readonly 'system-enlace': string;
|
|
51
|
+
readonly 'system-enlace-roto': string;
|
|
52
|
+
readonly 'system-escaner': string;
|
|
53
|
+
readonly 'system-escudo': string;
|
|
54
|
+
readonly 'system-escudo-verificar': string;
|
|
55
|
+
readonly 'system-estrella': string;
|
|
56
|
+
readonly 'system-flecha-abajo': string;
|
|
57
|
+
readonly 'system-flecha-arriba': string;
|
|
58
|
+
readonly 'system-flecha-derecha': string;
|
|
59
|
+
readonly 'system-flecha-izquierda': string;
|
|
60
|
+
readonly 'system-grafico-baja': string;
|
|
61
|
+
readonly 'system-imagen': string;
|
|
62
|
+
readonly 'system-informacion': string;
|
|
63
|
+
readonly 'system-inicio': string;
|
|
64
|
+
readonly 'system-lista': string;
|
|
65
|
+
readonly 'system-lista-tareas': string;
|
|
66
|
+
readonly 'system-llamada-entrante': string;
|
|
67
|
+
readonly 'system-llamada-entrante-alt': string;
|
|
68
|
+
readonly 'system-mapa': string;
|
|
69
|
+
readonly 'system-marcador': string;
|
|
70
|
+
readonly 'system-media-anterior': string;
|
|
71
|
+
readonly 'system-media-avanzar': string;
|
|
72
|
+
readonly 'system-media-pausa': string;
|
|
73
|
+
readonly 'system-media-reproducir': string;
|
|
74
|
+
readonly 'system-media-retroceder': string;
|
|
75
|
+
readonly 'system-media-siguiente': string;
|
|
76
|
+
readonly 'system-megafono': string;
|
|
77
|
+
readonly 'system-menos': string;
|
|
78
|
+
readonly 'system-menu-puntos': string;
|
|
79
|
+
readonly 'system-moneda': string;
|
|
80
|
+
readonly 'system-nav-derecha': string;
|
|
81
|
+
readonly 'system-nav-izquierda': string;
|
|
82
|
+
readonly 'system-navegar': string;
|
|
83
|
+
readonly 'system-navegar-desactivar': string;
|
|
84
|
+
readonly 'system-nube': string;
|
|
85
|
+
readonly 'system-nube-actualizar': string;
|
|
86
|
+
readonly 'system-nube-agregar': string;
|
|
87
|
+
readonly 'system-nube-alerta': string;
|
|
88
|
+
readonly 'system-nube-bloquear': string;
|
|
89
|
+
readonly 'system-nube-compartir': string;
|
|
90
|
+
readonly 'system-nube-transferir': string;
|
|
91
|
+
readonly 'system-nube-verificar': string;
|
|
92
|
+
readonly 'system-nube-video': string;
|
|
93
|
+
readonly 'system-ojo': string;
|
|
94
|
+
readonly 'system-ojo-oculto': string;
|
|
95
|
+
readonly 'system-papelera-reciclaje': string;
|
|
96
|
+
readonly 'system-portapapeles-agregar': string;
|
|
97
|
+
readonly 'system-portapapeles-eliminar': string;
|
|
98
|
+
readonly 'system-portapapeles-verificar': string;
|
|
99
|
+
readonly 'system-regalo': string;
|
|
100
|
+
readonly 'system-reloj-circulo': string;
|
|
101
|
+
readonly 'system-senal': string;
|
|
102
|
+
readonly 'system-silla-ruedas': string;
|
|
103
|
+
readonly 'system-sincronizar-alerta': string;
|
|
104
|
+
readonly 'system-soporte': string;
|
|
105
|
+
readonly 'system-tarjeta-credito': string;
|
|
106
|
+
readonly 'system-telefono': string;
|
|
107
|
+
readonly 'system-ubicacion': string;
|
|
108
|
+
readonly 'system-usuario-agregar': string;
|
|
109
|
+
readonly 'system-usuario-circulo': string;
|
|
110
|
+
readonly 'system-usuario-id': string;
|
|
111
|
+
readonly 'system-usuario-perfil': string;
|
|
112
|
+
readonly 'system-usuario-proteger': string;
|
|
113
|
+
readonly 'system-usuario-verificar': string;
|
|
114
|
+
readonly 'system-verificar': string;
|
|
115
|
+
readonly 'system-verificar-cuadro': string;
|
|
116
|
+
readonly 'system-volumen-alto': string;
|
|
117
|
+
readonly 'system-volumen-apagar': string;
|
|
118
|
+
readonly 'system-volumen-bajar': string;
|
|
119
|
+
readonly 'system-volumen-bajo': string;
|
|
120
|
+
readonly 'system-volumen-mudo': string;
|
|
121
|
+
readonly 'system-wifi-desactivar': string;
|
|
122
|
+
readonly 'brand-ambulancia': string;
|
|
123
|
+
readonly 'brand-bienestar': string;
|
|
124
|
+
readonly 'brand-brillos': string;
|
|
125
|
+
readonly 'brand-capsula': string;
|
|
126
|
+
readonly 'brand-chequeo': string;
|
|
127
|
+
readonly 'brand-contacto': string;
|
|
128
|
+
readonly 'brand-conversacion': string;
|
|
129
|
+
readonly 'brand-cruz': string;
|
|
130
|
+
readonly 'brand-diente': string;
|
|
131
|
+
readonly 'brand-dinero': string;
|
|
132
|
+
readonly 'brand-donar-sangre': string;
|
|
133
|
+
readonly 'brand-enfermero': string;
|
|
134
|
+
readonly 'brand-estetoscopio': string;
|
|
135
|
+
readonly 'brand-garantia': string;
|
|
136
|
+
readonly 'brand-gorro-enfermero': string;
|
|
137
|
+
readonly 'brand-gota-sangre': string;
|
|
138
|
+
readonly 'brand-historial-medico': string;
|
|
139
|
+
readonly 'brand-hospitalsymbol': string;
|
|
140
|
+
readonly 'brand-maletin-medico': string;
|
|
141
|
+
readonly 'brand-mascarilla': string;
|
|
142
|
+
readonly 'brand-oido': string;
|
|
143
|
+
readonly 'brand-ojo': string;
|
|
144
|
+
readonly 'brand-pelota': string;
|
|
145
|
+
readonly 'brand-ritmo-cardiaco': string;
|
|
146
|
+
readonly 'brand-salud': string;
|
|
147
|
+
readonly 'brand-seguro': string;
|
|
148
|
+
readonly 'brand-silla-ruedas': string;
|
|
149
|
+
readonly 'brand-tarjeta-credito': string;
|
|
150
|
+
readonly 'brand-telemedicina': string;
|
|
151
|
+
};
|
|
152
|
+
export declare const BRAND: {
|
|
153
|
+
readonly ambulancia: string;
|
|
154
|
+
readonly bienestar: string;
|
|
155
|
+
readonly brillos: string;
|
|
156
|
+
readonly 'call-center': string;
|
|
157
|
+
readonly capsula: string;
|
|
158
|
+
readonly chequeo: string;
|
|
159
|
+
readonly contacto: string;
|
|
160
|
+
readonly conversacion: string;
|
|
161
|
+
readonly cruz: string;
|
|
162
|
+
readonly desktop: string;
|
|
163
|
+
readonly diente: string;
|
|
164
|
+
readonly dinero: string;
|
|
165
|
+
readonly 'donar-sangre': string;
|
|
166
|
+
readonly enfermero: string;
|
|
167
|
+
readonly estetoscopio: string;
|
|
168
|
+
readonly garantia: string;
|
|
169
|
+
readonly 'gorro-enfermero': string;
|
|
170
|
+
readonly 'gota-sangre': string;
|
|
171
|
+
readonly 'historial-medico': string;
|
|
172
|
+
readonly hospital: string;
|
|
173
|
+
readonly hospitalsymbol: string;
|
|
174
|
+
readonly 'maletin-medico': string;
|
|
175
|
+
readonly mascarilla: string;
|
|
176
|
+
readonly oido: string;
|
|
177
|
+
readonly ojo: string;
|
|
178
|
+
readonly pelota: string;
|
|
179
|
+
readonly 'ritmo-cardiaco': string;
|
|
180
|
+
readonly salud: string;
|
|
181
|
+
readonly seguro: string;
|
|
182
|
+
readonly 'silla-ruedas': string;
|
|
183
|
+
readonly 'tarjeta-credito': string;
|
|
184
|
+
readonly telemedicina: string;
|
|
185
|
+
};
|
|
186
|
+
export declare const SYSTEM: {
|
|
187
|
+
readonly advertencia: string;
|
|
188
|
+
readonly agregar: string;
|
|
189
|
+
readonly 'agregar-circulo': string;
|
|
190
|
+
readonly alarma: string;
|
|
191
|
+
readonly ayuda: string;
|
|
192
|
+
readonly 'bandeja-entrada': string;
|
|
193
|
+
readonly 'bandeja-salida': string;
|
|
194
|
+
readonly bano: string;
|
|
195
|
+
readonly 'bano-mujeres': string;
|
|
196
|
+
readonly billetera: string;
|
|
197
|
+
readonly bolsa: string;
|
|
198
|
+
readonly bombilla: string;
|
|
199
|
+
readonly brujula: string;
|
|
200
|
+
readonly buscar: string;
|
|
201
|
+
readonly 'buscar-circulo': string;
|
|
202
|
+
readonly 'buzon-voz': string;
|
|
203
|
+
readonly 'buzon-voz-silencio': string;
|
|
204
|
+
readonly calendario: string;
|
|
205
|
+
readonly 'calendario-agregar': string;
|
|
206
|
+
readonly campana: string;
|
|
207
|
+
readonly 'campana-agregar': string;
|
|
208
|
+
readonly 'campana-bloquear': string;
|
|
209
|
+
readonly 'campana-silencio': string;
|
|
210
|
+
readonly 'campana-timbrar': string;
|
|
211
|
+
readonly candado: string;
|
|
212
|
+
readonly carrito: string;
|
|
213
|
+
readonly 'carrito-agregar': string;
|
|
214
|
+
readonly 'carrito-verificar': string;
|
|
215
|
+
readonly celular: string;
|
|
216
|
+
readonly cerrar: string;
|
|
217
|
+
readonly 'cerrar-sesion': string;
|
|
218
|
+
readonly 'chat-burbujas': string;
|
|
219
|
+
readonly 'chat-escribiendo': string;
|
|
220
|
+
readonly 'chevron-abajo': string;
|
|
221
|
+
readonly 'chevron-arriba': string;
|
|
222
|
+
readonly 'chevron-derecha': string;
|
|
223
|
+
readonly 'chevron-izquierda': string;
|
|
224
|
+
readonly configuracion: string;
|
|
225
|
+
readonly copiar: string;
|
|
226
|
+
readonly corazon: string;
|
|
227
|
+
readonly 'corazon-desactivar': string;
|
|
228
|
+
readonly correo: string;
|
|
229
|
+
readonly 'correo-enviar': string;
|
|
230
|
+
readonly 'derivacion-out': string;
|
|
231
|
+
readonly descargar: string;
|
|
232
|
+
readonly diccionario: string;
|
|
233
|
+
readonly editar: string;
|
|
234
|
+
readonly enlace: string;
|
|
235
|
+
readonly 'enlace-roto': string;
|
|
236
|
+
readonly error: string;
|
|
237
|
+
readonly escaner: string;
|
|
238
|
+
readonly escudo: string;
|
|
239
|
+
readonly 'escudo-verificar': string;
|
|
240
|
+
readonly estrella: string;
|
|
241
|
+
readonly 'flecha-abajo': string;
|
|
242
|
+
readonly 'flecha-arriba': string;
|
|
243
|
+
readonly 'flecha-derecha': string;
|
|
244
|
+
readonly 'flecha-izquierda': string;
|
|
245
|
+
readonly 'grafico-baja': string;
|
|
246
|
+
readonly imagen: string;
|
|
247
|
+
readonly informacion: string;
|
|
248
|
+
readonly inicio: string;
|
|
249
|
+
readonly kebab: string;
|
|
250
|
+
readonly lista: string;
|
|
251
|
+
readonly 'lista-tareas': string;
|
|
252
|
+
readonly 'llamada-entrante': string;
|
|
253
|
+
readonly 'llamada-entrante-alt': string;
|
|
254
|
+
readonly mapa: string;
|
|
255
|
+
readonly marcador: string;
|
|
256
|
+
readonly 'media-anterior': string;
|
|
257
|
+
readonly 'media-avanzar': string;
|
|
258
|
+
readonly 'media-pausa': string;
|
|
259
|
+
readonly 'media-reproducir': string;
|
|
260
|
+
readonly 'media-retroceder': string;
|
|
261
|
+
readonly 'media-siguiente': string;
|
|
262
|
+
readonly megafono: string;
|
|
263
|
+
readonly menos: string;
|
|
264
|
+
readonly 'menu-puntos': string;
|
|
265
|
+
readonly moneda: string;
|
|
266
|
+
readonly 'nav-derecha': string;
|
|
267
|
+
readonly 'nav-izquierda': string;
|
|
268
|
+
readonly navegar: string;
|
|
269
|
+
readonly 'navegar-desactivar': string;
|
|
270
|
+
readonly nube: string;
|
|
271
|
+
readonly 'nube-actualizar': string;
|
|
272
|
+
readonly 'nube-agregar': string;
|
|
273
|
+
readonly 'nube-alerta': string;
|
|
274
|
+
readonly 'nube-bloquear': string;
|
|
275
|
+
readonly 'nube-compartir': string;
|
|
276
|
+
readonly 'nube-transferir': string;
|
|
277
|
+
readonly 'nube-verificar': string;
|
|
278
|
+
readonly 'nube-video': string;
|
|
279
|
+
readonly ojo: string;
|
|
280
|
+
readonly 'ojo-oculto': string;
|
|
281
|
+
readonly 'papelera-reciclaje': string;
|
|
282
|
+
readonly 'portapapeles-agregar': string;
|
|
283
|
+
readonly 'portapapeles-eliminar': string;
|
|
284
|
+
readonly 'portapapeles-verificar': string;
|
|
285
|
+
readonly regalo: string;
|
|
286
|
+
readonly 'reloj-circulo': string;
|
|
287
|
+
readonly senal: string;
|
|
288
|
+
readonly 'silla-ruedas': string;
|
|
289
|
+
readonly 'sincronizar-alerta': string;
|
|
290
|
+
readonly soporte: string;
|
|
291
|
+
readonly 'tarjeta-credito': string;
|
|
292
|
+
readonly telefono: string;
|
|
293
|
+
readonly ubicacion: string;
|
|
294
|
+
readonly 'usuario-agregar': string;
|
|
295
|
+
readonly 'usuario-circulo': string;
|
|
296
|
+
readonly 'usuario-id': string;
|
|
297
|
+
readonly 'usuario-perfil': string;
|
|
298
|
+
readonly 'usuario-proteger': string;
|
|
299
|
+
readonly 'usuario-verificar': string;
|
|
300
|
+
readonly verificar: string;
|
|
301
|
+
readonly 'verificar-cuadro': string;
|
|
302
|
+
readonly 'volumen-alto': string;
|
|
303
|
+
readonly 'volumen-apagar': string;
|
|
304
|
+
readonly 'volumen-bajar': string;
|
|
305
|
+
readonly 'volumen-bajo': string;
|
|
306
|
+
readonly 'volumen-mudo': string;
|
|
307
|
+
readonly wifi: string;
|
|
308
|
+
readonly 'wifi-desactivar': string;
|
|
309
|
+
};
|
|
310
|
+
export declare const appliedInFigma: string;
|
|
311
|
+
export declare const approved: boolean;
|
|
312
|
+
export declare const mirroredInCode: boolean;
|
|
313
|
+
export declare const mirroredOn: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo-design/foundations",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.7",
|
|
4
4
|
"description": "Neo — the system foundations: semantic tokens in JS and CSS, icons and the plain CSS layer. It does not depend on React or Material UI.",
|
|
5
|
+
"homepage": "https://github.com/jzamorano-ui/neo-ds/blob/main/docs/dev/INTEGRATION.md",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/jzamorano-ui/neo-ds.git",
|
|
9
|
+
"directory": "packages/foundations"
|
|
10
|
+
},
|
|
5
11
|
"type": "module",
|
|
6
12
|
"sideEffects": [
|
|
7
13
|
"*.css"
|
|
@@ -10,22 +16,64 @@
|
|
|
10
16
|
"./tokens.css": "./tokens/neo-color.css",
|
|
11
17
|
"./foundations.css": "./tokens/neo-foundations.css",
|
|
12
18
|
"./icons.css": "./icons/icons.css",
|
|
13
|
-
"./sprite":
|
|
19
|
+
"./sprite": {
|
|
20
|
+
"types": "./icons/sprite.d.mts",
|
|
21
|
+
"default": "./icons/sprite.mjs"
|
|
22
|
+
},
|
|
14
23
|
"./icons.json": "./icons/index.json",
|
|
15
24
|
"./css/*": "./css/*",
|
|
16
|
-
"./tokens/api-js.mjs":
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"./tokens/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"./tokens/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"./
|
|
25
|
+
"./tokens/api-js.mjs": {
|
|
26
|
+
"types": "./tokens/api-js.d.mts",
|
|
27
|
+
"default": "./tokens/api-js.mjs"
|
|
28
|
+
},
|
|
29
|
+
"./tokens/breakpoints.mjs": {
|
|
30
|
+
"types": "./tokens/breakpoints.d.mts",
|
|
31
|
+
"default": "./tokens/breakpoints.mjs"
|
|
32
|
+
},
|
|
33
|
+
"./tokens/color-semantic.mjs": {
|
|
34
|
+
"types": "./tokens/color-semantic.d.mts",
|
|
35
|
+
"default": "./tokens/color-semantic.mjs"
|
|
36
|
+
},
|
|
37
|
+
"./tokens/color.mjs": {
|
|
38
|
+
"types": "./tokens/color.d.mts",
|
|
39
|
+
"default": "./tokens/color.mjs"
|
|
40
|
+
},
|
|
41
|
+
"./tokens/component-tokens.mjs": {
|
|
42
|
+
"types": "./tokens/component-tokens.d.mts",
|
|
43
|
+
"default": "./tokens/component-tokens.mjs"
|
|
44
|
+
},
|
|
45
|
+
"./tokens/container.mjs": {
|
|
46
|
+
"types": "./tokens/container.d.mts",
|
|
47
|
+
"default": "./tokens/container.mjs"
|
|
48
|
+
},
|
|
49
|
+
"./tokens/iconSize.mjs": {
|
|
50
|
+
"types": "./tokens/iconSize.d.mts",
|
|
51
|
+
"default": "./tokens/iconSize.mjs"
|
|
52
|
+
},
|
|
53
|
+
"./tokens/radius.mjs": {
|
|
54
|
+
"types": "./tokens/radius.d.mts",
|
|
55
|
+
"default": "./tokens/radius.mjs"
|
|
56
|
+
},
|
|
57
|
+
"./tokens/shadows.mjs": {
|
|
58
|
+
"types": "./tokens/shadows.d.mts",
|
|
59
|
+
"default": "./tokens/shadows.mjs"
|
|
60
|
+
},
|
|
61
|
+
"./tokens/spacing.mjs": {
|
|
62
|
+
"types": "./tokens/spacing.d.mts",
|
|
63
|
+
"default": "./tokens/spacing.mjs"
|
|
64
|
+
},
|
|
65
|
+
"./tokens/stroke.mjs": {
|
|
66
|
+
"types": "./tokens/stroke.d.mts",
|
|
67
|
+
"default": "./tokens/stroke.mjs"
|
|
68
|
+
},
|
|
69
|
+
"./tokens/typography.mjs": {
|
|
70
|
+
"types": "./tokens/typography.d.mts",
|
|
71
|
+
"default": "./tokens/typography.mjs"
|
|
72
|
+
},
|
|
73
|
+
"./icon-aliases.mjs": {
|
|
74
|
+
"types": "./icon-aliases.d.mts",
|
|
75
|
+
"default": "./icon-aliases.mjs"
|
|
76
|
+
},
|
|
29
77
|
"./package.json": "./package.json"
|
|
30
78
|
},
|
|
31
79
|
"files": [
|
|
@@ -33,6 +81,7 @@
|
|
|
33
81
|
"icons",
|
|
34
82
|
"css",
|
|
35
83
|
"icon-aliases.mjs",
|
|
84
|
+
"icon-aliases.d.mts",
|
|
36
85
|
"!icons/svg",
|
|
37
86
|
"!icons/icons.svg",
|
|
38
87
|
"!icons/_demo.html"
|