@bcrumbs.net/bc-ui 0.0.1

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 (52) hide show
  1. package/README.md +7 -0
  2. package/index.d.ts +26 -0
  3. package/index.esm.css +39 -0
  4. package/index.esm.js +5233 -0
  5. package/index.umd.css +39 -0
  6. package/index.umd.js +4756 -0
  7. package/lib/addButton/bcadd-button.d.ts +11 -0
  8. package/lib/block/bcblock.d.ts +8 -0
  9. package/lib/button/bcbutton.d.ts +39 -0
  10. package/lib/checkbox/bccheckbox.d.ts +9 -0
  11. package/lib/constants/ButtonSize.d.ts +8 -0
  12. package/lib/constants/Color.d.ts +32 -0
  13. package/lib/constants/FontFamily.d.ts +5 -0
  14. package/lib/constants/IconType.d.ts +187 -0
  15. package/lib/constants/Key.d.ts +14 -0
  16. package/lib/constants/KeyCode.d.ts +3 -0
  17. package/lib/constants/LineHeight.d.ts +10 -0
  18. package/lib/constants/TextAlign.d.ts +7 -0
  19. package/lib/constants/TextSize.d.ts +10 -0
  20. package/lib/constants/TextStyle.d.ts +5 -0
  21. package/lib/constants/TextWeight.d.ts +7 -0
  22. package/lib/constants/WhiteSpace.d.ts +12 -0
  23. package/lib/constants/index.d.ts +10 -0
  24. package/lib/dropList/bcdrop-list.d.ts +24 -0
  25. package/lib/dropZone/index.d.ts +11 -0
  26. package/lib/hooks/useForceUpdate/index.d.ts +2 -0
  27. package/lib/hooks/useForm/fieldsTypes.d.ts +9 -0
  28. package/lib/hooks/useForm/index.d.ts +44 -0
  29. package/lib/hooks/useForm/validationConstant.d.ts +28 -0
  30. package/lib/hooks/useInterval/index.d.ts +2 -0
  31. package/lib/hooks/withEnterAnimation/index.d.ts +1 -0
  32. package/lib/icon/bcicon.d.ts +17 -0
  33. package/lib/iconButton/index.d.ts +13 -0
  34. package/lib/loading/loading.d.ts +9 -0
  35. package/lib/navigation/bcnavigation.d.ts +40 -0
  36. package/lib/navigation/left-nav/index.d.ts +26 -0
  37. package/lib/navigation/left-nav/leftNavButton/index.d.ts +13 -0
  38. package/lib/overlay/index.d.ts +20 -0
  39. package/lib/popup/index.d.ts +34 -0
  40. package/lib/progress/index.d.ts +8 -0
  41. package/lib/scrollArea/index.d.ts +41 -0
  42. package/lib/searchbox/bcsearchbox.d.ts +9 -0
  43. package/lib/select/bcselect.d.ts +10 -0
  44. package/lib/table/bctable.d.ts +60 -0
  45. package/lib/tagsInput/bctags-input.d.ts +10 -0
  46. package/lib/text/bctext.d.ts +27 -0
  47. package/lib/textbox/bctextbox.d.ts +28 -0
  48. package/lib/toaster/index.d.ts +30 -0
  49. package/lib/tooltip/TooltipPlacement.d.ts +18 -0
  50. package/lib/tooltip/TooltipTrigger.d.ts +6 -0
  51. package/lib/tooltip/index.d.ts +25 -0
  52. package/package.json +31 -0
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # bc-ui
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test bc-ui` to execute the unit tests via [Jest](https://jestjs.io).
package/index.d.ts ADDED
@@ -0,0 +1,26 @@
1
+ export * from './lib/loading/loading';
2
+ export * from './lib/textbox/bctextbox';
3
+ export * from './lib/dropList/bcdrop-list';
4
+ export * from './lib/checkbox/bccheckbox';
5
+ export * from './lib/navigation/bcnavigation';
6
+ export * from './lib/text/bctext';
7
+ export * from './lib/table/bctable';
8
+ export * from './lib/searchbox/bcsearchbox';
9
+ export * from './lib/toaster';
10
+ export * from './lib/icon/bcicon';
11
+ export * from './lib/iconButton';
12
+ export * from './lib/overlay';
13
+ export * from './lib/popup';
14
+ export * from './lib/scrollArea';
15
+ export * from './lib/addButton/bcadd-button';
16
+ export * from './lib/progress';
17
+ export * from './lib/dropZone';
18
+ export * from './lib/tooltip';
19
+ export * from './lib/button/bcbutton';
20
+ export * from './lib/block/bcblock';
21
+ export * from './lib/hooks/withEnterAnimation';
22
+ export * from './lib/hooks/useForm';
23
+ export * from './lib/hooks/useForm/fieldsTypes';
24
+ export * from './lib/hooks/useForm/validationConstant';
25
+ export * from './lib/hooks/useInterval';
26
+ export * from './lib/constants';
package/index.esm.css ADDED
@@ -0,0 +1,39 @@
1
+ .checkbox-style {
2
+ padding-left: 40px;
3
+ padding-top: 8px;
4
+ }
5
+ .checkbox-style .checkmark {
6
+ position: absolute;
7
+ padding: 4px;
8
+ top: 2px;
9
+ left: 0;
10
+ height: 30px;
11
+ width: 30px;
12
+ border-width: 1px;
13
+ border-style: solid;
14
+ border-radius: 5px 10px;
15
+ cursor: pointer;
16
+ z-index: 1;
17
+ }
18
+ .checkbox-style .checkmark svg {
19
+ width: 20px;
20
+ height: 20px;
21
+ }
22
+ .checkbox-style input ~ .checkmark svg {
23
+ display: none;
24
+ }
25
+ .checkbox-style input:checked ~ .checkmark svg {
26
+ display: block;
27
+ }
28
+
29
+ .checkbox-style.small .checkmark {
30
+ height: 20px;
31
+ width: 20px;
32
+ border-width: 2px;
33
+ border-radius: 2px 5px;
34
+ }
35
+ .checkbox-style.small .checkmark svg {
36
+ width: 10px;
37
+ height: 10px;
38
+ }
39
+ .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}