period-ui 0.1.26 → 0.1.28

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 CHANGED
@@ -1 +1,97 @@
1
- ## Read me
1
+ # Period UI
2
+
3
+ Librería de componentes de UI para React basada en el Design System de [Period UI](https://www.figma.com/design/ZK3xvBxkM2rtGMkbyQycfl/Period-Design-System), creado por Billo.
4
+
5
+ ## 🚀 Instalación
6
+
7
+ 1. Instala el paquete:
8
+
9
+ ```sh
10
+ yarn add period-ui
11
+ # o
12
+ npm install period-ui
13
+ ```
14
+
15
+ 2. Importa los estilos globales (necesario para los iconos y fuentes):
16
+
17
+ ```js
18
+ import 'period-ui/dist/index.css';
19
+ ```
20
+
21
+ > **Nota:** Asegúrate de copiar los assets de fuentes a la carpeta `/public/fonts` de tu proyecto si tu bundler no los sirve automáticamente. Verifica el build y las rutas en tu entorno.
22
+
23
+ ---
24
+
25
+ ## 💡 ¿Qué es?
26
+
27
+ Period UI es una librería de componentes reutilizables, accesibles y alineados 100% al design system de Billo. Pensada para uso interno en productos y prototipos.
28
+
29
+ * Componentes escritos en React + TypeScript.
30
+ * Totalmente tipados, con sugerencias de props en IDE.
31
+ * Estilos con Tailwind + Sass.
32
+ * Incluye sistema de iconos propio vía fuente (`BilloIcon`).
33
+ * Soporte a dark mode, responsive y test unitarios.
34
+
35
+ Figma Design System: [Solicítalo a Fernanda López](mailto:flopez@ld.co.cr) para acceso.
36
+
37
+ ---
38
+
39
+ ## 📦 Uso básico
40
+
41
+ ```tsx
42
+ import { Button } from 'period-ui';
43
+ import 'period-ui/dist/index.css';
44
+
45
+ <Button variant="primary">Hola Billo</Button>
46
+ ```
47
+
48
+ ---
49
+
50
+ ## 📚 Storybook (Probar localmente)
51
+
52
+ Para ver todos los componentes y ejemplos:
53
+
54
+ ```sh
55
+ yarn storybook
56
+ ```
57
+
58
+ ---
59
+
60
+ ## 🛠️ Desarrollo
61
+
62
+ Si vas a contribuir o agregar un nuevo componente:
63
+
64
+ * **Componentes puros y bien escritos:**
65
+
66
+ * Solo lógica relacionada al UI, sin side effects, ni dependencias externas innecesarias.
67
+ * **Basados 100% en el Design System de Billo:**
68
+
69
+ * Debes consultar y seguir los lineamientos de Figma (pide acceso a flopez).
70
+ * **Unit tests obligatorios:**
71
+
72
+ * Usa Vitest y Testing Library. Todo nuevo componente debe tener coverage.
73
+ * **Stories en Storybook obligatorias:**
74
+
75
+ * Cada estado/variante debe estar documentado.
76
+ * **Exportar correctamente el tipo de los props** para mejor DX.
77
+
78
+ ### Build y publicación
79
+
80
+ * Build: `yarn build`
81
+ * Subir versión: `npm version patch` (o `minor`, `major` según el cambio)
82
+ * Publicar (solo mfernandez o haraya): `npm publish`
83
+
84
+ > **NOTA:** Para publicar, debes solicitarlo a [Mario Fernández](mailto:mfernandez@ld.co.cr) o [Hans Araya](mailto:haraya@ld.co.cr).
85
+ >
86
+ > El design system de Figma solo puede ser editado por Fernanda López.
87
+
88
+ ---
89
+
90
+ ## 📝 Notas adicionales
91
+
92
+ * Si tu app no renderiza iconos, verifica que los fonts estén correctamente servidos desde `/public/fonts` y que `index.css` esté importado en el entrypoint.
93
+ * Si tienes dudas o mejoras, abre un PR o contacta a los responsables.
94
+
95
+ ---
96
+
97
+ **Built with ❤ by Billo**
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AACnD,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI7D,QAAA,MAAM,YAAY;;mFAsBjB,CAAC;AAEF,KAAK,KAAK,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC;AAiB1E,eAAO,MAAM,MAAM,EAAgB,KAAK,CAAC,yBAAyB,CAChE,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAC/C,CAAC;AAEF,YAAY,EAAE,KAAK,IAAI,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AACnD,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI7D,QAAA,MAAM,YAAY;;mFAsBjB,CAAC;AAEF,KAAK,KAAK,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC;AAa1E,eAAO,MAAM,MAAM,EAAgB,KAAK,CAAC,yBAAyB,CAChE,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAC/C,CAAC;AAEF,YAAY,EAAE,KAAK,IAAI,WAAW,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../src/components/atoms/button/button.tsx"],"names":[],"mappings":";;;;AAAA,iCAAmD;AACnD,uEAA6D;AAC7D,kEAAyD;AACzD,iDAA+C;AAE/C,MAAM,YAAY,GAAG,IAAA,8BAAG,EACtB;IACE,iBAAiB;IACjB,cAAc;IACd,YAAY;IACZ,mCAAmC;IACnC,mCAAmC;IACnC,6BAA6B;CAC9B,EACD;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EACL,kHAAkH;YACpH,SAAS,EACP,4JAA4J;YAC9J,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,eAAe,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;CACxC,CACF,CAAC;AAIF,MAAM,SAAS,GAAG,IAAA,kBAAU,EAC1B,CAAC,EAAE,OAAO,GAAG,4BAAa,CAAC,OAAO,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAChE,OAAO,CACL,mCACE,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,yBAAQ,EAAC,YAAY,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,KACrD,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,CAAC,WAAW,GAAG,QAAQ,CAAC;AAGpB,QAAA,MAAM,GAAG,SAErB,CAAC"}
1
+ {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../src/components/atoms/button/button.tsx"],"names":[],"mappings":";;;;AAAA,iCAAmD;AACnD,uEAA6D;AAC7D,kEAAyD;AACzD,iDAA+C;AAE/C,MAAM,YAAY,GAAG,IAAA,8BAAG,EACtB;IACE,iBAAiB;IACjB,cAAc;IACd,YAAY;IACZ,mCAAmC;IACnC,mCAAmC;IACnC,6BAA6B;CAC9B,EACD;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EACL,kHAAkH;YACpH,SAAS,EACP,4JAA4J;YAC9J,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,eAAe,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;CACxC,CACF,CAAC;AAIF,MAAM,SAAS,GAAG,IAAA,kBAAU,EAC1B,CAAC,EAAE,OAAO,GAAG,4BAAa,CAAC,OAAO,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAChE,OAAO,CACL,mCAAQ,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAA,yBAAQ,EAAC,YAAY,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,KAAM,KAAK,GAAI,CAC3F,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,CAAC,WAAW,GAAG,QAAQ,CAAC;AAGpB,QAAA,MAAM,GAAG,SAErB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-box.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/check-box/check-box.tsx"],"names":[],"mappings":"AACA,OAAO,EAOW,eAAe,EAChC,MAAM,cAAc,CAAC;AAItB,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,UAAkB,EAClB,KAAK,EACL,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,OAAiC,EACjC,aAAwB,GACzB,EAAE,KAAK,2CAiFP;AAED,YAAY,EAAE,KAAK,IAAI,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"check-box.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/check-box/check-box.tsx"],"names":[],"mappings":"AACA,OAAO,EAQL,eAAe,EAChB,MAAM,cAAc,CAAC;AAItB,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,UAAkB,EAClB,KAAK,EACL,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,OAAiC,EACjC,aAAwB,GACzB,EAAE,KAAK,2CAiFP;AAED,YAAY,EAAE,KAAK,IAAI,aAAa,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-box.js","sourceRoot":"","sources":["../../../../src/components/atoms/check-box/check-box.tsx"],"names":[],"mappings":";;AAwBA,4BA0FC;;AAlHD,iCAA4C;AAC5C,6CAQsB;AACtB,6EAAsE;AACtE,2DAAkD;AAalD,SAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,UAAU,GAAG,KAAK,EAClB,KAAK,EACL,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,OAAO,GAAG,4BAAe,CAAC,OAAO,EACjC,aAAa,GAAG,GAAG,EAAE,GAAE,CAAC,GAClB;IACN,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAU,KAAK,CAAC,CAAC;IAC3D,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,6CAAmB,GAAE,CAAC;IAE3C,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO;QACT,CAAC;QAED,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,IAAI,UAAU,EAAE,CAAC;YACf,OAAO;QACT,CAAC;QAED,YAAY,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC;QAEpC,IAAI,CAAC,aAAa,EAAE,CAAC;YACnB,OAAO;QACT,CAAC;QACD,aAAa,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC,CAAC;IAEF,MAAM,cAAc,GAAG,OAAO,KAAK,4BAAe,CAAC,YAAY,CAAC;IAChE,MAAM,oBAAoB,GAAG,2BAAc,CAAC,cAAc,CAAC,CAAC,CAAC,4BAAe,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAEhG,OAAO,CACL,2DACE,iCACE,SAAS,EAAE,IAAA,yBAAQ,EACjB,iCAAiC,EACjC,UAAU,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,gBAAgB,EACpD,kBAAkB,CACnB,EACD,OAAO,EAAE,WAAW,aAEpB,oCACE,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,UAAU,EACpB,SAAS,EAAE,IAAA,yBAAQ,EACjB,2EAA2E,EAC3E,iCAAiC,EACjC,uCAAuC,EACvC,yEAAyE,EACzE,iIAAiI,EACjI,SAAS,IAAI,GAAG,oBAAoB,cAAc,EAClD,SAAS,CACV,aAEA,SAAS,IAAI,CAAC,cAAc,IAAI,CAC/B,uBAAC,sBAAS,IACR,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,qBAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,qBAAQ,CAAC,EAAE,EAC3C,IAAI,EAAE,uBAAU,CAAC,KAAK,EACtB,SAAS,EAAC,0BAA0B,GACpC,CACH,EAEA,SAAS,IAAI,cAAc,IAAI,CAC9B,uBAAC,sBAAS,IACR,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,qBAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,qBAAQ,CAAC,EAAE,EAC3C,IAAI,EAAE,uBAAU,CAAC,KAAK,EACtB,SAAS,EAAC,YAAY,GACtB,CACH,IACM,EAER,KAAK,IAAI,CACR,uBAAC,iBAAI,IACH,OAAO,EAAE,wBAAW,CAAC,IAAI,EACzB,SAAS,EAAE,IAAA,yBAAQ,EAAC,yCAAyC,EAAE,SAAS,CAAC,EACzE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,uBAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,uBAAU,CAAC,KAAK,YAEzD,KAAK,GACD,CACR,IACG,GACL,CACJ,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"check-box.js","sourceRoot":"","sources":["../../../../src/components/atoms/check-box/check-box.tsx"],"names":[],"mappings":";;AAyBA,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aAEpB,oCACE,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,UAAU,EACpB,SAAS,EAAE,IAAA,yBAAQ,EACjB,2EAA2E,EAC3E,iCAAiC,EACjC,uCAAuC,EACvC,yEAAyE,EACzE,iIAAiI,EACjI,SAAS,IAAI,GAAG,oBAAoB,cAAc,EAClD,SAAS,CACV,aAEA,SAAS,IAAI,CAAC,cAAc,IAAI,CAC/B,uBAAC,sBAAS,IACR,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,qBAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,qBAAQ,CAAC,EAAE,EAC3C,IAAI,EAAE,uBAAU,CAAC,KAAK,EACtB,SAAS,EAAC,0BAA0B,GACpC,CACH,EAEA,SAAS,IAAI,cAAc,IAAI,CAC9B,uBAAC,sBAAS,IACR,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,qBAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,qBAAQ,CAAC,EAAE,EAC3C,IAAI,EAAE,uBAAU,CAAC,KAAK,EACtB,SAAS,EAAC,YAAY,GACtB,CACH,IACM,EAER,KAAK,IAAI,CACR,uBAAC,iBAAI,IACH,OAAO,EAAE,wBAAW,CAAC,IAAI,EACzB,SAAS,EAAE,IAAA,yBAAQ,EAAC,yCAAyC,EAAE,SAAS,CAAC,EACzE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,uBAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,uBAAU,CAAC,KAAK,YAEzD,KAAK,GACD,CACR,IACG,GACL,CACJ,CAAC;AACJ,CAAC"}
package/dist/index.css ADDED
@@ -0,0 +1,432 @@
1
+ /* Regular font */
2
+ @font-face {
3
+ font-family: "Geist";
4
+ src: url("/fonts/Geist-Regular.otf") format("opentype");
5
+ font-weight: normal;
6
+ font-style: normal;
7
+ }
8
+ /* Bold font */
9
+ @font-face {
10
+ font-family: "Geist";
11
+ src: url("/fonts/Geist-Bold.otf") format("opentype");
12
+ font-weight: bold;
13
+ font-style: normal;
14
+ }
15
+ /* SemiBold font */
16
+ @font-face {
17
+ font-family: "Geist";
18
+ src: url("/fonts/Geist-SemiBold.otf") format("opentype");
19
+ font-weight: 600;
20
+ font-style: normal;
21
+ }
22
+ /* Black font */
23
+ @font-face {
24
+ font-family: "Geist";
25
+ src: url("/fonts/Geist-Black.otf") format("opentype");
26
+ font-weight: 900;
27
+ font-style: normal;
28
+ }
29
+ /* ExtraBold font */
30
+ @font-face {
31
+ font-family: "Geist";
32
+ src: url("/fonts/Geist-ExtraBold.otf") format("opentype");
33
+ font-weight: 800;
34
+ font-style: normal;
35
+ }
36
+ /* Light font */
37
+ @font-face {
38
+ font-family: "Geist";
39
+ src: url("/fonts/Geist-Light.otf") format("opentype");
40
+ font-weight: 300;
41
+ font-style: normal;
42
+ }
43
+ /* ExtraLight font */
44
+ @font-face {
45
+ font-family: "Geist";
46
+ src: url("/fonts/Geist-ExtraLight.otf") format("opentype");
47
+ font-weight: 200;
48
+ font-style: normal;
49
+ }
50
+ /* Medium font */
51
+ @font-face {
52
+ font-family: "Geist";
53
+ src: url("/fonts/Geist-Medium.otf") format("opentype");
54
+ font-weight: 500;
55
+ font-style: normal;
56
+ }
57
+ /* Thin font */
58
+ @font-face {
59
+ font-family: "Geist";
60
+ src: url("/fonts/Geist-Thin.otf") format("opentype");
61
+ font-weight: 100;
62
+ font-style: normal;
63
+ }
64
+ @tailwind base;
65
+ @tailwind components;
66
+ @tailwind utilities;
67
+ @font-face {
68
+ font-family: "billo-icons";
69
+ src: url("./fonts/billo-icons.eot?fpp649");
70
+ src: url("./fonts/billo-icons.eot?fpp649#iefix") format("embedded-opentype"), url("./fonts/billo-icons.ttf?fpp649") format("truetype"), url("./fonts/billo-icons.woff?fpp649") format("woff"), url("./fonts/billo-icons.svg?fpp649#billo-icons") format("svg");
71
+ font-weight: normal;
72
+ font-style: normal;
73
+ font-display: block;
74
+ }
75
+ [class^=icon-],
76
+ [class*=" icon-"] {
77
+ /* use !important to prevent issues with browser extensions that change fonts */
78
+ font-family: "billo-icons" !important;
79
+ font-style: normal;
80
+ font-variant: normal;
81
+ text-transform: none;
82
+ line-height: 1;
83
+ /* Better Font Rendering =========== */
84
+ -webkit-font-smoothing: antialiased;
85
+ -moz-osx-font-smoothing: grayscale;
86
+ }
87
+
88
+ .icon-receipt:before {
89
+ content: "\e900";
90
+ }
91
+
92
+ .icon-dot-menu:before {
93
+ content: "\e902";
94
+ }
95
+
96
+ .icon-address-book:before {
97
+ content: "\e903";
98
+ }
99
+
100
+ .icon-alert:before {
101
+ content: "\e904";
102
+ }
103
+
104
+ .icon-arrows-left-right:before {
105
+ content: "\e905";
106
+ }
107
+
108
+ .icon-basket:before {
109
+ content: "\e907";
110
+ }
111
+
112
+ .icon-calendar:before {
113
+ content: "\e908";
114
+ }
115
+
116
+ .icon-caret-down:before {
117
+ content: "\e909";
118
+ }
119
+
120
+ .icon-caret-up:before {
121
+ content: "\e90a";
122
+ }
123
+
124
+ .icon-chevron-down:before {
125
+ content: "\e90d";
126
+ }
127
+
128
+ .icon-chevron-left:before {
129
+ content: "\e90e";
130
+ }
131
+
132
+ .icon-chevron-right:before {
133
+ content: "\e90f";
134
+ }
135
+
136
+ .icon-chevron-up:before {
137
+ content: "\e910";
138
+ }
139
+
140
+ .icon-clipboard:before {
141
+ content: "\e911";
142
+ }
143
+
144
+ .icon-clock:before {
145
+ content: "\e913";
146
+ }
147
+
148
+ .icon-clock-warning:before {
149
+ content: "\e912";
150
+ }
151
+
152
+ .icon-copy:before {
153
+ content: "\e916";
154
+ }
155
+
156
+ .icon-credit-card:before {
157
+ content: "\e917";
158
+ }
159
+
160
+ .icon-download:before {
161
+ content: "\e918";
162
+ }
163
+
164
+ .icon-electricity-bill:before {
165
+ content: "\e919";
166
+ }
167
+
168
+ .icon-eye:before {
169
+ content: "\e91b";
170
+ }
171
+
172
+ .icon-file-pdf:before {
173
+ content: "\e91c";
174
+ }
175
+
176
+ .icon-file:before {
177
+ content: "\e91d";
178
+ }
179
+
180
+ .icon-eye-slash:before {
181
+ content: "\e91a";
182
+ }
183
+
184
+ .icon-info:before {
185
+ content: "\e923";
186
+ }
187
+
188
+ .icon-menu:before {
189
+ content: "\e921";
190
+ }
191
+
192
+ .icon-image:before {
193
+ content: "\e922";
194
+ }
195
+
196
+ .icon-link:before {
197
+ content: "\e925";
198
+ }
199
+
200
+ .icon-link-break:before {
201
+ content: "\e924";
202
+ }
203
+
204
+ .icon-mastercard:before {
205
+ content: "\e929";
206
+ }
207
+
208
+ .icon-minus:before {
209
+ content: "\e92a";
210
+ }
211
+
212
+ .icon-paper-plane:before {
213
+ content: "\e92d";
214
+ }
215
+
216
+ .icon-pencil:before {
217
+ content: "\e92e";
218
+ }
219
+
220
+ .icon-pie-chart:before {
221
+ content: "\e92f";
222
+ }
223
+
224
+ .icon-shopping-cart:before {
225
+ content: "\e936";
226
+ }
227
+
228
+ .icon-plus:before {
229
+ content: "\e930";
230
+ }
231
+
232
+ .icon-pos:before {
233
+ content: "\e931";
234
+ }
235
+
236
+ .icon-qr-code:before {
237
+ content: "\e932";
238
+ }
239
+
240
+ .icon-question-contained:before {
241
+ content: "\e933";
242
+ }
243
+
244
+ .icon-question:before {
245
+ content: "\e934";
246
+ }
247
+
248
+ .icon-sign-out:before {
249
+ content: "\e937";
250
+ }
251
+
252
+ .icon-spinner:before {
253
+ content: "\e938";
254
+ }
255
+
256
+ .icon-stock:before {
257
+ content: "\e939";
258
+ }
259
+
260
+ .icon-tag:before {
261
+ content: "\e93a";
262
+ }
263
+
264
+ .icon-trash:before {
265
+ content: "\e93b";
266
+ }
267
+
268
+ .icon-upload:before {
269
+ content: "\e93c";
270
+ }
271
+
272
+ .icon-user-contained:before {
273
+ content: "\e93d";
274
+ }
275
+
276
+ .icon-warning:before {
277
+ content: "\e93f";
278
+ }
279
+
280
+ .icon-x-circle:before {
281
+ content: "\e940";
282
+ }
283
+
284
+ .icon-x:before {
285
+ content: "\e941";
286
+ }
287
+
288
+ .icon-visa:before {
289
+ content: "\e93e";
290
+ }
291
+
292
+ .icon-magnifying-glass-x:before {
293
+ content: "\e927";
294
+ }
295
+
296
+ .icon-magnifying-glass:before {
297
+ content: "\e928";
298
+ }
299
+
300
+ .icon-gear:before {
301
+ content: "\e91f";
302
+ }
303
+
304
+ .icon-funnel:before {
305
+ content: "\e91e";
306
+ }
307
+
308
+ .icon-check-circle:before {
309
+ content: "\e90c";
310
+ }
311
+
312
+ .icon-whatsapp:before {
313
+ content: "\e942";
314
+ }
315
+
316
+ .icon-store-clock:before {
317
+ content: "\e943";
318
+ }
319
+
320
+ .icon-phone-call:before {
321
+ content: "\e944";
322
+ }
323
+
324
+ .icon-lock:before {
325
+ content: "\e946";
326
+ }
327
+
328
+ .icon-arrow-square-out:before {
329
+ content: "\e947";
330
+ }
331
+
332
+ .icon-arrow-left:before {
333
+ content: "\e957";
334
+ }
335
+
336
+ .icon-arrow-right:before {
337
+ content: "\e948";
338
+ }
339
+
340
+ .icon-devices:before {
341
+ content: "\e949";
342
+ }
343
+
344
+ .icon-cash:before {
345
+ content: "\e901";
346
+ }
347
+
348
+ .icon-bank:before {
349
+ content: "\e906";
350
+ }
351
+
352
+ .icon-mobile:before {
353
+ content: "\e92b";
354
+ }
355
+
356
+ .icon-receipt-contained:before {
357
+ content: "\e935";
358
+ }
359
+
360
+ .icon-check:before {
361
+ content: "\e94a";
362
+ }
363
+
364
+ .icon-megaphone:before {
365
+ content: "\e94b";
366
+ }
367
+
368
+ .icon-bell:before {
369
+ content: "\e94f";
370
+ }
371
+
372
+ .icon-storefront:before {
373
+ content: "\e94d";
374
+ }
375
+
376
+ .icon-house:before {
377
+ content: "\e950";
378
+ }
379
+
380
+ .icon-arrow-clockwise:before {
381
+ content: "\e945";
382
+ }
383
+
384
+ .icon-envelope:before {
385
+ content: "\e94c";
386
+ }
387
+
388
+ .icon-user:before {
389
+ content: "\e94e";
390
+ }
391
+
392
+ .icon-check-seal:before {
393
+ content: "\e956";
394
+ }
395
+
396
+ .icon-pin:before {
397
+ content: "\e958";
398
+ }
399
+
400
+ .icon-billo-logo:before {
401
+ content: "\e959";
402
+ }
403
+
404
+ .icon-banco-nacional-logo:before {
405
+ content: "\e95a";
406
+ }
407
+
408
+ .icon-warning-filled:before {
409
+ content: "\e95b";
410
+ }
411
+
412
+ .icon-info-filled:before {
413
+ content: "\e95c";
414
+ }
415
+
416
+ .icon-check-circle-filled:before {
417
+ content: "\e95d";
418
+ }
419
+
420
+ .icon-alert-filled:before {
421
+ content: "\e95e";
422
+ }
423
+
424
+ .icon-duplicate-and-send:before {
425
+ content: "\e95f";
426
+ }
427
+
428
+ .icon-number-pad:before {
429
+ content: "\e960";
430
+ }
431
+
432
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../src/index.scss","../src/styles/settings/_icons.scss"],"names":[],"mappings":"AAAA;AACA;EACE;EACA;EACA;EACA;;AAGF;AACA;EACE;EACA;EACA;EACA;;AAGF;AACA;EACE;EACA;EACA;EACA;;AAGF;AACA;EACE;EACA;EACA;EACA;;AAGF;AACA;EACE;EACA;EACA;EACA;;AAGF;AACA;EACE;EACA;EACA;EACA;;AAGF;AACA;EACE;EACA;EACA;EACA;;AAGF;AACA;EACE;EACA;EACA;EACA;;AAGF;AACA;EACE;EACA;EACA;EACA;;AAGF;AACA;AACA;ACvEA;EACE;EACA;EACA;EAMA;EACA;EACA;;AAGF;AAAA;AAEE;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;;;AA8FE;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;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;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE;;;AA2FJ;EACE,SA5FE","file":"index.css"}
package/package.json CHANGED
@@ -1,16 +1,19 @@
1
1
  {
2
2
  "name": "period-ui",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
+ "style": "dist/index.css",
6
7
  "type": "commonjs",
7
8
  "files": [
8
9
  "dist",
9
10
  "README.md",
10
- "LICENSE"
11
+ "LICENSE",
12
+ "dist/fonts"
11
13
  ],
12
14
  "scripts": {
13
- "build": "vite build && tsc -p tsconfig.build.json && tsc-alias",
15
+ "build": "vite build && tsc -p tsconfig.build.json && tsc-alias && yarn build:css",
16
+ "build:css": "sass src/index.scss dist/index.css",
14
17
  "prepare": "npm run build",
15
18
  "test": "vitest",
16
19
  "lint": "eslint .",
@@ -63,6 +66,7 @@
63
66
  "prettier": "3.4.2",
64
67
  "react": "18.3.1",
65
68
  "react-dom": "18.3.1",
69
+ "saas": "1.0.0",
66
70
  "storybook": "8.4.7",
67
71
  "tailwindcss": "3.4.17",
68
72
  "tsc-alias": "^1.8.16",