@sapphire-ion/framework 0.30.0

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 (299) hide show
  1. package/README.md +24 -0
  2. package/esm2022/lib/classes/comparison/comparison-operator.mjs +18 -0
  3. package/esm2022/lib/classes/comparison/comparison-value-type.mjs +25 -0
  4. package/esm2022/lib/classes/comparison/comparison.mjs +41 -0
  5. package/esm2022/lib/classes/comparison/properties/bool-property.mjs +15 -0
  6. package/esm2022/lib/classes/comparison/properties/date-property.mjs +27 -0
  7. package/esm2022/lib/classes/comparison/properties/datetime-property.mjs +27 -0
  8. package/esm2022/lib/classes/comparison/properties/decimal-property.mjs +27 -0
  9. package/esm2022/lib/classes/comparison/properties/enum-property.mjs +27 -0
  10. package/esm2022/lib/classes/comparison/properties/implicit-property.mjs +12 -0
  11. package/esm2022/lib/classes/comparison/properties/int-property.mjs +27 -0
  12. package/esm2022/lib/classes/comparison/properties/long-property.mjs +27 -0
  13. package/esm2022/lib/classes/comparison/properties/string-property.mjs +15 -0
  14. package/esm2022/lib/classes/comparison/properties/time-property.mjs +27 -0
  15. package/esm2022/lib/classes/credentials.mjs +2 -0
  16. package/esm2022/lib/classes/environment.mjs +32 -0
  17. package/esm2022/lib/classes/filters/view-filtros.mjs +18 -0
  18. package/esm2022/lib/classes/inputs/table-field-form-builder.mjs +10 -0
  19. package/esm2022/lib/classes/inputs/table-field.mjs +63 -0
  20. package/esm2022/lib/classes/page-option.mjs +2 -0
  21. package/esm2022/lib/classes/routes/default-routing-factory.mjs +23 -0
  22. package/esm2022/lib/classes/routes/id-preloader-configuration.mjs +22 -0
  23. package/esm2022/lib/classes/routes/route-data.mjs +9 -0
  24. package/esm2022/lib/components/carousel/carousel-image/carousel-image.component.mjs +18 -0
  25. package/esm2022/lib/components/carousel/carousel-item/carousel-item.component.mjs +15 -0
  26. package/esm2022/lib/components/carousel/carousel.component.mjs +79 -0
  27. package/esm2022/lib/components/carousel/carousel.module.mjs +31 -0
  28. package/esm2022/lib/components/carousel/i-carousel-item.component.mjs +16 -0
  29. package/esm2022/lib/components/content-block/content-block.component.mjs +27 -0
  30. package/esm2022/lib/components/default/default-list/abstract-list.mjs +49 -0
  31. package/esm2022/lib/components/default/default-list/default-list.component.mjs +94 -0
  32. package/esm2022/lib/components/default/default-list/header-list/header-list.component.mjs +98 -0
  33. package/esm2022/lib/components/default/default-list/list.mjs +110 -0
  34. package/esm2022/lib/components/default/default-pagination/default-pagination.component.mjs +123 -0
  35. package/esm2022/lib/components/default/default-table/default-table.component.mjs +206 -0
  36. package/esm2022/lib/components/default/default-table/th-filter/th-filter.component.mjs +182 -0
  37. package/esm2022/lib/components/default/default-view/abstract-view.mjs +18 -0
  38. package/esm2022/lib/components/default/default-view/default-view.component.mjs +51 -0
  39. package/esm2022/lib/components/default/default-view/header-view/header-view.component.mjs +72 -0
  40. package/esm2022/lib/components/default/default-view/view.mjs +170 -0
  41. package/esm2022/lib/components/default/default.module.mjs +87 -0
  42. package/esm2022/lib/components/default-page/default.page.mjs +73 -0
  43. package/esm2022/lib/components/drag-drop-file/drag-drop-file.directive.mjs +60 -0
  44. package/esm2022/lib/components/drag-drop-file/drag-drop-file.module.mjs +31 -0
  45. package/esm2022/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.mjs +15 -0
  46. package/esm2022/lib/components/drawer/default-drawer-end/default-drawer-end.component.mjs +34 -0
  47. package/esm2022/lib/components/drawer/drawer-group/drawer-group.component.mjs +49 -0
  48. package/esm2022/lib/components/drawer/drawer.component.mjs +117 -0
  49. package/esm2022/lib/components/drawer/menu.mjs +15 -0
  50. package/esm2022/lib/components/filter/filter.component.mjs +124 -0
  51. package/esm2022/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.mjs +17 -0
  52. package/esm2022/lib/components/image/image.component.mjs +91 -0
  53. package/esm2022/lib/components/info-popover/info-popover.component.mjs +91 -0
  54. package/esm2022/lib/components/inputs/custom-input.mjs +77 -0
  55. package/esm2022/lib/components/inputs/custom-signal-input.mjs +74 -0
  56. package/esm2022/lib/components/inputs/input-bool/input-bool.component.mjs +43 -0
  57. package/esm2022/lib/components/inputs/input-bool/input-bool.configuration.mjs +16 -0
  58. package/esm2022/lib/components/inputs/input-color/input-color.component.mjs +487 -0
  59. package/esm2022/lib/components/inputs/input-configuration.mjs +2 -0
  60. package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.mjs +93 -0
  61. package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.mjs +6 -0
  62. package/esm2022/lib/components/inputs/input-date/input-date.component.mjs +119 -0
  63. package/esm2022/lib/components/inputs/input-date/input-date.configuration.mjs +8 -0
  64. package/esm2022/lib/components/inputs/input-decimal/input-decimal.component.mjs +269 -0
  65. package/esm2022/lib/components/inputs/input-decimal/input-decimal.configuration.mjs +45 -0
  66. package/esm2022/lib/components/inputs/input-default-configurations.mjs +14 -0
  67. package/esm2022/lib/components/inputs/input-file/download-button/download-button.component.mjs +91 -0
  68. package/esm2022/lib/components/inputs/input-file/input-file.component.mjs +128 -0
  69. package/esm2022/lib/components/inputs/input-file/input-file.configuration.mjs +11 -0
  70. package/esm2022/lib/components/inputs/input-loading/input-loading.component.mjs +16 -0
  71. package/esm2022/lib/components/inputs/input-provider-factory.mjs +15 -0
  72. package/esm2022/lib/components/inputs/input-select/ISelect.mjs +11 -0
  73. package/esm2022/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.mjs +42 -0
  74. package/esm2022/lib/components/inputs/input-select/input-select-option/input-select-option.component.mjs +46 -0
  75. package/esm2022/lib/components/inputs/input-select/input-select-template.directive.mjs +16 -0
  76. package/esm2022/lib/components/inputs/input-select/input-select.component.mjs +322 -0
  77. package/esm2022/lib/components/inputs/input-select/input.select.configuration.mjs +164 -0
  78. package/esm2022/lib/components/inputs/input-string/input-string.component.mjs +50 -0
  79. package/esm2022/lib/components/inputs/input-string/input-string.configuration.mjs +18 -0
  80. package/esm2022/lib/components/inputs/input-textarea/input-textarea.component.mjs +47 -0
  81. package/esm2022/lib/components/inputs/input-type.mjs +18 -0
  82. package/esm2022/lib/components/inputs/input-validators.mjs +90 -0
  83. package/esm2022/lib/components/inputs/inputs.module.mjs +101 -0
  84. package/esm2022/lib/components/loading/loading.component.mjs +34 -0
  85. package/esm2022/lib/components/login/login-admin/login-admin.component.mjs +52 -0
  86. package/esm2022/lib/components/login/login.component.mjs +93 -0
  87. package/esm2022/lib/components/main-content/main-content.component.mjs +62 -0
  88. package/esm2022/lib/components/stepper/step/step.component.mjs +43 -0
  89. package/esm2022/lib/components/stepper/stepper.component.mjs +36 -0
  90. package/esm2022/lib/components/stepper/stepper.module.mjs +25 -0
  91. package/esm2022/lib/components/tabs/tab/tab.component.mjs +41 -0
  92. package/esm2022/lib/components/tabs/tabs/tabs.component.mjs +56 -0
  93. package/esm2022/lib/components/tabs/tabs.module.mjs +22 -0
  94. package/esm2022/lib/components/text-tooltip/text-tooltip.component.mjs +51 -0
  95. package/esm2022/lib/components/tooltip/tooltip.component.mjs +21 -0
  96. package/esm2022/lib/core.module.mjs +29 -0
  97. package/esm2022/lib/directives/ng-var.directive.mjs +29 -0
  98. package/esm2022/lib/guards/auth.guard.mjs +26 -0
  99. package/esm2022/lib/guards/error.interceptor.mjs +106 -0
  100. package/esm2022/lib/guards/token.interceptor.mjs +25 -0
  101. package/esm2022/lib/index.mjs +172 -0
  102. package/esm2022/lib/pipes/secure.pipe.mjs +42 -0
  103. package/esm2022/lib/services/auth.service.mjs +149 -0
  104. package/esm2022/lib/services/environment.service.mjs +26 -0
  105. package/esm2022/lib/services/generics.service.mjs +84 -0
  106. package/esm2022/lib/services/route/route.cache.service.mjs +15 -0
  107. package/esm2022/lib/services/route/route.provider.service.mjs +42 -0
  108. package/esm2022/lib/services/usuario.service.mjs +49 -0
  109. package/esm2022/lib/services/utils.service.mjs +149 -0
  110. package/esm2022/lib/services/web/api-url-provider.service.mjs +29 -0
  111. package/esm2022/lib/services/web/http.ativo.service.mjs +55 -0
  112. package/esm2022/lib/services/web/http.service.mjs +175 -0
  113. package/esm2022/lib/services/web/storage.service.mjs +115 -0
  114. package/esm2022/public-api.mjs +5 -0
  115. package/esm2022/sapphire-ion-framework.mjs +5 -0
  116. package/fesm2022/sapphire-ion-framework.mjs +6080 -0
  117. package/fesm2022/sapphire-ion-framework.mjs.map +1 -0
  118. package/index.d.ts +5 -0
  119. package/lib/classes/comparison/comparison-operator.d.ts +9 -0
  120. package/lib/classes/comparison/comparison-value-type.d.ts +23 -0
  121. package/lib/classes/comparison/comparison.d.ts +25 -0
  122. package/lib/classes/comparison/properties/bool-property.d.ts +7 -0
  123. package/lib/classes/comparison/properties/date-property.d.ts +11 -0
  124. package/lib/classes/comparison/properties/datetime-property.d.ts +11 -0
  125. package/lib/classes/comparison/properties/decimal-property.d.ts +11 -0
  126. package/lib/classes/comparison/properties/enum-property.d.ts +11 -0
  127. package/lib/classes/comparison/properties/implicit-property.d.ts +6 -0
  128. package/lib/classes/comparison/properties/int-property.d.ts +11 -0
  129. package/lib/classes/comparison/properties/long-property.d.ts +11 -0
  130. package/lib/classes/comparison/properties/string-property.d.ts +7 -0
  131. package/lib/classes/comparison/properties/time-property.d.ts +11 -0
  132. package/lib/classes/credentials.d.ts +5 -0
  133. package/lib/classes/environment.d.ts +13 -0
  134. package/lib/classes/filters/view-filtros.d.ts +10 -0
  135. package/lib/classes/inputs/table-field-form-builder.d.ts +5 -0
  136. package/lib/classes/inputs/table-field.d.ts +19 -0
  137. package/lib/classes/page-option.d.ts +7 -0
  138. package/lib/classes/routes/default-routing-factory.d.ts +8 -0
  139. package/lib/classes/routes/id-preloader-configuration.d.ts +28 -0
  140. package/lib/classes/routes/route-data.d.ts +5 -0
  141. package/lib/components/carousel/carousel-image/carousel-image.component.d.ts +10 -0
  142. package/lib/components/carousel/carousel-item/carousel-item.component.d.ts +9 -0
  143. package/lib/components/carousel/carousel.component.d.ts +32 -0
  144. package/lib/components/carousel/carousel.module.d.ts +12 -0
  145. package/lib/components/carousel/i-carousel-item.component.d.ts +9 -0
  146. package/lib/components/content-block/content-block.component.d.ts +15 -0
  147. package/lib/components/default/default-list/abstract-list.d.ts +21 -0
  148. package/lib/components/default/default-list/default-list.component.d.ts +42 -0
  149. package/lib/components/default/default-list/header-list/header-list.component.d.ts +45 -0
  150. package/lib/components/default/default-list/list.d.ts +37 -0
  151. package/lib/components/default/default-pagination/default-pagination.component.d.ts +36 -0
  152. package/lib/components/default/default-table/default-table.component.d.ts +71 -0
  153. package/lib/components/default/default-table/th-filter/th-filter.component.d.ts +20 -0
  154. package/lib/components/default/default-view/abstract-view.d.ts +16 -0
  155. package/lib/components/default/default-view/default-view.component.d.ts +26 -0
  156. package/lib/components/default/default-view/header-view/header-view.component.d.ts +25 -0
  157. package/lib/components/default/default-view/view.d.ts +55 -0
  158. package/lib/components/default/default.module.d.ts +28 -0
  159. package/lib/components/default-page/default.page.d.ts +35 -0
  160. package/lib/components/drag-drop-file/drag-drop-file.directive.d.ts +14 -0
  161. package/lib/components/drag-drop-file/drag-drop-file.module.d.ts +10 -0
  162. package/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.d.ts +9 -0
  163. package/lib/components/drawer/default-drawer-end/default-drawer-end.component.d.ts +13 -0
  164. package/lib/components/drawer/drawer-group/drawer-group.component.d.ts +22 -0
  165. package/lib/components/drawer/drawer.component.d.ts +23 -0
  166. package/lib/components/drawer/menu.d.ts +9 -0
  167. package/lib/components/filter/filter.component.d.ts +29 -0
  168. package/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.d.ts +8 -0
  169. package/lib/components/image/image.component.d.ts +23 -0
  170. package/lib/components/info-popover/info-popover.component.d.ts +15 -0
  171. package/lib/components/inputs/custom-input.d.ts +36 -0
  172. package/lib/components/inputs/custom-signal-input.d.ts +38 -0
  173. package/lib/components/inputs/input-bool/input-bool.component.d.ts +19 -0
  174. package/lib/components/inputs/input-bool/input-bool.configuration.d.ts +17 -0
  175. package/lib/components/inputs/input-color/input-color.component.d.ts +80 -0
  176. package/lib/components/inputs/input-configuration.d.ts +8 -0
  177. package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.d.ts +24 -0
  178. package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.d.ts +5 -0
  179. package/lib/components/inputs/input-date/input-date.component.d.ts +30 -0
  180. package/lib/components/inputs/input-date/input-date.configuration.d.ts +7 -0
  181. package/lib/components/inputs/input-decimal/input-decimal.component.d.ts +41 -0
  182. package/lib/components/inputs/input-decimal/input-decimal.configuration.d.ts +25 -0
  183. package/lib/components/inputs/input-default-configurations.d.ts +13 -0
  184. package/lib/components/inputs/input-file/download-button/download-button.component.d.ts +36 -0
  185. package/lib/components/inputs/input-file/input-file.component.d.ts +39 -0
  186. package/lib/components/inputs/input-file/input-file.configuration.d.ts +11 -0
  187. package/lib/components/inputs/input-loading/input-loading.component.d.ts +7 -0
  188. package/lib/components/inputs/input-provider-factory.d.ts +4 -0
  189. package/lib/components/inputs/input-select/ISelect.d.ts +21 -0
  190. package/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.d.ts +18 -0
  191. package/lib/components/inputs/input-select/input-select-option/input-select-option.component.d.ts +24 -0
  192. package/lib/components/inputs/input-select/input-select-template.directive.d.ts +8 -0
  193. package/lib/components/inputs/input-select/input-select.component.d.ts +66 -0
  194. package/lib/components/inputs/input-select/input.select.configuration.d.ts +87 -0
  195. package/lib/components/inputs/input-string/input-string.component.d.ts +19 -0
  196. package/lib/components/inputs/input-string/input-string.configuration.d.ts +14 -0
  197. package/lib/components/inputs/input-textarea/input-textarea.component.d.ts +18 -0
  198. package/lib/components/inputs/input-type.d.ts +16 -0
  199. package/lib/components/inputs/input-validators.d.ts +19 -0
  200. package/lib/components/inputs/inputs.module.d.ts +28 -0
  201. package/lib/components/loading/loading.component.d.ts +18 -0
  202. package/lib/components/login/login-admin/login-admin.component.d.ts +20 -0
  203. package/lib/components/login/login.component.d.ts +28 -0
  204. package/lib/components/main-content/main-content.component.d.ts +17 -0
  205. package/lib/components/stepper/step/step.component.d.ts +15 -0
  206. package/lib/components/stepper/stepper.component.d.ts +17 -0
  207. package/lib/components/stepper/stepper.module.d.ts +10 -0
  208. package/lib/components/tabs/tab/tab.component.d.ts +19 -0
  209. package/lib/components/tabs/tabs/tabs.component.d.ts +18 -0
  210. package/lib/components/tabs/tabs.module.d.ts +12 -0
  211. package/lib/components/text-tooltip/text-tooltip.component.d.ts +16 -0
  212. package/lib/components/tooltip/tooltip.component.d.ts +7 -0
  213. package/lib/core.module.d.ts +11 -0
  214. package/lib/directives/ng-var.directive.d.ts +12 -0
  215. package/lib/guards/auth.guard.d.ts +11 -0
  216. package/lib/guards/error.interceptor.d.ts +32 -0
  217. package/lib/guards/token.interceptor.d.ts +11 -0
  218. package/lib/index.d.ts +108 -0
  219. package/lib/pipes/secure.pipe.d.ts +15 -0
  220. package/lib/services/auth.service.d.ts +47 -0
  221. package/lib/services/environment.service.d.ts +10 -0
  222. package/lib/services/generics.service.d.ts +22 -0
  223. package/lib/services/route/route.cache.service.d.ts +7 -0
  224. package/lib/services/route/route.provider.service.d.ts +13 -0
  225. package/lib/services/usuario.service.d.ts +21 -0
  226. package/lib/services/utils.service.d.ts +36 -0
  227. package/lib/services/web/api-url-provider.service.d.ts +13 -0
  228. package/lib/services/web/http.ativo.service.d.ts +31 -0
  229. package/lib/services/web/http.service.d.ts +51 -0
  230. package/lib/services/web/storage.service.d.ts +25 -0
  231. package/package.json +41 -0
  232. package/public-api.d.ts +1 -0
  233. package/themes/compiled-styles.scss +2291 -0
  234. package/themes/components/_inputs_new/input-string/input-string.component.scss +0 -0
  235. package/themes/components/_inputs_new/inputs.scss +15 -0
  236. package/themes/components/carousel/carousel-image/carousel-image.component.scss +0 -0
  237. package/themes/components/carousel/carousel-item/carousel-item.component.scss +0 -0
  238. package/themes/components/carousel/carousel.component.scss +9 -0
  239. package/themes/components/content-block/content-block.component.scss +0 -0
  240. package/themes/components/default/default-list/default-list.component.scss +0 -0
  241. package/themes/components/default/default-list/header-list/header-list.component.scss +0 -0
  242. package/themes/components/default/default-pagination/default-pagination.component.scss +22 -0
  243. package/themes/components/default/default-table/default-table.component.scss +33 -0
  244. package/themes/components/default/default-table/th-filter/th-filter.component.scss +24 -0
  245. package/themes/components/default/default-view/default-view.component.scss +5 -0
  246. package/themes/components/default/default-view/header-view/header-view.component.scss +7 -0
  247. package/themes/components/default-page/default.page.scss +4 -0
  248. package/themes/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.scss +9 -0
  249. package/themes/components/drawer/default-drawer-end/default-drawer-end.component.scss +0 -0
  250. package/themes/components/drawer/drawer-group/drawer-group.component.scss +22 -0
  251. package/themes/components/drawer/drawer.component.scss +46 -0
  252. package/themes/components/filter/filter.component.scss +0 -0
  253. package/themes/components/http-responses-pages/forbidden-403/forbidden-403.component.scss +19 -0
  254. package/themes/components/image/image.component.scss +0 -0
  255. package/themes/components/info-popover/info-popover.component.scss +3 -0
  256. package/themes/components/inputs/input-bool/input-bool.component.scss +14 -0
  257. package/themes/components/inputs/input-color/input-color.component.scss +48 -0
  258. package/themes/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.scss +0 -0
  259. package/themes/components/inputs/input-date/input-date.component.scss +41 -0
  260. package/themes/components/inputs/input-decimal/input-decimal.component.scss +44 -0
  261. package/themes/components/inputs/input-file/download-button/download-button.component.scss +3 -0
  262. package/themes/components/inputs/input-file/input-file.component.scss +3 -0
  263. package/themes/components/inputs/input-loading/input-loading.component.scss +0 -0
  264. package/themes/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.scss +0 -0
  265. package/themes/components/inputs/input-select/input-select-option/input-select-option.component.scss +0 -0
  266. package/themes/components/inputs/input-select/input-select.component.scss +28 -0
  267. package/themes/components/inputs/input-string/input-string.component.scss +0 -0
  268. package/themes/components/inputs/input-textarea/input-textarea.component.scss +0 -0
  269. package/themes/components/inputs/inputs.scss +67 -0
  270. package/themes/components/loading/loading.component.scss +0 -0
  271. package/themes/components/login/login-admin/login-admin.component.scss +3 -0
  272. package/themes/components/login/login.component.scss +40 -0
  273. package/themes/components/main-content/main-content.component.scss +9 -0
  274. package/themes/components/stepper/step/step.component.scss +48 -0
  275. package/themes/components/stepper/stepper.component.scss +0 -0
  276. package/themes/components/tabs/tab/tab.component.scss +0 -0
  277. package/themes/components/tabs/tabs/tabs.component.scss +23 -0
  278. package/themes/components/text-tooltip/text-tooltip.component.scss +0 -0
  279. package/themes/components/tooltip/tooltip.component.scss +23 -0
  280. package/themes/styles/components.scss +52 -0
  281. package/themes/styles/core.styles.scss +409 -0
  282. package/themes/styles/ionic/ion-action-sheet.scss +8 -0
  283. package/themes/styles/ionic/ion-alert.scss +9 -0
  284. package/themes/styles/ionic/ion-button.scss +3 -0
  285. package/themes/styles/ionic/ion-card.scss +3 -0
  286. package/themes/styles/ionic/ion-content.scss +3 -0
  287. package/themes/styles/ionic/ion-datetime.scss +6 -0
  288. package/themes/styles/ionic/ion-item.scss +10 -0
  289. package/themes/styles/ionic/ion-list.scss +4 -0
  290. package/themes/styles/ionic/ion-modal.scss +8 -0
  291. package/themes/styles/ionic/ion-popover.scss +31 -0
  292. package/themes/styles/ionic/ion-progress-bar.scss +3 -0
  293. package/themes/styles/ionic/ion-searchbar.scss +4 -0
  294. package/themes/styles/ionic/ion-toast.scss +14 -0
  295. package/themes/styles/ionic.scss +13 -0
  296. package/themes/styles/login-default.scss +87 -0
  297. package/themes/styles/mixins.scss +467 -0
  298. package/themes/styles/styles.scss +1 -0
  299. package/themes/styles/translucid.scss +21 -0
