@dito-uai/components 5.1.0-alpha.5 → 5.1.0-alpha.51

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 (78) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +45 -1
  3. package/dist/global.css +1 -1
  4. package/dist/index.cjs +78 -42
  5. package/dist/index.d.cts +1133 -858
  6. package/dist/index.d.ts +60 -2240
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +21 -14
  9. package/dist/ui/alert.d.ts +22 -32
  10. package/dist/ui/alert.d.ts.map +1 -1
  11. package/dist/ui/avatar.d.ts +4 -124
  12. package/dist/ui/avatar.d.ts.map +1 -1
  13. package/dist/ui/badge.d.ts +4 -148
  14. package/dist/ui/badge.d.ts.map +1 -1
  15. package/dist/ui/button.d.ts +166 -316
  16. package/dist/ui/button.d.ts.map +1 -1
  17. package/dist/ui/card.d.ts +2 -66
  18. package/dist/ui/card.d.ts.map +1 -1
  19. package/dist/ui/checkbox.d.ts +2 -0
  20. package/dist/ui/checkbox.d.ts.map +1 -1
  21. package/dist/ui/chips.d.ts +24 -280
  22. package/dist/ui/chips.d.ts.map +1 -1
  23. package/dist/ui/collapsible.d.ts +5 -0
  24. package/dist/ui/collapsible.d.ts.map +1 -1
  25. package/dist/ui/dropdown-menu.d.ts +131 -0
  26. package/dist/ui/dropdown-menu.d.ts.map +1 -0
  27. package/dist/ui/indicator.d.ts +15 -15
  28. package/dist/ui/indicator.d.ts.map +1 -1
  29. package/dist/ui/input-description.d.ts +2 -26
  30. package/dist/ui/input-description.d.ts.map +1 -1
  31. package/dist/ui/input.d.ts +129 -255
  32. package/dist/ui/input.d.ts.map +1 -1
  33. package/dist/ui/internal/dropdown-content.d.ts.map +1 -1
  34. package/dist/ui/label.d.ts +2 -18
  35. package/dist/ui/label.d.ts.map +1 -1
  36. package/dist/ui/loading.d.ts +9 -0
  37. package/dist/ui/loading.d.ts.map +1 -0
  38. package/dist/ui/message.d.ts +56 -0
  39. package/dist/ui/message.d.ts.map +1 -0
  40. package/dist/ui/popover.d.ts +7 -0
  41. package/dist/ui/popover.d.ts.map +1 -0
  42. package/dist/ui/progress-bar.d.ts +1 -1
  43. package/dist/ui/progress-bar.d.ts.map +1 -1
  44. package/dist/ui/progress.d.ts +9 -27
  45. package/dist/ui/progress.d.ts.map +1 -1
  46. package/dist/ui/radio.d.ts +98 -4
  47. package/dist/ui/radio.d.ts.map +1 -1
  48. package/dist/ui/scope.d.ts +4 -108
  49. package/dist/ui/scope.d.ts.map +1 -1
  50. package/dist/ui/search.d.ts +60 -124
  51. package/dist/ui/search.d.ts.map +1 -1
  52. package/dist/ui/sheets.d.ts +2 -2
  53. package/dist/ui/sheets.d.ts.map +1 -1
  54. package/dist/ui/skeleton.d.ts +42 -0
  55. package/dist/ui/skeleton.d.ts.map +1 -0
  56. package/dist/ui/status.d.ts +7 -38
  57. package/dist/ui/status.d.ts.map +1 -1
  58. package/dist/ui/switch.d.ts +15 -0
  59. package/dist/ui/switch.d.ts.map +1 -0
  60. package/dist/ui/tabs.d.ts +4 -5
  61. package/dist/ui/tabs.d.ts.map +1 -1
  62. package/dist/ui/text.d.ts +3 -63
  63. package/dist/ui/text.d.ts.map +1 -1
  64. package/dist/ui/tip-card.d.ts +77 -0
  65. package/dist/ui/tip-card.d.ts.map +1 -0
  66. package/dist/ui/toggle-group.d.ts +11 -0
  67. package/dist/ui/toggle-group.d.ts.map +1 -0
  68. package/dist/ui/toggle.d.ts +48 -12
  69. package/dist/ui/toggle.d.ts.map +1 -1
  70. package/dist/ui/tooltip.d.ts +10 -0
  71. package/dist/ui/tooltip.d.ts.map +1 -0
  72. package/package.json +99 -40
  73. package/tailwind-preset.ts +275 -0
  74. package/tailwind.config.ts +12 -262
  75. package/dist/ui/form-item.d.ts +0 -16
  76. package/dist/ui/form-item.d.ts.map +0 -1
  77. package/dist/ui/form.d.ts +0 -1
  78. package/dist/ui/form.d.ts.map +0 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Dito Internet Ltda.
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 +1,45 @@
1
- # uai
1
+ # How to run the project on you local
2
+
3
+ The project has 3 packages:
4
+
5
+ - foundation _that has all informations of colors, typhograph, grid and others_
6
+ - icons _that has all separeted icons_
7
+ - uai _that has all components_
8
+
9
+ 1. Enter on package and run `yarn` to install all dependencies
10
+ 2. Run `yarn start` to preview the **storybook**
11
+
12
+ ## How to commit on this repo
13
+
14
+ The project has a default template to commit, just use `yarn cz` and go ahead with the steps
15
+
16
+ ## Before installing
17
+
18
+ ### Using Github Package Registry: (only for private package)
19
+
20
+ First, [issue a personal access token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) for the command line with the `read:packages` and `write:packages` permissions.
21
+
22
+ The recommended setup for authenticating with Github Package Registry is creating the `~/.npmrc` file containing:
23
+
24
+ ```
25
+ //npm.pkg.github.com/:_authToken=PERSONAL-ACCESS-TOKEN
26
+ ```
27
+
28
+ ## Install
29
+
30
+ We highly recommend you to check our latest tag on the [releases page](https://github.com/ditointernet/dito-uai/releases/latest) and [packages page](https://github.com/ditointernet/dito-uai/packages/23637) and use exact-versions, to make upgrading easier:
31
+
32
+ Package uai-components
33
+ ```bash
34
+ yarn add @ditointernet/uai-components
35
+ ```
36
+
37
+ Package uai-foundation
38
+ ```bash
39
+ yarn add @ditointernet/uai-foundation
40
+ ```
41
+
42
+ Package uai-icons
43
+ ```bash
44
+ yarn add @ditointernet/uai-icons
45
+ ```