@@ -0,0 +1,467 @@
1
+ @use "sass:math";
2
+
3
+ @for $i from 1 through 100 {
4
+ .modal-w-#{$i}{
5
+ @media (orientation: landscape) {
6
+ --width: #{$i + '%'};
7
+ }
8
+ }
9
+ }
10
+ @for $i from 1 through 100 {
11
+ .modal-h-#{$i}{
12
+ @media (orientation: landscape) {
13
+ --height: #{$i + '%'};
14
+ }
15
+ }
16
+ }
17
+ @for $i from 1 through 100 {
18
+ .modal-size-#{$i}{
19
+ @media (orientation: landscape) {
20
+ --height: #{$i + '%'};
21
+ --width: #{$i + '%'};
22
+ }
23
+ }
24
+ }
25
+
26
+ $colors: primary, secondary, tertiary, success, warning, danger, light, medium, dark, translucid;
27
+ $steps : 5, 7, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95;
28
+ //[ Text Colors ]
29
+ @mixin text-colors($colors){
30
+ @each $color in $colors {
31
+ .text-#{$color} {
32
+ color: var(--ion-color-#{$color})
33
+ }
34
+ .hover\:text-#{$color} {
35
+ @apply transition-all ease-in-out duration-300;
36
+ &:hover{
37
+ color: var(--ion-color-#{$color});
38
+ }
39
+ }
40
+
41
+ .\!text-#{$color} {
42
+ color: var(--ion-color-#{$color}) !important;
43
+ }
44
+ .hover\:\!text-#{$color} {
45
+ @apply transition-all ease-in-out duration-300;
46
+ &:hover{
47
+ color: var(--ion-color-#{$color}) !important;
48
+ }
49
+ }
50
+ }
51
+ }
52
+ @mixin text-colors-steps($colors, $steps){
53
+ @each $color in $colors {
54
+ @each $step in $steps {
55
+ .text-#{$color}\/#{$step} {
56
+ color: color-mix(
57
+ in srgb,
58
+ var(--ion-color-#{$color})
59
+ math.percentage(math.div($step, 100)),
60
+ transparent
61
+ math.percentage(math.div(100 - $step, 100))
62
+ );
63
+ }
64
+ .hover\:text-#{$color}\/#{$step}{
65
+ @apply transition-all ease-in-out duration-300;
66
+ &:hover{
67
+ color: color-mix(
68
+ in srgb,
69
+ var(--ion-color-#{$color})
70
+ math.percentage(math.div($step, 100)),
71
+ transparent
72
+ math.percentage(math.div(100 - $step, 100))
73
+ );
74
+ }
75
+ }
76
+
77
+ .\!text-#{$color}\/#{$step} {
78
+ color: color-mix(
79
+ in srgb,
80
+ var(--ion-color-#{$color})
81
+ math.percentage(math.div($step, 100)),
82
+ transparent
83
+ math.percentage(math.div(100 - $step, 100)) !important
84
+ );
85
+ }
86
+ .hover\:\!text-#{$color}\/#{$step}{
87
+ @apply transition-all ease-in-out duration-300;
88
+ &:hover{
89
+ color: color-mix(
90
+ in srgb,
91
+ var(--ion-color-#{$color})
92
+ math.percentage(math.div($step, 100)),
93
+ transparent
94
+ math.percentage(math.div(100 - $step, 100)) !important
95
+ );
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ @include text-colors($colors);
102
+ @include text-colors-steps($colors, $steps);
103
+
104
+ //[ BG Colors ]
105
+ @mixin bg-colors($colors){
106
+ @each $color in $colors {
107
+ .bg-#{$color} {
108
+ background-color: var(--ion-color-#{$color});
109
+ }
110
+ .hover\:bg-#{$color} {
111
+ @apply transition-all ease-in-out duration-300;
112
+ &:hover{
113
+ background-color: var(--ion-color-#{$color});
114
+ }
115
+ }
116
+
117
+ .\!bg-#{$color} {
118
+ background-color: var(--ion-color-#{$color}) !important;
119
+ }
120
+ .hover\:\!bg-#{$color} {
121
+ @apply transition-all ease-in-out duration-300;
122
+ &:hover{
123
+ background-color: var(--ion-color-#{$color}) !important;
124
+ }
125
+ }
126
+ }
127
+ }
128
+ @mixin bg-colors-steps($colors, $steps){
129
+ @each $color in $colors {
130
+ @each $step in $steps {
131
+ .bg-#{$color}\/#{$step} {
132
+ background-color: color-mix(
133
+ in srgb,
134
+ var(--ion-color-#{$color})
135
+ math.percentage(math.div($step, 100)),
136
+ transparent
137
+ math.percentage(math.div(100 - $step, 100))
138
+ );
139
+ }
140
+ .hover\:bg-#{$color}\/#{$step}{
141
+ @apply transition-all ease-in-out duration-300;
142
+ &:hover{
143
+ background-color: color-mix(
144
+ in srgb,
145
+ var(--ion-color-#{$color})
146
+ math.percentage(math.div($step, 100)),
147
+ transparent
148
+ math.percentage(math.div(100 - $step, 100))
149
+ );
150
+ }
151
+ }
152
+
153
+ .\!bg-#{$color}\/#{$step} {
154
+ background-color: color-mix(
155
+ in srgb,
156
+ var(--ion-color-#{$color})
157
+ math.percentage(math.div($step, 100)),
158
+ transparent
159
+ math.percentage(math.div(100 - $step, 100)) !important
160
+ );
161
+ }
162
+ .hover\:\!bg-#{$color}\/#{$step}{
163
+ @apply transition-all ease-in-out duration-300;
164
+ &:hover{
165
+ background-color: color-mix(
166
+ in srgb,
167
+ var(--ion-color-#{$color})
168
+ math.percentage(math.div($step, 100)),
169
+ transparent
170
+ math.percentage(math.div(100 - $step, 100)) !important
171
+ );
172
+ }
173
+ }
174
+ }
175
+ }
176
+ }
177
+
178
+ @include bg-colors($colors);
179
+ @include bg-colors-steps($colors, $steps);
180
+
181
+ //[ Borders ]
182
+ @mixin border-colors($colors){
183
+ @each $color in $colors {
184
+ .border-#{$color} {
185
+ border-color: var(--ion-color-#{$color});
186
+ }
187
+ .border-t-#{$color} {
188
+ border-top-color : var(--ion-color-#{$color});
189
+ }
190
+ .border-b-#{$color} {
191
+ border-bottom-color: var(--ion-color-#{$color});
192
+ }
193
+ .border-y-#{$color} {
194
+ border-top-color : var(--ion-color-#{$color});
195
+ border-bottom-color: var(--ion-color-#{$color});
196
+ }
197
+
198
+ .border-l-#{$color} {
199
+ border-left-color : var(--ion-color-#{$color});
200
+ }
201
+ .border-r-#{$color} {
202
+ border-right-color: var(--ion-color-#{$color});
203
+ }
204
+ .border-x-#{$color} {
205
+ border-left-color : var(--ion-color-#{$color});
206
+ border-right-color: var(--ion-color-#{$color});
207
+ }
208
+
209
+ .hover\:border-#{$color} {
210
+ @apply transition-all ease-in-out duration-300;
211
+ &:hover{
212
+ border-color: var(--ion-color-#{$color});
213
+ }
214
+ }
215
+
216
+ .hover\:border-t-#{$color} {
217
+ @apply transition-all ease-in-out duration-300;
218
+ &:hover{
219
+ border-top-color: var(--ion-color-#{$color});
220
+ }
221
+ }
222
+ .hover\:border-b-#{$color} {
223
+ @apply transition-all ease-in-out duration-300;
224
+ &:hover{
225
+ border-bottom-color: var(--ion-color-#{$color});
226
+ }
227
+ }
228
+ .hover\:border-y-#{$color} {
229
+ @apply transition-all ease-in-out duration-300;
230
+ &:hover{
231
+ border-bottom-color: var(--ion-color-#{$color});
232
+ border-top-color : var(--ion-color-#{$color});
233
+ }
234
+ }
235
+
236
+ .hover\:border-l-#{$color} {
237
+ @apply transition-all ease-in-out duration-300;
238
+ &:hover{
239
+ border-left-color: var(--ion-color-#{$color});
240
+ }
241
+ }
242
+ .hover\:border-r-#{$color} {
243
+ @apply transition-all ease-in-out duration-300;
244
+ &:hover{
245
+ border-right-color: var(--ion-color-#{$color});
246
+ }
247
+ }
248
+ .hover\:border-x-#{$color} {
249
+ @apply transition-all ease-in-out duration-300;
250
+ &:hover{
251
+ border-left-color : var(--ion-color-#{$color});
252
+ border-right-color: var(--ion-color-#{$color});
253
+ }
254
+ }
255
+ }
256
+ }
257
+ @mixin border-colors-steps($colors, $steps){
258
+ @each $color in $colors {
259
+ @each $step in $steps {
260
+ .border-#{$color}\/#{$step} {
261
+ border-color: color-mix(
262
+ in srgb,
263
+ var(--ion-color-#{$color})
264
+ math.percentage(math.div($step, 100)),
265
+ transparent
266
+ math.percentage(math.div(100 - $step, 100))
267
+ );
268
+ }
269
+
270
+ .border-t-#{$color}\/#{$step} {
271
+ border-top-color: color-mix(
272
+ in srgb,
273
+ var(--ion-color-#{$color})
274
+ math.percentage(math.div($step, 100)),
275
+ transparent
276
+ math.percentage(math.div(100 - $step, 100))
277
+ );
278
+ }
279
+ .border-b-#{$color}\/#{$step} {
280
+ border-bottom-color: color-mix(
281
+ in srgb,
282
+ var(--ion-color-#{$color})
283
+ math.percentage(math.div($step, 100)),
284
+ transparent
285
+ math.percentage(math.div(100 - $step, 100))
286
+ );
287
+ }
288
+ .border-y-#{$color}\/#{$step} {
289
+ border-top-color: color-mix(
290
+ in srgb,
291
+ var(--ion-color-#{$color})
292
+ math.percentage(math.div($step, 100)),
293
+ transparent
294
+ math.percentage(math.div(100 - $step, 100))
295
+ );
296
+ border-bottom-color: color-mix(
297
+ in srgb,
298
+ var(--ion-color-#{$color})
299
+ math.percentage(math.div($step, 100)),
300
+ transparent
301
+ math.percentage(math.div(100 - $step, 100))
302
+ );
303
+ }
304
+
305
+ .border-l-#{$color}\/#{$step} {
306
+ border-left-color: color-mix(
307
+ in srgb,
308
+ var(--ion-color-#{$color})
309
+ math.percentage(math.div($step, 100)),
310
+ transparent
311
+ math.percentage(math.div(100 - $step, 100))
312
+ );
313
+ }
314
+ .border-r-#{$color}\/#{$step} {
315
+ border-right-color: color-mix(
316
+ in srgb,
317
+ var(--ion-color-#{$color})
318
+ math.percentage(math.div($step, 100)),
319
+ transparent
320
+ math.percentage(math.div(100 - $step, 100))
321
+ );
322
+ }
323
+ .border-x-#{$color}\/#{$step} {
324
+ border-left-color: color-mix(
325
+ in srgb,
326
+ var(--ion-color-#{$color})
327
+ math.percentage(math.div($step, 100)),
328
+ transparent
329
+ math.percentage(math.div(100 - $step, 100))
330
+ );
331
+ border-right-color: color-mix(
332
+ in srgb,
333
+ var(--ion-color-#{$color})
334
+ math.percentage(math.div($step, 100)),
335
+ transparent
336
+ math.percentage(math.div(100 - $step, 100))
337
+ );
338
+ }
339
+
340
+ .hover\:border-#{$color}\/#{$step}{
341
+ @apply transition-all ease-in-out duration-300;
342
+ &:hover{
343
+ border-color: color-mix(
344
+ in srgb,
345
+ var(--ion-color-#{$color})
346
+ math.percentage(math.div($step, 100)),
347
+ transparent
348
+ math.percentage(math.div(100 - $step, 100))
349
+ );
350
+ }
351
+ }
352
+
353
+ .hover\:border-t-#{$color}\/#{$step}{
354
+ @apply transition-all ease-in-out duration-300;
355
+ &:hover{
356
+ border-top-color: color-mix(
357
+ in srgb,
358
+ var(--ion-color-#{$color})
359
+ math.percentage(math.div($step, 100)),
360
+ transparent
361
+ math.percentage(math.div(100 - $step, 100))
362
+ );
363
+ }
364
+ }
365
+ .hover\:border-b-#{$color}\/#{$step}{
366
+ @apply transition-all ease-in-out duration-300;
367
+ &:hover{
368
+ border-bottom-color: color-mix(
369
+ in srgb,
370
+ var(--ion-color-#{$color})
371
+ math.percentage(math.div($step, 100)),
372
+ transparent
373
+ math.percentage(math.div(100 - $step, 100))
374
+ );
375
+ }
376
+ }
377
+ .hover\:border-y-#{$color}\/#{$step}{
378
+ @apply transition-all ease-in-out duration-300;
379
+ &:hover{
380
+ border-bottom-color: color-mix(
381
+ in srgb,
382
+ var(--ion-color-#{$color})
383
+ math.percentage(math.div($step, 100)),
384
+ transparent
385
+ math.percentage(math.div(100 - $step, 100))
386
+ );
387
+ border-top-color: color-mix(
388
+ in srgb,
389
+ var(--ion-color-#{$color})
390
+ math.percentage(math.div($step, 100)),
391
+ transparent
392
+ math.percentage(math.div(100 - $step, 100))
393
+ );
394
+ }
395
+ }
396
+
397
+ .hover\:border-l-#{$color}\/#{$step}{
398
+ @apply transition-all ease-in-out duration-300;
399
+ &:hover{
400
+ border-left-color: color-mix(
401
+ in srgb,
402
+ var(--ion-color-#{$color})
403
+ math.percentage(math.div($step, 100)),
404
+ transparent
405
+ math.percentage(math.div(100 - $step, 100))
406
+ );
407
+ }
408
+ }
409
+ .hover\:border-r-#{$color}\/#{$step}{
410
+ @apply transition-all ease-in-out duration-300;
411
+ &:hover{
412
+ border-right-color: color-mix(
413
+ in srgb,
414
+ var(--ion-color-#{$color})
415
+ math.percentage(math.div($step, 100)),
416
+ transparent
417
+ math.percentage(math.div(100 - $step, 100))
418
+ );
419
+ }
420
+ }
421
+ .hover\:border-x-#{$color}\/#{$step}{
422
+ @apply transition-all ease-in-out duration-300;
423
+ &:hover{
424
+ border-left-color: color-mix(
425
+ in srgb,
426
+ var(--ion-color-#{$color})
427
+ math.percentage(math.div($step, 100)),
428
+ transparent
429
+ math.percentage(math.div(100 - $step, 100))
430
+ );
431
+ border-right-color: color-mix(
432
+ in srgb,
433
+ var(--ion-color-#{$color})
434
+ math.percentage(math.div($step, 100)),
435
+ transparent
436
+ math.percentage(math.div(100 - $step, 100))
437
+ );
438
+ }
439
+ }
440
+ }
441
+ }
442
+ }
443
+
444
+ @include border-colors($colors);
445
+ @include border-colors-steps($colors, $steps);
446
+
447
+
448
+ .mask-x{
449
+ mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 1%, rgba(0, 0, 0, 1) 99%, rgba(0, 0, 0, 0) 100%);
450
+ }
451
+
452
+ .mask-y{
453
+ mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 1%, rgba(0, 0, 0, 1) 99%, rgba(0, 0, 0, 0) 100%);
454
+ }
455
+
456
+ $steps-mask: 2, 3, 4, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50;
457
+ @mixin masks($steps){
458
+ @each $step in $steps {
459
+ .mask-x\/#{$step} {
460
+ mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) math.percentage(math.div($step, 100)), rgba(0, 0, 0, 1) math.percentage(math.div(100 - $step, 100)), rgba(0, 0, 0, 0) 100%);
461
+ }
462
+ .mask-y\/#{$step} {
463
+ mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) math.percentage(math.div($step, 100)), rgba(0, 0, 0, 1) math.percentage(math.div(100 - $step, 100)), rgba(0, 0, 0, 0) 100%);
464
+ }
465
+ }
466
+ }
467
+ @include masks($steps-mask);
@@ -0,0 +1 @@
1
+ @import "./../src/lib/components/inputs/inputs.scss";
@@ -0,0 +1,21 @@
1
+ $translucid-background-color : color-mix(in srgb, var(--ion-color-light) 95%, transparent 5%);
2
+ $translucid-primary-background-color : color-mix(in srgb, var(--ion-color-primary) 30%, transparent 70%);
3
+ $translucid-secondary-background-color : color-mix(in srgb, var(--ion-color-secondary) 30%, transparent 70%);
4
+ $translucid-tertiary-background-color : color-mix(in srgb, var(--ion-color-tertiary) 30%, transparent 70%);
5
+ $translucid-success-background-color : color-mix(in srgb, var(--ion-color-success) 30%, transparent 70%);
6
+ $translucid-warning-background-color : color-mix(in srgb, var(--ion-color-warning) 30%, transparent 70%);
7
+ $translucid-danger-background-color : color-mix(in srgb, var(--ion-color-danger) 30%, transparent 70%);
8
+ $translucid-dark-background-color : color-mix(in srgb, var(--ion-color-dark) 30%, transparent 70%);
9
+ $translucid-medium-background-color : color-mix(in srgb, var(--ion-color-medium) 30%, transparent 70%);
10
+ $translucid-light-background-color : color-mix(in srgb, var(--ion-color-light) 30%, transparent 70%);
11
+
12
+ $translucid-border-color : var(--ion-color-step-250);
13
+ $translucid-border-color-primary : color-mix(in srgb, var(--ion-color-primary) 20%, transparent 80%);
14
+ $translucid-border-color-secondary : color-mix(in srgb, var(--ion-color-secondary) 20%, transparent 80%);
15
+ $translucid-border-color-tertiary : color-mix(in srgb, var(--ion-color-tertiary) 20%, transparent 80%);
16
+ $translucid-border-color-success : color-mix(in srgb, var(--ion-color-success) 20%, transparent 80%);
17
+ $translucid-border-color-warning : color-mix(in srgb, var(--ion-color-warning) 20%, transparent 80%);
18
+ $translucid-border-color-danger : color-mix(in srgb, var(--ion-color-danger) 20%, transparent 80%);
19
+ $translucid-border-color-dark : color-mix(in srgb, var(--ion-color-dark) 20%, transparent 80%);
20
+ $translucid-border-color-medium : color-mix(in srgb, var(--ion-color-medium) 20%, transparent 80%);
21
+ $translucid-border-color-light : color-mix(in srgb, var(--ion-color-light) 20%, transparent 80%);